WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_ops_common_rom.h 文件参考
hal_ops_common_rom.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  hal_one_packet_cfg_stru
 
struct  hal_one_packet_debug_stru
 
struct  hal_tx_dscr_queue_header_stru
 
struct  tag_hal_tx_dscr_stru
 
struct  tag_hal_rx_dscr_stru
 
struct  hal_tx_mpdu_address_params_stru
 
struct  hal_tx_txop_alg_stru
 
struct  hal_user_pow_info_stru
 
struct  hal_beacon_tx_params_stru
 
struct  hal_tx_mpdu_ctl
 
struct  hal_tx_mpdu_stru
 
struct  hal_rx_dscr_queue_header_stru
 
struct  hal_cfg_rts_tx_param_stru
 
struct  hal_hw_rx_dscr_info_stru
 
struct  hal_dfr_tx_prot_stru
 
struct  hal_phy_pow_param_stru
 
struct  hal_dyn_cali_chain_status_stru
 
struct  hal_dyn_cali_val
 
struct  hal_scan_params_stru
 
struct  hal_device_fsm_cb
 
struct  _hal_device_handle_handler
 
struct  hal_m2s_fsm_stru
 
struct  hal_device_btcoex_mgr_stru
 
struct  tag_hal_to_dmac_device_stru
 
struct  hmac_pps_value_stru
 
struct  hal_wlan_rx_event_stru
 
struct  hal_tx_complete_event_stru
 
struct  hal_error_irq_event_stru
 
struct  hal_common_irq_event_stru
 
struct  hal_tx_mpdu_info_mod
 
struct  alg_intf_det_ch_stats_result
 
struct  alg_intf_det_ch_stats_param
 

宏定义

#define INI_SUCC   (0)
 
#define INI_FAILED   (-1)
 
#define hal_public_hook_func(_func)   hh503##_func
 
#define HAL_COEX_SW_IRQ_BT   BIT0
 
#define hal_pow_lpf_base_idx(_en_band)
 
#define hal_pow_dac_base_idx(_en_band)
 
#define hal_pow_code_comb(_en_dpd_enable, _uc_upc_idx, _uc_pa_idx, _uc_dac_idx, _uc_lpf_idx, _uc_delta_dbb_scaling, _uc_dpd_tpc_lv, _uc_cfr_index)
 
#define hal_ini_pow_code(_en_band)
 
#define hal_pow_fill_tx_four_same_code(_uc_code)
 
#define hal_pow_fill_upc_data_reg(_uc_data1, _uc_data2, _uc_data3, _uc_data4)
 
#define hal_abs(_a)   (((_a) > 0) ? (_a) : (-(_a)))
 
#define hal_pow_find_near_idx(_uc_data1, _uc_data2, _uc_idx1, _uc_idx2, _uc_input)    ((hal_abs((_uc_data1) - (_uc_input))) > (hal_abs((_uc_data2)-(_uc_input))) ? (_uc_idx2) : (_uc_idx1))
 
#define get_rssi_min(_c_rssi_ant0, _c_rssi_ant1)
 
#define get_rssi(_c_rssi_dbm, _c_rssi_ant0, _c_rssi_ant1)   get_rssi_min(_c_rssi_ant0, _c_rssi_ant1)
 
#define get_dev_rx_dscr_q_empty(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_rx_dscr_max_used_cnt(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_rx_dscr_event_cnt(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_rx_dscr_event_pkts(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_rx_dscr_avrage_pkts(_pst_hal_dev, _uc_queue_id)    ((get_dev_rx_dscr_event_pkts(_pst_hal_dev, _uc_queue_id)) / (get_dev_rx_dscr_event_cnt(_pst_hal_dev, _uc_queue_id)))
 
#define get_dev_rx_dscr_avrg_pkts(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_rx_dscr_smooth_dscr_pkts(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_rx_dscr_smooth_avr_dscr(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_max(_us_ualue, _us_thres)    ((_us_ualue) = ((_us_ualue) < (_us_thres)) ? (_us_thres) : (_us_ualue))
 
#define get_dev_rx_dscr_reset_static(_pst_hal_dev, _uc_queue_id)
 
#define get_dev_rx_dscr_reset_smooth(_pst_hal_dev, _uc_queue_id)
 
#define hal_dev_get_idx_target_pow_gain(_pst_hal_dev, _uc_pow_idx, _en_freq_band)
 
#define ops_min(a, b)   (((a) < (b)) ? (a) : (b))
 
#define hal_dev_cfr_get_compsen_by_deltpow(_c_delt_pow)
 
#define hal_phy_11b_1m_rate(_a, _b)   (((_a) == WLAN_11B_PHY_PROTOCOL_MODE) && ((_b) == 0))
 

类型定义

typedef osal_u8 wlan_protect_mode_enum_uint8
 
typedef struct tag_hal_tx_dscr_stru hal_tx_dscr_stru
 
typedef struct tag_hal_rx_dscr_stru hal_rx_dscr_stru
 
typedef osal_void(* p_hal_alg_isr_func) (osal_u8 vap_id, osal_void *p_hal_to_dmac_device)
 
typedef osal_void(* p_hal_gap_isr_func) (osal_u8 vap_id, osal_void *p_hal_to_dmac_device)
 
typedef osal_u32(* p_tbtt_ap_isr_func) (osal_u8 mac_vap_id)
 
typedef struct hal_dyn_cali_val hal_dyn_cali_val_stru
 
typedef osal_void(* p_dmac_scan_one_channel_start_cb) (struct tag_hal_to_dmac_device_stru *hal_device, oal_bool_enum_uint8 is_scan_start)
 
typedef struct _hal_device_handle_handler hal_dev_fsm_stru
 
typedef struct tag_hal_to_dmac_device_stru hal_to_dmac_device_stru
 

枚举

enum  wlan_protect_mode_enum { WLAN_PROTECT_MODE_NONE = 0 , WLAN_PROTECT_MODE_RTS_CTS = 1 , WLAN_PROTECT_MODE_SELF_CTS = 2 , WLAN_PROTECT_MODE_BUTT }
 

宏定义说明

◆ get_dev_max

#define get_dev_max (   _us_ualue,
  _us_thres 
)     ((_us_ualue) = ((_us_ualue) < (_us_thres)) ? (_us_thres) : (_us_ualue))

◆ get_dev_rx_dscr_avrage_pkts

#define get_dev_rx_dscr_avrage_pkts (   _pst_hal_dev,
  _uc_queue_id 
)     ((get_dev_rx_dscr_event_pkts(_pst_hal_dev, _uc_queue_id)) / (get_dev_rx_dscr_event_cnt(_pst_hal_dev, _uc_queue_id)))

◆ get_dev_rx_dscr_avrg_pkts

#define get_dev_rx_dscr_avrg_pkts (   _pst_hal_dev,
  _uc_queue_id 
)
值:
((get_dev_rx_dscr_event_cnt(_pst_hal_dev, _uc_queue_id) == 0) ? 0 : \
(get_dev_rx_dscr_avrage_pkts(_pst_hal_dev, _uc_queue_id)))
#define get_dev_rx_dscr_avrage_pkts(_pst_hal_dev, _uc_queue_id)
Definition hal_ops_common_rom.h:154
#define get_dev_rx_dscr_event_cnt(_pst_hal_dev, _uc_queue_id)
Definition hal_ops_common_rom.h:148

◆ get_dev_rx_dscr_event_cnt

#define get_dev_rx_dscr_event_cnt (   _pst_hal_dev,
  _uc_queue_id 
)
值:
(((alg_rx_dscr_ctl_alg_info_stru *)((_pst_hal_dev)->rx_dscr_ctl.rx_dscr_ctl_alg_info + \
(_uc_queue_id)))->rx_event_cnt)
Definition hal_common_ops_device_rom.h:1416

◆ get_dev_rx_dscr_event_pkts

#define get_dev_rx_dscr_event_pkts (   _pst_hal_dev,
  _uc_queue_id 
)
值:
(((alg_rx_dscr_ctl_alg_info_stru *)((_pst_hal_dev)->rx_dscr_ctl.rx_dscr_ctl_alg_info + \
(_uc_queue_id)))->rx_event_pkts_sum)

◆ get_dev_rx_dscr_max_used_cnt

#define get_dev_rx_dscr_max_used_cnt (   _pst_hal_dev,
  _uc_queue_id 
)
值:
(((alg_rx_dscr_ctl_alg_info_stru *)((_pst_hal_dev)->rx_dscr_ctl.rx_dscr_ctl_alg_info + \
(_uc_queue_id)))->rx_max_dscr_used_cnt)

◆ get_dev_rx_dscr_q_empty

#define get_dev_rx_dscr_q_empty (   _pst_hal_dev,
  _uc_queue_id 
)
值:
(((alg_rx_dscr_ctl_alg_info_stru *)((_pst_hal_dev)->rx_dscr_ctl.rx_dscr_ctl_alg_info + \
(_uc_queue_id)))->rx_dscr_q_empty)

◆ get_dev_rx_dscr_reset_smooth

#define get_dev_rx_dscr_reset_smooth (   _pst_hal_dev,
  _uc_queue_id 
)
值:
do { \
get_dev_rx_dscr_smooth_avr_dscr(_pst_hal_dev, _uc_queue_id) = 0; \
get_dev_rx_dscr_smooth_dscr_pkts(_pst_hal_dev, _uc_queue_id) = 0; \
} while (0)

◆ get_dev_rx_dscr_reset_static

#define get_dev_rx_dscr_reset_static (   _pst_hal_dev,
  _uc_queue_id 
)
值:
do { \
get_dev_rx_dscr_max_used_cnt(_pst_hal_dev, _uc_queue_id) = 0; \
get_dev_rx_dscr_event_cnt(_pst_hal_dev, _uc_queue_id) = 0; \
get_dev_rx_dscr_event_pkts(_pst_hal_dev, _uc_queue_id) = 0; \
} while (0)

◆ get_dev_rx_dscr_smooth_avr_dscr

#define get_dev_rx_dscr_smooth_avr_dscr (   _pst_hal_dev,
  _uc_queue_id 
)
值:
(((alg_rx_dscr_ctl_alg_info_stru *)((_pst_hal_dev)->rx_dscr_ctl.rx_dscr_ctl_alg_info + \
(_uc_queue_id)))->rx_dscr_smooth_avr_dscr)

◆ get_dev_rx_dscr_smooth_dscr_pkts

#define get_dev_rx_dscr_smooth_dscr_pkts (   _pst_hal_dev,
  _uc_queue_id 
)
值:
(((alg_rx_dscr_ctl_alg_info_stru *)((_pst_hal_dev)->rx_dscr_ctl.rx_dscr_ctl_alg_info + \
(_uc_queue_id)))->rx_dscr_smooth_event_pkts)

◆ get_rssi

#define get_rssi (   _c_rssi_dbm,
  _c_rssi_ant0,
  _c_rssi_ant1 
)    get_rssi_min(_c_rssi_ant0, _c_rssi_ant1)

◆ get_rssi_min

#define get_rssi_min (   _c_rssi_ant0,
  _c_rssi_ant1 
)
值:
(((_c_rssi_ant0) == OAL_RSSI_INIT_VALUE) ? (_c_rssi_ant1) : \
((_c_rssi_ant1) == OAL_RSSI_INIT_VALUE) ? (_c_rssi_ant0) : \
osal_min((_c_rssi_ant0), (_c_rssi_ant1)))
#define osal_min(x, y)
Definition osal_math.h:173
#define OAL_RSSI_INIT_VALUE
Definition wlan_util_common_rom.h:28

◆ hal_abs

#define hal_abs (   _a)    (((_a) > 0) ? (_a) : (-(_a)))

◆ HAL_COEX_SW_IRQ_BT

#define HAL_COEX_SW_IRQ_BT   BIT0

◆ hal_dev_cfr_get_compsen_by_deltpow

#define hal_dev_cfr_get_compsen_by_deltpow (   _c_delt_pow)
值:
((osal_u8)(((_c_delt_pow) < -5) ? 0 : \
(((3*(_c_delt_pow) + 25) + 5) / 10)))
unsigned char osal_u8
Definition osal_types.h:11

◆ hal_dev_get_idx_target_pow_gain

#define hal_dev_get_idx_target_pow_gain (   _pst_hal_dev,
  _uc_pow_idx,
  _en_freq_band 
)
值:
(((hal_to_dmac_device_stru *)(_pst_hal_dev))->tx_pwr_ctrl.tpc_lvl_vs_gain_ctrl->as_pow_level_table[(_uc_pow_idx)] \
[(_en_freq_band)])
Definition hal_ops_common_rom.h:529

◆ hal_ini_pow_code

#define hal_ini_pow_code (   _en_band)
值:
#define HAL_POW_DELTA_DBB_SCAL_BASE_IDX
Definition hal_common_ops_device_rom.h:148
#define HAL_POW_DPD_TPC_BASE_IDX
Definition hal_common_ops_device_rom.h:146
#define HAL_POW_UPC_LOW_START_IDX
Definition hal_common_ops_device_rom.h:144
#define HAL_POW_PA_BASE_IDX
Definition hal_common_ops_device_rom.h:136
#define HAL_POW_CFR_BASE_IDX
Definition hal_common_ops_device_rom.h:145
#define hal_pow_code_comb(_en_dpd_enable, _uc_upc_idx, _uc_pa_idx, _uc_dac_idx, _uc_lpf_idx, _uc_delta_dbb_scaling, _uc_dpd_tpc_lv, _uc_cfr_index)
Definition hal_ops_common_rom.h:110
#define hal_pow_dac_base_idx(_en_band)
Definition hal_ops_common_rom.h:105
#define hal_pow_lpf_base_idx(_en_band)
Definition hal_ops_common_rom.h:103
#define OSAL_TRUE
Definition osal_types.h:57

◆ hal_phy_11b_1m_rate

#define hal_phy_11b_1m_rate (   _a,
  _b 
)    (((_a) == WLAN_11B_PHY_PROTOCOL_MODE) && ((_b) == 0))

◆ hal_pow_code_comb

#define hal_pow_code_comb (   _en_dpd_enable,
  _uc_upc_idx,
  _uc_pa_idx,
  _uc_dac_idx,
  _uc_lpf_idx,
  _uc_delta_dbb_scaling,
  _uc_dpd_tpc_lv,
  _uc_cfr_index 
)
值:
((((osal_u32)(_uc_dpd_tpc_lv) & 0x3) | (((osal_u32)(_uc_cfr_index) & 0x3) << 2) | \
(((osal_u32)(_uc_upc_idx) & 0x1) << 4) | (((osal_u32)(_uc_lpf_idx) & 0x7) << 5) | \
(((osal_u32)(_uc_pa_idx) & 0x3) << 8) | (((osal_u32)(_uc_dac_idx) & 0x3) << 10) | \
(((osal_u32)(_uc_delta_dbb_scaling) & 0x3ff) << 12) | (((osal_u32)(_en_dpd_enable) & 0x1) << 22)) & 0x7fffff)
unsigned int osal_u32
Definition osal_types.h:13

◆ hal_pow_dac_base_idx

#define hal_pow_dac_base_idx (   _en_band)
值:
(((_en_band) == WLAN_BAND_2G) ? HAL_POW_2G_DAC_BASE_IDX : \
HAL_POW_5G_DAC_BASE_IDX) /* 基准DAC Index */
#define HAL_POW_5G_DAC_BASE_IDX
Definition hal_common_ops_device_rom.h:141
#define HAL_POW_2G_DAC_BASE_IDX
Definition hal_common_ops_device_rom.h:139
@ WLAN_BAND_2G
Definition wlan_types_base_rom.h:92

◆ hal_pow_fill_tx_four_same_code

#define hal_pow_fill_tx_four_same_code (   _uc_code)
值:
((((osal_u32)(_uc_code)) << 24) | (((osal_u32)(_uc_code)) << 16) | \
(((osal_u32)(_uc_code)) << 8) | ((osal_u32)(_uc_code)))

◆ hal_pow_fill_upc_data_reg

#define hal_pow_fill_upc_data_reg (   _uc_data1,
  _uc_data2,
  _uc_data3,
  _uc_data4 
)
值:
(((osal_u32)((_uc_data1)<<(osal_u32)24)) | ((osal_u32)((_uc_data2)<<(osal_u32)16)) | \
((osal_u32)(_uc_data3)<<(osal_u32)8) | (_uc_data4))

◆ hal_pow_find_near_idx

#define hal_pow_find_near_idx (   _uc_data1,
  _uc_data2,
  _uc_idx1,
  _uc_idx2,
  _uc_input 
)     ((hal_abs((_uc_data1) - (_uc_input))) > (hal_abs((_uc_data2)-(_uc_input))) ? (_uc_idx2) : (_uc_idx1))

◆ hal_pow_lpf_base_idx

#define hal_pow_lpf_base_idx (   _en_band)
值:
(((_en_band) == WLAN_BAND_2G) ? HAL_POW_2G_LPF_BASE_IDX : \
HAL_POW_5G_LPF_BASE_IDX) /* 基准LPF Index */
#define HAL_POW_5G_LPF_BASE_IDX
Definition hal_common_ops_device_rom.h:140
#define HAL_POW_2G_LPF_BASE_IDX
Definition hal_common_ops_device_rom.h:138

◆ hal_public_hook_func

#define hal_public_hook_func (   _func)    hh503##_func

◆ INI_FAILED

#define INI_FAILED   (-1)

◆ INI_SUCC

#define INI_SUCC   (0)

◆ ops_min

#define ops_min (   a,
 
)    (((a) < (b)) ? (a) : (b))

类型定义说明

◆ hal_dev_fsm_stru

◆ hal_dyn_cali_val_stru

◆ hal_rx_dscr_stru

◆ hal_to_dmac_device_stru

◆ hal_tx_dscr_stru

◆ p_dmac_scan_one_channel_start_cb

typedef osal_void(* p_dmac_scan_one_channel_start_cb) (struct tag_hal_to_dmac_device_stru *hal_device, oal_bool_enum_uint8 is_scan_start)

◆ p_hal_alg_isr_func

typedef osal_void(* p_hal_alg_isr_func) (osal_u8 vap_id, osal_void *p_hal_to_dmac_device)

◆ p_hal_gap_isr_func

typedef osal_void(* p_hal_gap_isr_func) (osal_u8 vap_id, osal_void *p_hal_to_dmac_device)

◆ p_tbtt_ap_isr_func

typedef osal_u32(* p_tbtt_ap_isr_func) (osal_u8 mac_vap_id)

◆ wlan_protect_mode_enum_uint8

枚举类型说明

◆ wlan_protect_mode_enum

枚举值
WLAN_PROTECT_MODE_NONE 
WLAN_PROTECT_MODE_RTS_CTS 
WLAN_PROTECT_MODE_SELF_CTS 
WLAN_PROTECT_MODE_BUTT