WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_config.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2022. All rights reserved.
3 * Description: hmac_config.c 的头文件.
4 */
5
6#ifndef __HMAC_CONFIG_H__
7#define __HMAC_CONFIG_H__
8
9/*****************************************************************************
10 1 其他头文件包含
11*****************************************************************************/
12#include "hmac_device.h"
13#ifdef _PRE_WLAN_DFR_STAT
14#include "hmac_dfr.h"
15#endif
16
17#ifdef __cplusplus
18#if __cplusplus
19extern "C" {
20#endif
21#endif
22
23#undef THIS_FILE_ID
24#define THIS_FILE_ID OAM_FILE_ID_HMAC_CONFIG_H
25
26/*****************************************************************************
27 2 宏定义
28*****************************************************************************/
29#define HMAC_MAX_MCS_NUM 8 /* 单流和双流支持的mac最大个数 */
30#define QUICK_SEND_RESULT_INVALID 255
31
32#ifdef _PRE_WLAN_DFT_STAT
33#define WAL_CFG_TIME_OUT_MS 5000
34#endif
35/*****************************************************************************
36 3 枚举定义
37*****************************************************************************/
38/*****************************************************************************
39 4 全局变量声明
40*****************************************************************************/
41
42/*****************************************************************************
43 5 消息头定义
44*****************************************************************************/
45
46
47/*****************************************************************************
48 6 消息定义
49*****************************************************************************/
50
51
52/*****************************************************************************
53 7 STRUCT定义
54*****************************************************************************/
55typedef struct {
56 uint8_t ie_type;
57 uint8_t ie_id;
59/*****************************************************************************
60 8 UNION定义
61*****************************************************************************/
62
63
64/*****************************************************************************
65 9 OTHERS定义
66*****************************************************************************/
67
68
69/*****************************************************************************
70 10 函数声明
71*****************************************************************************/
75 mac_cfg_mode_param_stru *cfg_mode, mac_bss_dscr_stru *bss_dscr);
76
77#ifdef _PRE_PLAT_FEATURE_CUSTOMIZE
78osal_s32 hmac_config_set_all_log_level_etc(hmac_vap_stru *hmac_vap, frw_msg *msg);
79#endif /* #ifdef _PRE_PLAT_FEATURE_CUSTOMIZE */
80
82
83#ifdef _PRE_WLAN_FEATURE_WPA3
84osal_s32 hmac_config_external_auth(hmac_vap_stru *hmac_vap, frw_msg *msg);
85osal_s32 hmac_update_owe_info(hmac_vap_stru *hmac_vap, frw_msg *msg);
86#endif
87
88#ifdef _PRE_WLAN_FEATURE_11D
89osal_s32 hmac_config_set_rd_by_ie_switch_etc(hmac_vap_stru *hmac_vap, frw_msg *msg);
90#endif
91
93
99
102
107
109#ifdef _PRE_WLAN_FEATURE_PNO_SCAN
110osal_s32 hmac_config_stop_sched_scan(hmac_vap_stru *hmac_vap, frw_msg *msg);
111#endif
115#ifdef _PRE_WLAN_WIRELESS_EXT
116osal_s32 hmac_config_start_iwlist_scan(hmac_vap_stru *hmac_vap, frw_msg *msg);
117#endif
118#ifdef _PRE_WLAN_FIT_BASED_REALTIME_CALI
119osal_s32 hmac_config_set_dyn_cali_param(hmac_vap_stru *hmac_vap, frw_msg *msg);
120#endif
123
125#ifdef _PRE_WLAN_ONLINE_DPD
126osal_s32 hmac_dpd_to_hmac(hmac_vap_stru *hmac_vap, frw_msg *msg);
127#endif
128
132#ifdef _PRE_WLAN_CFGID_DEBUG
133osal_s32 hmac_config_rssi_limit(hmac_vap_stru *hmac_vap, frw_msg *msg);
134#endif
138#ifdef _PRE_WLAN_CFGID_DEBUG
139osal_s32 hmac_config_vap_info(hmac_vap_stru *hmac_vap);
140#endif
141#if defined(_PRE_OS_VERSION_LINUX) && defined(_PRE_OS_VERSION) && (_PRE_OS_VERSION_LINUX == _PRE_OS_VERSION)
142osal_s32 hmac_config_query_status(hmac_vap_stru *hmac_vap, frw_msg *msg);
143#endif
145#if defined(_PRE_WLAN_FEATURE_ALWAYS_TX) || defined(_PRE_WLAN_CFGID_DEBUG)
146osal_s32 hmac_config_reg_write(hmac_vap_stru *hmac_vap, frw_msg *msg);
147#endif
150
151#ifdef _PRE_WLAN_SUPPORT_CCPRIV_CMD
152osal_s32 hmac_config_reg_info(hmac_vap_stru *hmac_vap, frw_msg *msg);
153#endif
154
155#ifdef _PRE_WLAN_FEATURE_SNIFFER
156osal_s32 hmac_config_wifi_sniffer_switch(hmac_vap_stru *hmac_vap, frw_msg *msg);
157#endif
158
159#ifdef _PRE_WLAN_DFT_STAT
160osal_s32 hmac_config_query_ani(hmac_vap_stru *hmac_vap, frw_msg *msg);
161#endif
162
165#ifdef _PRE_WLAN_CFGID_DEBUG
166osal_s32 hmac_config_wfa_cfg_aifsn(hmac_vap_stru *hmac_vap, frw_msg *msg);
167osal_s32 hmac_config_wfa_cfg_cw(hmac_vap_stru *hmac_vap, frw_msg *msg);
168#endif
169
171
175
178
180
182
185
193#ifdef _PRE_WLAN_FEATURE_M2S
194osal_s32 hmac_m2s_switch_protect_comp_event_status(hmac_vap_stru *hmac_vap,
195 hmac_m2s_complete_syn_stru *m2s_comp_param);
196#endif
200#ifdef _PRE_WIFI_DEBUG
201osal_s32 hmac_config_set_tx_data_type_debug(hmac_vap_stru *hmac_vap, frw_msg *msg);
202osal_u8 hal_tx_data_type_debug_on(osal_void);
203#endif
209#if defined(_PRE_OS_VERSION_LITEOS) && defined(_PRE_OS_VERSION) && (_PRE_OS_VERSION_LITEOS == _PRE_OS_VERSION)
210osal_u8 hmac_is_mgmt_report_enable(osal_void);
211#endif
212
213#ifdef __cplusplus
214#if __cplusplus
215}
216#endif
217#endif
218
219#endif /* end of hmac_main */
osal_u8 hmac_config_get_quick_result(osal_void)
osal_s32 hmac_config_set_freq(hmac_vap_stru *hmac_vap, osal_u8 value)
osal_s32 hmac_config_beacon_chain_switch(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_device_sync(hmac_device_stru *hmac_device)
osal_s32 hmac_config_cali_dump_info(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_query_rssi(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_set_cal_tone(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_tx_comp_schedule(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_u32 wifi_get_init_start_time(osal_void)
osal_void wifi_set_init_start_time(osal_void)
osal_void h2d_cfg_init(osal_void)
osal_s32 hmac_config_phy_ant_select(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_cfg_vap_init_event(hmac_device_stru *hmac_device)
osal_s32 hmac_config_set_log_level(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_get_fem_pa_status(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_set_chan_meas(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_keepalive_sync_timestamp(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_query_psst(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_void hmac_config_scan_abort(hmac_vap_stru *hmac_vap)
osal_void hmac_config_rx_he_rom_en_handle(const hmac_vap_stru *hmac_vap)
osal_u32 hmac_config_vap_mib_update(hmac_vap_stru *hmac_vap)
osal_s32 hmac_config_set_rf_limit_power(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_get_tsf(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_void hmac_config_set_quick_result(osal_u8 result)
osal_s32 hmac_config_set_mode(hmac_vap_stru *hmac_vap, const mac_cfg_mode_param_stru *old_param)
osal_void hmac_cfg_exit(osal_void)
osal_s32 hmac_config_restore_tx_power(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_u32 hmac_get_g_gul_dual_antenna_enable(osal_void)
osal_s32 hmac_config_set_beacon_period(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_void hmac_cfg_init(osal_void)
osal_s32 hmac_config_reduce_sar(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_vap_state_syn(hmac_vap_stru *hmac_vap, mac_vap_state_enum_uint8 new_vap_state)
osal_s32 hmac_cali_to_hmac(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_u32 hmac_fill_sys_rsp(frw_msg *msg, osal_u16 len, const osal_u8 *param)
osal_u32 hmac_config_vap_cap_update(hmac_vap_stru *hmac_vap)
osal_s32 hmac_config_set_channel(hmac_vap_stru *hmac_vap, mac_cfg_channel_param_stru *channel_param)
osal_u32 hmac_reset_hw(hal_to_dmac_device_stru *hal_device, const hmac_reset_para_stru *reset_para)
osal_u32 hmac_config_sta_update_rates_etc(hmac_vap_stru *hmac_vap, mac_cfg_mode_param_stru *cfg_mode, mac_bss_dscr_stru *bss_dscr)
osal_s32 hmac_config_remove_app_ie(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_dump_phy(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_tx_complete_data(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_set_mode_cb(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_adjust_tx_power(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_dump_mac(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_send_custom_pkt(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_set_txpower(hmac_vap_stru *hmac_vap, osal_u8 value)
osal_s32 hmac_config_phy_ant_select_enable(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_get_dieid(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_dump_stats(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_mac_ant_select(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_suspend_action_sync(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_custom_cfg_priv_ini(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_set_rate_power_offset(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_config_connect(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_hal_device_sync(hal_to_dmac_device_stru *hal_device)
osal_s32 hmac_config_set_dbm(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_40m_intol_update_ap(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s8 hmac_config_get_free_power(const hmac_vap_stru *hmac_vap)
osal_s32 hmac_config_ch_status_sync_ext(hmac_vap_stru *hmac_vap, mac_ap_ch_info_stru *ch_info, osal_u16 info_len)
int osal_s32
Definition osal_types.h:19
unsigned char osal_u8
Definition osal_types.h:11
signed char osal_s8
Definition osal_types.h:17
void osal_void
Definition osal_types.h:29
unsigned int osal_u32
Definition osal_types.h:13
unsigned short osal_u16
Definition osal_types.h:12
Definition hmac_config.h:55
uint8_t ie_id
Definition hmac_config.h:57
uint8_t ie_type
Definition hmac_config.h:56
Definition frw_msg_rom.h:74
Definition mac_device_ext.h:856
Definition dmac_ext_if_hcm.h:393
Definition mac_vap_ext.h:2019
Definition mac_device_ext.h:349
Definition mac_device_ext.h:596
Definition mac_vap_ext.h:845
Definition mac_vap_ext.h:638
Definition hal_ops_common_rom.h:529
osal_u8 mac_vap_state_enum_uint8
Definition wlan_resource_common_rom.h:67