qcacld-3.0: Initialize NDI with no protection

After VDEV_START set WMI_VDEV_PARAM_PROTECTION_MODE param to no
protection: IEEE80211_PROT_NONE. Currently NAN spec and firmware
implementation does not have a mechanism to identify when protection
is needed.

Change-Id: I5906097f44d2059e26e440d2435568ef661160bc
CRs-Fixed: 2033348
This commit is contained in:
Naveen Rawat 2017-04-13 10:01:29 -07:00 • committed by snandini
commit e7e7899b29

View file

@ -1034,7 +1034,7 @@ void wma_add_bss_ndi_mode(tp_wma_handle wma, tpAddBssParams add_bss)
/* Initialize protection mode to no protection */
param.if_id = vdev_id;
param.param_id = WMI_VDEV_PARAM_PROTECTION_MODE;
param.param_value = WMI_VDEV_PARAM_PROTECTION_MODE;
param.param_value = IEEE80211_PROT_NONE;
if (wmi_unified_vdev_set_param_send(wma->wmi_handle, &param))
WMA_LOGE("Failed to initialize protection mode");