From bc70137f9e8d9d6b3262a5bc22d4b9474a562221 Mon Sep 17 00:00:00 2001 From: Yeshwanth Sriram Guntuka Date: Tue, 30 Apr 2019 16:46:18 +0530 Subject: [PATCH] qcacmn: Set hidden ssid flag in vdev restart for SAP CSA scenario SAP configured in hidden ssid mode sends probe response to BC probe requests after force SCC. In send_vdev_start_cmd_tlv, triggered as part of set_channel on SAP interface, host does not set the hidden_ssid flag in vdev_restart scenario which results in the aforementioned behavior. Fix is to set the hidden ssid flag in vdev_restart scenario as well for channel switch on SAP interface. Change-Id: I6c8126f6df05b8794a89690a6fe320be1f02c356 CRs-Fixed: 2442872 --- wmi/src/wmi_unified_tlv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index b13ddf542ac8..e66a59465173 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -511,13 +511,13 @@ static QDF_STATUS send_vdev_start_cmd_tlv(wmi_unified_t wmi_handle, cmd->ssid.ssid_len); } - if (req->hidden_ssid) - cmd->flags |= WMI_UNIFIED_VDEV_START_HIDDEN_SSID; - if (req->pmf_enabled) cmd->flags |= WMI_UNIFIED_VDEV_START_PMF_ENABLED; } + if (req->hidden_ssid) + cmd->flags |= WMI_UNIFIED_VDEV_START_HIDDEN_SSID; + cmd->flags |= WMI_UNIFIED_VDEV_START_LDPC_RX_ENABLED; cmd->num_noa_descriptors = req->num_noa_descriptors; cmd->preferred_rx_streams = req->preferred_rx_streams;