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)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 14 Jul 2020 09:43:47 +0000 (12:43 +0300)
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
drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h

index de0ef1b545c4fb25e1692949d5d2a092010612c6..2e31cc10c1954daa69417fb173a82d4b8e2b5c80 100644 (file)
@@ -19,7 +19,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_BRCM                 0x00000001      /* Running a Broadcom driver */
 #define BRCMF_STA_WME                  0x00000002      /* WMM association */