]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
brcmfmac: To fix Bss Info flag definition Bug
authorPrasanna Kerekoppa <prasanna.kerekoppa@cypress.com>
Thu, 4 Jun 2020 07:18:35 +0000 (02:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Aug 2020 08:52:59 +0000 (10:52 +0200)
[ Upstream commit fa3266541b13f390eb35bdbc38ff4a03368be004 ]

Bss info flag definition need to be fixed from 0x2 to 0x4
This flag is for rssi info received on channel.
All Firmware branches defined as 0x4 and this is bug in brcmfmac.

Signed-off-by: Prasanna Kerekoppa <prasanna.kerekoppa@cypress.com>
Signed-off-by: Chi-hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200604071835.3842-6-wright.feng@cypress.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/brcm80211/brcmfmac/fwil_types.h

index 4320c4cae53e15766ed801c41ef2fb6ccb8b7d09..7eb9f31dde1a2b42b68d7994121202692d03187c 100644 (file)
@@ -30,7 +30,7 @@
 #define BRCMF_ARP_OL_PEER_AUTO_REPLY   0x00000008
 
 #define        BRCMF_BSS_INFO_VERSION  109 /* curr ver of brcmf_bss_info_le struct */
-#define BRCMF_BSS_RSSI_ON_CHANNEL      0x0002
+#define BRCMF_BSS_RSSI_ON_CHANNEL      0x0004
 
 #define BRCMF_STA_WME              0x00000002      /* WMM association */
 #define BRCMF_STA_AUTHE            0x00000008      /* Authenticated */