WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
mac_user_common.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
3 * Description: netbuf enum type head file.
4 * Create: 2022-11-26
5 */
6
7#ifndef MAC_USER_COMMON_H
8#define MAC_USER_COMMON_H
9
10#include "mac_user_common_rom.h"
12
13#ifdef __cplusplus
14#if __cplusplus
15 extern "C" {
16#endif
17#endif
18
19#define MAC_INVALID_RA_LUT_IDX WLAN_ACTIVE_USER_MAX_NUM /* 不可用的RA LUT IDX */
20
21/*****************************************************************************
22 函 数 名 : mac_user_get_ra_lut_index
23 功能描述 : 获取用户对应的ra lut index
24
25*****************************************************************************/
26static inline osal_u8 mac_user_get_ra_lut_index(osal_u8 *index_table, osal_u16 start, osal_u16 stop)
27{
29}
30/*****************************************************************************
31 函 数 名 : mac_user_del_ra_lut_index
32 功能描述 : 删除用户对应的ra lut index
33
34*****************************************************************************/
35static inline osal_void mac_user_del_ra_lut_index(osal_u8 *index_table, osal_u8 ra_lut_index)
36{
37 oal_del_lut_index(index_table, ra_lut_index);
38}
39#ifdef __cplusplus
40#if __cplusplus
41 }
42#endif
43#endif
44
45#endif /* end of mac_user_common.h */
#define MAC_INVALID_RA_LUT_IDX
Definition mac_user_common.h:19
unsigned char osal_u8
Definition osal_types.h:11
void osal_void
Definition osal_types.h:29
unsigned short osal_u16
Definition osal_types.h:12
#define WLAN_ACTIVE_USER_IDX_BMAP_LEN
Definition wlan_spec_rom.h:208
osal_u8 oal_get_lut_index(osal_u8 *lut_index_table, osal_u8 bmap_len, osal_u16 max_lut_size, osal_u16 start, osal_u16 stop)