7#ifndef __HAL_COMMON_OPS_DEVICE_H__
8#define __HAL_COMMON_OPS_DEVICE_H__
23#define HAL_POW_CUSTOM_24G_HE40_RATE_NUM 3
24#define HAL_POW_CUSTOM_5G_HE20_RATE_NUM 3
25#define HAL_POW_CUSTOM_5G_HE40_RATE_NUM 3
26#define HAL_POW_CUSTOM_5G_HE80_RATE_NUM 3
28#define NUM_OF_NV_TOTAL_MAX_TXPOWER 124
30#define HAL_CUS_NUM_5G_BW 4
32#define HAL_NUM_5G_160M_SIDE_BAND 2
34#define HAL_POW_MAX_CHAIN_NUM 2
36#define HAL_2G_POW_UPC_RF_LUT_NUM 256
37#define HAL_5G_POW_UPC_RF_LUT_NUM 64
39#define HAL_POW_11B_LPF_BASE_IDX 1
41#define HAL_POW_5G_6P5MBPS_RATE_POW_IDX 12
88#define HAL_TX_QUEUE_MGMT HAL_TX_QUEUE_HI
95#ifdef _PRE_WLAN_FEATURE_FTM
96 HAL_EVENT_DMAC_MISC_FTM_ACK_COMPLETE,
134#ifdef _PRE_WLAN_FEATURE_SMPS
141 HAL_SMPS_MODE_STATIC = 0,
142 HAL_SMPS_MODE_DYNAMIC = 1,
143 HAL_SMPS_MODE_DISABLE = 3,
148typedef osal_u8 hal_smps_mode_enum_uint8;
151#ifdef _PRE_WLAN_FEATURE_DFS
153 HAL_RADAR_NOT_REPORT = 0,
155} hal_radar_filter_enum;
156typedef osal_u8 hal_radar_filter_enum_uint8;
179#define RADAR_INFO_FLAG_DUMMY 0x10
191#define MAX_RADAR_PULSE_NUM 32
192#define RADAR_TYPE_CHIRP 10
193#define RADAR_MIN_ETSI_CHIRP_PULSE_NUM 5
203#ifdef _PRE_WLAN_FEATURE_DFS
237#ifdef _PRE_WLAN_FEATURE_DFS
240 osal_u8 fcc_chirp_duration_diff : 1;
241 osal_u8 fcc_chirp_pow_diff : 1;
242 osal_u8 fcc_type4_duration_diff : 1;
243 osal_u8 fcc_chirp_eq_duration_num : 1;
245} hal_dfs_pulse_check_filter_stru;
259} hal_dfs_normal_pulse_det_stru;
262#ifdef _PRE_WLAN_FEATURE_DFS
264 osal_u8 chirp_wow_wake_flag : 1;
271 osal_u8 chirp_cnt_for_crazy_report_det;
273 osal_u32 last_timestamp_for_chirp_pulse;
279 hal_dfs_pulse_check_filter_stru dfs_pulse_check_filter;
283 osal_u8 crazy_report_is_enabled : 1;
291 hal_dfs_normal_pulse_det_stru dfs_normal_pulse_det;
295 osal_u8 chirp_wow_wake_flag : 1;
303 osal_u32 last_burst_timestamp_for_chirp;
304} hal_dfs_radar_filter_stru;
hal_lpm_soc_set_enum
Definition hal_common_ops_device.h:120
@ HAL_LPM_SOC_PCIE_L1S
Definition hal_common_ops_device.h:128
@ HAL_LPM_SOC_PCIE_L1_PM
Definition hal_common_ops_device.h:125
@ HAL_LPM_SOC_ADC_FREQ
Definition hal_common_ops_device.h:127
@ HAL_LPM_SOC_SET_BUTT
Definition hal_common_ops_device.h:130
@ HAL_LPM_SOC_MEM_PRECHARGE
Definition hal_common_ops_device.h:123
@ HAL_LPM_SOC_PCIE_L0
Definition hal_common_ops_device.h:124
@ HAL_LPM_SOC_PCIE_RD_BYPASS
Definition hal_common_ops_device.h:122
@ HAL_LPM_SOC_BUS_GATING
Definition hal_common_ops_device.h:121
@ HAL_LPM_SOC_AUTOCG_ALL
Definition hal_common_ops_device.h:126
osal_u8 hal_oper_mode_enum_uint8
Definition hal_common_ops_device.h:75
hal_pow_mode_enum
Definition hal_common_ops_device.h:112
@ HAL_POW_MODE_BUTT
Definition hal_common_ops_device.h:116
@ HAL_POW_MODE_MARGIN
Definition hal_common_ops_device.h:113
@ HAL_POW_MODE_NO_MARGIN
Definition hal_common_ops_device.h:114
osal_u8 hal_wlan_crx_event_sub_type_enum_uint8
Definition hal_common_ops_device.h:102
osal_u32 hal_tx_status_enum_uint32
Definition hal_common_ops_device.h:234
hal_oper_mode_enum
Definition hal_common_ops_device.h:69
@ HAL_OPER_MODE_NORMAL
Definition hal_common_ops_device.h:70
@ HAL_OPER_MODE_HUT
Definition hal_common_ops_device.h:71
@ HAL_OPER_MODE_BUTT
Definition hal_common_ops_device.h:73
#define MAX_RADAR_PULSE_NUM
Definition hal_common_ops_device.h:191
hal_tx_comp_sub_type_enum
Definition hal_common_ops_device.h:104
@ HAL_TX_COMP_SUB_TYPE_AL_TX
Definition hal_common_ops_device.h:106
@ HAL_TX_COMP_SUB_TYPE_TX
Definition hal_common_ops_device.h:105
@ HAL_TX_COMP_SUB_TYPE_BUTT
Definition hal_common_ops_device.h:107
osal_u8 hal_rf_test_sect_enum_uint8
Definition hal_common_ops_device.h:85
hal_wlan_crx_event_sub_type_enum
Definition hal_common_ops_device.h:92
@ HAL_WLAN_CRX_EVENT_SUB_TYPE_BUTT
Definition hal_common_ops_device.h:100
@ HAL_WLAN_CRX_EVENT_SUB_TYPE_RX
Definition hal_common_ops_device.h:93
@ HAL_WLAN_CRX_EVENT_SUB_RPT_HE_ROM
Definition hal_common_ops_device.h:98
@ HAL_WLAN_CRX_EVENT_SUB_RPT_TRIG_PARA
Definition hal_common_ops_device.h:99
osal_u8 hal_tx_comp_sub_type_enum_uint8
Definition hal_common_ops_device.h:109
osal_u8 hal_pow_mode_enum_uint8
Definition hal_common_ops_device.h:118
osal_u8 hal_lpm_soc_set_enum_uint8
Definition hal_common_ops_device.h:132
hal_wow_para_set_enum
Definition hal_common_ops_device.h:222
@ HAL_WOW_PARA_NULLDATA_AWAKE
Definition hal_common_ops_device.h:226
@ HAL_WOW_PARA_AP0_PROBE_RESP
Definition hal_common_ops_device.h:227
@ HAL_WOW_PARA_BUTT
Definition hal_common_ops_device.h:232
@ HAL_WOW_PARA_NULLDATA_INTERVAL
Definition hal_common_ops_device.h:225
@ HAL_WOW_PARA_EN
Definition hal_common_ops_device.h:223
@ HAL_WOW_PARA_AP0_IS_FAKE_VAP
Definition hal_common_ops_device.h:229
@ HAL_WOW_PARA_NULLDATA
Definition hal_common_ops_device.h:224
@ HAL_WOW_PARA_AP1_IS_FAKE_VAP
Definition hal_common_ops_device.h:230
@ HAL_WOW_PARA_AP1_PROBE_RESP
Definition hal_common_ops_device.h:228
hal_rf_test_sect_enum
Definition hal_common_ops_device.h:78
@ HAL_RF_TEST_BAND_WIDTH
Definition hal_common_ops_device.h:80
@ HAL_RF_TEST_CHAN_CODE
Definition hal_common_ops_device.h:81
@ HAL_RF_TEST_BUTT
Definition hal_common_ops_device.h:83
@ HAL_RF_TEST_POWER
Definition hal_common_ops_device.h:82
@ HAL_RF_TEST_DATA_RATE_ZERO
Definition hal_common_ops_device.h:79
hal_channel_freq_2g_enum
Definition hal_common_ops_device.h:49
@ HAL_2G_CHANNEL13
Definition hal_common_ops_device.h:62
@ HAL_CHANNEL_FREQ_2G_BUTT
Definition hal_common_ops_device.h:65
@ HAL_2G_CHANNEL5
Definition hal_common_ops_device.h:54
@ HAL_2G_CHANNEL1
Definition hal_common_ops_device.h:50
@ HAL_2G_CHANNEL14
Definition hal_common_ops_device.h:63
@ HAL_2G_CHANNEL2
Definition hal_common_ops_device.h:51
@ HAL_2G_CHANNEL3
Definition hal_common_ops_device.h:52
@ HAL_2G_CHANNEL6
Definition hal_common_ops_device.h:55
@ HAL_2G_CHANNEL7
Definition hal_common_ops_device.h:56
@ HAL_2G_CHANNEL11
Definition hal_common_ops_device.h:60
@ HAL_2G_CHANNEL12
Definition hal_common_ops_device.h:61
@ HAL_2G_CHANNEL4
Definition hal_common_ops_device.h:53
@ HAL_2G_CHANNEL10
Definition hal_common_ops_device.h:59
@ HAL_2G_CHANNEL8
Definition hal_common_ops_device.h:57
@ HAL_2G_CHANNEL9
Definition hal_common_ops_device.h:58
osal_u8 hal_channel_freq_2g_enum_uint8
Definition hal_common_ops_device.h:67
osal_u8 resv1
Definition oal_net.h:1
osal_u8 oal_bool_enum_uint8
Definition oal_types_device_rom.h:45
unsigned char osal_u8
Definition osal_types.h:11
signed char osal_s8
Definition osal_types.h:17
unsigned int osal_u32
Definition osal_types.h:13
unsigned short osal_u16
Definition osal_types.h:12
Definition frw_ext_common_rom.h:20
Definition hal_common_ops_device.h:307
oal_bool_enum_uint8 compatibility_stat
Definition hal_common_ops_device.h:311
osal_u16 rx_rate_stat_count
Definition hal_common_ops_device.h:309
osal_u32 rx_rate
Definition hal_common_ops_device.h:308
oal_bool_enum_uint8 compatibility_enable
Definition hal_common_ops_device.h:310
Definition hal_common_ops_device.h:324
osal_u8 pga_unit_deta_two
Definition hal_common_ops_device.h:330
osal_u8 pga_unit_deta_one
Definition hal_common_ops_device.h:329
osal_u8 cali_gear
Definition hal_common_ops_device.h:325
osal_u8 ant
Definition hal_common_ops_device.h:328
osal_u8 cali_data
Definition hal_common_ops_device.h:326
osal_s8 cali_offset
Definition hal_common_ops_device.h:327
Definition hal_common_ops_device.h:182
osal_u16 max_fft
Definition hal_common_ops_device.h:186
osal_u8 type
Definition hal_common_ops_device.h:187
osal_u16 duration
Definition hal_common_ops_device.h:184
osal_u16 power
Definition hal_common_ops_device.h:185
osal_u32 timestamp
Definition hal_common_ops_device.h:183
Definition hal_common_ops_device.h:202
osal_u8 resv
Definition hal_common_ops_device.h:213
osal_u8 channel_num
Definition hal_common_ops_device.h:210
osal_u8 working_bw
Definition hal_common_ops_device.h:211
osal_u8 radar_type
Definition hal_common_ops_device.h:206
osal_u8 band
Definition hal_common_ops_device.h:209
osal_u8 radar_bw
Definition hal_common_ops_device.h:208
osal_u8 radar_freq_offset
Definition hal_common_ops_device.h:207
osal_u8 flag
Definition hal_common_ops_device.h:212
Definition hal_common_ops_device.h:216
osal_u32 reg_ch_info
Definition hal_common_ops_device.h:219
osal_u32 reg_band_info
Definition hal_common_ops_device.h:217
osal_u32 reg_bw_info
Definition hal_common_ops_device.h:218
Definition hal_common_ops_device.h:196
osal_u32 pulse_cnt
Definition hal_common_ops_device.h:198
Definition hal_common_ops_device.h:163
osal_u8 txop_ps_not_allowed
Definition hal_common_ops_device.h:170
osal_u8 tx_rts_antenna
Definition hal_common_ops_device.h:165
osal_u8 rx_ctrl_antenna
Definition hal_common_ops_device.h:166
osal_u8 group_id
Definition hal_common_ops_device.h:176
osal_u8 long_nav_enable
Definition hal_common_ops_device.h:173
Definition hal_common_ops_device.h:315
osal_u32 * cnt1
Definition hal_common_ops_device.h:316
osal_u32 * cnt2
Definition hal_common_ops_device.h:317
osal_u32 * cnt6
Definition hal_common_ops_device.h:321
osal_u32 * cnt3
Definition hal_common_ops_device.h:318
osal_u32 * cnt4
Definition hal_common_ops_device.h:319
osal_u32 * cnt5
Definition hal_common_ops_device.h:320
#define BIT1
Definition td_base.h:176
#define BIT3
Definition td_base.h:174
#define BIT2
Definition td_base.h:175
#define BIT7
Definition td_base.h:170
#define BIT4
Definition td_base.h:173
#define BIT6
Definition td_base.h:171
#define BIT0
Definition td_base.h:177
#define BIT5
Definition td_base.h:172
@ WLAN_BW_CAP_BUTT
Definition wlan_types.h:453
@ WLAN_PROTOCOL_BUTT
Definition wlan_types.h:486