|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "oal_ext_if.h"#include "oam_ext_if.h"#include "frw_ext_if.h"#include "wlan_types_common.h"#include "hal_common_ops.h"#include "dmac_common_inc_rom.h"#include "hal_ext_anti_intf.h"#include "hal_ext_txbf.h"#include "hal_ext_tpc.h"#include "wlan_msg.h"#include "hal_ext_if_device.h"#include "hal_reg_opt.h"#include "hal_power_save.h"#include "hal_coex_reg.h"

结构体 | |
| struct | hal_cali_hal2hmac_event_stru |
| struct | hal_alg_cca_th_stru |
| struct | hal_error_proc_stru |
宏定义 | |
| #define | THIS_FILE_ID OAM_FILE_ID_HAL_EXT_IF_ROM_H |
| #define | hal_btcoex_check_sw_preempt_delba_on(_pst_handler) ((((*(osal_u8*)&((_pst_handler)->btcoex_sw_preempt.sw_preempt_mode)) & BIT1) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define | get_hal_device_btcoex_m2s_mode_bitmap(_pst_handler) (*(osal_u8*)&((_pst_handler)->device_btcoex_mgr.m2s_mode_bitmap)) /* 获取当前hal devcie的btcoex m2s业务bitmap */ |
| #define | get_hal_device_btcoex_s2m_mode_bitmap(_pst_handler) (*(osal_u8*)&((_pst_handler)->device_btcoex_mgr.s2m_mode_bitmap)) /* 获取当前hal devcie的btcoex s2m业务bitmap */ |
| #define | get_hal_device_btcoex_s2m_wait_bitmap(_pst_handler) (*(osal_u8*)&((_pst_handler)->device_btcoex_mgr.s2m_wait_bitmap)) |
| #define | HAL_PM_DEF_TBTT_OFFSET 1000 /* tbtt提前量默认值单位us */ |
| #define | HAL_PM_DEF_EXT_TSF_OFFSET 4500 /* 外置tsf唤醒提前量单位us */ |
| #define | get_hal_m2s_mode_tpye(_pst_handler) (*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode)) |
| #define | HAL_ANT_SWITCH_RSSI_MGMT_ENABLE BIT0 |
| #define | HAL_ANT_SWITCH_RSSI_DATA_ENABLE BIT1 |
| #define | get_hal_dev_current_scan_idx(_pst_hal_device) |
| #define | INVALID_SAR_PWR_LIMIT (0XFF) /* 当前SAR功率值 */ |
| #define | HAL_SAR_PWR_LIMIT_THRESHOLD (15) /* SAR功率阈值,低于阈值表示正在降SAR,高于阈值表示降SAR结束 */ |
| #define | hal_device_state_is_busy(_pst_hal_device) |
| #define | hal_device_prev_state_is_busy(_pst_hal_device) |
| #define | hal_m2s_check_fast_scan_on(_pst_handler) |
| #define | hal_m2s_check_rssi_on(_pst_handler) ((((*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode))& WLAN_M2S_TRIGGER_MODE_RSSI) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define | hal_m2s_check_btcoex_on(_pst_handler) |
| #define | hal_m2s_check_command_on(_pst_handler) |
| #define | hal_m2s_check_test_on(_pst_handler) ((((*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode))& WLAN_M2S_TRIGGER_MODE_TEST) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define | hal_m2s_check_custom_on(_pst_handler) |
| #define | hal_m2s_check_spec_on(_pst_handler) ((((*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode))& WLAN_M2S_TRIGGER_MODE_SPEC) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define | get_hal_dev_current_scan_idx(_pst_hal_device) |
| #define | HAL_VAP_LEVEL_FUNC |
| #define get_hal_dev_current_scan_idx | ( | _pst_hal_device | ) |
| #define get_hal_dev_current_scan_idx | ( | _pst_hal_device | ) |
| #define get_hal_device_btcoex_m2s_mode_bitmap | ( | _pst_handler | ) | (*(osal_u8*)&((_pst_handler)->device_btcoex_mgr.m2s_mode_bitmap)) /* 获取当前hal devcie的btcoex m2s业务bitmap */ |
| #define get_hal_device_btcoex_s2m_mode_bitmap | ( | _pst_handler | ) | (*(osal_u8*)&((_pst_handler)->device_btcoex_mgr.s2m_mode_bitmap)) /* 获取当前hal devcie的btcoex s2m业务bitmap */ |
| #define get_hal_device_btcoex_s2m_wait_bitmap | ( | _pst_handler | ) | (*(osal_u8*)&((_pst_handler)->device_btcoex_mgr.s2m_wait_bitmap)) |
| #define get_hal_m2s_mode_tpye | ( | _pst_handler | ) | (*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode)) |
| #define HAL_ANT_SWITCH_RSSI_DATA_ENABLE BIT1 |
| #define HAL_ANT_SWITCH_RSSI_MGMT_ENABLE BIT0 |
| #define hal_btcoex_check_sw_preempt_delba_on | ( | _pst_handler | ) | ((((*(osal_u8*)&((_pst_handler)->btcoex_sw_preempt.sw_preempt_mode)) & BIT1) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define hal_device_prev_state_is_busy | ( | _pst_hal_device | ) |
| #define hal_device_state_is_busy | ( | _pst_hal_device | ) |
| #define hal_m2s_check_btcoex_on | ( | _pst_handler | ) |
| #define hal_m2s_check_command_on | ( | _pst_handler | ) |
| #define hal_m2s_check_custom_on | ( | _pst_handler | ) |
| #define hal_m2s_check_fast_scan_on | ( | _pst_handler | ) |
| #define hal_m2s_check_rssi_on | ( | _pst_handler | ) | ((((*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode))& WLAN_M2S_TRIGGER_MODE_RSSI) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define hal_m2s_check_spec_on | ( | _pst_handler | ) | ((((*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode))& WLAN_M2S_TRIGGER_MODE_SPEC) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define hal_m2s_check_test_on | ( | _pst_handler | ) | ((((*(osal_u8*)&((_pst_handler)->hal_m2s_fsm.m2s_mode))& WLAN_M2S_TRIGGER_MODE_TEST) != 0) ? OSAL_TRUE : OSAL_FALSE) |
| #define HAL_PM_DEF_EXT_TSF_OFFSET 4500 /* 外置tsf唤醒提前量单位us */ |
| #define HAL_PM_DEF_TBTT_OFFSET 1000 /* tbtt提前量默认值单位us */ |
| #define HAL_SAR_PWR_LIMIT_THRESHOLD (15) /* SAR功率阈值,低于阈值表示正在降SAR,高于阈值表示降SAR结束 */ |
| #define HAL_VAP_LEVEL_FUNC |
| #define INVALID_SAR_PWR_LIMIT (0XFF) /* 当前SAR功率值 */ |
| #define THIS_FILE_ID OAM_FILE_ID_HAL_EXT_IF_ROM_H |
| hal_to_dmac_device_stru * hal_chip_get_hal_device | ( | osal_void | ) |
| hal_cipher_protocol_type_enum_uint8 hal_cipher_suite_to_ctype | ( | wlan_ciper_protocol_type_enum_uint8 | cipher_suite | ) |
| wlan_ciper_protocol_type_enum_uint8 hal_ctype_to_cipher_suite | ( | hal_cipher_protocol_type_enum_uint8 | cipher_type | ) |
| osal_void hal_device_dec_assoc_user_nums | ( | hal_to_dmac_device_stru * | hal_device | ) |
| osal_u8 hal_device_find_all_up_vap | ( | const hal_to_dmac_device_stru * | hal_device, |
| osal_u8 * | vap_id, | ||
| osal_u8 | lenth | ||
| ) |
| osal_u32 hal_device_find_another_up_vap | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 | vap_id_self, | ||
| osal_u8 * | mac_vap_id | ||
| ) |
| osal_u32 hal_device_find_one_up_hal_vap | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 * | vap_id | ||
| ) |
| osal_u32 hal_device_find_one_up_vap | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 * | mac_vap_id | ||
| ) |
| hal_cfg_cap_info_stru * hal_device_get_cfg_custom_addr | ( | osal_void | ) |
| osal_void hal_device_get_fix_rate_pow_code_idx | ( | const hal_tx_ctrl_desc_rate_stru * | rate_param, |
| osal_u8 * | rate_pow_idx | ||
| ) |
| osal_void hal_device_handle_event | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u16 | type, | ||
| osal_u16 | datalen, | ||
| osal_u8 * | data | ||
| ) |
| osal_void hal_device_inc_assoc_user_nums | ( | hal_to_dmac_device_stru * | hal_device | ) |
| osal_void hal_device_init_vap_pow_code | ( | hal_to_dmac_device_stru * | hal_device, |
| hal_vap_pow_info_stru * | vap_pow_info, | ||
| hal_pow_set_type_enum_uint8 | type, | ||
| const mac_channel_stru * | channel | ||
| ) |
| osal_void hal_device_p2p_adjust_upc | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 | cur_ch_num, | ||
| wlan_channel_band_enum_uint8 | freq_band, | ||
| wlan_channel_bandwidth_enum_uint8 | bandwidth | ||
| ) |
| osal_void hal_device_set_pow_al_tx | ( | const hal_to_dmac_device_stru * | hal_device, |
| osal_u8 | band, | ||
| hal_tx_txop_alg_stru * | txop_alg | ||
| ) |
| osal_void hal_flush_tx_complete_irq | ( | hal_to_dmac_device_stru * | hal_dev | ) |
| oal_bool_enum_uint8 hal_get_hal_device_is_work | ( | hal_to_dmac_device_stru * | hal_device | ) |
| osal_u8 hal_pow_get_legacy_rate | ( | hal_tx_ctrl_desc_rate_stru * | tx_dscr | ) |
| osal_void hal_pow_sw_initialize_tx_power | ( | hal_to_dmac_device_stru * | hal_device | ) |
| osal_void hal_pow_sync_tpc_code_to_dmac | ( | hal_to_dmac_device_stru * | hal_device, |
| osal_u8 | vap_id | ||
| ) |
| osal_void hal_rx_filter_set_alrx_state | ( | hal_device_always_rx_state_enum | al_rx_flag | ) |
| osal_u8 hal_save_machw_phy_pa_status | ( | hal_to_dmac_device_stru * | hal_device_base | ) |
| osal_void hal_set_ax_ctl_by_protocol | ( | wlan_protocol_enum_uint8 | protocol | ) |
| osal_void hal_tpc_cali_ftm_updata_channel | ( | hal_to_dmac_device_stru * | hal_device, |
| mac_channel_stru * | channel | ||
| ) |