|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "frw_list_rom.h"#include "frw_util_common_rom.h"#include "frw_ext_common_rom.h"#include "oal_types_device_rom.h"#include "wlan_types.h"#include "wlan_types_base_rom.h"#include "wlan_custom_type.h"#include "oal_fsm.h"#include "hal_commom_ops_type_rom.h"#include "hal_common_ops_device_rom.h"

结构体 | |
| 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 } |
| #define get_dev_max | ( | _us_ualue, | |
| _us_thres | |||
| ) | ((_us_ualue) = ((_us_ualue) < (_us_thres)) ? (_us_thres) : (_us_ualue)) |
| #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_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_max_used_cnt | ( | _pst_hal_dev, | |
| _uc_queue_id | |||
| ) |
| #define get_dev_rx_dscr_q_empty | ( | _pst_hal_dev, | |
| _uc_queue_id | |||
| ) |
| #define get_dev_rx_dscr_reset_smooth | ( | _pst_hal_dev, | |
| _uc_queue_id | |||
| ) |
| #define get_dev_rx_dscr_reset_static | ( | _pst_hal_dev, | |
| _uc_queue_id | |||
| ) |
| #define get_dev_rx_dscr_smooth_avr_dscr | ( | _pst_hal_dev, | |
| _uc_queue_id | |||
| ) |
| #define get_dev_rx_dscr_smooth_dscr_pkts | ( | _pst_hal_dev, | |
| _uc_queue_id | |||
| ) |
| #define get_rssi | ( | _c_rssi_dbm, | |
| _c_rssi_ant0, | |||
| _c_rssi_ant1 | |||
| ) | get_rssi_min(_c_rssi_ant0, _c_rssi_ant1) |
| #define get_rssi_min | ( | _c_rssi_ant0, | |
| _c_rssi_ant1 | |||
| ) |
| #define hal_abs | ( | _a | ) | (((_a) > 0) ? (_a) : (-(_a))) |
| #define HAL_COEX_SW_IRQ_BT BIT0 |
| #define hal_dev_cfr_get_compsen_by_deltpow | ( | _c_delt_pow | ) |
| #define hal_dev_get_idx_target_pow_gain | ( | _pst_hal_dev, | |
| _uc_pow_idx, | |||
| _en_freq_band | |||
| ) |
| #define hal_ini_pow_code | ( | _en_band | ) |
| #define hal_phy_11b_1m_rate | ( | _a, | |
| _b | |||
| ) | (((_a) == WLAN_11B_PHY_PROTOCOL_MODE) && ((_b) == 0)) |
| #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_pow_dac_base_idx | ( | _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_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 hal_pow_lpf_base_idx | ( | _en_band | ) |
| #define hal_public_hook_func | ( | _func | ) | hh503##_func |
| #define INI_FAILED (-1) |
| #define INI_SUCC (0) |
| #define ops_min | ( | a, | |
| b | |||
| ) | (((a) < (b)) ? (a) : (b)) |
| typedef struct _hal_device_handle_handler hal_dev_fsm_stru |
| typedef struct hal_dyn_cali_val hal_dyn_cali_val_stru |
| typedef struct tag_hal_rx_dscr_stru hal_rx_dscr_stru |
| typedef struct tag_hal_to_dmac_device_stru hal_to_dmac_device_stru |
| typedef struct tag_hal_tx_dscr_stru hal_tx_dscr_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 osal_u8 wlan_protect_mode_enum_uint8 |