WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hmac_psm_sta.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2020-2020. All rights reserved.
3 * Description: hmac_psm_sta.c 的头文件。
4 * Create: 2020-07-03
5 */
6
7#ifndef HMAC_PSM_STA_H
8#define HMAC_PSM_STA_H
9
10/*****************************************************************************
11 1 其他头文件包含
12*****************************************************************************/
13#include "dmac_ext_if_hcm.h"
14#include "hmac_twt.h"
15#include "msg_psm_rom.h"
16
17#ifdef __cplusplus
18#if __cplusplus
19extern "C" {
20#endif
21#endif
22
23#undef THIS_FILE_ID
24#define THIS_FILE_ID OAM_FILE_ID_DMAC_PSM_STA_ROM_H
25/*****************************************************************************
26 2 宏定义
27*****************************************************************************/
28#define HMAC_PSM_MAX_SKIP_BCN_CNT 3
29#ifdef _PRE_WLAN_FEATURE_SINGLE_RF_RX_BCN
30/* 单通道接收beacon的RSSI门限 */
31#define HMAC_PSM_SINGLE_BCN_RX_CHAIN_TH (-73)
32#endif
33
34/* 在Multiple BSSID-Index element中包含DTIM count/period字段的时候,其element len长度为3 */
35#define MULTI_DTIM_PERIOD_COUNT_LEN 3
36#define EXT_CAPA_GET_MULTI_BSSID_LEN 2
37#define MULTI_BSSID_ELEMENT_MIN_LEN 5
38
39/*****************************************************************************
40 4 全局变量声明
41*****************************************************************************/
42
43/*****************************************************************************
44 7 STRUCT定义
45*****************************************************************************/
46
47/*****************************************************************************
48 9 OTHERS定义
49*****************************************************************************/
50
51/*****************************************************************************
52 10 函数声明
53*****************************************************************************/
55#ifdef _PRE_WLAN_FEATURE_SINGLE_RF_RX_BCN
56osal_void hmac_psm_update_bcn_rf_chain(const hmac_vap_stru *hmac_vap, osal_char rssi);
57#endif
58#ifdef _PRE_WLAN_FEATURE_MAC_PARSE_TIM
59osal_u32 hmac_psm_mask_mac_parse_tim(hmac_vap_stru *hmac_vap, osal_u8 mac_parse_tim_switch);
60osal_s32 hmac_bcn_no_frm_event_hander(hmac_vap_stru *hmac_vap, frw_msg *msg);
61#endif
62osal_u32 hmac_set_psm_param_to_device(const hmac_vap_stru *hmac_vap, osal_u8 is_dtim3_on, osal_u8 dtim3_on,
63 osal_u8 is_keep_alive, osal_u8 is_all_vap);
67
68#ifdef __cplusplus
69#if __cplusplus
70}
71#endif
72#endif
73
74#endif /* end of hmac_psm_sta.h */
osal_s32 hmac_config_sta_psm_status_sync(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_void hmac_psm_max_ps_en_sync(const hmac_vap_stru *hmac_vap, hmac_device_stru *hmac_device)
osal_u32 hmac_set_psm_param_to_device(const hmac_vap_stru *hmac_vap, osal_u8 is_dtim3_on, osal_u8 dtim3_on, osal_u8 is_keep_alive, osal_u8 is_all_vap)
osal_s32 hmac_config_set_sta_pm_param_cb(hmac_vap_stru *hmac_vap, frw_msg *msg)
osal_s32 hmac_set_psm_param(hmac_vap_stru *hmac_vap, mac_cfg_ps_param_stru *ps_param)
int osal_s32
Definition osal_types.h:19
unsigned char osal_u8
Definition osal_types.h:11
char osal_char
Definition osal_types.h:16
void osal_void
Definition osal_types.h:29
unsigned int osal_u32
Definition osal_types.h:13
Definition frw_msg_rom.h:74
Definition mac_device_ext.h:856
Definition mac_vap_ext.h:2019
Definition msg_psm_rom.h:25