Blame 0002-brcm-Raspberry-Pi-Update-ccode-to-X2.patch

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