qcacmn: 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: Ibc653d6241d176f7fb75f18d2886175231ad71cc
CRs-Fixed: 2817925
This commit is contained in:
Bapiraju Alla 2020-11-10 14:58:45 +05:30 • committed by Gerrit - the friendly Code Review server
commit 7cb6c45dcf

View file

@ -296,6 +296,7 @@ static QDF_STATUS send_nan_req_cmd_tlv(wmi_unified_t wmi_handle,
WMI_FW_NAN_RTT_INITR));
WMI_NAN_SET_RANGING_RESPONDER_ROLE(cfg->flags, !!(nan_msg->rtt_cap &
WMI_FW_NAN_RTT_RESPR));
WMI_NAN_SET_NAN_6G_DISABLE(cfg->flags, nan_msg->disable_6g_nan);
wmi_mtrace(WMI_NAN_CMDID, NO_SESSION, 0);
ret = wmi_unified_cmd_send(wmi_handle, buf, len, WMI_NAN_CMDID);