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

浏览源代码.

结构体

struct  unconn_reason_item
 
struct  user_unconn_reason_rd
 
struct  user_statistic_rd
 
struct  user_conn_info_rd
 
struct  user_conn_info_head
 
struct  special_frame_switch_stru
 

宏定义

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_DFX_H
 
#define MAX_CONN_INFO_RD_NUM   20
 
#define MAX_DFX_USER_NUM   16
 
#define MAX_DFX_USER_RD_LEN   512
 
#define DFX_SUCCESS   0
 
#define DFX_FAIL   1
 
#define DFX_OFFLINE_PERIOD   50
 
#define DFX_CONN_FAIL_PERIOD   10
 
#define DFX_CONN_FAIL_CNT   3
 

类型定义

typedef osal_u8 user_conn_info_enum_uint8
 
typedef osal_u16 user_conn_fail_reason_enum_uint16
 
typedef osal_u16 user_conn_offline_reason_enum_uint16
 
typedef osal_u8 dfx_user_conn_info_record_cmd_enum_u8
 
typedef osal_void(* dfx_user_conn_abnormal_record_cb) (osal_u8 vap_id, osal_u8 *mac, osal_u16 reason, osal_u16 type)
 
typedef osal_void(* dfx_user_conn_statistic_record_cb) (osal_u8 vap_id, osal_u8 *mac, osal_u8 sub_type, osal_u16 mode, osal_u8 direction)
 
typedef osal_void(* dfx_frame_report_hso_cb) (oal_netbuf_stru *netbuf, osal_u8 direction)
 
typedef osal_void(* dfx_user_rate_rx_info_record_cb) (osal_u8 id, dmac_rx_ctl_stru *cb_ctrl)
 
typedef osal_void(* dfx_scan_frame_report_hso_cb) (mac_bss_dscr_stru *bss_dscr)
 

枚举

enum  user_conn_info_enum {
  USER_CONN_FAIL = 0 , USER_CONN_OFFLINE , USER_CONN_STA_STAT , USER_CONN_AP_STAT ,
  USER_CONN_INFO_BUTT
}
 
enum  user_conn_fail_reason_enum {
  STA_CONN_CANNT_FIND_AP = 1 , STA_CONN_CHECK_BSS_DSCR_ERR , STA_CONN_SET_PARAM_ERR , STA_CONN_SYNC_CFG_ERR ,
  STA_CONN_AUTH_FSM_ERR , STA_CONN_AUTH_RSP_ERR , STA_CONN_AUTH_TIMEOUT_ERR , STA_CONN_ASOC_FSM_ERR ,
  STA_CONN_ASOC_RSP_ERR , STA_CONN_ASOC_TIMEOUT_ERR , AP_AUTH_RSP_ENCAP_ERR , AP_AUTH_FIND_USER_ERR ,
  AP_AUTH_RSP_SEND_ERR , AP_ASOC_WAIT_TIMEOUT_ERR , AP_ASOC_NEGO_CAPABILITY_ERR , AP_ASOC_RSP_ENCAP_ERR ,
  AP_ASOC_RSP_SEND_ERR , USER_CONN_FAIL_BUTT
}
 
enum  user_conn_offline_reason_enum {
  STA_RCV_AP_DEAUTH_OR_DISASOC = 1 , STA_UP_OTHER_VAP_CLEAN_BSS , AP_RCV_STA_DEAUTH , AP_RCV_STA_DISASOC ,
  AP_BLACKLIST_DEL_STA , AP_DOWN_DEL_STA , AP_AUTH_RSP_DEL_OTHER_STA , AP_CLEAN_BSS ,
  AP_STA_NOUP_RCV_DATA , CFG_KICK_USER , PMF_SA_QUERY_TIMEOUT_DEL_USER , HMAC_DISASOC_NOTICE ,
  ROAM_CONNECTING_FAIL , ROAM_HANDSHAKE_FAIL , USER_CONN_OFFLINE_BUTT
}
 
enum  dfx_user_conn_info_record_cmd_enum {
  DFX_USER_CONN_INFO_RECORD_CMD_ENABLE , DFX_USER_CONN_INFO_RECORD_CMD_DISABLE , DFX_USER_CONN_INFO_RECORD_CMD_FAIL , DFX_USER_CONN_INFO_RECORD_CMD_OFFLINE ,
  DFX_USER_CONN_INFO_RECORD_CMD_STATISTIC , DFX_USER_CONN_INFO_RECORD_CMD_STATCLR , DFX_USER_CONN_INFO_RECORD_CMD_BUTT
}
 

变量

static osal_u32 used
 

宏定义说明

◆ DFX_CONN_FAIL_CNT

#define DFX_CONN_FAIL_CNT   3

◆ DFX_CONN_FAIL_PERIOD

#define DFX_CONN_FAIL_PERIOD   10

◆ DFX_FAIL

#define DFX_FAIL   1

◆ DFX_OFFLINE_PERIOD

#define DFX_OFFLINE_PERIOD   50

◆ DFX_SUCCESS

#define DFX_SUCCESS   0

◆ MAX_CONN_INFO_RD_NUM

#define MAX_CONN_INFO_RD_NUM   20

◆ MAX_DFX_USER_NUM

#define MAX_DFX_USER_NUM   16

◆ MAX_DFX_USER_RD_LEN

#define MAX_DFX_USER_RD_LEN   512

◆ THIS_FILE_ID

#define THIS_FILE_ID   OAM_FILE_ID_HMAC_DFX_H

类型定义说明

◆ dfx_frame_report_hso_cb

typedef osal_void(* dfx_frame_report_hso_cb) (oal_netbuf_stru *netbuf, osal_u8 direction)

◆ dfx_scan_frame_report_hso_cb

typedef osal_void(* dfx_scan_frame_report_hso_cb) (mac_bss_dscr_stru *bss_dscr)

◆ dfx_user_conn_abnormal_record_cb

typedef osal_void(* dfx_user_conn_abnormal_record_cb) (osal_u8 vap_id, osal_u8 *mac, osal_u16 reason, osal_u16 type)

◆ dfx_user_conn_info_record_cmd_enum_u8

◆ dfx_user_conn_statistic_record_cb

typedef osal_void(* dfx_user_conn_statistic_record_cb) (osal_u8 vap_id, osal_u8 *mac, osal_u8 sub_type, osal_u16 mode, osal_u8 direction)

◆ dfx_user_rate_rx_info_record_cb

typedef osal_void(* dfx_user_rate_rx_info_record_cb) (osal_u8 id, dmac_rx_ctl_stru *cb_ctrl)

◆ user_conn_fail_reason_enum_uint16

◆ user_conn_info_enum_uint8

◆ user_conn_offline_reason_enum_uint16

枚举类型说明

◆ dfx_user_conn_info_record_cmd_enum

枚举值
DFX_USER_CONN_INFO_RECORD_CMD_ENABLE 
DFX_USER_CONN_INFO_RECORD_CMD_DISABLE 
DFX_USER_CONN_INFO_RECORD_CMD_FAIL 
DFX_USER_CONN_INFO_RECORD_CMD_OFFLINE 
DFX_USER_CONN_INFO_RECORD_CMD_STATISTIC 
DFX_USER_CONN_INFO_RECORD_CMD_STATCLR 
DFX_USER_CONN_INFO_RECORD_CMD_BUTT 

◆ user_conn_fail_reason_enum

枚举值
STA_CONN_CANNT_FIND_AP 
STA_CONN_CHECK_BSS_DSCR_ERR 
STA_CONN_SET_PARAM_ERR 
STA_CONN_SYNC_CFG_ERR 
STA_CONN_AUTH_FSM_ERR 
STA_CONN_AUTH_RSP_ERR 
STA_CONN_AUTH_TIMEOUT_ERR 
STA_CONN_ASOC_FSM_ERR 
STA_CONN_ASOC_RSP_ERR 
STA_CONN_ASOC_TIMEOUT_ERR 
AP_AUTH_RSP_ENCAP_ERR 
AP_AUTH_FIND_USER_ERR 
AP_AUTH_RSP_SEND_ERR 
AP_ASOC_WAIT_TIMEOUT_ERR 
AP_ASOC_NEGO_CAPABILITY_ERR 
AP_ASOC_RSP_ENCAP_ERR 
AP_ASOC_RSP_SEND_ERR 
USER_CONN_FAIL_BUTT 

◆ user_conn_info_enum

枚举值
USER_CONN_FAIL 
USER_CONN_OFFLINE 
USER_CONN_STA_STAT 
USER_CONN_AP_STAT 
USER_CONN_INFO_BUTT 

◆ user_conn_offline_reason_enum

枚举值
STA_RCV_AP_DEAUTH_OR_DISASOC 
STA_UP_OTHER_VAP_CLEAN_BSS 
AP_RCV_STA_DEAUTH 
AP_RCV_STA_DISASOC 
AP_BLACKLIST_DEL_STA 
AP_DOWN_DEL_STA 
AP_AUTH_RSP_DEL_OTHER_STA 
AP_CLEAN_BSS 
AP_STA_NOUP_RCV_DATA 
CFG_KICK_USER 
PMF_SA_QUERY_TIMEOUT_DEL_USER 
HMAC_DISASOC_NOTICE 
ROAM_CONNECTING_FAIL 
ROAM_HANDSHAKE_FAIL 
USER_CONN_OFFLINE_BUTT 

变量说明

◆ used

osal_void used