-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbl_mod_params.h
55 lines (50 loc) · 1.16 KB
/
bl_mod_params.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/**
******************************************************************************
*
* @file bl_mod_params.h
*
* @brief Declaration of module parameters
*
* Copyright (C) BouffaloLab 2017-2018
*
******************************************************************************
*/
#ifndef _BL_MOD_PARAM_H_
#define _BL_MOD_PARAM_H_
struct bl_mod_params {
bool ht_on;
bool vht_on;
int mcs_map;
bool ldpc_on;
bool vht_stbc;
int phy_cfg;
int uapsd_timeout;
bool ap_uapsd_on;
bool sgi;
bool sgi80;
bool use_2040;
bool use_80;
bool custregd;
int nss;
bool bfmee;
bool bfmer;
bool mesh;
bool murx;
bool mutx;
bool mutx_on;
unsigned int roc_dur_max;
int listen_itv;
bool listen_bcmc;
int lp_clk_ppm;
bool ps_on;
int tx_lft;
int amsdu_maxnb;
int uapsd_queues;
bool tdls;
};
extern struct bl_mod_params bl_mod_params;
struct bl_hw;
int bl_handle_dynparams(struct bl_hw *bl_hw, struct wiphy *wiphy);
void bl_enable_wapi(struct bl_hw *bl_hw);
void bl_enable_mfp(struct bl_hw *bl_hw);
#endif /* _BL_MOD_PARAM_H_ */