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

浏览源代码.

结构体

struct  hmac_maxtimeout_timer_stru
 
struct  hmac_interval_timer_stru
 
struct  hmac_asoc_user_req_ie_stru
 
struct  hmac_usr_uapsd_statis_stru
 
struct  hmac_user_psm_stats_stru
 
struct  hmac_rssi_stat_info_stru
 
struct  hmac_rate_stat_info_stru
 
struct  hmac_user_rate_info_stru
 

宏定义

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_USER_H
 
#define HMAC_ADDBA_EXCHANGE_ATTEMPTS   10 /* 试图建立ADDBA会话的最大允许次数 */
 
#define hmac_user_is_amsdu_support(_user, _tid)   (((_user)->amsdu_supported) & (0x01 << ((_tid) & 0x07)))
 
#define hmac_user_set_amsdu_support(_user, _tid)   (((_user)->amsdu_supported) |= (0x01 << ((_tid) & 0x07)))
 
#define hmac_user_set_amsdu_not_support(_user, _tid)    (((_user)->amsdu_supported) &= (osal_u8)(~(0x01 << ((_tid) & 0x07))))
 
#define hmac_user_stats_pkt_incr(_member, _cnt)   ((_member) += (_cnt))
 
#define HMAC_COMPATIBILITY_PKT_NUM_LIMIT   2000
 
#define HMAC_INVALID_USER_LUT_INDEX   (WLAN_ACTIVE_USER_MAX_NUM) /* 无效的user lut index */
 

类型定义

typedef osal_u8 hmac_user_ps_state_enum_uint8
 
typedef osal_u8 hmac_user_state_enum_uint8
 
typedef osal_u8 psm_queue_type_enum_uint8
 
typedef osal_u32(* hmac_user_keepalive_timer_proc_cb) (osal_void *arg)
 

枚举

enum  hmac_user_ps_state_enum { HMAC_USER_PS_STATE_ACTIVE = 0 , HMAC_USER_PS_STATE_DOZE = 1 , HMAC_USER_PS_STATE_BUTT }
 
enum  hmac_user_state_enum { HMAC_USER_STATE_PS , HMAC_USER_STATE_ACTIVE , HMAC_USER_STATE_BUTT }
 
enum  psm_queue_type_enum { PSM_QUEUE_TYPE_NORMAL , PSM_QUEUE_TYPE_IMPORTANT , PSM_QUEUE_TYPE_BUTT }
 

函数

OAL_STATIC OAL_INLINE oal_bool_enum_uint8 hmac_user_ht_support (const hmac_user_stru *hmac_user)
 
OAL_STATIC OAL_INLINE oal_bool_enum_uint8 hmac_user_xht_support (const hmac_user_stru *hmac_user)
 
osal_u32 hmac_user_set_asoc_req_ie (hmac_user_stru *hmac_user, osal_u8 *payload, osal_u32 len, osal_u8 reass_flag)
 
osal_u32 hmac_user_free_asoc_req_ie (hmac_user_stru *hmac_user)
 
osal_u32 hmac_user_set_avail_num_space_stream_etc (hmac_user_stru *hmac_user, wlan_nss_enum_uint8 vap_nss)
 
osal_u32 hmac_user_del_etc (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user)
 
osal_u32 hmac_user_add_etc (hmac_vap_stru *hmac_vap, osal_u8 *mac_addr, osal_u16 *pus_user_index)
 
osal_u32 hmac_user_add_multi_user_etc (hmac_vap_stru *hmac_vap, osal_u16 *pus_user_index)
 
osal_u32 hmac_user_del_multi_user_etc (hmac_vap_stru *hmac_vap)
 
osal_u32 hmac_user_add_notify_alg_etc (hmac_vap_stru *hmac_vap, osal_u16 user_idx)
 
osal_u32 hmac_update_user_last_active_time (hmac_vap_stru *hmac_vap, osal_u8 len, osal_u8 *param)
 
osal_void hmac_tid_clear_etc (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_bool lock_free_flag)
 
hmac_user_strumac_res_get_hmac_user_etc (osal_u16 idx)
 
hmac_user_strumac_vap_get_hmac_user_by_addr_etc (hmac_vap_stru *hmac_vap, const osal_u8 *mac_addr)
 
osal_u32 mac_user_init_etc (hmac_user_stru *hmac_user, osal_u16 user_idx, osal_u8 *mac_addr, hmac_vap_stru *hmac_vap)
 
osal_void hmac_user_set_lut_info (hal_to_dmac_device_stru *hal_device, osal_u8 lut_index, osal_u8 *mac_addr)
 
osal_void hmac_user_del_lut_info (osal_u8 lut_index)
 
osal_u32 hmac_user_set_bandwith_handler (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, wlan_bw_cap_enum_uint8 bw_cap)
 
osal_u32 hmac_user_add_multi_user (hmac_vap_stru *hmac_vap, osal_u16 multi_user_idx)
 
osal_s32 hmac_user_add_notify_alg (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, frw_msg *msg)
 
osal_void hmac_user_del (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_ap_type_enum_uint8 ap_type)
 
osal_void hmac_user_key_search_fail_handler (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_ieee80211_frame_stru *frame_hdr)
 
osal_void hmac_user_pause (hmac_user_stru *hmac_user)
 
osal_u32 hmac_user_resume (hmac_user_stru *hmac_user)
 
osal_void hmac_user_init_slottime (const hmac_user_stru *hmac_user)
 
osal_u32 hmac_user_get_tid_by_num (hmac_user_stru *hmac_user, osal_u8 tid_num, hmac_tid_stru **tid_queue)
 
osal_void hmac_ap_pause_all_user (const hmac_vap_stru *hmac_vap)
 
osal_void hmac_rx_compatibility_identify (hmac_user_stru *hmac_user, osal_u32 rate_kbps)
 
osal_void hmac_rx_compatibility_show_stat (hmac_user_stru *hmac_user)
 
oal_bool_enum_uint8 hmac_psm_is_psm_empty (hmac_user_stru *hmac_user)
 
oal_bool_enum_uint8 hmac_psm_is_tid_empty (const hmac_user_stru *hmac_user)
 
osal_u32 hmac_psm_tid_mpdu_num (const hmac_user_stru *hmac_user)
 
osal_void hmac_ap_resume_all_user (hmac_vap_stru *hmac_vap)
 
osal_void hmac_user_ps_queue_overrun_notify (const hmac_vap_stru *hmac_vap)
 
osal_s32 hmac_user_sync (hmac_user_stru *hmac_user)
 
osal_void hmac_user_use_cnt_dec (hmac_user_stru *hmac_user)
 
osal_void hmac_user_use_cnt_inc (osal_u16 user_idx, hmac_user_stru **user)
 
osal_u32 hmac_user_keepalive_timer (osal_void *arg)
 
osal_s32 hmac_config_set_user_app_ie_cb (hmac_vap_stru *hmac_vap, frw_msg *msg)
 
oal_bool_enum_uint8 hmac_user_get_ps_mode (const hmac_user_stru *hmac_user)
 
osal_u32 hmac_alg_distance_notify_hook (hal_to_dmac_device_stru *hal_device, osal_u8 distance)
 

宏定义说明

◆ HMAC_ADDBA_EXCHANGE_ATTEMPTS

#define HMAC_ADDBA_EXCHANGE_ATTEMPTS   10 /* 试图建立ADDBA会话的最大允许次数 */

◆ HMAC_COMPATIBILITY_PKT_NUM_LIMIT

#define HMAC_COMPATIBILITY_PKT_NUM_LIMIT   2000

◆ HMAC_INVALID_USER_LUT_INDEX

#define HMAC_INVALID_USER_LUT_INDEX   (WLAN_ACTIVE_USER_MAX_NUM) /* 无效的user lut index */

◆ hmac_user_is_amsdu_support

#define hmac_user_is_amsdu_support (   _user,
  _tid 
)    (((_user)->amsdu_supported) & (0x01 << ((_tid) & 0x07)))

◆ hmac_user_set_amsdu_not_support

#define hmac_user_set_amsdu_not_support (   _user,
  _tid 
)     (((_user)->amsdu_supported) &= (osal_u8)(~(0x01 << ((_tid) & 0x07))))

◆ hmac_user_set_amsdu_support

#define hmac_user_set_amsdu_support (   _user,
  _tid 
)    (((_user)->amsdu_supported) |= (0x01 << ((_tid) & 0x07)))

◆ hmac_user_stats_pkt_incr

#define hmac_user_stats_pkt_incr (   _member,
  _cnt 
)    ((_member) += (_cnt))

◆ THIS_FILE_ID

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_USER_H

类型定义说明

◆ hmac_user_keepalive_timer_proc_cb

typedef osal_u32(* hmac_user_keepalive_timer_proc_cb) (osal_void *arg)

◆ hmac_user_ps_state_enum_uint8

◆ hmac_user_state_enum_uint8

◆ psm_queue_type_enum_uint8

枚举类型说明

◆ hmac_user_ps_state_enum

枚举值
HMAC_USER_PS_STATE_ACTIVE 
HMAC_USER_PS_STATE_DOZE 
HMAC_USER_PS_STATE_BUTT 

◆ hmac_user_state_enum

枚举值
HMAC_USER_STATE_PS 
HMAC_USER_STATE_ACTIVE 
HMAC_USER_STATE_BUTT 

◆ psm_queue_type_enum

枚举值
PSM_QUEUE_TYPE_NORMAL 
PSM_QUEUE_TYPE_IMPORTANT 
PSM_QUEUE_TYPE_BUTT 

函数说明

◆ hmac_alg_distance_notify_hook()

osal_u32 hmac_alg_distance_notify_hook ( hal_to_dmac_device_stru hal_device,
osal_u8  distance 
)

◆ hmac_ap_pause_all_user()

osal_void hmac_ap_pause_all_user ( const hmac_vap_stru hmac_vap)

◆ hmac_ap_resume_all_user()

osal_void hmac_ap_resume_all_user ( hmac_vap_stru hmac_vap)

◆ hmac_config_set_user_app_ie_cb()

osal_s32 hmac_config_set_user_app_ie_cb ( hmac_vap_stru hmac_vap,
frw_msg msg 
)

◆ hmac_psm_is_psm_empty()

oal_bool_enum_uint8 hmac_psm_is_psm_empty ( hmac_user_stru hmac_user)

◆ hmac_psm_is_tid_empty()

oal_bool_enum_uint8 hmac_psm_is_tid_empty ( const hmac_user_stru hmac_user)

◆ hmac_psm_tid_mpdu_num()

osal_u32 hmac_psm_tid_mpdu_num ( const hmac_user_stru hmac_user)

◆ hmac_rx_compatibility_identify()

osal_void hmac_rx_compatibility_identify ( hmac_user_stru hmac_user,
osal_u32  rate_kbps 
)

◆ hmac_rx_compatibility_show_stat()

osal_void hmac_rx_compatibility_show_stat ( hmac_user_stru hmac_user)

◆ hmac_tid_clear_etc()

osal_void hmac_tid_clear_etc ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
osal_bool  lock_free_flag 
)
extern

◆ hmac_update_user_last_active_time()

osal_u32 hmac_update_user_last_active_time ( hmac_vap_stru hmac_vap,
osal_u8  len,
osal_u8 param 
)
extern

◆ hmac_user_add_etc()

osal_u32 hmac_user_add_etc ( hmac_vap_stru hmac_vap,
osal_u8 mac_addr,
osal_u16 pus_user_index 
)
extern

◆ hmac_user_add_multi_user()

osal_u32 hmac_user_add_multi_user ( hmac_vap_stru hmac_vap,
osal_u16  multi_user_idx 
)

◆ hmac_user_add_multi_user_etc()

osal_u32 hmac_user_add_multi_user_etc ( hmac_vap_stru hmac_vap,
osal_u16 pus_user_index 
)
extern

◆ hmac_user_add_notify_alg()

osal_s32 hmac_user_add_notify_alg ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
frw_msg msg 
)

◆ hmac_user_add_notify_alg_etc()

osal_u32 hmac_user_add_notify_alg_etc ( hmac_vap_stru hmac_vap,
osal_u16  user_idx 
)
extern

◆ hmac_user_del()

osal_void hmac_user_del ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
mac_ap_type_enum_uint8  ap_type 
)

◆ hmac_user_del_etc()

osal_u32 hmac_user_del_etc ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user 
)
extern

◆ hmac_user_del_lut_info()

osal_void hmac_user_del_lut_info ( osal_u8  lut_index)

◆ hmac_user_del_multi_user_etc()

osal_u32 hmac_user_del_multi_user_etc ( hmac_vap_stru hmac_vap)
extern

◆ hmac_user_free_asoc_req_ie()

osal_u32 hmac_user_free_asoc_req_ie ( hmac_user_stru hmac_user)
extern

◆ hmac_user_get_ps_mode()

oal_bool_enum_uint8 hmac_user_get_ps_mode ( const hmac_user_stru hmac_user)

◆ hmac_user_get_tid_by_num()

osal_u32 hmac_user_get_tid_by_num ( hmac_user_stru hmac_user,
osal_u8  tid_num,
hmac_tid_stru **  tid_queue 
)

◆ hmac_user_ht_support()

OAL_STATIC OAL_INLINE oal_bool_enum_uint8 hmac_user_ht_support ( const hmac_user_stru hmac_user)

◆ hmac_user_init_slottime()

osal_void hmac_user_init_slottime ( const hmac_user_stru hmac_user)

◆ hmac_user_keepalive_timer()

osal_u32 hmac_user_keepalive_timer ( osal_void arg)

◆ hmac_user_key_search_fail_handler()

osal_void hmac_user_key_search_fail_handler ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
mac_ieee80211_frame_stru frame_hdr 
)

◆ hmac_user_pause()

osal_void hmac_user_pause ( hmac_user_stru hmac_user)

◆ hmac_user_ps_queue_overrun_notify()

osal_void hmac_user_ps_queue_overrun_notify ( const hmac_vap_stru hmac_vap)

◆ hmac_user_resume()

osal_u32 hmac_user_resume ( hmac_user_stru hmac_user)

◆ hmac_user_set_asoc_req_ie()

osal_u32 hmac_user_set_asoc_req_ie ( hmac_user_stru hmac_user,
osal_u8 payload,
osal_u32  len,
osal_u8  reass_flag 
)
extern

◆ hmac_user_set_avail_num_space_stream_etc()

osal_u32 hmac_user_set_avail_num_space_stream_etc ( hmac_user_stru hmac_user,
wlan_nss_enum_uint8  vap_nss 
)
extern

◆ hmac_user_set_bandwith_handler()

osal_u32 hmac_user_set_bandwith_handler ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
wlan_bw_cap_enum_uint8  bw_cap 
)

◆ hmac_user_set_lut_info()

osal_void hmac_user_set_lut_info ( hal_to_dmac_device_stru hal_device,
osal_u8  lut_index,
osal_u8 mac_addr 
)

◆ hmac_user_sync()

osal_s32 hmac_user_sync ( hmac_user_stru hmac_user)

◆ hmac_user_use_cnt_dec()

osal_void hmac_user_use_cnt_dec ( hmac_user_stru hmac_user)

◆ hmac_user_use_cnt_inc()

osal_void hmac_user_use_cnt_inc ( osal_u16  user_idx,
hmac_user_stru **  user 
)

◆ hmac_user_xht_support()

OAL_STATIC OAL_INLINE oal_bool_enum_uint8 hmac_user_xht_support ( const hmac_user_stru hmac_user)

◆ mac_res_get_hmac_user_etc()

hmac_user_stru * mac_res_get_hmac_user_etc ( osal_u16  idx)
extern

◆ mac_user_init_etc()

osal_u32 mac_user_init_etc ( hmac_user_stru hmac_user,
osal_u16  user_idx,
osal_u8 mac_addr,
hmac_vap_stru hmac_vap 
)
extern

◆ mac_vap_get_hmac_user_by_addr_etc()

hmac_user_stru * mac_vap_get_hmac_user_by_addr_etc ( hmac_vap_stru hmac_vap,
const osal_u8 mac_addr 
)
extern