wifi: ath12k: call ath12k_mac_fils_discovery() without condition
authorAloka Dixit <quic_alokad@quicinc.com>
Tue, 5 Sep 2023 17:43:24 +0000 (10:43 -0700)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 28 Sep 2023 15:09:59 +0000 (18:09 +0300)
commit43a10990404f382342e6e4d74d561a30eb933e42
tree27a1e8e2aa8ffaf1982856f8eca2ef9e59a23d6b
parent87fd0602610d6965c45afc61780ac98842e8f902
wifi: ath12k: call ath12k_mac_fils_discovery() without condition

Mac80211 does not set flags BSS_CHANGED_FILS_DISCOVERY and
BSS_CHANGED_UNSOL_BCAST_PROBE_RESP if there are no updates to
FILS discovery and unsolicited broadcast probe response transmission
configurations respectively. For BSS change operations such as channel
switch, this results in the transmissions getting stopped because the
driver does not send WMI command to firmware if the flags are not set.
Remove the checks for the flags to always send the existing
configuration to firmware.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230905174324.25296-1-quic_alokad@quicinc.com
drivers/net/wireless/ath/ath12k/mac.c