WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_bsrp_nfrp.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
3 * Description: hmac bsrp nfrp
4 * Create: 2023-2-17
5 */
6
7#ifndef HMAC_BSRP_NFRP_H
8#define HMAC_BSRP_NFRP_H
9
10#include "mac_vap_ext.h"
11#ifdef __cplusplus
12#if __cplusplus
13extern "C" {
14#endif
15#endif
16
17#define BSRP_CALC_TIMEOUT 200 /* 200ms */
18#define SF0_MIN_SIZE (0)
19#define SF1_MIN_SIZE (1024)
20#define SF2_MIN_SIZE (17408)
21#define SF3_MIN_SIZE (148480)
22#define SF3_MAX_SIZE (2147328)
23#define SF0_SIZE_UNITS (16)
24#define SF1_SIZE_UNITS (256)
25#define SF2_SIZE_UNITS (2048)
26#define SF3_SIZE_UNITS (32768)
27#define UNSCALED_VALUE0 (0)
28#define UNSCALED_VALUE_MAX (62)
29#define UNSCALED_VALUE_UNKNOWN (63)
30#define SCALING_FACTOR0 (0)
31#define SCALING_FACTOR1 (1)
32#define SCALING_FACTOR2 (2)
33#define SCALING_FACTOR3 (3)
34#define SF_OFFSET (6)
35
36/* TID调试相关的结构体 */
42
43typedef struct {
47 osal_u8 resv[3]; /* 保留3字节对齐 */
48 /* 保留2字节对齐 */
51
57
59 osal_u8 frame_sub_type, hmac_user_stru *hmac_user);
60
61static osal_u32 hmac_bsrp_nfrp_init_weakref(osal_void)
63static osal_void hmac_bsrp_nfrp_deinit_weakref(osal_void)
65
66#ifdef __cplusplus
67#if __cplusplus
68}
69#endif
70#endif
71
72#endif
osal_u32 hmac_bsrp_nfrp_init(osal_void)
Definition hmac_bsrp_nfrp.c:458
osal_void hmac_bsrp_nfrp_deinit(osal_void)
Definition hmac_bsrp_nfrp.c:473
static osal_u32 used
Definition hmac_bsrp_nfrp.h:62
osal_void(* hmac_nfrp_sta_update_param_cb)(osal_u8 *payload, osal_u16 msg_len, hmac_vap_stru *hmac_vap, osal_u8 frame_sub_type, hmac_user_stru *hmac_user)
Definition hmac_bsrp_nfrp.h:58
unsigned char osal_u8
Definition osal_types.h:11
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
Log message information header.
Definition log_oam_logger.h:564
Definition frw_ext_common_rom.h:20
Definition mac_user_ext.h:519
Definition mac_vap_ext.h:2019
Definition hmac_bsrp_nfrp.h:43
frw_timeout_stru buffer_status_timer
Definition hmac_bsrp_nfrp.h:44
osal_u8 sta_vap_id
Definition hmac_bsrp_nfrp.h:46
osal_u32 ac_queue_size
Definition hmac_bsrp_nfrp.h:45
Definition hmac_bsrp_nfrp.h:52
osal_u8 ndp_status
Definition hmac_bsrp_nfrp.h:54
osal_u8 res_req_buf_threshold_exponent
Definition hmac_bsrp_nfrp.h:53
Definition hmac_bsrp_nfrp.h:37
osal_u32 buffer_size
Definition hmac_bsrp_nfrp.h:40
osal_u8 tid
Definition hmac_bsrp_nfrp.h:38
#define WLAN_TID_MAX_NUM
Definition wlan_types.h:389