From 7cb6c45dcfec020fed43f654373b4b9f6d3bb23c Mon Sep 17 00:00:00 2001 From: Bapiraju Alla Date: Tue, 10 Nov 2020 14:58:45 +0530 Subject: [PATCH] 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 --- wmi/src/wmi_unified_nan_tlv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wmi/src/wmi_unified_nan_tlv.c b/wmi/src/wmi_unified_nan_tlv.c index baa660df95c0..42acfd137778 100644 --- a/wmi/src/wmi_unified_nan_tlv.c +++ b/wmi/src/wmi_unified_nan_tlv.c @@ -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);