Просмотр исходного кода

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
Bapiraju Alla 4 лет назад
Родитель
Сommit
e8dfd0b73a
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      wmi/src/wmi_unified_nan_tlv.c

+ 1 - 0
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);