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

浏览源代码.

结构体

struct  mac_device_twt_custom_stru
 
struct  mac_cfg_twt_information_req_param_stru
 
struct  mac_cfg_twt_setup_req_param_stru
 
struct  mac_cfg_twt_teardown_req_param_stru
 
struct  sta_twt_para_stru
 

宏定义

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_TWT_H
 
#define HMAC_TWT_P2P_RUNNING_VAP_NUM   3
 
#define HMAC_TWT_CATEGORY   0
 
#define HMAC_TWT_ACTION   1
 
#define HMAC_TWT_FLOW_ID   2
 
#define HMAC_TWT_BITS_OFFSET   32
 
#define TWT_RX_PARA_NUM   11
 
#define WAKE_DURATION_UNIT0   256
 
#define WAKE_DURATION_UNIT1   1024
 
#define MAC_XCAPS_EX_TWT_LEN   10
 

类型定义

typedef osal_u32 hmac_d2h_twt_sync_type_enum_u32
 
typedef osal_u8(* hmac_twt_is_session_enable_cb) (const hmac_vap_stru *hmac_vap)
 
typedef osal_bool(* hmac_is_twt_processed_not_need_buff_cb) (const hmac_vap_stru *hmac_vap)
 
typedef osal_bool(* hmac_is_twt_need_buff_cb) (hmac_vap_stru *hmac_vap)
 
typedef osal_u32(* hmac_twt_tx_action_cb) (hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const hmac_ctx_action_event_stru *ctx_action_event, oal_netbuf_stru *netbuf, const mac_tx_ctl_stru *tx_ctl)
 
typedef osal_u32(* hmac_p2p_teardown_twt_session_cb) (hmac_device_stru *hmac_device)
 
typedef osal_void(* hmac_process_update_twt_cb) (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_u8 *payload, osal_u16 msg_len)
 
typedef osal_u8(* hmac_twt_get_req_bit_cb) (osal_u8 vap_id)
 
typedef osal_void(* hmac_set_ext_cap_twt_req_cb) (hmac_vap_stru *hmac_vap, mac_ext_cap_ie_stru *ext_cap_ie, osal_u8 *ie_len)
 

枚举

enum  hmac_twt_status_enum { TWT_SESSION_OFF = 0 , TWT_SESSION_ON = 1 , TWT_SESSION_SUSPEND = 2 }
 
enum  hmac_next_twt_subfield_size_enum {
  HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_0 = 0 , HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_32 = 1 , HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_48 = 2 , HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_64 = 3 ,
  HMAC_NEXT_TWT_SUBFIELD_SIZE_MAX
}
 
enum  hmac_twt_event_type_enum { HMAC_TWT_START_EVENT = 0 , HMAC_TWT_END_EVENT = 1 , HMAC_TWT_EVENT_TYPE_MAX }
 
enum  hmac_d2hd_twt_sync_type_enum { TWT_UPDATE_SESSION_CFG = 0 , TWT_UPDATE_PS_PAUSE_CFG = 1 , TWT_PS_HANDLE_CFG = 2 }
 

变量

static osal_u32 used
 

宏定义说明

◆ HMAC_TWT_ACTION

#define HMAC_TWT_ACTION   1

◆ HMAC_TWT_BITS_OFFSET

#define HMAC_TWT_BITS_OFFSET   32

◆ HMAC_TWT_CATEGORY

#define HMAC_TWT_CATEGORY   0

◆ HMAC_TWT_FLOW_ID

#define HMAC_TWT_FLOW_ID   2

◆ HMAC_TWT_P2P_RUNNING_VAP_NUM

#define HMAC_TWT_P2P_RUNNING_VAP_NUM   3

◆ MAC_XCAPS_EX_TWT_LEN

#define MAC_XCAPS_EX_TWT_LEN   10

◆ THIS_FILE_ID

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_TWT_H

◆ TWT_RX_PARA_NUM

#define TWT_RX_PARA_NUM   11

◆ WAKE_DURATION_UNIT0

#define WAKE_DURATION_UNIT0   256

◆ WAKE_DURATION_UNIT1

#define WAKE_DURATION_UNIT1   1024

类型定义说明

◆ hmac_d2h_twt_sync_type_enum_u32

◆ hmac_is_twt_need_buff_cb

typedef osal_bool(* hmac_is_twt_need_buff_cb) (hmac_vap_stru *hmac_vap)

◆ hmac_is_twt_processed_not_need_buff_cb

typedef osal_bool(* hmac_is_twt_processed_not_need_buff_cb) (const hmac_vap_stru *hmac_vap)

◆ hmac_p2p_teardown_twt_session_cb

typedef osal_u32(* hmac_p2p_teardown_twt_session_cb) (hmac_device_stru *hmac_device)

◆ hmac_process_update_twt_cb

typedef osal_void(* hmac_process_update_twt_cb) (hmac_vap_stru *hmac_vap, hmac_user_stru *hmac_user, osal_u8 *payload, osal_u16 msg_len)

◆ hmac_set_ext_cap_twt_req_cb

typedef osal_void(* hmac_set_ext_cap_twt_req_cb) (hmac_vap_stru *hmac_vap, mac_ext_cap_ie_stru *ext_cap_ie, osal_u8 *ie_len)

◆ hmac_twt_get_req_bit_cb

typedef osal_u8(* hmac_twt_get_req_bit_cb) (osal_u8 vap_id)

◆ hmac_twt_is_session_enable_cb

typedef osal_u8(* hmac_twt_is_session_enable_cb) (const hmac_vap_stru *hmac_vap)

◆ hmac_twt_tx_action_cb

typedef osal_u32(* hmac_twt_tx_action_cb) (hmac_vap_stru *hmac_vap, const hmac_user_stru *hmac_user, const hmac_ctx_action_event_stru *ctx_action_event, oal_netbuf_stru *netbuf, const mac_tx_ctl_stru *tx_ctl)

枚举类型说明

◆ hmac_d2hd_twt_sync_type_enum

枚举值
TWT_UPDATE_SESSION_CFG 
TWT_UPDATE_PS_PAUSE_CFG 
TWT_PS_HANDLE_CFG 

◆ hmac_next_twt_subfield_size_enum

枚举值
HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_0 
HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_32 
HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_48 
HMAC_NEXT_TWT_SUBFIELD_SIZE_BITS_64 
HMAC_NEXT_TWT_SUBFIELD_SIZE_MAX 

◆ hmac_twt_event_type_enum

枚举值
HMAC_TWT_START_EVENT 
HMAC_TWT_END_EVENT 
HMAC_TWT_EVENT_TYPE_MAX 

◆ hmac_twt_status_enum

枚举值
TWT_SESSION_OFF 
TWT_SESSION_ON 
TWT_SESSION_SUSPEND 

变量说明

◆ used

osal_void used