qcacld-3.0: Add INI parameter to configure NAN in 6GHz

Currently, there is no INI parameter to control NAN feature in 6GHz
frequency band. Because of this, there is no provision to disable the
NAN in 6GHz when there is no requirement.

To address this, add INI parameter to configure NAN feature in 6GHz.

Change-Id: I6b4faa8e8aa1a3df72539fed1d7ff3cc8287debd
CRs-Fixed: 2817920
这个提交包含在:
Bapiraju Alla
2020-11-10 14:41:27 +05:30
提交者 snandini
父节点 44de657a54
当前提交 20da92c02f
修改 6 个文件,包含 55 行新增0 行删除

查看文件

@@ -271,8 +271,30 @@
CFG_VALUE_OR_DEFAULT, \
"Enable the specified NAN features in firmware")
/*
* <ini>
* disable_6g_nan - Disable NAN feature support in 6GHz
* @Min: 0
* @Max: 1
* @Default: 0
*
* When set to 1 NAN feature will be disabled in 6GHz.
*
* Related: None
*
* Supported Feature: NAN
*
* Usage: External
*
* </ini>
*/
#define CFG_DISABLE_6G_NAN CFG_INI_BOOL("disable_6g_nan", \
0, \
"Disable NAN Support in 6GHz")
#ifdef WLAN_FEATURE_NAN
#define CFG_NAN_DISC CFG(CFG_NAN_ENABLE) \
CFG(CFG_DISABLE_6G_NAN) \
CFG(CFG_NDP_KEEP_ALIVE_PERIOD) \
CFG(CFG_SUPPORT_MP0_DISCOVERY)
#define CFG_NAN_DP CFG(CFG_NAN_DATAPATH_ENABLE) \