brcmfmac: use ISO3166 country code and 0 rev as fallback on brcmfmac43602 chips
authorHamid Zamani <hzamani.cs91@gmail.com>
Sat, 23 Apr 2022 11:12:37 +0000 (15:42 +0430)
committerKalle Valo <kvalo@kernel.org>
Wed, 27 Apr 2022 05:03:39 +0000 (08:03 +0300)
commit21947f3a74d6c90508e1065d649791c9a38d515b
tree9432d03cb0cb5649ce1f59851e9d665995fbfbb5
parent746285cf81dc19502ab238249d75f5990bd2d231
brcmfmac: use ISO3166 country code and 0 rev as fallback on brcmfmac43602 chips

This uses ISO3166 country code and 0 rev on brcmfmac43602 chips.
Without this patch 80 MHz width is not selected on 5 GHz channels.

Commit a21bf90e927f ("brcmfmac: use ISO3166 country code and 0 rev as
fallback on some devices") provides a way to specify chips for using the
fallback case.

Before commit 151a7c12c4fc ("Revert "brcmfmac: use ISO3166 country code
and 0 rev as fallback"") brcmfmac43602 devices works correctly and for
this specific case 80 MHz width is selected.

Signed-off-by: Hamid Zamani <hzamani.cs91@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220423111237.60892-1-hzamani.cs91@gmail.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c