From 46e39557221d5eec381c99b9002f9208f71f7128 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 21 Jan 2019 08:12:49 +0000 Subject: [PATCH 2/2] brcm: Raspberry Pi: Update ccode to X2 As per the docs [1] the X2 ccode allows the use of channels above 11 if the firmware detects appropriate other traffic on those channels. The ALL option appears to restrict the use to the US channel options without passively checking so X2 is overall better. Also fix a trailling space in the config while we're at it. [1] https://wireless.wiki.kernel.org/en/users/Drivers/brcm80211#regulatory_implementation_for_brcmsmac Signed-off-by: Peter Robinson --- brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt | 4 ++-- brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt b/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt index 732c19b..38a99db 100644 --- a/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt +++ b/brcm/brcmfmac43430-sdio.raspberrypi,3-model-b.txt @@ -15,7 +15,7 @@ btc_params1=0x7530 btc_params8=0x4e20 cckbw202gpo=0 cckpwroffset0=5 -ccode=ALL +ccode=X2 # cldo_pwm is not set deadman_to=0xffffffff devid=0x43e2 @@ -39,7 +39,7 @@ papdmode=1 papdvalidtest=1 prodid=0x0726 propbw202gpo=0xdd -spurconfig=0x3 +spurconfig=0x3 sromrev=11 txpwrbckof=6 vendid=0x14e4 diff --git a/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt b/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt index ba94f54..8d01fcf 100644 --- a/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt +++ b/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt @@ -16,6 +16,7 @@ btc_params8=0x4e20 cbfilttype=1 cckPwrIdxCorr=3 cckTssiDelay=150 +ccode=X2 deadman_to=481500000 devid=0x43ab dot11agofdmhrbw202gpo=0x4442 -- 2.20.1