d233492513d6d7b709c69aff678ecacab6ca25a9
[openwrt/staging/ansuel.git] /
1 From e149353e6562f3e3246f75dfc4cca6a0cc5b4efc Mon Sep 17 00:00:00 2001
2 From: Aloka Dixit <quic_alokad@quicinc.com>
3 Date: Mon, 9 Oct 2023 10:13:54 +0300
4 Subject: [PATCH] wifi: ath11k: call ath11k_mac_fils_discovery() without
5 condition
6
7 Mac80211 does not set flags BSS_CHANGED_FILS_DISCOVERY and
8 BSS_CHANGED_UNSOL_BCAST_PROBE_RESP if there are no updates to
9 FILS discovery and unsolicited broadcast probe response transmission
10 configurations respectively. This results in the transmissions getting
11 stopped during BSS change operations which do not include these
12 attributes. Remove the checks for the flags and always send the existing
13 configuration to firmware.
14
15 Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1
16
17 Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
18 Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
19 Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
20 Link: https://lore.kernel.org/r/20231004044915.6817-1-quic_alokad@quicinc.com
21 ---
22 drivers/net/wireless/ath/ath11k/mac.c | 4 +---
23 1 file changed, 1 insertion(+), 3 deletions(-)
24
25 --- a/drivers/net/wireless/ath/ath11k/mac.c
26 +++ b/drivers/net/wireless/ath/ath11k/mac.c
27 @@ -3732,9 +3732,7 @@ static void ath11k_mac_op_bss_info_chang
28 arvif->vdev_id, ret);
29 }
30
31 - if (changed & BSS_CHANGED_FILS_DISCOVERY ||
32 - changed & BSS_CHANGED_UNSOL_BCAST_PROBE_RESP)
33 - ath11k_mac_fils_discovery(arvif, info);
34 + ath11k_mac_fils_discovery(arvif, info);
35
36 if (changed & BSS_CHANGED_ARP_FILTER) {
37 ipv4_cnt = min(vif->cfg.arp_addr_cnt, ATH11K_IPV4_MAX_COUNT);