|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
#include "mac_frame.h"#include "mac_regdomain.h"#include "wlan_spec.h"#include "wlan_mib_hcm.h"#include "wlan_types_common.h"#include "frw_osal.h"#include "oam_ext_if.h"#include "frw_ext_if.h"#include "hal_common_ops.h"#include "osal_types.h"#include "osal_adapt.h"#include "oal_ext_if.h"#include "hal_ext_if.h"#include "wlan_resource_common.h"

结构体 | |
| struct | mac_device_voe_custom_stru |
| struct | mac_lut_table_stru |
| struct | mac_chip_stru |
| struct | mac_board_stru |
| struct | mac_bss_id_list_stru |
| struct | mac_reset_sys_stru |
| struct | mac_ap_ch_info_stru |
| struct | mac_device_capability_stru |
| struct | mac_pm_debug_cfg_stru |
| struct | mac_tx_seqnum_struc |
| struct | hmac_bss_list_exceed_info_stru |
| struct | hmac_bss_mgmt_stru |
| struct | mac_m2s_ie_stru |
| struct | mac_cfg_rssi_limit_stru |
| struct | mac_blacklist_stru |
| struct | mac_autoblacklist_stru |
| struct | mac_autoblacklist_info_stru |
| struct | mac_blacklist_info_stru |
| struct | mac_p2p_info_stru |
| struct | mac_scan_rsp_stru |
| struct | mac_scanned_result_extend_info_stru |
| struct | hmac_scan_record_stru |
| struct | hmac_scan_stru |
| struct | mac_bss_dscr_stru |
| struct | mac_scan_req_stru |
| struct | hmac_rx_dscr_opt_stru |
| struct | mac_device_m2s_stru |
| struct | mac_m2s_mgr_stru |
| struct | mac_csi_usr_config_stru |
| struct | mac_csi_buffer_stru |
| struct | mac_location_event_stru |
| struct | hmac_device_stru |
| struct | mac_wiphy_priv_stru |
宏定义 | |
| #define | MAC_NET_DEVICE_NAME_LENGTH 16 |
| #define | MAC_BAND_CAP_NAME_LENGTH 16 |
| #define | MAC_DATARATES_PHY_80211G_NUM 12 |
| #define | MAC_EXCEPTION_TIME_OUT 10000 |
| #define | MULTI_BSSID_BITMAP 32 |
| #define | WLAN_USER_MAX_SUPP_RATES 16 /* 用于记录对端设备支持的速率最大个数 */ |
| #define | mac_device_get_cap_bw(_pst_device) ((_pst_device)->device_cap.channel_width) |
| #define | mac_device_get_nss_num(_pst_device) ((_pst_device)->device_cap.nss_num) |
| #define | mac_device_get_cap_ldpc(_pst_device) ((_pst_device)->device_cap.ldpc_is_supp) |
| #define | mac_device_get_cap_txstbc(_pst_device) ((_pst_device)->device_cap.tx_stbc_is_supp) |
| #define | mac_device_get_cap_rxstbc(_pst_device) ((_pst_device)->device_cap.rx_stbc_is_supp) |
| #define | mac_device_get_cap_subfer(_pst_device) ((_pst_device)->device_cap.su_bfmer_is_supp) |
| #define | mac_device_get_cap_subfee(_pst_device) ((_pst_device)->device_cap.su_bfmee_is_supp) |
| #define | mac_device_get_cap_mubfer(_pst_device) ((_pst_device)->device_cap.mu_bfmer_is_supp) |
| #define | mac_device_get_cap_mubfee(_pst_device) ((_pst_device)->device_cap.mu_bfmee_is_supp) |
| #define | mac_device_get_cap_rx_mtid(_pst_device) ((_pst_device)->device_cap.mtid_aggregation_rx_support) |
| #define | mac_device_get_cap_32bitmap(_pst_device) ((_pst_device)->device_cap.ba_bitmap_support_32bit) |
| #define | MAX_PNO_SSID_COUNT 16 |
| #define | MAX_PNO_REPEAT_TIMES 4 |
| #define | PNO_SCHED_SCAN_INTERVAL (60 * 1000) |
| #define | MAC_SCAN_FUNC_MEAS 0x1 |
| #define | MAC_SCAN_FUNC_STATS 0x2 |
| #define | MAC_SCAN_FUNC_RADAR 0x4 |
| #define | MAC_SCAN_FUNC_BSS 0x8 |
| #define | MAC_SCAN_FUNC_P2P_LISTEN 0x10 |
| #define | MAC_SCAN_FUNC_ALL (MAC_SCAN_FUNC_MEAS | MAC_SCAN_FUNC_STATS | MAC_SCAN_FUNC_RADAR | MAC_SCAN_FUNC_BSS) |
| #define | MAC_SCAN_CHANNEL_INTERVAL_DEFAULT 6 /* 间隔6个信道,切回工作信道工作一段时间 */ |
| #define | MAC_WORK_TIME_ON_HOME_CHANNEL_DEFAULT 110 /* 背景扫描时,返回工作信道工作的时间 */ |
| #define | MAC_SCAN_CHANNEL_INTERVAL_PERFORMANCE 2 /* 间隔2个信道,切回工作信道工作一段时间 */ |
| #define | MAC_WORK_TIME_ON_HOME_CHANNEL_PERFORMANCE 60 /* WLAN未关联,P2P关联,返回工作信道工作的时间 */ |
| #define | mac_dbac_enable(_pst_device) (OAL_FALSE) |
| #define | MAC_FCS_DBAC_IGNORE 0 /* 不是DBAC场景 */ |
| #define | MAC_FCS_DBAC_NEED_CLOSE 1 /* DBAC需要关闭 */ |
| #define | MAC_FCS_DBAC_NEED_OPEN 2 /* DBAC需要开启 */ |
| #define | BTCOEX_BSS_NUM_IN_BLACKLIST 16 |
类型定义 | |
| typedef osal_u8 | mac_ch_type_enum_uint8 |
| typedef osal_u8 | mac_chan_status_enum_uint8 |
| typedef osal_u8 | mac_reset_sys_type_enum_uint8 |
| typedef osal_u8 | mac_report_info_flags_enum_uint8 |
| typedef osal_u8 | mac_device_radio_cap_enum_uint8 |
| typedef osal_u8 | mac_dfr_timer_step_enum_uint8 |
| typedef td_u8 | mac_set_dscr_frame_type_enum_uint8 |
| typedef osal_u8 | mac_sdt_rw_mode_enum_uint8 |
| typedef osal_u8 | mac_csa_flag_enum_uint8 |
| typedef osal_u8 | mac_m2s_mode_enum_uint8 |
| typedef osal_u8 | mac_m2s_command_state_enum_uint8 |
| typedef osal_u8 | mac_m2s_command_mode_enum_uint8 |
| typedef osal_u8 | hal_dev_rssi_enum_uint8 |
| typedef osal_u8 | mac_pm_debug_cfg_enum_uint8 |
| typedef osal_u8 | mac_dbdc_cmd_enum_uint8 |
| typedef osal_u8 | mac_acs_rsn_enum_uint8 |
| typedef osal_u8 | mac_acs_sw_enum_uint8 |
| typedef osal_u8 | mac_acs_set_ch_enum_uint8 |
| typedef osal_u8 | mac_rssi_limit_type_enum_uint8 |
| typedef osal_u8 | mac_scan_status_enum_uint8 |
| typedef osal_void(* | mac_scan_cb_fn) (osal_void *p_scan_record) |
| #define BTCOEX_BSS_NUM_IN_BLACKLIST 16 |
| #define MAC_BAND_CAP_NAME_LENGTH 16 |
| #define MAC_DATARATES_PHY_80211G_NUM 12 |
| #define mac_dbac_enable | ( | _pst_device | ) | (OAL_FALSE) |
| #define mac_device_get_cap_32bitmap | ( | _pst_device | ) | ((_pst_device)->device_cap.ba_bitmap_support_32bit) |
| #define mac_device_get_cap_bw | ( | _pst_device | ) | ((_pst_device)->device_cap.channel_width) |
| #define mac_device_get_cap_ldpc | ( | _pst_device | ) | ((_pst_device)->device_cap.ldpc_is_supp) |
| #define mac_device_get_cap_mubfee | ( | _pst_device | ) | ((_pst_device)->device_cap.mu_bfmee_is_supp) |
| #define mac_device_get_cap_mubfer | ( | _pst_device | ) | ((_pst_device)->device_cap.mu_bfmer_is_supp) |
| #define mac_device_get_cap_rx_mtid | ( | _pst_device | ) | ((_pst_device)->device_cap.mtid_aggregation_rx_support) |
| #define mac_device_get_cap_rxstbc | ( | _pst_device | ) | ((_pst_device)->device_cap.rx_stbc_is_supp) |
| #define mac_device_get_cap_subfee | ( | _pst_device | ) | ((_pst_device)->device_cap.su_bfmee_is_supp) |
| #define mac_device_get_cap_subfer | ( | _pst_device | ) | ((_pst_device)->device_cap.su_bfmer_is_supp) |
| #define mac_device_get_cap_txstbc | ( | _pst_device | ) | ((_pst_device)->device_cap.tx_stbc_is_supp) |
| #define mac_device_get_nss_num | ( | _pst_device | ) | ((_pst_device)->device_cap.nss_num) |
| #define MAC_EXCEPTION_TIME_OUT 10000 |
| #define MAC_FCS_DBAC_IGNORE 0 /* 不是DBAC场景 */ |
| #define MAC_FCS_DBAC_NEED_CLOSE 1 /* DBAC需要关闭 */ |
| #define MAC_FCS_DBAC_NEED_OPEN 2 /* DBAC需要开启 */ |
| #define MAC_NET_DEVICE_NAME_LENGTH 16 |
| #define MAC_SCAN_CHANNEL_INTERVAL_DEFAULT 6 /* 间隔6个信道,切回工作信道工作一段时间 */ |
| #define MAC_SCAN_CHANNEL_INTERVAL_PERFORMANCE 2 /* 间隔2个信道,切回工作信道工作一段时间 */ |
| #define MAC_SCAN_FUNC_ALL (MAC_SCAN_FUNC_MEAS | MAC_SCAN_FUNC_STATS | MAC_SCAN_FUNC_RADAR | MAC_SCAN_FUNC_BSS) |
| #define MAC_SCAN_FUNC_BSS 0x8 |
| #define MAC_SCAN_FUNC_MEAS 0x1 |
| #define MAC_SCAN_FUNC_P2P_LISTEN 0x10 |
| #define MAC_SCAN_FUNC_RADAR 0x4 |
| #define MAC_SCAN_FUNC_STATS 0x2 |
| #define MAC_WORK_TIME_ON_HOME_CHANNEL_DEFAULT 110 /* 背景扫描时,返回工作信道工作的时间 */ |
| #define MAC_WORK_TIME_ON_HOME_CHANNEL_PERFORMANCE 60 /* WLAN未关联,P2P关联,返回工作信道工作的时间 */ |
| #define MAX_PNO_REPEAT_TIMES 4 |
| #define MAX_PNO_SSID_COUNT 16 |
| #define MULTI_BSSID_BITMAP 32 |
| #define PNO_SCHED_SCAN_INTERVAL (60 * 1000) |
| #define WLAN_USER_MAX_SUPP_RATES 16 /* 用于记录对端设备支持的速率最大个数 */ |
| typedef osal_u8 hal_dev_rssi_enum_uint8 |
| typedef osal_u8 mac_acs_rsn_enum_uint8 |
| typedef osal_u8 mac_acs_set_ch_enum_uint8 |
| typedef osal_u8 mac_acs_sw_enum_uint8 |
| typedef osal_u8 mac_ch_type_enum_uint8 |
| typedef osal_u8 mac_chan_status_enum_uint8 |
| typedef osal_u8 mac_csa_flag_enum_uint8 |
| typedef osal_u8 mac_dbdc_cmd_enum_uint8 |
| typedef osal_u8 mac_dfr_timer_step_enum_uint8 |
| typedef osal_u8 mac_m2s_mode_enum_uint8 |
| typedef osal_u8 mac_pm_debug_cfg_enum_uint8 |
| typedef osal_u8 mac_reset_sys_type_enum_uint8 |
| typedef osal_u8 mac_scan_status_enum_uint8 |
| typedef osal_u8 mac_sdt_rw_mode_enum_uint8 |
| enum hal_dev_rssi_enum |
| enum mac_acs_rsn_enum |
| enum mac_acs_set_ch_enum |
| enum mac_acs_sw_enum |
| enum mac_ch_type_enum |
| enum mac_chan_status_enum |
| enum mac_csa_flag_enum |
| enum mac_dbdc_cmd_enum |
| enum mac_m2s_mode_enum |
| enum mac_scan_status_enum |
| enum mac_sdt_rw_mode_enum |
| osal_void hmac_chip_dec_active_user | ( | hmac_device_stru * | hmac_device | ) |
| osal_void hmac_chip_inc_active_user | ( | hmac_device_stru * | hmac_device | ) |
| osal_void * hmac_device_get_all_rates_etc | ( | const hmac_device_stru * | hmac_device | ) |
| wlan_mib_vht_supp_width_enum_uint8 hmac_device_trans_bandwith_to_vht_capinfo | ( | wlan_bw_cap_enum_uint8 | max_op_bd | ) |
| wlan_bw_cap_enum_uint8 hmac_get_device_bw_mode | ( | const hal_to_dmac_device_stru * | hal_device | ) |
| void mac_blacklist_get_pointer | ( | wlan_vap_mode_enum_uint8 | vap_mode, |
| osal_u8 | dev_id, | ||
| osal_u8 | chip_id, | ||
| osal_u8 | vap_id, | ||
| mac_blacklist_info_stru ** | blacklist_info | ||
| ) |
| osal_u32 mac_board_exit_etc | ( | const mac_board_stru * | board | ) |
| osal_u32 mac_board_init_etc | ( | void | ) |
| osal_u32 mac_chip_exit_etc | ( | const mac_board_stru * | board, |
| mac_chip_stru * | chip | ||
| ) |
| osal_u32 mac_chip_init_etc | ( | mac_chip_stru * | chip, |
| osal_u8 | device_max | ||
| ) |
| osal_u32 mac_device_exit_etc | ( | hmac_device_stru * | hmac_device | ) |
| mac_device_capability_stru * mac_device_get_capability | ( | osal_void | ) |
| osal_u32 mac_device_init_etc | ( | hmac_device_stru * | hmac_device, |
| osal_u32 | chip_ver, | ||
| osal_u8 | chip_id, | ||
| osal_u8 | device_id | ||
| ) |
| mac_board_stru * mac_get_pst_mac_board | ( | osal_void | ) |
| mac_device_voe_custom_stru * mac_get_pst_mac_voe_custom_param | ( | osal_void | ) |