WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_uapsd.c 文件参考
#include "hmac_uapsd.h"
#include "wlan_spec.h"
#include "mac_vap_ext.h"
#include "mac_frame.h"
#include "hmac_mgmt_ap.h"
#include "hmac_encap_frame_ap.h"
#include "hmac_mgmt_bss_comm.h"
#include "hmac_rx_data.h"
#include "wlan_msg.h"
#include "oal_net.h"
#include "hal_common_ops.h"
#include "hal_ext_if.h"
#include "mac_device_ext.h"
#include "hmac_vap.h"
#include "hmac_main.h"
#include "hmac_user.h"
#include "hmac_psm_ap.h"
#include "hmac_tx_mgmt.h"
#include "hmac_feature_dft.h"
#include "hmac_tx_mpdu_adapt.h"
#include "hmac_tx_mpdu_queue.h"
#include "hmac_feature_interface.h"
#include "frw_util_notifier.h"
hmac_uapsd.c 的引用(Include)关系图:

宏定义

#define THIS_FILE_ID   DIAG_FILE_ID_WIFI_HOST_HMAC_UAPSD_C
 
#define THIS_MOD_ID   DIAG_MOD_ID_WIFI_HOST
 

函数

OSAL_STATIC osal_u32 hmac_uapsd_send_qosnull (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_u8 ac)
 
OSAL_STATIC osal_void hmac_uapsd_process_trigger (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_u8 ac, const oal_netbuf_stru *net_buf)
 
OSAL_STATIC osal_s32 hmac_uapsd_process_queue (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_u8 ac)
 
OSAL_STATIC osal_s32 hmac_uapsd_flush_queue (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user)
 
OSAL_STATIC osal_s32 hmac_config_set_uapsd_update (hmac_vap_stru *hmac_vap, osal_u8 *data)
 
OSAL_STATIC osal_u8 hmac_get_uapsd_max_queue_len (osal_u8 vap_id)
 
OSAL_STATIC hmac_user_uapsd_info_struhmac_ap_get_user_uapsd_info (osal_u16 assoc_id)
 
OSAL_STATIC oal_bool_enum_uint8 hmac_psm_is_uapsd_empty (hmac_user_stru *hmac_user)
 
OAL_STATIC osal_void hmac_uapsd_fill_st_uapsd_status (mac_user_uapsd_status_stru *uapsd_status, const osal_u8 *wmm_ie, osal_u8 *uapsd_flag)
 
OSAL_STATIC osal_u32 hmac_uapsd_update_user_para_etc (osal_u8 *payload, osal_u8 sub_type, osal_u32 msg_len, hmac_user_stru *hmac_user)
 
OSAL_STATIC osal_u8 hmac_usr_uapsd_use_tim (const hmac_user_stru *hmac_usr)
 
OSAL_STATIC osal_u32 hmac_uapsd_state_trans (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const mac_ieee80211_qos_frame_stru *mac_header)
 
WIFI_TCM_TEXT OSAL_STATIC osal_void hmac_uapsd_rx_trigger_check (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, const oal_netbuf_stru *net_buf)
 
OSAL_STATIC osal_void hmac_uapsd_set_frame_hdr (mac_ieee80211_qos_frame_stru *mac_header, hmac_user_uapsd_stru *hmac_uapsd, const mac_tx_ctl_stru *tx_ctrl, osal_u8 sp_last, osal_u8 *extra_qosnull)
 
OSAL_STATIC osal_s32 hmac_uapsd_tx_pkt (oal_netbuf_stru *net_buf, hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_u8 ac, osal_u8 sp_last, osal_u8 *extra_qosnull)
 
OSAL_STATIC osal_void hmac_uapsd_flush_queue_tx_frame (hmac_vap_stru *hmac_vap, oal_netbuf_stru *net_buf, mac_tx_ctl_stru *tx_ctrl)
 
OSAL_STATIC osal_void hmac_uapsd_fill_qosnull_txctl (mac_tx_ctl_stru *tx_ctrl, osal_u8 ac, osal_u8 vap_id, osal_u8 assoc_id)
 
OSAL_STATIC osal_void hmac_uapsd_tx_complete (hmac_user_stru *hmac_user)
 
OSAL_STATIC osal_u8 hmac_usr_uapsd_ac_tigger (wlan_wme_ac_type_enum_uint8 ac, const hmac_user_stru *hmac_usr)
 
WIFI_TCM_TEXT OSAL_STATIC osal_u8 hmac_uapsd_tx_need_enqueue (const hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const mac_tx_ctl_stru *tx_ctl)
 
OSAL_STATIC osal_u32 hmac_uapsd_tx_enqueue (const hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, oal_netbuf_stru *net_buf)
 
WIFI_TCM_TEXT OSAL_STATIC osal_u32 hmac_uapsd_enqueue_proc (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, mac_tx_ctl_stru *tx_ctl, oal_netbuf_stru *netbuf)
 
OSAL_STATIC osal_s32 hmac_config_tx_comp_ps_handle (hmac_vap_stru *hmac_vap, frw_msg *msg)
 
OSAL_STATIC osal_bool hmac_uapsd_user_init (hmac_user_stru *hmac_user)
 
OSAL_STATIC osal_bool hmac_uapsd_ap_user_add (osal_void *notify_data)
 
OSAL_STATIC osal_void hmac_uapsd_user_destroy (hmac_user_stru *hmac_user)
 
OSAL_STATIC osal_bool hmac_uapsd_ap_user_del (osal_void *notify_data)
 
OSAL_STATIC osal_bool hmac_uapsd_ap_vap_add (osal_void *notify_data)
 
osal_u32 hmac_uapsd_ap_init (osal_void)
 
osal_void hmac_uapsd_ap_deinit (osal_void)
 

变量

hmac_user_uapsd_info_strug_user_uapsd_info [WLAN_USER_MAX_USER_LIMIT]
 
osal_u8 g_max_queue_len [WLAN_VAP_MAX_NUM_PER_DEVICE_LIMIT]
 

宏定义说明

◆ THIS_FILE_ID

#define THIS_FILE_ID   DIAG_FILE_ID_WIFI_HOST_HMAC_UAPSD_C

◆ THIS_MOD_ID

#define THIS_MOD_ID   DIAG_MOD_ID_WIFI_HOST

函数说明

◆ hmac_ap_get_user_uapsd_info()

OSAL_STATIC hmac_user_uapsd_info_stru * hmac_ap_get_user_uapsd_info ( osal_u16  assoc_id)

◆ hmac_config_set_uapsd_update()

OSAL_STATIC osal_s32 hmac_config_set_uapsd_update ( hmac_vap_stru hmac_vap,
osal_u8 data 
)

◆ hmac_config_tx_comp_ps_handle()

OSAL_STATIC osal_s32 hmac_config_tx_comp_ps_handle ( hmac_vap_stru hmac_vap,
frw_msg msg 
)

◆ hmac_get_uapsd_max_queue_len()

OSAL_STATIC osal_u8 hmac_get_uapsd_max_queue_len ( osal_u8  vap_id)

◆ hmac_psm_is_uapsd_empty()

OSAL_STATIC oal_bool_enum_uint8 hmac_psm_is_uapsd_empty ( hmac_user_stru hmac_user)

◆ hmac_uapsd_ap_deinit()

osal_void hmac_uapsd_ap_deinit ( osal_void  )

◆ hmac_uapsd_ap_init()

osal_u32 hmac_uapsd_ap_init ( osal_void  )

◆ hmac_uapsd_ap_user_add()

OSAL_STATIC osal_bool hmac_uapsd_ap_user_add ( osal_void notify_data)

◆ hmac_uapsd_ap_user_del()

OSAL_STATIC osal_bool hmac_uapsd_ap_user_del ( osal_void notify_data)

◆ hmac_uapsd_ap_vap_add()

OSAL_STATIC osal_bool hmac_uapsd_ap_vap_add ( osal_void notify_data)

◆ hmac_uapsd_enqueue_proc()

WIFI_TCM_TEXT OSAL_STATIC osal_u32 hmac_uapsd_enqueue_proc ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
mac_tx_ctl_stru tx_ctl,
oal_netbuf_stru netbuf 
)

◆ hmac_uapsd_fill_qosnull_txctl()

OSAL_STATIC osal_void hmac_uapsd_fill_qosnull_txctl ( mac_tx_ctl_stru tx_ctrl,
osal_u8  ac,
osal_u8  vap_id,
osal_u8  assoc_id 
)

◆ hmac_uapsd_fill_st_uapsd_status()

OAL_STATIC osal_void hmac_uapsd_fill_st_uapsd_status ( mac_user_uapsd_status_stru uapsd_status,
const osal_u8 wmm_ie,
osal_u8 uapsd_flag 
)

◆ hmac_uapsd_flush_queue()

OSAL_STATIC osal_s32 hmac_uapsd_flush_queue ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user 
)

◆ hmac_uapsd_flush_queue_tx_frame()

OSAL_STATIC osal_void hmac_uapsd_flush_queue_tx_frame ( hmac_vap_stru hmac_vap,
oal_netbuf_stru net_buf,
mac_tx_ctl_stru tx_ctrl 
)

◆ hmac_uapsd_process_queue()

OSAL_STATIC osal_s32 hmac_uapsd_process_queue ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
osal_u8  ac 
)

◆ hmac_uapsd_process_trigger()

OSAL_STATIC osal_void hmac_uapsd_process_trigger ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
osal_u8  ac,
const oal_netbuf_stru net_buf 
)

◆ hmac_uapsd_rx_trigger_check()

WIFI_TCM_TEXT OSAL_STATIC osal_void hmac_uapsd_rx_trigger_check ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
const oal_netbuf_stru net_buf 
)

◆ hmac_uapsd_send_qosnull()

OSAL_STATIC osal_u32 hmac_uapsd_send_qosnull ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
osal_u8  ac 
)

◆ hmac_uapsd_set_frame_hdr()

OSAL_STATIC osal_void hmac_uapsd_set_frame_hdr ( mac_ieee80211_qos_frame_stru mac_header,
hmac_user_uapsd_stru hmac_uapsd,
const mac_tx_ctl_stru tx_ctrl,
osal_u8  sp_last,
osal_u8 extra_qosnull 
)

◆ hmac_uapsd_state_trans()

OSAL_STATIC osal_u32 hmac_uapsd_state_trans ( hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
const mac_ieee80211_qos_frame_stru mac_header 
)

◆ hmac_uapsd_tx_complete()

OSAL_STATIC osal_void hmac_uapsd_tx_complete ( hmac_user_stru hmac_user)

◆ hmac_uapsd_tx_enqueue()

OSAL_STATIC osal_u32 hmac_uapsd_tx_enqueue ( const hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
oal_netbuf_stru net_buf 
)

◆ hmac_uapsd_tx_need_enqueue()

WIFI_TCM_TEXT OSAL_STATIC osal_u8 hmac_uapsd_tx_need_enqueue ( const hmac_vap_stru hmac_vap,
const hmac_user_stru hmac_user,
const mac_tx_ctl_stru tx_ctl 
)

◆ hmac_uapsd_tx_pkt()

OSAL_STATIC osal_s32 hmac_uapsd_tx_pkt ( oal_netbuf_stru net_buf,
hmac_vap_stru hmac_vap,
hmac_user_stru hmac_user,
osal_u8  ac,
osal_u8  sp_last,
osal_u8 extra_qosnull 
)

◆ hmac_uapsd_update_user_para_etc()

OSAL_STATIC osal_u32 hmac_uapsd_update_user_para_etc ( osal_u8 payload,
osal_u8  sub_type,
osal_u32  msg_len,
hmac_user_stru hmac_user 
)

◆ hmac_uapsd_user_destroy()

OSAL_STATIC osal_void hmac_uapsd_user_destroy ( hmac_user_stru hmac_user)

◆ hmac_uapsd_user_init()

OSAL_STATIC osal_bool hmac_uapsd_user_init ( hmac_user_stru hmac_user)

◆ hmac_usr_uapsd_ac_tigger()

OSAL_STATIC osal_u8 hmac_usr_uapsd_ac_tigger ( wlan_wme_ac_type_enum_uint8  ac,
const hmac_user_stru hmac_usr 
)

◆ hmac_usr_uapsd_use_tim()

OSAL_STATIC osal_u8 hmac_usr_uapsd_use_tim ( const hmac_user_stru hmac_usr)

变量说明

◆ g_max_queue_len

初始值:
= {
32 , 32 , 32 , 32
}

◆ g_user_uapsd_info