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 удалений

Просмотреть файл

@@ -569,10 +569,12 @@ struct nan_disable_ind_msg {
* @request_data_len: request data length
* @request_data: request data
* @rtt_cap: indicate if responder/initiator role is supported
* @disable_6g_nan: Disable NAN in 6Ghz
*/
struct nan_msg_params {
uint16_t request_data_len;
uint32_t rtt_cap;
bool disable_6g_nan;
/* Variable length, do not add anything after this */
uint8_t request_data[];
};

Просмотреть файл

@@ -88,6 +88,7 @@ enum nan_disc_state {
* @nan_feature_config: Bitmap to enable/disable a particular NAN feature
* configuration in firmware. It's sent to firmware through
* WMI_VDEV_PARAM_ENABLE_DISABLE_NAN_CONFIG_FEATURES
* @disable_6g_nan: Disable NAN in 6GHz frequency band
*/
struct nan_cfg_params {
bool enable;
@@ -100,6 +101,7 @@ struct nan_cfg_params {
uint32_t max_ndp_sessions;
uint32_t max_ndi;
uint32_t nan_feature_config;
bool disable_6g_nan;
};
/**