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
This commit is contained in:
Bapiraju Alla
2020-11-10 14:41:27 +05:30
committed by snandini
父節點 44de657a54
當前提交 20da92c02f
共有 6 個文件被更改,包括 55 次插入0 次删除

查看文件

@@ -2576,6 +2576,7 @@ static int os_if_process_nan_enable_req(struct wlan_objmgr_psoc *psoc,
ucfg_mlme_get_fine_time_meas_cap(psoc, &fine_time_meas_cap);
nan_req->params.rtt_cap = fine_time_meas_cap;
nan_req->params.disable_6g_nan = ucfg_get_disable_6g_nan(psoc);
nla_memcpy(nan_req->params.request_data,
tb[QCA_WLAN_VENDOR_ATTR_NAN_CMD_DATA], buf_len);