Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 02/65] wireless-regdb: enable VHT80 for AM
From: Luis R. Rodriguez @ 2013-11-01 13:56 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314275-20960-1-git-send-email-mcgrof@do-not-panic.com>

Source is QCA's regulatory team's efforts.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/db.txt b/db.txt
index 4c22199..d08281f 100644
--- a/db.txt
+++ b/db.txt
@@ -30,8 +30,8 @@ country AL: DFS-ETSI
 
 country AM: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
-	(5170 - 5250 @ 20), (18)
-	(5250 - 5330 @ 20), (18), DFS
+	(5170 - 5250 @ 80), (18)
+	(5250 - 5330 @ 80), (18), DFS
 
 country AN: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 01/65] wireless-regdb: enable HT40  for AL on 2.4 GHz
From: Luis R. Rodriguez @ 2013-11-01 13:56 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314275-20960-1-git-send-email-mcgrof@do-not-panic.com>

Source is QCA's regulatory team's efforts.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/db.txt b/db.txt
index 11e0cb8..4c22199 100644
--- a/db.txt
+++ b/db.txt
@@ -26,7 +26,7 @@ country AE: DFS-FCC
 	(5735 - 5835 @ 80), (30)
 
 country AL: DFS-ETSI
-	(2402 - 2482 @ 20), (20)
+	(2402 - 2482 @ 40), (20)
 
 country AM: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 00/65] wireless-regdb: enable VHT80, extend 5 GHz ranges
From: Luis R. Rodriguez @ 2013-11-01 13:56 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez

This is my second series of patches, this covers only augmentive
changes changes to enable HT40, VHT80 or increase power and extend
the 5 GHz frequency ranges.

Luis R. Rodriguez (65):
  wireless-regdb: enable HT40  for AL on 2.4 GHz
  wireless-regdb: enable VHT80 for AM
  wireless-regdb: enable VHT80 for AN
  wireless-regdb: enable VHT80 for AW
  wireless-regdb: enable VHT80 for AZ
  wireless-regdb: enable VHT80 for BA
  wireless-regdb: enable VHT80 for BB
  wireless-regdb: enable VHT80 for BH
  wireless-regdb: enable VHT80 for BO
  wireless-regdb: enable VHT80 for BY
  wireless-regdb: enable VHT80 for BZ
  wireless-regdb: enable VHT80 for CL
  wireless-regdb: enable VHT80 for CY
  wireless-regdb: enable VHT80 for EE
  wireless-regdb: enable VHT80 for EG
  wireless-regdb: enable VHT80 for GE
  wireless-regdb: enable VHT80 for HN
  wireless-regdb: enable VHT80 for HR
  wireless-regdb: enable VHT80 for HT
  wireless-regdb: enable VHT80 for HU
  wireless-regdb: enable VHT80 for GL
  wireless-regdb: enable VHT80 for IN
  wireless-regdb: enable VHT80 for IS
  wireless-regdb: enable VHT80 for IR
  wireless-regdb: enable VHT80 for JM
  wireless-regdb: enable VHT80 for JO
  wireless-regdb: enable VHT80 for LI
  wireless-regdb: enable VHT80 for LK
  wireless-regdb: enable VHT80 for LT
  wireless-regdb: enable VHT80 for LV
  wireless-regdb: enable VHT80 for MK
  wireless-regdb: enable VHT80 for MT
  wireless-regdb: enable VHT80 for KH
  wireless-regdb: enable VHT80 for PK
  wireless-regdb: enable VHT80 for QA
  wireless-regdb: enable VHT80 for RO
  wireless-regdb: enable VHT80 for SI
  wireless-regdb: enable VHT80 for SV
  wireless-regdb: enable VHT80 for TN
  wireless-regdb: enable VHT80 for NO
  wireless-regdb: enable VHT80 for DO
  wireless-regdb: enable VHT80 for GT
  wireless-regdb: enable VHT80 for UZ
  wireless-regdb: enable VHT80 for VE
  wireless-regdb: enable VHT80 for UY
  wireless-regdb: add VHT80 rules for AL
  wireless-regdb: add VHT80 rules for BD
  wireless-regdb: add VHT80 rules for LB
  wireless-regdb: add VHT80 rules for CN
  wireless-regdb: add VHT80 rules for UA
  wireless-regdb: add VHT80 rules for DZ
  wireless-regdb: add VHT80 rules for ZW
  wireless-regdb: extend 5 GHz range for AE
  wireless-regdb: extend 5 GHz range for AR
  wireless-regdb: extend 5 GHz range for BR
  wireless-regdb: extend 5 GHz range for CR
  wireless-regdb: extend 5 GHz range for EC
  wireless-regdb: extend 5 GHz range for GU
  wireless-regdb: extend 5 GHz range for NZ
  wireless-regdb: extend 5 GHz range for VN
  wireless-regdb: extend 5 GHz range for PE
  wireless-regdb: extend 5 GHz range for PH
  wireless-regdb: extend 5 GHz range for SG
  wireless-regdb: extend 5 GHz range for TH
  wireless-regdb: increase 5   GHz power for IL

 db.txt | 294 +++++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 157 insertions(+), 137 deletions(-)

-- 
1.8.4.rc3


^ permalink raw reply

* [PATCH 8/8] wireless-regdb: optimize two of NL's rules
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

There's no reason not to merge these two rules.
This as picked up by the new CRDA optimizer.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/db.txt b/db.txt
index ddfbc04..11e0cb8 100644
--- a/db.txt
+++ b/db.txt
@@ -558,8 +558,7 @@ country MX: DFS-FCC
 
 country NL: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
-	(5170 - 5250 @ 80), (20), NO-OUTDOOR
-	(5250 - 5330 @ 80), (20), NO-OUTDOOR
+	(5170 - 5330 @ 80), (20), NO-OUTDOOR
 	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 7/8] wireless-regdb: optimize two of IL's rules
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

There's no reason not to merge these two rules.
This as picked up by the new CRDA optimizer.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/db.txt b/db.txt
index 22b6561..ddfbc04 100644
--- a/db.txt
+++ b/db.txt
@@ -390,8 +390,7 @@ country IE: DFS-ETSI
 
 country IL: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
-	(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR
-	(5250 - 5350 @ 80), (200 mW), NO-OUTDOOR
+	(5150 - 5350 @ 80), (200 mW), NO-OUTDOOR
 
 country IN: DFS-JP
 	(2402 - 2482 @ 40), (20)
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 6/8] wireless-regdb: optimize two of DE's rules
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

There's no reason not to merge these two rules.
This as picked up by the new CRDA optimizer.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/db.txt b/db.txt
index ec3bee6..22b6561 100644
--- a/db.txt
+++ b/db.txt
@@ -222,10 +222,8 @@ country CZ: DFS-ETSI
 country DE: DFS-ETSI
 	# entries 279004 and 280006
 	(2400 - 2483.5 @ 40), (100 mW)
-	# entry 303005
-	(5150 - 5250 @ 80), (100 mW), NO-OUTDOOR
-	# entries 304002 and 305002
-	(5250 - 5350 @ 80), (100 mW), NO-OUTDOOR
+	# entry 303005, 304002 and 305002
+	(5150 - 5350 @ 80), (100 mW), NO-OUTDOOR
 	# entries 308002, 309001 and 310003
 	(5470 - 5725 @ 80), (500 mW), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 5/8] wireless-regdb: add DFS JP regions
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

This associates the following countries to the
DFS JP region:

	BD, BH, BN, BO, BZ, CL, DZ, ID, IN, IR
	JP, JO, KE, KP, KR, NP, PK, QA, TW

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 38 +++++++++++++++++++-------------------
 1 file changed, 19 insertions(+), 19 deletions(-)

diff --git a/db.txt b/db.txt
index beb94fd..ec3bee6 100644
--- a/db.txt
+++ b/db.txt
@@ -86,7 +86,7 @@ country BB: DFS-FCC
 	(5250 - 5330 @ 40), (23), DFS
 	(5735 - 5835 @ 40), (30)
 
-country BD:
+country BD: DFS-JP
 	(2402 - 2482 @ 40), (20)
 
 country BE: DFS-ETSI
@@ -105,7 +105,7 @@ country BG: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country BH:
+country BH: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 20), (20)
 	(5250 - 5330 @ 20), (20), DFS
@@ -116,13 +116,13 @@ country BL:
 	(5170 - 5250 @ 40), (18)
 	(5250 - 5330 @ 40), (18), DFS
 
-country BN:
+country BN: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
 	(5735 - 5835 @ 40), (30)
 
-country BO:
+country BO: DFS-JP
 	(2402 - 2482 @ 40), (30)
 	(5735 - 5835 @ 40), (30)
 
@@ -139,7 +139,7 @@ country BY: DFS-ETSI
 	(5250 - 5330 @ 40), (20), DFS
 	(5490 - 5710 @ 40), (27), DFS
 
-country BZ:
+country BZ: DFS-JP
 	(2402 - 2482 @ 40), (30)
 	(5735 - 5835 @ 40), (30)
 
@@ -158,7 +158,7 @@ country CH: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country CL:
+country CL: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
@@ -245,7 +245,7 @@ country DO: DFS-FCC
 	(5250 - 5330 @ 40), (23), DFS
 	(5735 - 5835 @ 40), (30)
 
-country DZ:
+country DZ: DFS-JP
 	(2402 - 2482 @ 40), (20)
 
 country EC: DFS-FCC
@@ -377,7 +377,7 @@ country HU: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country ID:
+country ID: DFS-JP
 	# ref: http://www.postel.go.id/content/ID/regulasi/standardisasi/kepdir/bwa%205,8%20ghz.pdf
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5815 @ 80), (20)
@@ -395,7 +395,7 @@ country IL: DFS-ETSI
 	(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR
 	(5250 - 5350 @ 80), (200 mW), NO-OUTDOOR
 
-country IN:
+country IN: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
@@ -409,7 +409,7 @@ country IS: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country IR:
+country IR: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
@@ -428,7 +428,7 @@ country JM: DFS-FCC
 	(5490 - 5710 @ 40), (20), DFS
 	(5735 - 5835 @ 40), (30)
 
-country JP:
+country JP: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(2474 - 2494 @ 20), (20), NO-OFDM
 	(4910 - 4990 @ 40), (23)
@@ -437,11 +437,11 @@ country JP:
 	(5250 - 5330 @ 80), (20), DFS
 	(5490 - 5710 @ 160), (23), DFS
 
-country JO:
+country JO: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (18)
 
-country KE:
+country KE: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
@@ -451,14 +451,14 @@ country KH: DFS-ETSI
 	(5250 - 5330 @ 40), (20), DFS
 	(5490 - 5710 @ 40), (27), DFS
 
-country KP:
+country KP: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5330 @ 40), (20)
 	(5160 - 5250 @ 40), (20), DFS
 	(5490 - 5630 @ 40), (30), DFS
 	(5735 - 5815 @ 40), (30)
 
-country KR:
+country KR: DFS-JP
 	(2402 - 2482 @ 20), (20)
 	(5170 - 5250 @ 80), (20)
 	(5250 - 5330 @ 80), (20), DFS
@@ -575,7 +575,7 @@ country NO: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country NP:
+country NP: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
@@ -619,7 +619,7 @@ country PH: DFS-FCC
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country PK:
+country PK: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
@@ -646,7 +646,7 @@ country PR: DFS-FCC
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country QA:
+country QA: DFS-JP
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
@@ -725,7 +725,7 @@ country SV: DFS-FCC
 country SY:
 	(2402 - 2482 @ 40), (20)
 
-country TW:
+country TW: DFS-JP
 	(2402 - 2472 @ 40), (27)
 	(5270 - 5330 @ 40), (17), DFS
 	(5490 - 5710 @ 80), (30), DFS
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 4/8] wireless-regdb: add DFS ETSI regions
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

This associates the following countries to the
DFS ETSI region:

	AL, AM, AN, AW, AZ, BY, EG, GE, HT,
	IL, KH, KW, MA, OM, RS, RU, SA, TN,
	UA, ZA, ZW

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 42 +++++++++++++++++++++---------------------
 1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/db.txt b/db.txt
index 94da96a..beb94fd 100644
--- a/db.txt
+++ b/db.txt
@@ -25,15 +25,15 @@ country AE: DFS-FCC
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country AL:
+country AL: DFS-ETSI
 	(2402 - 2482 @ 20), (20)
 
-country AM:
+country AM: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 20), (18)
 	(5250 - 5330 @ 20), (18), DFS
 
-country AN:
+country AN: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
@@ -61,13 +61,13 @@ country AU:
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country AW:
+country AW: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
 	(5490 - 5710 @ 40), (27), DFS
 
-country AZ:
+country AZ: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (18)
 	(5250 - 5330 @ 40), (18), DFS
@@ -133,7 +133,7 @@ country BR: DFS-FCC
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country BY:
+country BY: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
@@ -263,7 +263,7 @@ country EE: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country EG:
+country EG: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 20), (20)
 	(5250 - 5330 @ 20), (20), DFS
@@ -292,7 +292,7 @@ country FR: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country GE:
+country GE: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (18)
 	(5250 - 5330 @ 40), (18), DFS
@@ -363,7 +363,7 @@ country HR: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country HT:
+country HT: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
@@ -390,7 +390,7 @@ country IE: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country IL:
+country IL: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR
 	(5250 - 5350 @ 80), (200 mW), NO-OUTDOOR
@@ -445,7 +445,7 @@ country KE:
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
-country KH:
+country KH: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (20)
 	(5250 - 5330 @ 40), (20), DFS
@@ -465,7 +465,7 @@ country KR:
 	(5490 - 5630 @ 80), (30), DFS
 	(5735 - 5815 @ 80), (30)
 
-country KW:
+country KW: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (20)
 	(5250 - 5330 @ 80), (20), DFS
@@ -519,7 +519,7 @@ country MC: DFS-ETSI
 	(5170 - 5250 @ 40), (18)
 	(5250 - 5330 @ 40), (18), DFS
 
-country MA:
+country MA: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (23)
 	(5735 - 5835 @ 80), (23)
@@ -586,7 +586,7 @@ country NZ: DFS-FCC
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country OM:
+country OM: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (20), DFS
@@ -661,14 +661,14 @@ country RO: DFS-ETSI
 
 # Source:
 # http://www.ratel.rs/upload/documents/Plan_namene/Plan_namene-sl_glasnik.pdf
-country RS:
+country RS: DFS-ETSI
 	(2400 - 2483.5 @ 40), (100 mW)
 	(5150 - 5350 @ 40), (200 mW), NO-OUTDOOR
 	(5470 - 5725 @ 20), (1000 mW), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country RU:
+country RU: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5330 @ 40), (20)
 	(5650 - 5710 @ 40), (30)
@@ -678,7 +678,7 @@ country RW: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
-country SA:
+country SA: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -745,7 +745,7 @@ country TT: DFS-FCC
 	(5490 - 5710 @ 40), (20), DFS
 	(5735 - 5835 @ 40), (30)
 
-country TN:
+country TN: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 20), (20)
 	(5250 - 5330 @ 20), (20), DFS
@@ -765,7 +765,7 @@ country TR: DFS-ETSI
 # Listed 5GHz range is a lowest common denominator for all related
 # rules in the referenced laws. Such a range is used because of
 # disputable definitions there.
-country UA:
+country UA: DFS-ETSI
 	(2400 - 2483.5 @ 40), (20), NO-OUTDOOR
 	(5150 - 5350 @ 40), (20), NO-OUTDOOR
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
@@ -811,13 +811,13 @@ country VN: DFS-FCC
 country YE:
 	(2402 - 2482 @ 40), (20)
 
-country ZA:
+country ZA: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country ZW:
+country ZW: DFS-ETSI
 	(2402 - 2482 @ 40), (20)
 
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 3/8] wireless-regdb: add DFS FCC regions
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

This associates the following countries to the
DFS FCC region:

	AE, AR, BB, BR, CA, CN, CO, CR, DO, EC,
	GD, GT, GU, HN, JM, LB, LK, MY, MX, NZ,
	PA, PE, PG, PH, PR, RW, SG, SV, TH, TT,
	UY, UZ, VE, VN

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt | 68 +++++++++++++++++++++++++++++++++---------------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

diff --git a/db.txt b/db.txt
index c938767..94da96a 100644
--- a/db.txt
+++ b/db.txt
@@ -18,7 +18,7 @@ country AD:
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country AE:
+country AE: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -39,7 +39,7 @@ country AN:
 	(5250 - 5330 @ 40), (20), DFS
 	(5490 - 5710 @ 40), (27), DFS
 
-country AR:
+country AR: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -80,7 +80,7 @@ country BA: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country BB:
+country BB: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (23)
 	(5250 - 5330 @ 40), (23), DFS
@@ -126,7 +126,7 @@ country BO:
 	(2402 - 2482 @ 40), (30)
 	(5735 - 5835 @ 40), (30)
 
-country BR:
+country BR: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -143,7 +143,7 @@ country BZ:
 	(2402 - 2482 @ 40), (30)
 	(5735 - 5835 @ 40), (30)
 
-country CA:
+country CA: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -164,7 +164,7 @@ country CL:
 	(5250 - 5330 @ 40), (20), DFS
 	(5735 - 5835 @ 40), (20)
 
-country CN:
+country CN: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 80), (30)
 	# 60 gHz band channels 1,4: 28dBm, channels 2,3: 44dBm
@@ -173,14 +173,14 @@ country CN:
 	(59400 - 63720 @ 2160), (44)
 	(63720 - 65880 @ 2160), (28)
 
-country CO:
+country CO: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country CR:
+country CR: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -239,7 +239,7 @@ country DK: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country DO:
+country DO: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (23), DFS
@@ -248,7 +248,7 @@ country DO:
 country DZ:
 	(2402 - 2482 @ 40), (20)
 
-country EC:
+country EC: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -307,7 +307,7 @@ country GB: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country GD:
+country GD: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (20), DFS
@@ -328,20 +328,20 @@ country GL: DFS-ETSI
 	(5250 - 5330 @ 20), (20), DFS
 	(5490 - 5710 @ 20), (27), DFS
 
-country GT:
+country GT: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (23), DFS
 	(5735 - 5835 @ 40), (30)
 
-country GU:
+country GU: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country HN:
+country HN: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (20), DFS
@@ -421,7 +421,7 @@ country IT: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country JM:
+country JM: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (20), DFS
@@ -473,7 +473,7 @@ country KW:
 country KZ:
 	(2402 - 2482 @ 40), (20)
 
-country LB:
+country LB: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
@@ -483,7 +483,7 @@ country LI: DFS-ETSI
 	(5250 - 5330 @ 40), (20), DFS
 	(5490 - 5710 @ 40), (27), DFS
 
-country LK:
+country LK: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 20), (17)
 	(5250 - 5330 @ 20), (20), DFS
@@ -546,13 +546,13 @@ country MT: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country MY:
+country MY: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (23), DFS
 	(5735 - 5835 @ 80), (30)
 
-country MX:
+country MX: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -579,7 +579,7 @@ country NP:
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
-country NZ:
+country NZ: DFS-FCC
 	(2402 - 2482 @ 40), (30)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -593,26 +593,26 @@ country OM:
 	(5490 - 5710 @ 40), (20), DFS
 	(5735 - 5835 @ 40), (30)
 
-country PA:
+country PA: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (23), DFS
 	(5735 - 5835 @ 40), (30)
 
-country PE:
+country PE: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country PG:
+country PG: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (23), DFS
 	(5735 - 5835 @ 40), (30)
 
-country PH:
+country PH: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -639,7 +639,7 @@ country PT: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country PR:
+country PR: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -674,7 +674,7 @@ country RU:
 	(5650 - 5710 @ 40), (30)
 	(5735 - 5835 @ 40), (30)
 
-country RW:
+country RW: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5835 @ 40), (30)
 
@@ -693,7 +693,7 @@ country SE: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country SG:
+country SG: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
@@ -716,7 +716,7 @@ country SK: DFS-ETSI
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
 	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
-country SV:
+country SV: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 20), (17)
 	(5250 - 5330 @ 20), (23), DFS
@@ -731,14 +731,14 @@ country TW:
 	(5490 - 5710 @ 80), (30), DFS
 	(5735 - 5815 @ 80), (30)
 
-country TH:
+country TH: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
 	(5490 - 5710 @ 80), (24), DFS
 	(5735 - 5835 @ 80), (30)
 
-country TT:
+country TT: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (20), DFS
@@ -783,25 +783,25 @@ country US: DFS-FCC
 	# channels 1,2,3, EIRP=40dBm(43dBm peak)
 	(57240 - 63720 @ 2160), (40)
 
-country UY:
+country UY: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (20), DFS
 	(5490 - 5710 @ 40), (20), DFS
 	(5735 - 5835 @ 40), (30)
 
-country UZ:
+country UZ: DFS-FCC
 	(2402 - 2472 @ 40), (27)
 	(5170 - 5250 @ 40), (17)
 	(5250 - 5330 @ 40), (20), DFS
 	(5490 - 5710 @ 40), (20), DFS
 	(5735 - 5835 @ 40), (30)
 
-country VE:
+country VE: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5735 - 5815 @ 40), (23)
 
-country VN:
+country VN: DFS-FCC
 	(2402 - 2482 @ 40), (20)
 	(5170 - 5250 @ 80), (17)
 	(5250 - 5330 @ 80), (24), DFS
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 2/8] wireless-regdb: remove antenna gain
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

This data is not accurate, cannot be relied upon given
that antenna gain is very specific to the device being
manufactured, and we never used it. Just kill it to
simplify the database.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt     | 998 ++++++++++++++++++++++++++++++-------------------------------
 dbparse.py |   7 +-
 2 files changed, 501 insertions(+), 504 deletions(-)

diff --git a/db.txt b/db.txt
index b8ddb1b..c938767 100644
--- a/db.txt
+++ b/db.txt
@@ -1,211 +1,211 @@
 # This is the world regulatory domain
 country 00:
-	(2402 - 2472 @ 40), (3, 20)
+	(2402 - 2472 @ 40), (20)
 	# Channel 12 - 13.
-	(2457 - 2482 @ 40), (3, 20), NO-IR
+	(2457 - 2482 @ 40), (20), NO-IR
 	# Channel 14. Only JP enables this and for 802.11b only
-	(2474 - 2494 @ 20), (3, 20), NO-IR, NO-OFDM
+	(2474 - 2494 @ 20), (20), NO-IR
 	# Channel 36 - 48
-	(5170 - 5250 @ 80), (3, 20), NO-IR
+	(5170 - 5250 @ 80), (20), NO-IR
 	# NB: 5260 MHz - 5700 MHz requies DFS
 	# Channel 149 - 165
-	(5735 - 5835 @ 80), (3, 20), NO-IR
+	(5735 - 5835 @ 80), (20), NO-IR
 	# IEEE 802.11ad (60GHz), channels 1..3
-	(57240 - 63720 @ 2160), (N/A, 0)
+	(57240 - 63720 @ 2160), (0)
 
 
 country AD:
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country AE:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country AL:
-	(2402 - 2482 @ 20), (N/A, 20)
+	(2402 - 2482 @ 20), (20)
 
 country AM:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (N/A, 18)
-	(5250 - 5330 @ 20), (N/A, 18), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 20), (18)
+	(5250 - 5330 @ 20), (18), DFS
 
 country AN:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 
 country AR:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country AT: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country AU:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country AW:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 
 country AZ:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 18)
-	(5250 - 5330 @ 40), (N/A, 18), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (18)
+	(5250 - 5330 @ 40), (18), DFS
 
 country BA: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country BB:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 23)
-	(5250 - 5330 @ 40), (3, 23), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (23)
+	(5250 - 5330 @ 40), (23), DFS
+	(5735 - 5835 @ 40), (30)
 
 country BD:
-	(2402 - 2482 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
 
 country BE: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country BG: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 23)
-	(5250 - 5290 @ 40), (N/A, 23), DFS
-	(5490 - 5710 @ 40), (N/A, 30), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (23)
+	(5250 - 5290 @ 40), (23), DFS
+	(5490 - 5710 @ 40), (30), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country BH:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (N/A, 20)
-	(5250 - 5330 @ 20), (N/A, 20), DFS
-	(5735 - 5835 @ 20), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 20), (20)
+	(5250 - 5330 @ 20), (20), DFS
+	(5735 - 5835 @ 20), (20)
 
 country BL:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 18)
-	(5250 - 5330 @ 40), (N/A, 18), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (18)
+	(5250 - 5330 @ 40), (18), DFS
 
 country BN:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country BO:
-	(2402 - 2482 @ 40), (N/A, 30)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (30)
+	(5735 - 5835 @ 40), (30)
 
 country BR:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country BY:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 
 country BZ:
-	(2402 - 2482 @ 40), (N/A, 30)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (30)
+	(5735 - 5835 @ 40), (30)
 
 country CA:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country CH: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country CL:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5735 - 5835 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (20)
 
 country CN:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 80), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 80), (30)
 	# 60 gHz band channels 1,4: 28dBm, channels 2,3: 44dBm
 	# ref: http://www.miit.gov.cn/n11293472/n11505629/n11506593/n11960250/n11960606/n11960700/n12330791.files/n12330790.pdf
-	(57240 - 59400 @ 2160), (N/A, 28)
-	(59400 - 63720 @ 2160), (N/A, 44)
-	(63720 - 65880 @ 2160), (N/A, 28)
+	(57240 - 59400 @ 2160), (28)
+	(59400 - 63720 @ 2160), (44)
+	(63720 - 65880 @ 2160), (28)
 
 country CO:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country CR:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country CY: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 # Data from http://www.ctu.eu/164/download/VOR/VOR-12-08-2005-34.pdf
 # and http://www.ctu.eu/164/download/VOR/VOR-12-05-2007-6-AN.pdf
 # Power at 5250 - 5350 MHz and 5470 - 5725 MHz can be doubled if TPC is
 # implemented.
 country CZ: DFS-ETSI
-	(2400 - 2483.5 @ 40), (N/A, 100 mW)
-	(5150 - 5250 @ 80), (N/A, 200 mW), NO-OUTDOOR
-	(5250 - 5350 @ 80), (N/A, 100 mW), NO-OUTDOOR, DFS
-	(5470 - 5725 @ 80), (N/A, 500 mW), DFS
+	(2400 - 2483.5 @ 40), (100 mW)
+	(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR
+	(5250 - 5350 @ 80), (100 mW), NO-OUTDOOR
+	(5470 - 5725 @ 80), (500 mW), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 # Data from "Frequenznutzungsplan" (as published in April 2008), downloaded from
 # http://www.bundesnetzagentur.de/cae/servlet/contentblob/38448/publicationFile/2659/Frequenznutzungsplan2008_Id17448pdf.pdf
@@ -221,542 +221,542 @@ country CZ: DFS-ETSI
 
 country DE: DFS-ETSI
 	# entries 279004 and 280006
-	(2400 - 2483.5 @ 40), (N/A, 100 mW)
+	(2400 - 2483.5 @ 40), (100 mW)
 	# entry 303005
-	(5150 - 5250 @ 80), (N/A, 100 mW), NO-OUTDOOR
+	(5150 - 5250 @ 80), (100 mW), NO-OUTDOOR
 	# entries 304002 and 305002
-	(5250 - 5350 @ 80), (N/A, 100 mW), NO-OUTDOOR, DFS
+	(5250 - 5350 @ 80), (100 mW), NO-OUTDOOR
 	# entries 308002, 309001 and 310003
-	(5470 - 5725 @ 80), (N/A, 500 mW), DFS
+	(5470 - 5725 @ 80), (500 mW), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country DK: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country DO:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 23), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (23), DFS
+	(5735 - 5835 @ 40), (30)
 
 country DZ:
-	(2402 - 2482 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
 
 country EC:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country EE: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country EG:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (N/A, 20)
-	(5250 - 5330 @ 20), (N/A, 20), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 20), (20)
+	(5250 - 5330 @ 20), (20), DFS
 
 country ES: DFS-ETSI
-	(2400 - 2483.5 @ 40), (N/A, 100 mW)
-	(5150 - 5250 @ 80), (N/A, 100 mW), NO-OUTDOOR
-	(5250 - 5350 @ 80), (N/A, 100 mW), NO-OUTDOOR, DFS
-	(5470 - 5725 @ 80), (N/A, 500 mW), DFS
+	(2400 - 2483.5 @ 40), (100 mW)
+	(5150 - 5250 @ 80), (100 mW), NO-OUTDOOR
+	(5250 - 5350 @ 80), (100 mW), NO-OUTDOOR
+	(5470 - 5725 @ 80), (500 mW), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country FI: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country FR: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country GE:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 18)
-	(5250 - 5330 @ 40), (N/A, 18), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (18)
+	(5250 - 5330 @ 40), (18), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country GB: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country GD:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 20), DFS
-	(5490 - 5710 @ 40), (3, 20), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country GR: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country GL: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (N/A, 20)
-	(5250 - 5330 @ 20), (N/A, 20), DFS
-	(5490 - 5710 @ 20), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 20), (20)
+	(5250 - 5330 @ 20), (20), DFS
+	(5490 - 5710 @ 20), (27), DFS
 
 country GT:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 23), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (23), DFS
+	(5735 - 5835 @ 40), (30)
 
 country GU:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country HN:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 20), DFS
-	(5490 - 5710 @ 40), (3, 20), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country HK:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country HR: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country HT:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 
 country HU: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country ID:
 	# ref: http://www.postel.go.id/content/ID/regulasi/standardisasi/kepdir/bwa%205,8%20ghz.pdf
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5815 @ 80), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5815 @ 80), (20)
 
 country IE: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country IL:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5150 - 5250 @ 80), (N/A, 200 mW), NO-OUTDOOR
-	(5250 - 5350 @ 80), (N/A, 200 mW), NO-OUTDOOR, DFS
+	(2402 - 2482 @ 40), (20)
+	(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR
+	(5250 - 5350 @ 80), (200 mW), NO-OUTDOOR
 
 country IN:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5735 - 5835 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (20)
 
 country IS: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country IR:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 40), (30)
 
 country IT: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country JM:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 20), DFS
-	(5490 - 5710 @ 40), (3, 20), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country JP:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(2474 - 2494 @ 20), (N/A, 20), NO-OFDM
-	(4910 - 4990 @ 40), (N/A, 23)
-	(5030 - 5090 @ 40), (N/A, 23)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 160), (N/A, 23), DFS
+	(2402 - 2482 @ 40), (20)
+	(2474 - 2494 @ 20), (20), NO-OFDM
+	(4910 - 4990 @ 40), (23)
+	(5030 - 5090 @ 40), (23)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 160), (23), DFS
 
 country JO:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 18)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (18)
 
 country KE:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 40), (30)
 
 country KH:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 
 country KP:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5330 @ 40), (3, 20)
-	(5160 - 5250 @ 40), (3, 20), DFS
-	(5490 - 5630 @ 40), (3, 30), DFS
-	(5735 - 5815 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5330 @ 40), (20)
+	(5160 - 5250 @ 40), (20), DFS
+	(5490 - 5630 @ 40), (30), DFS
+	(5735 - 5815 @ 40), (30)
 
 country KR:
-	(2402 - 2482 @ 20), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 20)
-	(5250 - 5330 @ 80), (3, 20), DFS
-	(5490 - 5630 @ 80), (3, 30), DFS
-	(5735 - 5815 @ 80), (3, 30)
+	(2402 - 2482 @ 20), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5630 @ 80), (30), DFS
+	(5735 - 5815 @ 80), (30)
 
 country KW:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
 
 country KZ:
-	(2402 - 2482 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
 
 country LB:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 40), (30)
 
 country LI: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 
 country LK:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (3, 17)
-	(5250 - 5330 @ 20), (3, 20), DFS
-	(5490 - 5710 @ 20), (3, 20), DFS
-	(5735 - 5835 @ 20), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 20), (17)
+	(5250 - 5330 @ 20), (20), DFS
+	(5490 - 5710 @ 20), (20), DFS
+	(5735 - 5835 @ 20), (30)
 
 country LT: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country LU: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country LV: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country MC: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 18)
-	(5250 - 5330 @ 40), (N/A, 18), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (18)
+	(5250 - 5330 @ 40), (18), DFS
 
 country MA:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 23)
-	(5735 - 5835 @ 80), (N/A, 23)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (23)
+	(5735 - 5835 @ 80), (23)
 
 country MO:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 23)
-	(5250 - 5330 @ 40), (3, 23), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (23)
+	(5250 - 5330 @ 40), (23), DFS
+	(5735 - 5835 @ 40), (30)
 
 country MK: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country MT: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country MY:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 17)
-	(5250 - 5330 @ 80), (N/A, 23), DFS
-	(5735 - 5835 @ 80), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (23), DFS
+	(5735 - 5835 @ 80), (30)
 
 country MX:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country NL: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20), NO-OUTDOOR
-	(5250 - 5330 @ 80), (N/A, 20), NO-OUTDOOR, DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20), NO-OUTDOOR
+	(5250 - 5330 @ 80), (20), NO-OUTDOOR
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country NO: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country NP:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 40), (30)
 
 country NZ:
-	(2402 - 2482 @ 40), (N/A, 30)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (30)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country OM:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 20), DFS
-	(5490 - 5710 @ 40), (3, 20), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country PA:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 23), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (23), DFS
+	(5735 - 5835 @ 40), (30)
 
 country PE:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country PG:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 23), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (23), DFS
+	(5735 - 5835 @ 40), (30)
 
 country PH:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country PK:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 40), (30)
 
 country PL: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country PT: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country PR:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country QA:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 40), (30)
 
 country RO: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 
 # Source:
 # http://www.ratel.rs/upload/documents/Plan_namene/Plan_namene-sl_glasnik.pdf
 country RS:
-	(2400 - 2483.5 @ 40), (N/A, 100 mW)
-	(5150 - 5350 @ 40), (N/A, 200 mW), NO-OUTDOOR
-	(5470 - 5725 @ 20), (3, 1000 mW), DFS
+	(2400 - 2483.5 @ 40), (100 mW)
+	(5150 - 5350 @ 40), (200 mW), NO-OUTDOOR
+	(5470 - 5725 @ 20), (1000 mW), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country RU:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5330 @ 40), (N/A, 20)
-	(5650 - 5710 @ 40), (N/A, 30)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5330 @ 40), (20)
+	(5650 - 5710 @ 40), (30)
+	(5735 - 5835 @ 40), (30)
 
 country RW:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 40), (N/A, 30)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5835 @ 40), (30)
 
 country SA:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country SE: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country SG:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country SI: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (N/A, 20)
-	(5250 - 5330 @ 40), (N/A, 20), DFS
-	(5490 - 5710 @ 40), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (20)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country SK: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country SV:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (3, 17)
-	(5250 - 5330 @ 20), (3, 23), DFS
-	(5735 - 5835 @ 20), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 20), (17)
+	(5250 - 5330 @ 20), (23), DFS
+	(5735 - 5835 @ 20), (30)
 
 country SY:
-	(2402 - 2482 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
 
 country TW:
-	(2402 - 2472 @ 40), (3, 27)
-	(5270 - 5330 @ 40), (3, 17), DFS
-	(5490 - 5710 @ 80), (3, 30), DFS
-	(5735 - 5815 @ 80), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5270 - 5330 @ 40), (17), DFS
+	(5490 - 5710 @ 80), (30), DFS
+	(5735 - 5815 @ 80), (30)
 
 country TH:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country TT:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 20), DFS
-	(5490 - 5710 @ 40), (3, 20), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country TN:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (N/A, 20)
-	(5250 - 5330 @ 20), (N/A, 20), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 20), (20)
+	(5250 - 5330 @ 20), (20), DFS
 
 country TR: DFS-ETSI
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (N/A, 20)
-	(5250 - 5330 @ 80), (N/A, 20), DFS
-	(5490 - 5710 @ 80), (N/A, 27), DFS
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (20)
+	(5250 - 5330 @ 80), (20), DFS
+	(5490 - 5710 @ 80), (27), DFS
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
  
 # Source:
 # #914 / 06 Sep 2007: http://www.ucrf.gov.ua/uk/doc/nkrz/1196068874
@@ -766,58 +766,58 @@ country TR: DFS-ETSI
 # rules in the referenced laws. Such a range is used because of
 # disputable definitions there.
 country UA:
-	(2400 - 2483.5 @ 40), (N/A, 20), NO-OUTDOOR
-	(5150 - 5350 @ 40), (N/A, 20), NO-OUTDOOR
+	(2400 - 2483.5 @ 40), (20), NO-OUTDOOR
+	(5150 - 5350 @ 40), (20), NO-OUTDOOR
 	# 60 gHz band channels 1-4, ref: Etsi En 302 567
-	(57240 - 65880 @ 2160), (N/A, 40), NO-OUTDOOR
+	(57240 - 65880 @ 2160), (40), NO-OUTDOOR
 
 country US: DFS-FCC
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5600 @ 80), (3, 24), DFS
-	(5650 - 5710 @ 40), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5600 @ 80), (24), DFS
+	(5650 - 5710 @ 40), (24), DFS
+	(5735 - 5835 @ 80), (30)
 	# 60g band
 	# reference: http://cfr.regstoday.com/47cfr15.aspx#47_CFR_15p255
 	# channels 1,2,3, EIRP=40dBm(43dBm peak)
-	(57240 - 63720 @ 2160), (N/A, 40)
+	(57240 - 63720 @ 2160), (40)
 
 country UY:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 20), DFS
-	(5490 - 5710 @ 40), (3, 20), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country UZ:
-	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 40), (3, 17)
-	(5250 - 5330 @ 40), (3, 20), DFS
-	(5490 - 5710 @ 40), (3, 20), DFS
-	(5735 - 5835 @ 40), (3, 30)
+	(2402 - 2472 @ 40), (27)
+	(5170 - 5250 @ 40), (17)
+	(5250 - 5330 @ 40), (20), DFS
+	(5490 - 5710 @ 40), (20), DFS
+	(5735 - 5835 @ 40), (30)
 
 country VE:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5815 @ 40), (N/A, 23)
+	(2402 - 2482 @ 40), (20)
+	(5735 - 5815 @ 40), (23)
 
 country VN:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country YE:
-	(2402 - 2482 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
 
 country ZA:
-	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 80), (3, 17)
-	(5250 - 5330 @ 80), (3, 24), DFS
-	(5490 - 5710 @ 80), (3, 24), DFS
-	(5735 - 5835 @ 80), (3, 30)
+	(2402 - 2482 @ 40), (20)
+	(5170 - 5250 @ 80), (17)
+	(5250 - 5330 @ 80), (24), DFS
+	(5490 - 5710 @ 80), (24), DFS
+	(5735 - 5835 @ 80), (30)
 
 country ZW:
-	(2402 - 2482 @ 40), (N/A, 20)
+	(2402 - 2482 @ 40), (20)
 
diff --git a/dbparse.py b/dbparse.py
index 29eb9d6..ac7234b 100755
--- a/dbparse.py
+++ b/dbparse.py
@@ -205,13 +205,10 @@ class DBParser(object):
 
     def _parse_power_def(self, pname, line, dupwarn=True):
         try:
-            (max_ant_gain,
-             max_eirp) = line.split(',')
-            if max_ant_gain == 'N/A':
-                max_ant_gain = '0'
+            max_eirp = line
             if max_eirp == 'N/A':
                 max_eirp = '0'
-            max_ant_gain = float(max_ant_gain)
+            max_ant_gain = float(0)
             def conv_pwr(pwr):
                 if pwr.endswith('mW'):
                     pwr = float(pwr[:-2])
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 1/8] wireless-regdb: consolidate passive-scan and no-ibss flags
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez
In-Reply-To: <1383314131-20774-1-git-send-email-mcgrof@do-not-panic.com>

These are used interchangeably so just do away
with the redundancy.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
---
 db.txt     | 8 ++++----
 dbparse.py | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/db.txt b/db.txt
index d0d1a3f..b8ddb1b 100644
--- a/db.txt
+++ b/db.txt
@@ -2,14 +2,14 @@
 country 00:
 	(2402 - 2472 @ 40), (3, 20)
 	# Channel 12 - 13.
-	(2457 - 2482 @ 40), (3, 20), PASSIVE-SCAN, NO-IBSS
+	(2457 - 2482 @ 40), (3, 20), NO-IR
 	# Channel 14. Only JP enables this and for 802.11b only
-	(2474 - 2494 @ 20), (3, 20), PASSIVE-SCAN, NO-IBSS, NO-OFDM
+	(2474 - 2494 @ 20), (3, 20), NO-IR, NO-OFDM
 	# Channel 36 - 48
-	(5170 - 5250 @ 80), (3, 20), PASSIVE-SCAN, NO-IBSS
+	(5170 - 5250 @ 80), (3, 20), NO-IR
 	# NB: 5260 MHz - 5700 MHz requies DFS
 	# Channel 149 - 165
-	(5735 - 5835 @ 80), (3, 20), PASSIVE-SCAN, NO-IBSS
+	(5735 - 5835 @ 80), (3, 20), NO-IR
 	# IEEE 802.11ad (60GHz), channels 1..3
 	(57240 - 63720 @ 2160), (N/A, 0)
 
diff --git a/dbparse.py b/dbparse.py
index 32cbce9..29eb9d6 100755
--- a/dbparse.py
+++ b/dbparse.py
@@ -12,8 +12,8 @@ flag_definitions = {
     'DFS':		1<<4,
     'PTP-ONLY':		1<<5,
     'PTMP-ONLY':	1<<6,
-    'PASSIVE-SCAN':	1<<7,
-    'NO-IBSS':		1<<8,
+    'NO-IR':	        1<<7,
+    # hole at bit 8
     # hole at bit 9. FIXME: Where is NO-HT40 defined?
     'NO-HT40':		1<<10,
 }
-- 
1.8.4.rc3


^ permalink raw reply related

* [PATCH 0/8] wireless-regdb: General updates
From: Luis R. Rodriguez @ 2013-11-01 13:55 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless, wireless-regdb, Luis R. Rodriguez

John,

I have a pretty large delta now, this is due to the fact that
QCA has had a backlog of updates to wireless-regd for a while
now. We've worked on a tool to help automate interpretting our
rules and extracting them into wireless-regdb form. The hope here
is that after we iron our our discrepencies from the backlog we
will ensure that we'll be sending updates ASAP and that away
avoid any backlog.

There are a few discrepencies from what we have on countries
that the community has submitted changes on, in particular this
consists of: CZ, DE, ES, IL, RS, UA. For these countries I have
not submitted changes, and I am pending review with Michael
on the changes to see what we can come up with or compromise
on.

The first two patch series are completely augmentative in
the sense that we are only enabling HT40, VHT80, increasing
frequency ranges, increasing TX power on 2.4 and/or 5 GHz.

The last series does have general updates to countries which
do remove some rules but that is done only for countries not
listed above.

The entire delta can be obtained via either a single patch [0]
or my git tree [1].

This is the first patch set and deals with the initial backlog
I had, adds DFS regions to countries, and uses the new CRDA
optimizer for rules for which we have no pending conflicts
with.

I'll post details of the second and third patch set after the
first series patches. I expect a 4th patch set but I expect
that will take a bit of time to complete. This should be
enough to get us started back on the right track and try to
take care of as much of the backlog as possible.

[0] http://drvbp1.linux-foundation.org/~mcgrof/patches/2013/11/01/pending-wireless-regdb-2013-11-01.patch
[1] git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/wireless-regdb.git

Luis R. Rodriguez (8):
  wireless-regdb: consolidate passive-scan and no-ibss flags
  wireless-regdb: remove antenna gain
  wireless-regdb: add DFS FCC regions
  wireless-regdb: add DFS ETSI regions
  wireless-regdb: add DFS JP regions
  wireless-regdb: optimize two of DE's rules
  wireless-regdb: optimize two of IL's rules
  wireless-regdb: optimize two of NL's rules

 db.txt     | 1246 ++++++++++++++++++++++++++++++------------------------------
 dbparse.py |   11 +-
 2 files changed, 625 insertions(+), 632 deletions(-)

-- 
1.8.4.rc3


^ permalink raw reply

* Re: [PATCH] wcn36xx: enable the beaconing in mesh mode
From: Eugene Krasnikov @ 2013-11-01 13:45 UTC (permalink / raw)
  To: Yeoh Chun-Yeow
  Cc: Thomas Pedersen, linux-wireless, John Linville, wcn36xx,
	Chun-Yeow Yeoh, devel@lists.open80211s.org
In-Reply-To: <CAEFj984AojwciEHGvOisoYX8h_vG4TqZmJCXL6B_vpDYMbf9HQ@mail.gmail.com>

I do not really remember what was the result of testing when we set
tim_ie_offset to 0. Could you please share what do you observe when
tim_ie_offset? Does FW corrupt beacon?

My concern about 256 is that FW may corrupt some memory. Also assume
the reason why FW sets TIM is because you configure FW as AP instead
of mesh with this line:
    bss->bss_type = WCN36XX_HAL_INFRA_AP_MODE;

On Fri, Nov 1, 2013 at 4:33 AM, Yeoh Chun-Yeow <yeohchunyeow@gmail.com> wrote:
>>
>> Also mesh beacon does need the TIM< only it must be generated by
>> mac80211. How do you tell the firmware to ignore the beacon TIM?
>
>
> Hi, Thomas
>
> The HAL send beacon request message requires the tim_ie_offset to be set.
> There is another p2p_ie_offset in the request message. By setting it to 0,
> it seems that the firmware ignores this IE while building the beacon.
> However, I try to set the tim_ie_offset to 0. But this won't work.
>
> Hi, Eugene
>
> Did you ever test the tim_ie_offset set to 0?
>
> ----
> Chun-Yeow
>



-- 
Best regards,
Eugene

^ permalink raw reply

* Re: BUG in rfcomm_sock_getsockopt+0x128/0x200
From: Marcel Holtmann @ 2013-11-01 13:30 UTC (permalink / raw)
  To: Fabio Rossi
  Cc: linux-wireless@vger.kernel.org Wireless,
	linux-bluetooth@vger.kernel.org development
In-Reply-To: <376684294.1810371383311879389.JavaMail.defaultUser@defaultHost>

Hi Fabio,

> I'm using the latest wireless-testing.git and I have found a problem, I get the 
> following kernel trace:
> 
> BUG: unable to handle kernel paging request at 
> 00000009dd50350a                                                                                                                     
> IP: [<ffffffff815b6768>] 
> rfcomm_sock_getsockopt+0x128/0x200                                                                                                                         
> PGD 
> 0                                                                                                                                                                               
> Oops: 0000 [#1] SMP 
> Modules linked in: vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) fglrx(PO) 
> ath5k ath mac80211 cfg80211
> CPU: 2 PID: 1475 Comm: bluetoothd Tainted: P           O 3.12.0-rc5-wl #4
> Hardware name: System manufacturer System Product Name/P6T DELUXE V2, BIOS 
> 1202    12/22/2010
> task: ffff88032e9ce360 ti: ffff880330654000 task.ti: ffff880330654000
> RIP: 0010:[<ffffffff815b6768>]  [<ffffffff815b6768>] 
> rfcomm_sock_getsockopt+0x128/0x200
> RSP: 0018:ffff880330655ed8  EFLAGS: 00010246
> RAX: 00000009dd503502 RBX: 0000000000000003 RCX: 00007fff7b30e298
> RDX: 0000000000000003 RSI: 0000000000000012 RDI: ffff8800bad88f00
> RBP: ffff880330655f28 R08: 00007fff7b30e29c R09: ffff8803306734d8
> R10: 00007fff7b30e298 R11: 0000000000000202 R12: ffff8800ba83ec00
> R13: 00007fff7b30e298 R14: 0000000000000003 R15: 00007fff7b30e29c
> FS:  00007f31c1d9d700(0000) GS:ffff88033fc80000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 00000009dd50350a CR3: 000000033048a000 CR4: 00000000000007e0
> Stack:
> ffff880330655f28 ffffffff815b5e2f ffff880330655f18 0002ffff81107bb6
> 0000000600000000 ffff8800bad88f00 0000000000000012 00007fff7b30e298
> 0000000000000003 00007fff7b30e29c ffff880330655f78 ffffffff814c6260
> Call Trace:
> [<ffffffff815b5e2f>] ? rfcomm_sock_setsockopt+0x5f/0x190
> [<ffffffff814c6260>] SyS_getsockopt+0x60/0xb0
> [<ffffffff815e5ba2>] system_call_fastpath+0x16/0x1b
> Code: 02 00 00 00 0f 47 d0 4c 89 ef e8 94 f0 cc ff 83 f8 01 19 c9 f7 d1 83 e1 
> f2 e9 4b ff ff ff 0f 1f 44 00 00 49 8b 84 24 70 02 00 00 <4c> 8b 70 08 4c 89 c0 
> e8 4c f6 cc ff 85 c0 49 89 d7 b9 f2 ff ff 
> RIP  [<ffffffff815b6768>] rfcomm_sock_getsockopt+0x128/0x200
> RSP <ffff880330655ed8>
> CR2: 00000009dd50350a
> ---[ end trace 6e62d73375e99d69 ]—

what socket option is your client program setting? Do you happen to know that. Would make it a lot easier to track this down.

Regards

Marcel


^ permalink raw reply

* Re: [PATCH 0/7] wireless-regdb: DFS regions and optimizations
From: Luis R. Rodriguez @ 2013-11-01 13:28 UTC (permalink / raw)
  To: John W. Linville
  Cc: linux-wireless, wireless-regdb@lists.infradead.org,
	Luis R. Rodriguez
In-Reply-To: <1383169509-22619-1-git-send-email-mcgrof@do-not-panic.com>

On Wed, Oct 30, 2013 at 10:45 PM, Luis R. Rodriguez
<mcgrof@do-not-panic.com> wrote:
> This patch series associates a slew of countries
> to DFS regions and then provides updates to 4
> countries based on the new CRDA optimizer. The
> optimizations have no functional changes other
> than reducing the size of the regulatory domain
> data strucutre that would be used to send to
> the kernel.
>
> Luis R. Rodriguez (7):
>   wireless-regdb: add DFS FCC regions
>   wireless-regdb: add DFS ETSI regions

This patch was missing one country although the commit log mentioned it.

>   wireless-regdb: add DFS JP regions

This one as well.

>   wireless-regdb: optimize two of DE's rules
>   wireless-regdb: optimize two of ES's rules

This one conflicts with Xose's patch so I'll drop it.

>   wireless-regdb: optimize two of IL's rules
>   wireless-regdb: optimize two of NL's rules

I'll just respin.

  Luis

^ permalink raw reply

* Re: brcmfmac driver does not work with a BCM4335 WiFi module
From: Arend van Spriel @ 2013-11-01 13:25 UTC (permalink / raw)
  To: Dong Aisheng; +Cc: linux-wireless, frankyl, brcm80211-dev-list
In-Reply-To: <CAA+hA=QB3S6nv1sjtiWQxwrzT3qivoWtaz_noLgVpA-5jBhjiw@mail.gmail.com>

On 11/01/2013 01:21 PM, Dong Aisheng wrote:
> Hi Arend,
>
> On Fri, Nov 1, 2013 at 6:35 PM, Arend van Spriel <arend@broadcom.com> wrote:
>> On 11/01/2013 07:22 AM, Dong Aisheng wrote:
>>>
>>> Hi ALL,
>>>
>>> I'm verifying BCM4335 WiFi module on i.MX6SL EVK board.
>>> The kernel i ran is latest from:
>>> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless.git
>>>
>>> The firmware is used is from:
>>> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
>>>
>>> NVRAM file is got from the vendor which should work for the module.
>>>
>>> But i ran into the following issues, hope somebody can give me some hints.
>>>
>>> First, i met error when module is auto loaded, but seems the driver is
>>> still loaded successfully since i found the new WiFi interface with
>>> ifconfig.
>>> But it can not work after run rfkill unblock wlan and a lot error
>>> messages comes out.
>>>
>>> I'm wondering if this driver can support bcm4335 well, can anybody
>>> provide some help?
>>
>>
>> I can try. I have used the bcm4335 with a SDIO3.0 controller on a x86 PC.
>> Looking at an issue right now, but your log does not show that so you have a
>> different issue. Could you load the module with parameter 'debug=0x146'.
>>
>
> Thanks for the help.
> So that means the brcmfmac driver should support bcm4335 module well, right?
> The difference is that i'm using a ARM platform.
> Below is log with 'debug=0x146'.
> It only includes driver probe log.

That log actually looks fine. Just not sure why software rfkill was 
enabled. Is that still the case? What distro is running on your platform?

Regards,
Arend

>
> [   43.776870] brcmfmac: brcmf_sdbrcm_probe Enter
> [   43.778413] brcmfmac: F1 signature read @0x18000000=0x16214335
> [   43.778528] brcmfmac: brcmf_sdio_chip_attach Enter
> [   43.779078] brcmfmac: brcmf_sdio_chip_recognition chipid=0x4335 chiprev=1
> [   43.779269] brcmfmac: brcmf_sdio_chip_buscoresetup ccrev=43,
> pmurev=18, buscore rev/type=15/0x829
> [   43.780505] brcmfmac: brcmf_sdioh_request_word: Failed to read
> word, Err: 0xffffffac
> [   43.790834] brcmfmac: brcmf_sdioh_request_word: Failed to read
> word, Err: 0xffffffac
> [   43.801418] brcmfmac: brcmf_sdioh_request_word: Failed to read
> word, Err: 0xffffffac
> [   43.808005] brcmfmac: brcmf_sdio_regrw_helper: failed with -84
> [   43.813607] brcmfmac: brcmf_sdbrcm_kso_init Enter
> [   43.813689] brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO
> Drive strength init done for chip 4335 rev 1 pmurev 18
> [   43.829540] brcmfmac: brcmf_attach Enter
> [   43.829624] brcmfmac: brcmf_sdbrcm_probe_malloc Enter
> [   43.829640] brcmfmac: brcmf_sdbrcm_probe_init Enter
> [   43.830753] brcmfmac: brcmf_sdbrcm_probe completed!!
> [   43.830772] brcmfmac: brcmf_bus_start
> [   43.830783] brcmfmac: brcmf_sdbrcm_bus_init Enter
> [   43.833893] brcmfmac: brcmf_sdbrcm_download_code_file Enter
> [   44.092239] brcmfmac: brcmf_sdio_chip_verifynvram Compare NVRAM dl
> & ul; size=2216
> [   44.092843] brcmfmac: brcmf_sdio_chip_writenvram RAM size: 786432
> [   44.092865] brcmfmac: brcmf_sdio_chip_writenvram nvram is placed at
> 2357076, size 2216, token=0xfdd5022a
> [   44.246583] brcmfmac: brcmf_sdbrcm_bus_init enable 0x06, ready 0x06
> [   44.246739] brcmfmac: brcmf_sdbrcm_sr_capable Enter
> [   44.246915] brcmfmac: brcmf_sdbrcm_sr_init Enter
> [   44.247096] brcmfmac: brcmf_sdbrcm_sr_init SR enabled
> [   44.247436] brcmfmac: brcmf_add_if Enter, idx=0, ifidx=0
> [   44.247451] brcmfmac: brcmf_add_if allocate netdev interface
> [   44.247478] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.247489] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.247615] brcmfmac: brcmf_add_if  ==== pid:18, if:wlan%d
> (00:00:00:00:00:00) created ===
> [   44.247635] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.247739] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.247751] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.250918] brcmutil: TxHdr:
> [   44.250940] 00000000: 38 00 c7 ff ff 00 00 14 00 00 00 00 00 00 00
> 00  8...............
> [   44.251012] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.251023] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.251237] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.251252] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.251447] brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE
> [   44.251460] brcmfmac: brcmf_sdio_readframes Enter
> [   44.251592] brcmutil: RxHdr:
> [   44.251610] 00000000: 0c 00 f3 ff 00 01 00 0c 00 16 00 00
>     ............
> [   44.251703] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.251716] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.252029] brcmutil: RxHdr:
> [   44.252048] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.252070] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.252083] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.252284] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.252298] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.252425] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.266638] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.266657] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.266880] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.266893] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.267125] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.267140] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.267151] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.270317] brcmfmac: brcmf_sdio_readframes Enter
> [   44.270441] brcmutil: RxHdr:
> [   44.270461] 00000000: 30 00 cf ff 01 00 00 0c 00 15 00 00
>     0...........
> [   44.270474] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.270675] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.270708] brcmutil: RxHdr:
> [   44.270724] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.270761] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.270775] brcmutil: TxHdr:
> [   44.270789] 00000000: 28 01 d7 fe 00 00 00 14 00 00 00 00 00 00 00
> 00  (...............
> [   44.270911] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.286654] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.286671] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.286889] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.286903] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.287131] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.287146] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.287157] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.290320] brcmfmac: brcmf_sdio_readframes Enter
> [   44.290444] brcmutil: RxHdr:
> [   44.290467] 00000000: 20 01 df fe 02 00 00 0c 00 16 00 00
>      ...........
> [   44.290479] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.290766] brcmfmac: brcmf_c_preinit_dcmds: Firmware version =
> wl0: Mar 24 2013 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
> [   44.301838] brcmutil: RxHdr:
> [   44.301859] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.302724] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.302743] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.302757] brcmutil: TxHdr:
> [   44.302775] 00000000: 34 00 cb ff 01 00 00 14 00 00 00 00 00 00 00
> 00  4...............
> [   44.302940] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.316613] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.316630] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.316841] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.316854] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.317073] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.317088] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.317098] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.320259] brcmfmac: brcmf_sdio_readframes Enter
> [   44.320384] brcmutil: RxHdr:
> [   44.320404] 00000000: 2c 00 d3 ff 03 00 00 0c 00 17 00 00
>     ,...........
> [   44.320417] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.320584] brcmutil: RxHdr:
> [   44.320602] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.320658] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.320671] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.320683] brcmutil: TxHdr:
> [   44.320697] 00000000: 31 00 ce ff 02 00 00 14 00 00 00 00 00 00 00
> 00  1...............
> [   44.320818] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.336673] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.336688] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.336902] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.336915] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.337135] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.337150] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.337160] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.340327] brcmfmac: brcmf_sdio_readframes Enter
> [   44.340452] brcmutil: RxHdr:
> [   44.340473] 00000000: 29 00 d6 ff 04 00 00 0c 00 18 00 00
>     )...........
> [   44.340486] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.340651] brcmutil: RxHdr:
> [   44.340669] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.340723] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.340737] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.340750] brcmutil: TxHdr:
> [   44.340763] 00000000: 3f 00 c0 ff 03 00 00 14 00 00 00 00 00 00 00
> 00  ?...............
> [   44.340884] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.356629] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.356647] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.356863] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.356877] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.357102] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.357117] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.357128] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.360290] brcmfmac: brcmf_sdio_readframes Enter
> [   44.360416] brcmutil: RxHdr:
> [   44.360437] 00000000: 37 00 c8 ff 05 00 00 0c 00 19 00 00
>     7...........
> [   44.360448] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.360614] brcmutil: RxHdr:
> [   44.360633] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.360687] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.360701] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.360713] brcmutil: TxHdr:
> [   44.360728] 00000000: 3f 00 c0 ff 04 00 00 14 00 00 00 00 00 00 00
> 00  ?...............
> [   44.360850] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.376617] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.376634] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.376849] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.376862] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.377087] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.377103] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.377113] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.380275] brcmfmac: brcmf_sdio_readframes Enter
> [   44.380397] brcmutil: RxHdr:
> [   44.380417] 00000000: 37 00 c8 ff 06 00 00 0c 00 1a 00 00
>     7...........
> [   44.380430] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.380601] brcmutil: RxHdr:
> [   44.380620] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.380674] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.380687] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.380699] brcmutil: TxHdr:
> [   44.380714] 00000000: 28 00 d7 ff 05 00 00 14 00 00 00 00 00 00 00
> 00  (...............
> [   44.380837] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.396621] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.396639] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.396850] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.396865] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.397091] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.397106] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.397117] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.400276] brcmfmac: brcmf_sdio_readframes Enter
> [   44.400400] brcmutil: RxHdr:
> [   44.400421] 00000000: 20 00 df ff 07 00 00 0c 00 1b 00 00
>      ...........
> [   44.400434] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.400600] brcmutil: RxHdr:
> [   44.400618] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.400672] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.400685] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.400696] brcmutil: TxHdr:
> [   44.400709] 00000000: 28 00 d7 ff 06 00 00 14 00 00 00 00 00 00 00
> 00  (...............
> [   44.400812] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.416618] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.416635] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.416847] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.416860] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.417086] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.417102] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.417112] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.420271] brcmfmac: brcmf_sdio_readframes Enter
> [   44.420394] brcmutil: RxHdr:
> [   44.420414] 00000000: 20 00 df ff 08 00 00 0c 00 1c 00 00
>      ...........
> [   44.420427] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.420588] brcmutil: RxHdr:
> [   44.420605] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.420670] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.420684] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.420696] brcmutil: TxHdr:
> [   44.420710] 00000000: 49 00 b6 ff 07 00 00 14 00 00 00 00 00 00 00
> 00  I...............
> [   44.420835] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.436617] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.436634] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.436851] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.436865] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.437091] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.437106] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.437116] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.440273] brcmfmac: brcmf_sdio_readframes Enter
> [   44.440398] brcmutil: RxHdr:
> [   44.440419] 00000000: 41 00 be ff 09 00 00 0c 00 1d 00 00
>     A...........
> [   44.440431] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.440695] brcmutil: RxHdr:
> [   44.440713] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.440775] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.440789] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.440802] brcmutil: TxHdr:
> [   44.440815] 00000000: 3e 00 c1 ff 08 00 00 14 00 00 00 00 00 00 00
> 00  >...............
> [   44.440926] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.456621] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.456639] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.456853] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.456867] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.457086] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.457102] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.457113] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.460278] brcmfmac: brcmf_sdio_readframes Enter
> [   44.460401] brcmutil: RxHdr:
> [   44.460421] 00000000: 36 00 c9 ff 0a 00 00 0c 00 1e 00 00
>     6...........
> [   44.460435] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.460616] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.460649] brcmutil: RxHdr:
> [   44.460665] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.460702] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.460715] brcmutil: TxHdr:
> [   44.460730] 00000000: 38 00 c7 ff 09 00 00 14 00 00 00 00 00 00 00
> 00  8...............
> [   44.460848] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.476620] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.476637] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.476848] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.476861] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.477081] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.477097] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.477106] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.480268] brcmfmac: brcmf_sdio_readframes Enter
> [   44.480394] brcmutil: RxHdr:
> [   44.480415] 00000000: 30 00 cf ff 0b 00 00 0c 00 1f 00 00
>     0...........
> [   44.480427] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.480612] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.480646] brcmutil: RxHdr:
> [   44.480663] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.480700] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.480715] brcmutil: TxHdr:
> [   44.480728] 00000000: 38 00 c7 ff 0a 00 00 14 00 00 00 00 00 00 00
> 00  8...............
> [   44.480850] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.496616] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.496634] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.496850] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.496864] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.497078] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.497093] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.497104] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.500272] brcmfmac: brcmf_sdio_readframes Enter
> [   44.500395] brcmutil: RxHdr:
> [   44.500416] 00000000: 30 00 cf ff 0c 00 00 0c 00 20 00 00
>     0........ ..
> [   44.500428] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.500793] brcmutil: RxHdr:
> [   44.500814] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.500882] brcmfmac: brcmf_fweh_register event handler registered
> for FIFO_CREDIT_MAP
> [   44.500896] brcmfmac: brcmf_fweh_register event handler registered
> for BCMC_CREDIT_SUPPORT
> [   44.500914] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.500927] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.500939] brcmutil: TxHdr:
> [   44.500954] 00000000: 2c 00 d3 ff 0b 00 00 14 00 00 00 00 00 00 00
> 00  ,...............
> [   44.501092] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.516625] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.516643] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.516863] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.516877] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.517098] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.517113] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.517124] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.520288] brcmfmac: brcmf_sdio_readframes Enter
> [   44.520414] brcmutil: RxHdr:
> [   44.520435] 00000000: 24 00 db ff 0d 00 00 0c 00 21 00 00
>     $........!..
> [   44.520448] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.520632] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.520665] brcmutil: RxHdr:
> [   44.520681] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.520718] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.520731] brcmutil: TxHdr:
> [   44.520744] 00000000: 3a 00 c5 ff 0c 00 00 14 00 00 00 00 00 00 00
> 00  :...............
> [   44.520864] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.536673] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.536689] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.536908] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.536922] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.537141] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.537155] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.537167] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.540333] brcmfmac: brcmf_sdio_readframes Enter
> [   44.540456] brcmutil: RxHdr:
> [   44.540477] 00000000: 32 00 cd ff 0e 00 00 0c 00 22 00 00
>     2........"..
> [   44.540490] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.540676] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
> [   44.544707] brcmfmac: brcmf_fws_init enabling AMPDU host-reorder failed
> [   44.544740] brcmfmac: brcmf_fws_macdesc_init enter: desc 9f20e7f0
> ea=  (null), ifidx=0
> [   44.544795] brcmfmac: brcmf_fws_init enabled bdcv2 tlv signaling [1]
> [   44.544814] brcmfmac: brcmf_fws_macdesc_init enter: desc 9f20d030
> ea=00:90:4c:c5:12:38, ifidx=0
> [   44.544828] brcmfmac: brcmf_fws_add_interface added MACIF:0
> [   44.544965] brcmfmac: brcmf_setup_wiphy Registering custom regulatory
> [   44.547564] brcmutil: RxHdr:
> [   44.547589] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.554565] brcmfmac: brcmf_alloc_vif allocating virtual interface
> (size=2332)
> [   44.554596] brcmfmac: brcmf_fweh_register event handler registered for LINK
> [   44.554609] brcmfmac: brcmf_fweh_register event handler registered
> for DEAUTH_IND
> [   44.554619] brcmfmac: brcmf_fweh_register event handler registered for DEAUTH
> [   44.554630] brcmfmac: brcmf_fweh_register event handler registered
> for DISASSOC_IND
> [   44.554639] brcmfmac: brcmf_fweh_register event handler registered
> for ASSOC_IND
> [   44.554649] brcmfmac: brcmf_fweh_register event handler registered
> for REASSOC_IND
> [   44.554658] brcmfmac: brcmf_fweh_register event handler registered for ROAM
> [   44.554668] brcmfmac: brcmf_fweh_register event handler registered
> for MIC_ERROR
> [   44.554679] brcmfmac: brcmf_fweh_register event handler registered
> for SET_SSID
> [   44.554691] brcmfmac: brcmf_fweh_register event handler registered
> for PFN_NET_FOUND
> [   44.554702] brcmfmac: brcmf_fweh_register event handler registered for IF
> [   44.554713] brcmfmac: brcmf_fweh_register event handler registered
> for P2P_PROBEREQ_MSG
> [   44.554723] brcmfmac: brcmf_fweh_register event handler registered
> for P2P_DISC_LISTEN_COMPLETE
> [   44.554734] brcmfmac: brcmf_fweh_register event handler registered
> for ACTION_FRAME_RX
> [   44.554744] brcmfmac: brcmf_fweh_register event handler registered
> for ACTION_FRAME_COMPLETE
> [   44.554755] brcmfmac: brcmf_fweh_register event handler registered
> for ACTION_FRAME_OFF_CHAN_COMPLETE
> [   44.554765] brcmfmac: brcmf_fweh_register event handler registered
> for ESCAN_RESULT
> [   44.554778] brcmfmac: brcmf_btcoex_attach enter
> [   44.555320] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.555341] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.555356] brcmutil: TxHdr:
> [   44.555376] 00000000: 34 00 cb ff 0d 00 00 14 00 00 00 00 00 00 00
> 00  4...............
> [   44.555517] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.566688] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.566708] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.566939] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.566952] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.567179] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.567195] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.567205] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.570374] brcmfmac: brcmf_sdio_readframes Enter
> [   44.570500] brcmutil: RxHdr:
> [   44.570522] 00000000: 2c 00 d3 ff 0f 00 00 0c 00 23 00 00
>     ,........#..
> [   44.570534] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.570710] brcmutil: RxHdr:
> [   44.570728] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.570786] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.570800] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.570812] brcmutil: TxHdr:
> [   44.570826] 00000000: 28 00 d7 ff 0e 00 00 14 00 00 00 00 00 00 00
> 00  (...............
> [   44.570950] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.586650] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.586669] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.586907] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.586922] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.587144] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.587159] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.587169] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.590336] brcmfmac: brcmf_sdio_readframes Enter
> [   44.590457] brcmutil: RxHdr:
> [   44.590478] 00000000: 20 00 df ff 10 00 00 0c 00 24 00 00
>      ........$..
> [   44.590491] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.590691] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   44.590725] brcmutil: RxHdr:
> [   44.590741] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.590775] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.590789] brcmutil: TxHdr:
> [   44.590803] 00000000: 3f 00 c0 ff 0f 00 00 14 00 00 00 00 00 00 00
> 00  ?...............
> [   44.590925] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   44.606621] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.606639] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.606856] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
> [   44.606870] brcmfmac: brcmf_sdbrcm_isr Enter
> [   44.607090] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   44.607106] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.607115] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   44.610279] brcmfmac: brcmf_sdio_readframes Enter
> [   44.610403] brcmutil: RxHdr:
> [   44.610425] 00000000: 37 00 c8 ff 11 00 00 0c 00 25 00 00
>     7........%..
> [   44.610438] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   44.610622] brcmfmac: brcmf_net_attach Enter, idx=0 mac=00:90:4c:c5:12:38
> [   44.611733] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
> [   44.611831] brcmfmac: brcmf_net_attach wlan0: Broadcom Dongle Host Driver
> [   44.619217] brcmutil: RxHdr:
> [   44.619243] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
>     ............
> [   44.626752] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   44.626771] brcmfmac: brcmf_sdbrcm_kso_control Enter
>
>
> Regards
> Dong Aisheng
>
>> Regards, Arend
>>
>>
>>> Regards
>>> Dong Aisheng
>>>
>>> Below is the log FYI.
>>>
>>> root@imx6slevk:~# mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
>>> mmc0: new high speed SDIO card at address 0001
>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
>>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
>>> brcmfmac: brcmf_sdio_regrw_helper: failed with -84
>>> brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO Drive strength
>>> init done for chip 4335 rev 1 pmurev 18
>>> brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar 24 2013
>>> 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-23
>>>
>>> root@imx6slevk:~#
>>> root@imx6slevk:~# ifconfig -a
>>> eth0      Link encap:Ethernet  HWaddr 00:04:9F:02:76:E5
>>>             inet addr:10.192.242.69  Bcast:10.192.242.255
>>> Mask:255.255.255.0
>>>             inet6 addr: fe80::204:9fff:fe02:76e5/64 Scope:Link
>>>             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>>             RX packets:20301 errors:0 dropped:1 overruns:0 frame:0
>>>             TX packets:16888 errors:0 dropped:0 overruns:0 carrier:0
>>>             collisions:0 txqueuelen:1000
>>>             RX bytes:22233761 (21.2 MiB)  TX bytes:2373414 (2.2 MiB)
>>>
>>> lo        Link encap:Local Loopback
>>>             inet addr:127.0.0.1  Mask:255.0.0.0
>>>             inet6 addr: ::1/128 Scope:Host
>>>             UP LOOPBACK RUNNING  MTU:65536  Metric:1
>>>             RX packets:34 errors:0 dropped:0 overruns:0 frame:0
>>>             TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
>>>             collisions:0 txqueuelen:0
>>>             RX bytes:2340 (2.2 KiB)  TX bytes:2340 (2.2 KiB)
>>>
>>> sit0      Link encap:IPv6-in-IPv4
>>>             NOARP  MTU:1480  Metric:1
>>>             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>             collisions:0 txqueuelen:0
>>>             RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>
>>> wlan0     Link encap:Ethernet  HWaddr 00:90:4C:C5:12:38
>>>             BROADCAST MULTICAST  MTU:1500  Metric:1
>>>             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>>             TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>>             collisions:0 txqueuelen:1000
>>>             RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>>
>>> root@imx6slevk:~#
>>> root@imx6slevk:~# rfkill list
>>> 0: phy0: wlan
>>>           Soft blocked: yes
>>>           Hard blocked: no
>>>
>>> root@imx6slevk:~# rfkill unblock wlan
>>> root@imx6slevk:~# brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
>>> brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
>>> brcmfmac: brcmf_add_if: ignore IF event
>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-23
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>>> F1:@0x1001f=01, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>>> F1:@0x1001f=01, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>>> F1:@0x1001f=01, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>>> F1:@0x1001f=01, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>>> F1:@0x1001f=ff, Err: -110
>>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
>>> brcmfmac: brcmf_set_mpc: fail to set mpc
>>> brcmfmac: brcmf_escan_timeout: timer expired
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>>> F1:@0x1001f=01, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>>> F1:@0x1001f=01, Err: -110
>>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>>> F1:@0x1001f=01, Err: -110
>>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
>>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
>>> brcmfmac: brcmf_set_mpc: fail to set mpc
>>> ............
>>>
>>> The following detailed Log for drver probe, if you also need the full
>>> log after run rfkill please let me know.
>>>
>>> [   36.555580] brcmfmac: brcmf_sdbrcm_probe Enter
>>> [   36.564293] brcmfmac: F1 signature read @0x18000000=0x16214335
>>> [   36.564425] brcmfmac: brcmf_sdio_chip_attach Enter
>>> [   36.564973] brcmfmac: brcmf_sdio_chip_recognition chipid=0x4335
>>> chiprev=1
>>> [   36.565163] brcmfmac: brcmf_sdio_chip_buscoresetup ccrev=43,
>>> pmurev=18, buscore rev/type=15/0x829
>>> [   36.566410] brcmfmac: brcmf_sdioh_request_word: Failed to read
>>> word, Err: 0xffffffac
>>> [   36.594407] brcmfmac: brcmf_sdioh_request_word: Failed to read
>>> word, Err: 0xffffffac
>>> [   36.621092] brcmfmac: brcmf_sdioh_request_word: Failed to read
>>> word, Err: 0xffffffac
>>> [   36.627684] brcmfmac: brcmf_sdio_regrw_helper: failed with -84
>>> [   36.638085] brcmfmac: brcmf_sdbrcm_kso_init Enter
>>> [   36.638167] brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO
>>> Drive strength init done for chip 4335 rev 1 pmurev 18
>>> [   36.648862] brcmfmac: brcmf_attach Enter
>>> [   36.648947] brcmfmac: brcmf_sdbrcm_probe_malloc Enter
>>> [   36.648965] brcmfmac: brcmf_sdbrcm_probe_init Enter
>>> [   36.649174] brcmfmac: brcmf_sdbrcm_probe completed!!
>>> [   36.649190] brcmfmac: brcmf_bus_start
>>> [   36.649201] brcmfmac: brcmf_sdbrcm_bus_init Enter
>>> [   36.650399] brcmfmac: brcmf_sdbrcm_download_code_file Enter
>>> [   37.065998] brcmfmac: brcmf_sdio_chip_verifynvram Compare NVRAM dl
>>> & ul; size=2216
>>> [   37.067114] brcmfmac: brcmf_sdio_chip_writenvram RAM size: 786432
>>> [   37.067137] brcmfmac: brcmf_sdio_chip_writenvram nvram is placed at
>>> 2357076, size 2216, token=0xfdd5022a
>>> [   37.226519] brcmfmac: brcmf_sdbrcm_bus_init enable 0x06, ready 0x06
>>> [   37.226674] brcmfmac: brcmf_sdbrcm_sr_capable Enter
>>> [   37.226845] brcmfmac: brcmf_sdbrcm_sr_init Enter
>>> [   37.227026] brcmfmac: brcmf_sdbrcm_sr_init SR enabled
>>> [   37.227368] brcmfmac: brcmf_add_if Enter, idx=0, ifidx=0
>>> [   37.227383] brcmfmac: brcmf_add_if allocate netdev interface
>>> [   37.227408] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.227419] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.227548] brcmfmac: brcmf_add_if  ==== pid:11, if:wlan%d
>>> (00:00:00:00:00:00) created ===
>>> [   37.227567] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.227675] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.227688] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.230910] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.231124] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.231139] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.231337] brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE
>>> [   37.231350] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.231550] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.231870] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.231883] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.232082] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.232097] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.232224] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.246569] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.246587] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.246807] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.247031] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.247047] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.247059] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.250219] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.250346] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.250549] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.250606] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.250730] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.266635] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.266651] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.266869] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.267097] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.267112] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.267123] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.270283] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.270410] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.270709] brcmfmac: brcmf_c_preinit_dcmds: Firmware version =
>>> wl0: Mar 24 2013 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
>>> [   37.282106] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.282125] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.282281] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.296548] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.296564] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.296775] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.297000] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.297015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.297025] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.300190] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.300317] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.300523] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.300538] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.300657] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.316546] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.316562] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.316767] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.316989] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.317005] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.317015] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.320178] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.320302] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.320506] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.320522] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.320644] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.336555] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.336571] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.336782] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.337005] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.337020] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.337031] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.340209] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.340334] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.340542] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.340558] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.340680] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.356551] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.356568] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.356781] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.357012] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.357027] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.357037] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.360196] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.360323] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.360524] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.360539] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.360659] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.376550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.376567] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.376772] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.376995] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.377012] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.377021] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.380178] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.380306] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.380506] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.380522] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.380645] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.396550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.396568] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.396774] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.397002] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.397018] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.397029] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.400187] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.400316] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.400533] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.400549] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.400674] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.416549] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.416566] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.416774] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.416998] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.417015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.417026] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.420187] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.420310] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.420617] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.420633] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.420753] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.436550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.436566] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.436777] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.437003] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.437018] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.437028] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.440189] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.440311] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.440518] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.440533] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.440654] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.456547] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.456563] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.456773] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.456999] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.457015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.457025] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.460185] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.460312] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.460518] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.460534] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.460651] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.466742] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.466953] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.466967] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.466981] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.467102] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.469141] brcmfmac: brcmf_fweh_register event handler registered
>>> for FIFO_CREDIT_MAP
>>> [   37.469161] brcmfmac: brcmf_fweh_register event handler registered
>>> for BCMC_CREDIT_SUPPORT
>>> [   37.469178] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.469193] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.469334] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.486546] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.486563] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.486778] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.487004] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.487020] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.487031] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.490190] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.490316] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.490525] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.490542] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.490661] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.506550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.506568] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.506781] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.507008] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.507024] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.507035] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.510194] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.510318] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.510507] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
>>> [   37.514539] brcmfmac: brcmf_fws_init enabling AMPDU host-reorder failed
>>> [   37.514573] brcmfmac: brcmf_fws_macdesc_init enter: desc bec567f0
>>> ea=  (null), ifidx=0
>>> [   37.514626] brcmfmac: brcmf_fws_init enabled bdcv2 tlv signaling [1]
>>> [   37.514644] brcmfmac: brcmf_fws_macdesc_init enter: desc bec55030
>>> ea=00:90:4c:c5:12:38, ifidx=0
>>> [   37.514658] brcmfmac: brcmf_fws_add_interface added MACIF:0
>>> [   37.514796] brcmfmac: brcmf_setup_wiphy Registering custom regulatory
>>> [   37.522518] brcmfmac: brcmf_alloc_vif allocating virtual interface
>>> (size=2332)
>>> [   37.522550] brcmfmac: brcmf_fweh_register event handler registered for
>>> LINK
>>> [   37.522563] brcmfmac: brcmf_fweh_register event handler registered
>>> for DEAUTH_IND
>>> [   37.522574] brcmfmac: brcmf_fweh_register event handler registered for
>>> DEAUTH
>>> [   37.522584] brcmfmac: brcmf_fweh_register event handler registered
>>> for DISASSOC_IND
>>> [   37.522593] brcmfmac: brcmf_fweh_register event handler registered
>>> for ASSOC_IND
>>> [   37.522603] brcmfmac: brcmf_fweh_register event handler registered
>>> for REASSOC_IND
>>> [   37.522613] brcmfmac: brcmf_fweh_register event handler registered for
>>> ROAM
>>> [   37.522622] brcmfmac: brcmf_fweh_register event handler registered
>>> for MIC_ERROR
>>> [   37.522633] brcmfmac: brcmf_fweh_register event handler registered
>>> for SET_SSID
>>> [   37.522644] brcmfmac: brcmf_fweh_register event handler registered
>>> for PFN_NET_FOUND
>>> [   37.522655] brcmfmac: brcmf_fweh_register event handler registered for
>>> IF
>>> [   37.522667] brcmfmac: brcmf_fweh_register event handler registered
>>> for P2P_PROBEREQ_MSG
>>> [   37.522677] brcmfmac: brcmf_fweh_register event handler registered
>>> for P2P_DISC_LISTEN_COMPLETE
>>> [   37.522688] brcmfmac: brcmf_fweh_register event handler registered
>>> for ACTION_FRAME_RX
>>> [   37.522699] brcmfmac: brcmf_fweh_register event handler registered
>>> for ACTION_FRAME_COMPLETE
>>> [   37.522710] brcmfmac: brcmf_fweh_register event handler registered
>>> for ACTION_FRAME_OFF_CHAN_COMPLETE
>>> [   37.522720] brcmfmac: brcmf_fweh_register event handler registered
>>> for ESCAN_RESULT
>>> [   37.522732] brcmfmac: brcmf_btcoex_attach enter
>>> [   37.523262] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.523284] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.523429] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.536624] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.536644] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.536879] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.537111] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.537126] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.537137] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.540301] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.540434] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.540656] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.540672] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.540796] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.556688] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.556706] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.556927] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.557152] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.557167] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.557178] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.560348] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.560476] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.560705] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>>> [   37.560721] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.560846] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>>> [   37.576550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.576567] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.576777] brcmfmac: brcmf_sdbrcm_isr Enter
>>> [   37.577001] brcmfmac: brcmf_sdbrcm_dpc Enter
>>> [   37.577016] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.577026] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   37.580188] brcmfmac: brcmf_sdio_readframes Enter
>>> [   37.580311] brcmfmac: brcmf_sdbrcm_read_control Enter
>>> [   37.580518] brcmfmac: brcmf_net_attach Enter, idx=0
>>> mac=00:90:4c:c5:12:38
>>> [   37.581610] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
>>> [   37.581704] brcmfmac: brcmf_net_attach wlan0: Broadcom Dongle Host
>>> Driver
>>> [   37.596623] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>>> [   37.596641] brcmfmac: brcmf_sdbrcm_kso_control Enter
>>> [   45.955942] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
>>>
>>
>>
>



^ permalink raw reply

* BUG in rfcomm_sock_getsockopt+0x128/0x200
From: Fabio Rossi @ 2013-11-01 13:17 UTC (permalink / raw)
  To: linux-wireless, linux-bluetooth

I'm using the latest wireless-testing.git and I have found a problem, I get the 
following kernel trace:

BUG: unable to handle kernel paging request at 
00000009dd50350a                                                                                                                     
IP: [<ffffffff815b6768>] 
rfcomm_sock_getsockopt+0x128/0x200                                                                                                                         
PGD 
0                                                                                                                                                                               
Oops: 0000 [#1] SMP 
Modules linked in: vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) fglrx(PO) 
ath5k ath mac80211 cfg80211
CPU: 2 PID: 1475 Comm: bluetoothd Tainted: P           O 3.12.0-rc5-wl #4
Hardware name: System manufacturer System Product Name/P6T DELUXE V2, BIOS 
1202    12/22/2010
task: ffff88032e9ce360 ti: ffff880330654000 task.ti: ffff880330654000
RIP: 0010:[<ffffffff815b6768>]  [<ffffffff815b6768>] 
rfcomm_sock_getsockopt+0x128/0x200
RSP: 0018:ffff880330655ed8  EFLAGS: 00010246
RAX: 00000009dd503502 RBX: 0000000000000003 RCX: 00007fff7b30e298
RDX: 0000000000000003 RSI: 0000000000000012 RDI: ffff8800bad88f00
RBP: ffff880330655f28 R08: 00007fff7b30e29c R09: ffff8803306734d8
R10: 00007fff7b30e298 R11: 0000000000000202 R12: ffff8800ba83ec00
R13: 00007fff7b30e298 R14: 0000000000000003 R15: 00007fff7b30e29c
FS:  00007f31c1d9d700(0000) GS:ffff88033fc80000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000009dd50350a CR3: 000000033048a000 CR4: 00000000000007e0
Stack:
 ffff880330655f28 ffffffff815b5e2f ffff880330655f18 0002ffff81107bb6
 0000000600000000 ffff8800bad88f00 0000000000000012 00007fff7b30e298
 0000000000000003 00007fff7b30e29c ffff880330655f78 ffffffff814c6260
Call Trace:
 [<ffffffff815b5e2f>] ? rfcomm_sock_setsockopt+0x5f/0x190
 [<ffffffff814c6260>] SyS_getsockopt+0x60/0xb0
 [<ffffffff815e5ba2>] system_call_fastpath+0x16/0x1b
Code: 02 00 00 00 0f 47 d0 4c 89 ef e8 94 f0 cc ff 83 f8 01 19 c9 f7 d1 83 e1 
f2 e9 4b ff ff ff 0f 1f 44 00 00 49 8b 84 24 70 02 00 00 <4c> 8b 70 08 4c 89 c0 
e8 4c f6 cc ff 85 c0 49 89 d7 b9 f2 ff ff 
RIP  [<ffffffff815b6768>] rfcomm_sock_getsockopt+0x128/0x200
 RSP <ffff880330655ed8>
CR2: 00000009dd50350a
---[ end trace 6e62d73375e99d69 ]---

After bisecting the problem I found the following bad commit:

commit 94a86df01082557e2de45865e538d7fb6c46231c
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Sun Oct 13 10:34:02 2013 -0700

    Bluetooth: Store RFCOMM address information in its own socket structure
    
    The address information of RFCOMM sockets should be stored in its
    own socket structure. Trying to generalize them is not helpful since
    different transports have different address types.
    
    Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
    Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>

Fabio

^ permalink raw reply

* Re: [PATCH] cfg80211: Introduce critical protocol indication for p2p connection.
From: Arend van Spriel @ 2013-11-01 13:07 UTC (permalink / raw)
  To: Undekari, Sunil Dutt
  Cc: Johannes Berg, linux-wireless@vger.kernel.org, j@w1.fi
In-Reply-To: <26F3B0343EE4744AA14EEEF9E1E534511F7A8160@aphydexd01a>

On 11/01/2013 12:25 PM, Undekari, Sunil Dutt wrote:
> Hi Arend,
>
>> So how would the scenario look like. The host driver will get involved in setting up the P2P connection so that knowledge is already available to defer the scans or am I missing something.
> The host driver shall perform the scan's to find a better BSS in the
> The host driver / firmware performs (initiates) a scan on the STA interface in the process of finding a better BSS to roam. This scan is offloaded to the driver / firmware for a better roam experience.
> This scans would definitely affect the p2p connection triggered by the supplicant.
> Thus, I was suggesting a way to extend the already existing critical protocol indications to also include p2p protocol/connections, so that drivers can defer the scan's (any off channel operations for that matter) on any other interface during this period.

I got that. What I meant to say is that you can defer the roaming 
related scans when cfg80211 does a .add_virtual_intf() call to the 
driver and recommence upon .del_virtual_intf(). I guess this effectively 
disables roaming, right?

Regards,
Arend

> Regards,
> Sunil.
>
>
>
> -----Original Message-----
> From: Arend van Spriel [mailto:arend@broadcom.com]
> Sent: Thursday, October 31, 2013 11:12 PM
> To: Undekari, Sunil Dutt
> Cc: Johannes Berg; linux-wireless@vger.kernel.org; j@w1.fi
> Subject: Re: [PATCH] cfg80211: Introduce critical protocol indication for p2p connection.
>
> On 10/31/13 16:54, Undekari, Sunil Dutt wrote:
>>> Just do it in the supplicant - that has full control over what's going on with a given device.
>>> Trying to have the kernel manage multiple things that may or may not be exclusive and are all done in userspace is going to be a futile exercise.
>> Please note that the scans that are mentioned by me in this context are not triggered by the supplicant, rather the host driver would initiate them.
>
> So how would the scenario look like. The host driver will get involved in setting up the P2P connection so that knowledge is already available to defer the scans or am I missing something.
>
> Regards,
> Arend
>
>> The driver / firmware would do such scans for a better roam performance.
>> I would say, some handshake between the supplicant and the driver would be needed for a better understanding on the operations.
>> Please have your say.
>> Regards,
>> Sunil
>>
>> -----Original Message-----
>> From: Johannes Berg [mailto:johannes@sipsolutions.net]
>> Sent: Thursday, October 31, 2013 8:55 PM
>> To: Undekari, Sunil Dutt
>> Cc: linux-wireless@vger.kernel.org; j@w1.fi
>> Subject: Re: [PATCH] cfg80211: Introduce critical protocol indication for p2p connection.
>>
>> On Thu, 2013-10-31 at 15:22 +0000, Undekari, Sunil Dutt wrote:
>>>> That's not what the critical protocol stuff was designed for, so no.
>>> I would consider the P2P connection phase (P2P+WPS+WPA) to be
>>> critical and any off channel operations (scan) triggered by the host
>>> driver would result in the delayed / failed P2P connection attempt.
>>> I suppose there should be an indication to the host driver w.r.t p2p
>>> connection attempt so that any off load operations on any other
>>> interface sharing the same radio would be avoided by the driver.
>>> Since there is already an existing interface through the critical
>>> protocol indication, I thought of extending it to also include a P2P
>>> protocol/connection. This new proto id would be an indication to the
>>> drivers to allow the scan on the current interface and avoid any
>>> scans on another considering the fact that a p2p connection requires a scan.
>>> Do you propose an alternative (a new interface?) to achieve the same?
>>
>> Just do it in the supplicant - that has full control over what's going on with a given device.
>>
>> Trying to have the kernel manage multiple things that may or may not be exclusive and are all done in userspace is going to be a futile exercise.
>>
>> johannes
>>
>> N     r  y   b X  ǧv ^ )޺{.n +    {  *ޕ , {ay \x1dʇڙ ,j
>>    f   h   z \x1e w
>     j:+v   w j m         zZ+     ݢj"  ! i
>
>



^ permalink raw reply

* Re: brcmfmac driver does not work with a BCM4335 WiFi module
From: Dong Aisheng @ 2013-11-01 12:21 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: linux-wireless, frankyl, brcm80211-dev-list
In-Reply-To: <5273840F.40808@broadcom.com>

Hi Arend,

On Fri, Nov 1, 2013 at 6:35 PM, Arend van Spriel <arend@broadcom.com> wrote:
> On 11/01/2013 07:22 AM, Dong Aisheng wrote:
>>
>> Hi ALL,
>>
>> I'm verifying BCM4335 WiFi module on i.MX6SL EVK board.
>> The kernel i ran is latest from:
>> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless.git
>>
>> The firmware is used is from:
>> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
>>
>> NVRAM file is got from the vendor which should work for the module.
>>
>> But i ran into the following issues, hope somebody can give me some hints.
>>
>> First, i met error when module is auto loaded, but seems the driver is
>> still loaded successfully since i found the new WiFi interface with
>> ifconfig.
>> But it can not work after run rfkill unblock wlan and a lot error
>> messages comes out.
>>
>> I'm wondering if this driver can support bcm4335 well, can anybody
>> provide some help?
>
>
> I can try. I have used the bcm4335 with a SDIO3.0 controller on a x86 PC.
> Looking at an issue right now, but your log does not show that so you have a
> different issue. Could you load the module with parameter 'debug=0x146'.
>

Thanks for the help.
So that means the brcmfmac driver should support bcm4335 module well, right?
The difference is that i'm using a ARM platform.
Below is log with 'debug=0x146'.
It only includes driver probe log.

[   43.776870] brcmfmac: brcmf_sdbrcm_probe Enter
[   43.778413] brcmfmac: F1 signature read @0x18000000=0x16214335
[   43.778528] brcmfmac: brcmf_sdio_chip_attach Enter
[   43.779078] brcmfmac: brcmf_sdio_chip_recognition chipid=0x4335 chiprev=1
[   43.779269] brcmfmac: brcmf_sdio_chip_buscoresetup ccrev=43,
pmurev=18, buscore rev/type=15/0x829
[   43.780505] brcmfmac: brcmf_sdioh_request_word: Failed to read
word, Err: 0xffffffac
[   43.790834] brcmfmac: brcmf_sdioh_request_word: Failed to read
word, Err: 0xffffffac
[   43.801418] brcmfmac: brcmf_sdioh_request_word: Failed to read
word, Err: 0xffffffac
[   43.808005] brcmfmac: brcmf_sdio_regrw_helper: failed with -84
[   43.813607] brcmfmac: brcmf_sdbrcm_kso_init Enter
[   43.813689] brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO
Drive strength init done for chip 4335 rev 1 pmurev 18
[   43.829540] brcmfmac: brcmf_attach Enter
[   43.829624] brcmfmac: brcmf_sdbrcm_probe_malloc Enter
[   43.829640] brcmfmac: brcmf_sdbrcm_probe_init Enter
[   43.830753] brcmfmac: brcmf_sdbrcm_probe completed!!
[   43.830772] brcmfmac: brcmf_bus_start
[   43.830783] brcmfmac: brcmf_sdbrcm_bus_init Enter
[   43.833893] brcmfmac: brcmf_sdbrcm_download_code_file Enter
[   44.092239] brcmfmac: brcmf_sdio_chip_verifynvram Compare NVRAM dl
& ul; size=2216
[   44.092843] brcmfmac: brcmf_sdio_chip_writenvram RAM size: 786432
[   44.092865] brcmfmac: brcmf_sdio_chip_writenvram nvram is placed at
2357076, size 2216, token=0xfdd5022a
[   44.246583] brcmfmac: brcmf_sdbrcm_bus_init enable 0x06, ready 0x06
[   44.246739] brcmfmac: brcmf_sdbrcm_sr_capable Enter
[   44.246915] brcmfmac: brcmf_sdbrcm_sr_init Enter
[   44.247096] brcmfmac: brcmf_sdbrcm_sr_init SR enabled
[   44.247436] brcmfmac: brcmf_add_if Enter, idx=0, ifidx=0
[   44.247451] brcmfmac: brcmf_add_if allocate netdev interface
[   44.247478] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.247489] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.247615] brcmfmac: brcmf_add_if  ==== pid:18, if:wlan%d
(00:00:00:00:00:00) created ===
[   44.247635] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.247739] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.247751] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.250918] brcmutil: TxHdr:
[   44.250940] 00000000: 38 00 c7 ff ff 00 00 14 00 00 00 00 00 00 00
00  8...............
[   44.251012] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.251023] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.251237] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.251252] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.251447] brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE
[   44.251460] brcmfmac: brcmf_sdio_readframes Enter
[   44.251592] brcmutil: RxHdr:
[   44.251610] 00000000: 0c 00 f3 ff 00 01 00 0c 00 16 00 00
   ............
[   44.251703] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.251716] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.252029] brcmutil: RxHdr:
[   44.252048] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.252070] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.252083] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.252284] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.252298] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.252425] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.266638] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.266657] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.266880] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.266893] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.267125] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.267140] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.267151] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.270317] brcmfmac: brcmf_sdio_readframes Enter
[   44.270441] brcmutil: RxHdr:
[   44.270461] 00000000: 30 00 cf ff 01 00 00 0c 00 15 00 00
   0...........
[   44.270474] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.270675] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.270708] brcmutil: RxHdr:
[   44.270724] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.270761] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.270775] brcmutil: TxHdr:
[   44.270789] 00000000: 28 01 d7 fe 00 00 00 14 00 00 00 00 00 00 00
00  (...............
[   44.270911] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.286654] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.286671] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.286889] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.286903] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.287131] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.287146] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.287157] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.290320] brcmfmac: brcmf_sdio_readframes Enter
[   44.290444] brcmutil: RxHdr:
[   44.290467] 00000000: 20 01 df fe 02 00 00 0c 00 16 00 00
    ...........
[   44.290479] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.290766] brcmfmac: brcmf_c_preinit_dcmds: Firmware version =
wl0: Mar 24 2013 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
[   44.301838] brcmutil: RxHdr:
[   44.301859] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.302724] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.302743] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.302757] brcmutil: TxHdr:
[   44.302775] 00000000: 34 00 cb ff 01 00 00 14 00 00 00 00 00 00 00
00  4...............
[   44.302940] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.316613] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.316630] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.316841] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.316854] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.317073] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.317088] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.317098] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.320259] brcmfmac: brcmf_sdio_readframes Enter
[   44.320384] brcmutil: RxHdr:
[   44.320404] 00000000: 2c 00 d3 ff 03 00 00 0c 00 17 00 00
   ,...........
[   44.320417] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.320584] brcmutil: RxHdr:
[   44.320602] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.320658] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.320671] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.320683] brcmutil: TxHdr:
[   44.320697] 00000000: 31 00 ce ff 02 00 00 14 00 00 00 00 00 00 00
00  1...............
[   44.320818] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.336673] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.336688] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.336902] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.336915] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.337135] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.337150] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.337160] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.340327] brcmfmac: brcmf_sdio_readframes Enter
[   44.340452] brcmutil: RxHdr:
[   44.340473] 00000000: 29 00 d6 ff 04 00 00 0c 00 18 00 00
   )...........
[   44.340486] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.340651] brcmutil: RxHdr:
[   44.340669] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.340723] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.340737] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.340750] brcmutil: TxHdr:
[   44.340763] 00000000: 3f 00 c0 ff 03 00 00 14 00 00 00 00 00 00 00
00  ?...............
[   44.340884] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.356629] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.356647] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.356863] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.356877] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.357102] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.357117] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.357128] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.360290] brcmfmac: brcmf_sdio_readframes Enter
[   44.360416] brcmutil: RxHdr:
[   44.360437] 00000000: 37 00 c8 ff 05 00 00 0c 00 19 00 00
   7...........
[   44.360448] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.360614] brcmutil: RxHdr:
[   44.360633] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.360687] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.360701] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.360713] brcmutil: TxHdr:
[   44.360728] 00000000: 3f 00 c0 ff 04 00 00 14 00 00 00 00 00 00 00
00  ?...............
[   44.360850] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.376617] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.376634] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.376849] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.376862] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.377087] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.377103] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.377113] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.380275] brcmfmac: brcmf_sdio_readframes Enter
[   44.380397] brcmutil: RxHdr:
[   44.380417] 00000000: 37 00 c8 ff 06 00 00 0c 00 1a 00 00
   7...........
[   44.380430] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.380601] brcmutil: RxHdr:
[   44.380620] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.380674] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.380687] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.380699] brcmutil: TxHdr:
[   44.380714] 00000000: 28 00 d7 ff 05 00 00 14 00 00 00 00 00 00 00
00  (...............
[   44.380837] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.396621] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.396639] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.396850] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.396865] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.397091] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.397106] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.397117] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.400276] brcmfmac: brcmf_sdio_readframes Enter
[   44.400400] brcmutil: RxHdr:
[   44.400421] 00000000: 20 00 df ff 07 00 00 0c 00 1b 00 00
    ...........
[   44.400434] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.400600] brcmutil: RxHdr:
[   44.400618] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.400672] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.400685] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.400696] brcmutil: TxHdr:
[   44.400709] 00000000: 28 00 d7 ff 06 00 00 14 00 00 00 00 00 00 00
00  (...............
[   44.400812] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.416618] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.416635] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.416847] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.416860] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.417086] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.417102] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.417112] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.420271] brcmfmac: brcmf_sdio_readframes Enter
[   44.420394] brcmutil: RxHdr:
[   44.420414] 00000000: 20 00 df ff 08 00 00 0c 00 1c 00 00
    ...........
[   44.420427] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.420588] brcmutil: RxHdr:
[   44.420605] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.420670] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.420684] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.420696] brcmutil: TxHdr:
[   44.420710] 00000000: 49 00 b6 ff 07 00 00 14 00 00 00 00 00 00 00
00  I...............
[   44.420835] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.436617] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.436634] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.436851] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.436865] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.437091] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.437106] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.437116] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.440273] brcmfmac: brcmf_sdio_readframes Enter
[   44.440398] brcmutil: RxHdr:
[   44.440419] 00000000: 41 00 be ff 09 00 00 0c 00 1d 00 00
   A...........
[   44.440431] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.440695] brcmutil: RxHdr:
[   44.440713] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.440775] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.440789] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.440802] brcmutil: TxHdr:
[   44.440815] 00000000: 3e 00 c1 ff 08 00 00 14 00 00 00 00 00 00 00
00  >...............
[   44.440926] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.456621] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.456639] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.456853] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.456867] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.457086] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.457102] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.457113] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.460278] brcmfmac: brcmf_sdio_readframes Enter
[   44.460401] brcmutil: RxHdr:
[   44.460421] 00000000: 36 00 c9 ff 0a 00 00 0c 00 1e 00 00
   6...........
[   44.460435] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.460616] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.460649] brcmutil: RxHdr:
[   44.460665] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.460702] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.460715] brcmutil: TxHdr:
[   44.460730] 00000000: 38 00 c7 ff 09 00 00 14 00 00 00 00 00 00 00
00  8...............
[   44.460848] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.476620] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.476637] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.476848] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.476861] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.477081] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.477097] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.477106] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.480268] brcmfmac: brcmf_sdio_readframes Enter
[   44.480394] brcmutil: RxHdr:
[   44.480415] 00000000: 30 00 cf ff 0b 00 00 0c 00 1f 00 00
   0...........
[   44.480427] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.480612] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.480646] brcmutil: RxHdr:
[   44.480663] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.480700] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.480715] brcmutil: TxHdr:
[   44.480728] 00000000: 38 00 c7 ff 0a 00 00 14 00 00 00 00 00 00 00
00  8...............
[   44.480850] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.496616] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.496634] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.496850] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.496864] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.497078] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.497093] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.497104] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.500272] brcmfmac: brcmf_sdio_readframes Enter
[   44.500395] brcmutil: RxHdr:
[   44.500416] 00000000: 30 00 cf ff 0c 00 00 0c 00 20 00 00
   0........ ..
[   44.500428] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.500793] brcmutil: RxHdr:
[   44.500814] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.500882] brcmfmac: brcmf_fweh_register event handler registered
for FIFO_CREDIT_MAP
[   44.500896] brcmfmac: brcmf_fweh_register event handler registered
for BCMC_CREDIT_SUPPORT
[   44.500914] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.500927] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.500939] brcmutil: TxHdr:
[   44.500954] 00000000: 2c 00 d3 ff 0b 00 00 14 00 00 00 00 00 00 00
00  ,...............
[   44.501092] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.516625] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.516643] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.516863] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.516877] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.517098] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.517113] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.517124] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.520288] brcmfmac: brcmf_sdio_readframes Enter
[   44.520414] brcmutil: RxHdr:
[   44.520435] 00000000: 24 00 db ff 0d 00 00 0c 00 21 00 00
   $........!..
[   44.520448] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.520632] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.520665] brcmutil: RxHdr:
[   44.520681] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.520718] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.520731] brcmutil: TxHdr:
[   44.520744] 00000000: 3a 00 c5 ff 0c 00 00 14 00 00 00 00 00 00 00
00  :...............
[   44.520864] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.536673] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.536689] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.536908] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.536922] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.537141] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.537155] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.537167] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.540333] brcmfmac: brcmf_sdio_readframes Enter
[   44.540456] brcmutil: RxHdr:
[   44.540477] 00000000: 32 00 cd ff 0e 00 00 0c 00 22 00 00
   2........"..
[   44.540490] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.540676] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
[   44.544707] brcmfmac: brcmf_fws_init enabling AMPDU host-reorder failed
[   44.544740] brcmfmac: brcmf_fws_macdesc_init enter: desc 9f20e7f0
ea=  (null), ifidx=0
[   44.544795] brcmfmac: brcmf_fws_init enabled bdcv2 tlv signaling [1]
[   44.544814] brcmfmac: brcmf_fws_macdesc_init enter: desc 9f20d030
ea=00:90:4c:c5:12:38, ifidx=0
[   44.544828] brcmfmac: brcmf_fws_add_interface added MACIF:0
[   44.544965] brcmfmac: brcmf_setup_wiphy Registering custom regulatory
[   44.547564] brcmutil: RxHdr:
[   44.547589] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.554565] brcmfmac: brcmf_alloc_vif allocating virtual interface
(size=2332)
[   44.554596] brcmfmac: brcmf_fweh_register event handler registered for LINK
[   44.554609] brcmfmac: brcmf_fweh_register event handler registered
for DEAUTH_IND
[   44.554619] brcmfmac: brcmf_fweh_register event handler registered for DEAUTH
[   44.554630] brcmfmac: brcmf_fweh_register event handler registered
for DISASSOC_IND
[   44.554639] brcmfmac: brcmf_fweh_register event handler registered
for ASSOC_IND
[   44.554649] brcmfmac: brcmf_fweh_register event handler registered
for REASSOC_IND
[   44.554658] brcmfmac: brcmf_fweh_register event handler registered for ROAM
[   44.554668] brcmfmac: brcmf_fweh_register event handler registered
for MIC_ERROR
[   44.554679] brcmfmac: brcmf_fweh_register event handler registered
for SET_SSID
[   44.554691] brcmfmac: brcmf_fweh_register event handler registered
for PFN_NET_FOUND
[   44.554702] brcmfmac: brcmf_fweh_register event handler registered for IF
[   44.554713] brcmfmac: brcmf_fweh_register event handler registered
for P2P_PROBEREQ_MSG
[   44.554723] brcmfmac: brcmf_fweh_register event handler registered
for P2P_DISC_LISTEN_COMPLETE
[   44.554734] brcmfmac: brcmf_fweh_register event handler registered
for ACTION_FRAME_RX
[   44.554744] brcmfmac: brcmf_fweh_register event handler registered
for ACTION_FRAME_COMPLETE
[   44.554755] brcmfmac: brcmf_fweh_register event handler registered
for ACTION_FRAME_OFF_CHAN_COMPLETE
[   44.554765] brcmfmac: brcmf_fweh_register event handler registered
for ESCAN_RESULT
[   44.554778] brcmfmac: brcmf_btcoex_attach enter
[   44.555320] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.555341] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.555356] brcmutil: TxHdr:
[   44.555376] 00000000: 34 00 cb ff 0d 00 00 14 00 00 00 00 00 00 00
00  4...............
[   44.555517] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.566688] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.566708] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.566939] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.566952] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.567179] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.567195] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.567205] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.570374] brcmfmac: brcmf_sdio_readframes Enter
[   44.570500] brcmutil: RxHdr:
[   44.570522] 00000000: 2c 00 d3 ff 0f 00 00 0c 00 23 00 00
   ,........#..
[   44.570534] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.570710] brcmutil: RxHdr:
[   44.570728] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.570786] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.570800] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.570812] brcmutil: TxHdr:
[   44.570826] 00000000: 28 00 d7 ff 0e 00 00 14 00 00 00 00 00 00 00
00  (...............
[   44.570950] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.586650] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.586669] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.586907] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.586922] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.587144] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.587159] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.587169] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.590336] brcmfmac: brcmf_sdio_readframes Enter
[   44.590457] brcmutil: RxHdr:
[   44.590478] 00000000: 20 00 df ff 10 00 00 0c 00 24 00 00
    ........$..
[   44.590491] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.590691] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
[   44.590725] brcmutil: RxHdr:
[   44.590741] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.590775] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.590789] brcmutil: TxHdr:
[   44.590803] 00000000: 3f 00 c0 ff 0f 00 00 14 00 00 00 00 00 00 00
00  ?...............
[   44.590925] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
[   44.606621] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.606639] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.606856] brcmfmac: brcmf_sdio_ib_irqhandler IB intr triggered
[   44.606870] brcmfmac: brcmf_sdbrcm_isr Enter
[   44.607090] brcmfmac: brcmf_sdbrcm_dpc Enter
[   44.607106] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.607115] brcmfmac: brcmf_sdbrcm_kso_control Enter
[   44.610279] brcmfmac: brcmf_sdio_readframes Enter
[   44.610403] brcmutil: RxHdr:
[   44.610425] 00000000: 37 00 c8 ff 11 00 00 0c 00 25 00 00
   7........%..
[   44.610438] brcmfmac: brcmf_sdbrcm_read_control Enter
[   44.610622] brcmfmac: brcmf_net_attach Enter, idx=0 mac=00:90:4c:c5:12:38
[   44.611733] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
[   44.611831] brcmfmac: brcmf_net_attach wlan0: Broadcom Dongle Host Driver
[   44.619217] brcmutil: RxHdr:
[   44.619243] 00000000: 00 00 00 00 00 00 00 00 00 00 00 00
   ............
[   44.626752] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
[   44.626771] brcmfmac: brcmf_sdbrcm_kso_control Enter


Regards
Dong Aisheng

> Regards, Arend
>
>
>> Regards
>> Dong Aisheng
>>
>> Below is the log FYI.
>>
>> root@imx6slevk:~# mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
>> mmc0: new high speed SDIO card at address 0001
>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
>> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
>> brcmfmac: brcmf_sdio_regrw_helper: failed with -84
>> brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO Drive strength
>> init done for chip 4335 rev 1 pmurev 18
>> brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar 24 2013
>> 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
>> brcmfmac: brcmf_fil_cmd_data: Failed err=-23
>>
>> root@imx6slevk:~#
>> root@imx6slevk:~# ifconfig -a
>> eth0      Link encap:Ethernet  HWaddr 00:04:9F:02:76:E5
>>            inet addr:10.192.242.69  Bcast:10.192.242.255
>> Mask:255.255.255.0
>>            inet6 addr: fe80::204:9fff:fe02:76e5/64 Scope:Link
>>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>>            RX packets:20301 errors:0 dropped:1 overruns:0 frame:0
>>            TX packets:16888 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:1000
>>            RX bytes:22233761 (21.2 MiB)  TX bytes:2373414 (2.2 MiB)
>>
>> lo        Link encap:Local Loopback
>>            inet addr:127.0.0.1  Mask:255.0.0.0
>>            inet6 addr: ::1/128 Scope:Host
>>            UP LOOPBACK RUNNING  MTU:65536  Metric:1
>>            RX packets:34 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:0
>>            RX bytes:2340 (2.2 KiB)  TX bytes:2340 (2.2 KiB)
>>
>> sit0      Link encap:IPv6-in-IPv4
>>            NOARP  MTU:1480  Metric:1
>>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:0
>>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>
>> wlan0     Link encap:Ethernet  HWaddr 00:90:4C:C5:12:38
>>            BROADCAST MULTICAST  MTU:1500  Metric:1
>>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>>            collisions:0 txqueuelen:1000
>>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>>
>> root@imx6slevk:~#
>> root@imx6slevk:~# rfkill list
>> 0: phy0: wlan
>>          Soft blocked: yes
>>          Hard blocked: no
>>
>> root@imx6slevk:~# rfkill unblock wlan
>> root@imx6slevk:~# brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
>> brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
>> brcmfmac: brcmf_add_if: ignore IF event
>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
>> brcmfmac: brcmf_fil_cmd_data: Failed err=-23
>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>> F1:@0x1001f=01, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>> F1:@0x1001f=01, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>> F1:@0x1001f=01, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>> F1:@0x1001f=01, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
>> F1:@0x1001f=ff, Err: -110
>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
>> brcmfmac: brcmf_set_mpc: fail to set mpc
>> brcmfmac: brcmf_escan_timeout: timer expired
>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>> F1:@0x1001f=01, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>> F1:@0x1001f=01, Err: -110
>> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
>> F1:@0x1001f=01, Err: -110
>> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
>> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
>> brcmfmac: brcmf_set_mpc: fail to set mpc
>> ............
>>
>> The following detailed Log for drver probe, if you also need the full
>> log after run rfkill please let me know.
>>
>> [   36.555580] brcmfmac: brcmf_sdbrcm_probe Enter
>> [   36.564293] brcmfmac: F1 signature read @0x18000000=0x16214335
>> [   36.564425] brcmfmac: brcmf_sdio_chip_attach Enter
>> [   36.564973] brcmfmac: brcmf_sdio_chip_recognition chipid=0x4335
>> chiprev=1
>> [   36.565163] brcmfmac: brcmf_sdio_chip_buscoresetup ccrev=43,
>> pmurev=18, buscore rev/type=15/0x829
>> [   36.566410] brcmfmac: brcmf_sdioh_request_word: Failed to read
>> word, Err: 0xffffffac
>> [   36.594407] brcmfmac: brcmf_sdioh_request_word: Failed to read
>> word, Err: 0xffffffac
>> [   36.621092] brcmfmac: brcmf_sdioh_request_word: Failed to read
>> word, Err: 0xffffffac
>> [   36.627684] brcmfmac: brcmf_sdio_regrw_helper: failed with -84
>> [   36.638085] brcmfmac: brcmf_sdbrcm_kso_init Enter
>> [   36.638167] brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO
>> Drive strength init done for chip 4335 rev 1 pmurev 18
>> [   36.648862] brcmfmac: brcmf_attach Enter
>> [   36.648947] brcmfmac: brcmf_sdbrcm_probe_malloc Enter
>> [   36.648965] brcmfmac: brcmf_sdbrcm_probe_init Enter
>> [   36.649174] brcmfmac: brcmf_sdbrcm_probe completed!!
>> [   36.649190] brcmfmac: brcmf_bus_start
>> [   36.649201] brcmfmac: brcmf_sdbrcm_bus_init Enter
>> [   36.650399] brcmfmac: brcmf_sdbrcm_download_code_file Enter
>> [   37.065998] brcmfmac: brcmf_sdio_chip_verifynvram Compare NVRAM dl
>> & ul; size=2216
>> [   37.067114] brcmfmac: brcmf_sdio_chip_writenvram RAM size: 786432
>> [   37.067137] brcmfmac: brcmf_sdio_chip_writenvram nvram is placed at
>> 2357076, size 2216, token=0xfdd5022a
>> [   37.226519] brcmfmac: brcmf_sdbrcm_bus_init enable 0x06, ready 0x06
>> [   37.226674] brcmfmac: brcmf_sdbrcm_sr_capable Enter
>> [   37.226845] brcmfmac: brcmf_sdbrcm_sr_init Enter
>> [   37.227026] brcmfmac: brcmf_sdbrcm_sr_init SR enabled
>> [   37.227368] brcmfmac: brcmf_add_if Enter, idx=0, ifidx=0
>> [   37.227383] brcmfmac: brcmf_add_if allocate netdev interface
>> [   37.227408] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.227419] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.227548] brcmfmac: brcmf_add_if  ==== pid:11, if:wlan%d
>> (00:00:00:00:00:00) created ===
>> [   37.227567] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.227675] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.227688] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.230910] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.231124] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.231139] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.231337] brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE
>> [   37.231350] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.231550] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.231870] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.231883] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.232082] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.232097] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.232224] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.246569] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.246587] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.246807] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.247031] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.247047] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.247059] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.250219] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.250346] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.250549] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.250606] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.250730] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.266635] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.266651] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.266869] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.267097] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.267112] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.267123] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.270283] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.270410] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.270709] brcmfmac: brcmf_c_preinit_dcmds: Firmware version =
>> wl0: Mar 24 2013 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
>> [   37.282106] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.282125] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.282281] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.296548] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.296564] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.296775] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.297000] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.297015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.297025] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.300190] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.300317] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.300523] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.300538] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.300657] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.316546] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.316562] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.316767] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.316989] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.317005] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.317015] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.320178] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.320302] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.320506] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.320522] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.320644] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.336555] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.336571] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.336782] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.337005] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.337020] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.337031] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.340209] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.340334] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.340542] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.340558] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.340680] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.356551] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.356568] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.356781] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.357012] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.357027] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.357037] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.360196] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.360323] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.360524] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.360539] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.360659] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.376550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.376567] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.376772] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.376995] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.377012] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.377021] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.380178] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.380306] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.380506] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.380522] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.380645] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.396550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.396568] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.396774] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.397002] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.397018] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.397029] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.400187] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.400316] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.400533] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.400549] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.400674] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.416549] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.416566] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.416774] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.416998] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.417015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.417026] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.420187] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.420310] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.420617] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.420633] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.420753] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.436550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.436566] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.436777] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.437003] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.437018] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.437028] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.440189] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.440311] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.440518] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.440533] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.440654] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.456547] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.456563] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.456773] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.456999] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.457015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.457025] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.460185] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.460312] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.460518] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.460534] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.460651] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.466742] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.466953] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.466967] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.466981] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.467102] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.469141] brcmfmac: brcmf_fweh_register event handler registered
>> for FIFO_CREDIT_MAP
>> [   37.469161] brcmfmac: brcmf_fweh_register event handler registered
>> for BCMC_CREDIT_SUPPORT
>> [   37.469178] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.469193] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.469334] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.486546] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.486563] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.486778] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.487004] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.487020] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.487031] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.490190] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.490316] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.490525] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.490542] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.490661] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.506550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.506568] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.506781] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.507008] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.507024] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.507035] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.510194] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.510318] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.510507] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
>> [   37.514539] brcmfmac: brcmf_fws_init enabling AMPDU host-reorder failed
>> [   37.514573] brcmfmac: brcmf_fws_macdesc_init enter: desc bec567f0
>> ea=  (null), ifidx=0
>> [   37.514626] brcmfmac: brcmf_fws_init enabled bdcv2 tlv signaling [1]
>> [   37.514644] brcmfmac: brcmf_fws_macdesc_init enter: desc bec55030
>> ea=00:90:4c:c5:12:38, ifidx=0
>> [   37.514658] brcmfmac: brcmf_fws_add_interface added MACIF:0
>> [   37.514796] brcmfmac: brcmf_setup_wiphy Registering custom regulatory
>> [   37.522518] brcmfmac: brcmf_alloc_vif allocating virtual interface
>> (size=2332)
>> [   37.522550] brcmfmac: brcmf_fweh_register event handler registered for
>> LINK
>> [   37.522563] brcmfmac: brcmf_fweh_register event handler registered
>> for DEAUTH_IND
>> [   37.522574] brcmfmac: brcmf_fweh_register event handler registered for
>> DEAUTH
>> [   37.522584] brcmfmac: brcmf_fweh_register event handler registered
>> for DISASSOC_IND
>> [   37.522593] brcmfmac: brcmf_fweh_register event handler registered
>> for ASSOC_IND
>> [   37.522603] brcmfmac: brcmf_fweh_register event handler registered
>> for REASSOC_IND
>> [   37.522613] brcmfmac: brcmf_fweh_register event handler registered for
>> ROAM
>> [   37.522622] brcmfmac: brcmf_fweh_register event handler registered
>> for MIC_ERROR
>> [   37.522633] brcmfmac: brcmf_fweh_register event handler registered
>> for SET_SSID
>> [   37.522644] brcmfmac: brcmf_fweh_register event handler registered
>> for PFN_NET_FOUND
>> [   37.522655] brcmfmac: brcmf_fweh_register event handler registered for
>> IF
>> [   37.522667] brcmfmac: brcmf_fweh_register event handler registered
>> for P2P_PROBEREQ_MSG
>> [   37.522677] brcmfmac: brcmf_fweh_register event handler registered
>> for P2P_DISC_LISTEN_COMPLETE
>> [   37.522688] brcmfmac: brcmf_fweh_register event handler registered
>> for ACTION_FRAME_RX
>> [   37.522699] brcmfmac: brcmf_fweh_register event handler registered
>> for ACTION_FRAME_COMPLETE
>> [   37.522710] brcmfmac: brcmf_fweh_register event handler registered
>> for ACTION_FRAME_OFF_CHAN_COMPLETE
>> [   37.522720] brcmfmac: brcmf_fweh_register event handler registered
>> for ESCAN_RESULT
>> [   37.522732] brcmfmac: brcmf_btcoex_attach enter
>> [   37.523262] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.523284] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.523429] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.536624] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.536644] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.536879] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.537111] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.537126] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.537137] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.540301] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.540434] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.540656] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.540672] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.540796] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.556688] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.556706] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.556927] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.557152] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.557167] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.557178] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.560348] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.560476] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.560705] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
>> [   37.560721] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.560846] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
>> [   37.576550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.576567] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.576777] brcmfmac: brcmf_sdbrcm_isr Enter
>> [   37.577001] brcmfmac: brcmf_sdbrcm_dpc Enter
>> [   37.577016] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.577026] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   37.580188] brcmfmac: brcmf_sdio_readframes Enter
>> [   37.580311] brcmfmac: brcmf_sdbrcm_read_control Enter
>> [   37.580518] brcmfmac: brcmf_net_attach Enter, idx=0
>> mac=00:90:4c:c5:12:38
>> [   37.581610] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
>> [   37.581704] brcmfmac: brcmf_net_attach wlan0: Broadcom Dongle Host
>> Driver
>> [   37.596623] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
>> [   37.596641] brcmfmac: brcmf_sdbrcm_kso_control Enter
>> [   45.955942] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
>>
>
>

^ permalink raw reply

* Re: Broadcom brcm80211 monitor mode
From: Peter Wu @ 2013-11-01 11:51 UTC (permalink / raw)
  To: Franky Lin; +Cc: Fred, linux-wireless
In-Reply-To: <5012C8F5.5070500@broadcom.com>

On Friday 27 July 2012 09:59:33 Franky Lin wrote:
> On 07/26/2012 04:12 PM, Fred wrote:
> > Franky Lin <frankyl@...> writes:
> >> However, I do plan to work on the monitor mode support on the firmware
> >> for SDIO dongle as a leisure project although I don't have a schedule for
> >> it. I will announce it on the mail list when it's ready. Stay tuned :)> 
> > Any news on this? :)
> 
> No, I still don't have time get to it.

Since there are no messages on this, I guess you did not get to start it?

There is a RE effort on https://code.google.com/p/bcmon/ that looks very 
hacky.

> > Seems like the Galaxy S3 uses BCM4330 as well.
> 
> Sorry, wrong answer. :(

The Samsung Galaxy S3 (i9300) uses BCM4334 (again SDIO interface, so fullmac). 
I have not tested the brcmfmac driver, but if anyone tries to do so, you might 
need the patch at http://marc.info/?l=linux-wireless&m=136881782700636.

Regards,
Peter

^ permalink raw reply

* RE: [PATCH] cfg80211: Introduce critical protocol indication for p2p connection.
From: Undekari, Sunil Dutt @ 2013-11-01 11:25 UTC (permalink / raw)
  To: Arend van Spriel; +Cc: Johannes Berg, linux-wireless@vger.kernel.org, j@w1.fi
In-Reply-To: <52729681.5020004@broadcom.com>

SGkgQXJlbmQsDQoNCj5TbyBob3cgd291bGQgdGhlIHNjZW5hcmlvIGxvb2sgbGlrZS4gVGhlIGhv
c3QgZHJpdmVyIHdpbGwgZ2V0IGludm9sdmVkIGluIHNldHRpbmcgdXAgdGhlIFAyUCBjb25uZWN0
aW9uIHNvIHRoYXQga25vd2xlZGdlIGlzIGFscmVhZHkgYXZhaWxhYmxlIHRvIGRlZmVyIHRoZSBz
Y2FucyBvciBhbSBJIG1pc3Npbmcgc29tZXRoaW5nLg0KVGhlIGhvc3QgZHJpdmVyIHNoYWxsIHBl
cmZvcm0gdGhlIHNjYW4ncyB0byBmaW5kIGEgYmV0dGVyIEJTUyBpbiB0aGUgDQpUaGUgaG9zdCBk
cml2ZXIgLyBmaXJtd2FyZSBwZXJmb3JtcyAoaW5pdGlhdGVzKSBhIHNjYW4gb24gdGhlIFNUQSBp
bnRlcmZhY2UgaW4gdGhlIHByb2Nlc3Mgb2YgZmluZGluZyBhIGJldHRlciBCU1MgdG8gcm9hbS4g
VGhpcyBzY2FuIGlzIG9mZmxvYWRlZCB0byB0aGUgZHJpdmVyIC8gZmlybXdhcmUgZm9yIGEgYmV0
dGVyIHJvYW0gZXhwZXJpZW5jZS4NClRoaXMgc2NhbnMgd291bGQgZGVmaW5pdGVseSBhZmZlY3Qg
dGhlIHAycCBjb25uZWN0aW9uIHRyaWdnZXJlZCBieSB0aGUgc3VwcGxpY2FudC4NClRodXMsIEkg
d2FzIHN1Z2dlc3RpbmcgYSB3YXkgdG8gZXh0ZW5kIHRoZSBhbHJlYWR5IGV4aXN0aW5nIGNyaXRp
Y2FsIHByb3RvY29sIGluZGljYXRpb25zIHRvIGFsc28gaW5jbHVkZSBwMnAgcHJvdG9jb2wvY29u
bmVjdGlvbnMsIHNvIHRoYXQgZHJpdmVycyBjYW4gZGVmZXIgdGhlIHNjYW4ncyAoYW55IG9mZiBj
aGFubmVsIG9wZXJhdGlvbnMgZm9yIHRoYXQgbWF0dGVyKSBvbiBhbnkgb3RoZXIgaW50ZXJmYWNl
IGR1cmluZyB0aGlzIHBlcmlvZC4NClJlZ2FyZHMsDQpTdW5pbC4NCiAgDQoNCg0KLS0tLS1Pcmln
aW5hbCBNZXNzYWdlLS0tLS0NCkZyb206IEFyZW5kIHZhbiBTcHJpZWwgW21haWx0bzphcmVuZEBi
cm9hZGNvbS5jb21dIA0KU2VudDogVGh1cnNkYXksIE9jdG9iZXIgMzEsIDIwMTMgMTE6MTIgUE0N
ClRvOiBVbmRla2FyaSwgU3VuaWwgRHV0dA0KQ2M6IEpvaGFubmVzIEJlcmc7IGxpbnV4LXdpcmVs
ZXNzQHZnZXIua2VybmVsLm9yZzsgakB3MS5maQ0KU3ViamVjdDogUmU6IFtQQVRDSF0gY2ZnODAy
MTE6IEludHJvZHVjZSBjcml0aWNhbCBwcm90b2NvbCBpbmRpY2F0aW9uIGZvciBwMnAgY29ubmVj
dGlvbi4NCg0KT24gMTAvMzEvMTMgMTY6NTQsIFVuZGVrYXJpLCBTdW5pbCBEdXR0IHdyb3RlOg0K
Pj4gSnVzdCBkbyBpdCBpbiB0aGUgc3VwcGxpY2FudCAtIHRoYXQgaGFzIGZ1bGwgY29udHJvbCBv
dmVyIHdoYXQncyBnb2luZyBvbiB3aXRoIGEgZ2l2ZW4gZGV2aWNlLg0KPj4gVHJ5aW5nIHRvIGhh
dmUgdGhlIGtlcm5lbCBtYW5hZ2UgbXVsdGlwbGUgdGhpbmdzIHRoYXQgbWF5IG9yIG1heSBub3Qg
YmUgZXhjbHVzaXZlIGFuZCBhcmUgYWxsIGRvbmUgaW4gdXNlcnNwYWNlIGlzIGdvaW5nIHRvIGJl
IGEgZnV0aWxlIGV4ZXJjaXNlLg0KPiBQbGVhc2Ugbm90ZSB0aGF0IHRoZSBzY2FucyB0aGF0IGFy
ZSBtZW50aW9uZWQgYnkgbWUgaW4gdGhpcyBjb250ZXh0IGFyZSBub3QgdHJpZ2dlcmVkIGJ5IHRo
ZSBzdXBwbGljYW50LCByYXRoZXIgdGhlIGhvc3QgZHJpdmVyIHdvdWxkIGluaXRpYXRlIHRoZW0u
DQoNClNvIGhvdyB3b3VsZCB0aGUgc2NlbmFyaW8gbG9vayBsaWtlLiBUaGUgaG9zdCBkcml2ZXIg
d2lsbCBnZXQgaW52b2x2ZWQgaW4gc2V0dGluZyB1cCB0aGUgUDJQIGNvbm5lY3Rpb24gc28gdGhh
dCBrbm93bGVkZ2UgaXMgYWxyZWFkeSBhdmFpbGFibGUgdG8gZGVmZXIgdGhlIHNjYW5zIG9yIGFt
IEkgbWlzc2luZyBzb21ldGhpbmcuDQoNClJlZ2FyZHMsDQpBcmVuZA0KDQo+IFRoZSBkcml2ZXIg
LyBmaXJtd2FyZSB3b3VsZCBkbyBzdWNoIHNjYW5zIGZvciBhIGJldHRlciByb2FtIHBlcmZvcm1h
bmNlLg0KPiBJIHdvdWxkIHNheSwgc29tZSBoYW5kc2hha2UgYmV0d2VlbiB0aGUgc3VwcGxpY2Fu
dCBhbmQgdGhlIGRyaXZlciB3b3VsZCBiZSBuZWVkZWQgZm9yIGEgYmV0dGVyIHVuZGVyc3RhbmRp
bmcgb24gdGhlIG9wZXJhdGlvbnMuDQo+IFBsZWFzZSBoYXZlIHlvdXIgc2F5Lg0KPiBSZWdhcmRz
LA0KPiBTdW5pbA0KPg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKb2hh
bm5lcyBCZXJnIFttYWlsdG86am9oYW5uZXNAc2lwc29sdXRpb25zLm5ldF0NCj4gU2VudDogVGh1
cnNkYXksIE9jdG9iZXIgMzEsIDIwMTMgODo1NSBQTQ0KPiBUbzogVW5kZWthcmksIFN1bmlsIER1
dHQNCj4gQ2M6IGxpbnV4LXdpcmVsZXNzQHZnZXIua2VybmVsLm9yZzsgakB3MS5maQ0KPiBTdWJq
ZWN0OiBSZTogW1BBVENIXSBjZmc4MDIxMTogSW50cm9kdWNlIGNyaXRpY2FsIHByb3RvY29sIGlu
ZGljYXRpb24gZm9yIHAycCBjb25uZWN0aW9uLg0KPg0KPiBPbiBUaHUsIDIwMTMtMTAtMzEgYXQg
MTU6MjIgKzAwMDAsIFVuZGVrYXJpLCBTdW5pbCBEdXR0IHdyb3RlOg0KPj4+IFRoYXQncyBub3Qg
d2hhdCB0aGUgY3JpdGljYWwgcHJvdG9jb2wgc3R1ZmYgd2FzIGRlc2lnbmVkIGZvciwgc28gbm8u
DQo+PiBJIHdvdWxkIGNvbnNpZGVyIHRoZSBQMlAgY29ubmVjdGlvbiBwaGFzZSAoUDJQK1dQUytX
UEEpIHRvIGJlIA0KPj4gY3JpdGljYWwgYW5kIGFueSBvZmYgY2hhbm5lbCBvcGVyYXRpb25zIChz
Y2FuKSB0cmlnZ2VyZWQgYnkgdGhlIGhvc3QgDQo+PiBkcml2ZXIgd291bGQgcmVzdWx0IGluIHRo
ZSBkZWxheWVkIC8gZmFpbGVkIFAyUCBjb25uZWN0aW9uIGF0dGVtcHQuDQo+PiBJIHN1cHBvc2Ug
dGhlcmUgc2hvdWxkIGJlIGFuIGluZGljYXRpb24gdG8gdGhlIGhvc3QgZHJpdmVyIHcuci50IHAy
cCANCj4+IGNvbm5lY3Rpb24gYXR0ZW1wdCBzbyB0aGF0IGFueSBvZmYgbG9hZCBvcGVyYXRpb25z
IG9uIGFueSBvdGhlciANCj4+IGludGVyZmFjZSBzaGFyaW5nIHRoZSBzYW1lIHJhZGlvIHdvdWxk
IGJlIGF2b2lkZWQgYnkgdGhlIGRyaXZlci4NCj4+IFNpbmNlIHRoZXJlIGlzIGFscmVhZHkgYW4g
ZXhpc3RpbmcgaW50ZXJmYWNlIHRocm91Z2ggdGhlIGNyaXRpY2FsIA0KPj4gcHJvdG9jb2wgaW5k
aWNhdGlvbiwgSSB0aG91Z2h0IG9mIGV4dGVuZGluZyBpdCB0byBhbHNvIGluY2x1ZGUgYSBQMlAg
DQo+PiBwcm90b2NvbC9jb25uZWN0aW9uLiBUaGlzIG5ldyBwcm90byBpZCB3b3VsZCBiZSBhbiBp
bmRpY2F0aW9uIHRvIHRoZSANCj4+IGRyaXZlcnMgdG8gYWxsb3cgdGhlIHNjYW4gb24gdGhlIGN1
cnJlbnQgaW50ZXJmYWNlIGFuZCBhdm9pZCBhbnkgDQo+PiBzY2FucyBvbiBhbm90aGVyIGNvbnNp
ZGVyaW5nIHRoZSBmYWN0IHRoYXQgYSBwMnAgY29ubmVjdGlvbiByZXF1aXJlcyBhIHNjYW4uDQo+
PiBEbyB5b3UgcHJvcG9zZSBhbiBhbHRlcm5hdGl2ZSAoYSBuZXcgaW50ZXJmYWNlPykgdG8gYWNo
aWV2ZSB0aGUgc2FtZT8NCj4NCj4gSnVzdCBkbyBpdCBpbiB0aGUgc3VwcGxpY2FudCAtIHRoYXQg
aGFzIGZ1bGwgY29udHJvbCBvdmVyIHdoYXQncyBnb2luZyBvbiB3aXRoIGEgZ2l2ZW4gZGV2aWNl
Lg0KPg0KPiBUcnlpbmcgdG8gaGF2ZSB0aGUga2VybmVsIG1hbmFnZSBtdWx0aXBsZSB0aGluZ3Mg
dGhhdCBtYXkgb3IgbWF5IG5vdCBiZSBleGNsdXNpdmUgYW5kIGFyZSBhbGwgZG9uZSBpbiB1c2Vy
c3BhY2UgaXMgZ29pbmcgdG8gYmUgYSBmdXRpbGUgZXhlcmNpc2UuDQo+DQo+IGpvaGFubmVzDQo+
DQo+IE4gICAgIHIgIHkgICBiIFggIMendiBeICneunsubiArICAgIHsgICrelSAsIHtheSAdyofa
mSAsaiANCj4gICBmICAgaCAgIHogHiB3ICAgDQogICBqOit2ICAgdyBqIG0gICAgICAgICB6Wisg
ICAgIN2iaiIgICEgaQ0KDQoNCg==

^ permalink raw reply

* Re: brcmfmac driver does not work with a BCM4335 WiFi module
From: Arend van Spriel @ 2013-11-01 10:35 UTC (permalink / raw)
  To: Dong Aisheng, linux-wireless; +Cc: frankyl, brcm80211-dev-list
In-Reply-To: <CAA+hA=TSonWMWm9gf+n4T9+HxWT=pvJG9jnkdoUyZUNjPpnJfg@mail.gmail.com>

On 11/01/2013 07:22 AM, Dong Aisheng wrote:
> Hi ALL,
>
> I'm verifying BCM4335 WiFi module on i.MX6SL EVK board.
> The kernel i ran is latest from:
> git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless.git
>
> The firmware is used is from:
> git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
>
> NVRAM file is got from the vendor which should work for the module.
>
> But i ran into the following issues, hope somebody can give me some hints.
>
> First, i met error when module is auto loaded, but seems the driver is
> still loaded successfully since i found the new WiFi interface with
> ifconfig.
> But it can not work after run rfkill unblock wlan and a lot error
> messages comes out.
>
> I'm wondering if this driver can support bcm4335 well, can anybody
> provide some help?

I can try. I have used the bcm4335 with a SDIO3.0 controller on a x86 
PC. Looking at an issue right now, but your log does not show that so 
you have a different issue. Could you load the module with parameter 
'debug=0x146'.

Regards, Arend

> Regards
> Dong Aisheng
>
> Below is the log FYI.
>
> root@imx6slevk:~# mmc0: queuing unknown CIS tuple 0x91 (3 bytes)
> mmc0: new high speed SDIO card at address 0001
> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
> brcmfmac: brcmf_sdioh_request_word: Failed to read word, Err: 0xffffffac
> brcmfmac: brcmf_sdio_regrw_helper: failed with -84
> brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO Drive strength
> init done for chip 4335 rev 1 pmurev 18
> brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Mar 24 2013
> 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
> brcmfmac: brcmf_fil_cmd_data: Failed err=-23
>
> root@imx6slevk:~#
> root@imx6slevk:~# ifconfig -a
> eth0      Link encap:Ethernet  HWaddr 00:04:9F:02:76:E5
>            inet addr:10.192.242.69  Bcast:10.192.242.255  Mask:255.255.255.0
>            inet6 addr: fe80::204:9fff:fe02:76e5/64 Scope:Link
>            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:20301 errors:0 dropped:1 overruns:0 frame:0
>            TX packets:16888 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:22233761 (21.2 MiB)  TX bytes:2373414 (2.2 MiB)
>
> lo        Link encap:Local Loopback
>            inet addr:127.0.0.1  Mask:255.0.0.0
>            inet6 addr: ::1/128 Scope:Host
>            UP LOOPBACK RUNNING  MTU:65536  Metric:1
>            RX packets:34 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:34 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:2340 (2.2 KiB)  TX bytes:2340 (2.2 KiB)
>
> sit0      Link encap:IPv6-in-IPv4
>            NOARP  MTU:1480  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:0
>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> wlan0     Link encap:Ethernet  HWaddr 00:90:4C:C5:12:38
>            BROADCAST MULTICAST  MTU:1500  Metric:1
>            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
>
> root@imx6slevk:~#
> root@imx6slevk:~# rfkill list
> 0: phy0: wlan
>          Soft blocked: yes
>          Hard blocked: no
>
> root@imx6slevk:~# rfkill unblock wlan
> root@imx6slevk:~# brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
> brcmfmac: brcmf_add_if: ERROR: netdev:wlan0 already exists
> brcmfmac: brcmf_add_if: ignore IF event
> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
> brcmfmac: brcmf_fil_cmd_data: Failed err=-23
> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
> F1:@0x1001f=01, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
> F1:@0x1001f=01, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
> F1:@0x1001f=01, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
> F1:@0x1001f=01, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to read byte
> F1:@0x1001f=ff, Err: -110
> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
> brcmfmac: brcmf_set_mpc: fail to set mpc
> brcmfmac: brcmf_escan_timeout: timer expired
> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
> F1:@0x1001f=01, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
> F1:@0x1001f=01, Err: -110
> brcmfmac: brcmf_sdioh_request_byte: Failed to write byte
> F1:@0x1001f=01, Err: -110
> brcmfmac: brcmf_sdbrcm_bus_rxctl: resumed on timeout
> brcmfmac: brcmf_fil_cmd_data: Failed err=-110
> brcmfmac: brcmf_set_mpc: fail to set mpc
> ............
>
> The following detailed Log for drver probe, if you also need the full
> log after run rfkill please let me know.
>
> [   36.555580] brcmfmac: brcmf_sdbrcm_probe Enter
> [   36.564293] brcmfmac: F1 signature read @0x18000000=0x16214335
> [   36.564425] brcmfmac: brcmf_sdio_chip_attach Enter
> [   36.564973] brcmfmac: brcmf_sdio_chip_recognition chipid=0x4335 chiprev=1
> [   36.565163] brcmfmac: brcmf_sdio_chip_buscoresetup ccrev=43,
> pmurev=18, buscore rev/type=15/0x829
> [   36.566410] brcmfmac: brcmf_sdioh_request_word: Failed to read
> word, Err: 0xffffffac
> [   36.594407] brcmfmac: brcmf_sdioh_request_word: Failed to read
> word, Err: 0xffffffac
> [   36.621092] brcmfmac: brcmf_sdioh_request_word: Failed to read
> word, Err: 0xffffffac
> [   36.627684] brcmfmac: brcmf_sdio_regrw_helper: failed with -84
> [   36.638085] brcmfmac: brcmf_sdbrcm_kso_init Enter
> [   36.638167] brcmfmac: brcmf_sdio_chip_drivestrengthinit: No SDIO
> Drive strength init done for chip 4335 rev 1 pmurev 18
> [   36.648862] brcmfmac: brcmf_attach Enter
> [   36.648947] brcmfmac: brcmf_sdbrcm_probe_malloc Enter
> [   36.648965] brcmfmac: brcmf_sdbrcm_probe_init Enter
> [   36.649174] brcmfmac: brcmf_sdbrcm_probe completed!!
> [   36.649190] brcmfmac: brcmf_bus_start
> [   36.649201] brcmfmac: brcmf_sdbrcm_bus_init Enter
> [   36.650399] brcmfmac: brcmf_sdbrcm_download_code_file Enter
> [   37.065998] brcmfmac: brcmf_sdio_chip_verifynvram Compare NVRAM dl
> & ul; size=2216
> [   37.067114] brcmfmac: brcmf_sdio_chip_writenvram RAM size: 786432
> [   37.067137] brcmfmac: brcmf_sdio_chip_writenvram nvram is placed at
> 2357076, size 2216, token=0xfdd5022a
> [   37.226519] brcmfmac: brcmf_sdbrcm_bus_init enable 0x06, ready 0x06
> [   37.226674] brcmfmac: brcmf_sdbrcm_sr_capable Enter
> [   37.226845] brcmfmac: brcmf_sdbrcm_sr_init Enter
> [   37.227026] brcmfmac: brcmf_sdbrcm_sr_init SR enabled
> [   37.227368] brcmfmac: brcmf_add_if Enter, idx=0, ifidx=0
> [   37.227383] brcmfmac: brcmf_add_if allocate netdev interface
> [   37.227408] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.227419] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.227548] brcmfmac: brcmf_add_if  ==== pid:11, if:wlan%d
> (00:00:00:00:00:00) created ===
> [   37.227567] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.227675] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.227688] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.230910] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.231124] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.231139] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.231337] brcmfmac: brcmf_sdbrcm_dpc Dongle reports CHIPACTIVE
> [   37.231350] brcmfmac: brcmf_sdio_readframes Enter
> [   37.231550] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.231870] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.231883] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.232082] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.232097] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.232224] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.246569] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.246587] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.246807] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.247031] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.247047] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.247059] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.250219] brcmfmac: brcmf_sdio_readframes Enter
> [   37.250346] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.250549] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.250606] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.250730] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.266635] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.266651] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.266869] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.267097] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.267112] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.267123] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.270283] brcmfmac: brcmf_sdio_readframes Enter
> [   37.270410] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.270709] brcmfmac: brcmf_c_preinit_dcmds: Firmware version =
> wl0: Mar 24 2013 20:36:01 version 6.30.171.24.20 (B0 Station/P2P)
> [   37.282106] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.282125] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.282281] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.296548] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.296564] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.296775] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.297000] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.297015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.297025] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.300190] brcmfmac: brcmf_sdio_readframes Enter
> [   37.300317] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.300523] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.300538] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.300657] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.316546] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.316562] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.316767] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.316989] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.317005] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.317015] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.320178] brcmfmac: brcmf_sdio_readframes Enter
> [   37.320302] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.320506] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.320522] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.320644] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.336555] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.336571] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.336782] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.337005] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.337020] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.337031] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.340209] brcmfmac: brcmf_sdio_readframes Enter
> [   37.340334] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.340542] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.340558] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.340680] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.356551] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.356568] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.356781] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.357012] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.357027] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.357037] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.360196] brcmfmac: brcmf_sdio_readframes Enter
> [   37.360323] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.360524] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.360539] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.360659] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.376550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.376567] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.376772] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.376995] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.377012] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.377021] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.380178] brcmfmac: brcmf_sdio_readframes Enter
> [   37.380306] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.380506] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.380522] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.380645] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.396550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.396568] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.396774] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.397002] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.397018] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.397029] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.400187] brcmfmac: brcmf_sdio_readframes Enter
> [   37.400316] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.400533] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.400549] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.400674] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.416549] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.416566] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.416774] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.416998] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.417015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.417026] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.420187] brcmfmac: brcmf_sdio_readframes Enter
> [   37.420310] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.420617] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.420633] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.420753] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.436550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.436566] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.436777] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.437003] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.437018] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.437028] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.440189] brcmfmac: brcmf_sdio_readframes Enter
> [   37.440311] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.440518] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.440533] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.440654] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.456547] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.456563] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.456773] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.456999] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.457015] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.457025] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.460185] brcmfmac: brcmf_sdio_readframes Enter
> [   37.460312] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.460518] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.460534] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.460651] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.466742] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.466953] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.466967] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.466981] brcmfmac: brcmf_sdio_readframes Enter
> [   37.467102] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.469141] brcmfmac: brcmf_fweh_register event handler registered
> for FIFO_CREDIT_MAP
> [   37.469161] brcmfmac: brcmf_fweh_register event handler registered
> for BCMC_CREDIT_SUPPORT
> [   37.469178] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.469193] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.469334] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.486546] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.486563] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.486778] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.487004] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.487020] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.487031] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.490190] brcmfmac: brcmf_sdio_readframes Enter
> [   37.490316] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.490525] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.490542] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.490661] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.506550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.506568] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.506781] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.507008] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.507024] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.507035] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.510194] brcmfmac: brcmf_sdio_readframes Enter
> [   37.510318] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.510507] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
> [   37.514539] brcmfmac: brcmf_fws_init enabling AMPDU host-reorder failed
> [   37.514573] brcmfmac: brcmf_fws_macdesc_init enter: desc bec567f0
> ea=  (null), ifidx=0
> [   37.514626] brcmfmac: brcmf_fws_init enabled bdcv2 tlv signaling [1]
> [   37.514644] brcmfmac: brcmf_fws_macdesc_init enter: desc bec55030
> ea=00:90:4c:c5:12:38, ifidx=0
> [   37.514658] brcmfmac: brcmf_fws_add_interface added MACIF:0
> [   37.514796] brcmfmac: brcmf_setup_wiphy Registering custom regulatory
> [   37.522518] brcmfmac: brcmf_alloc_vif allocating virtual interface
> (size=2332)
> [   37.522550] brcmfmac: brcmf_fweh_register event handler registered for LINK
> [   37.522563] brcmfmac: brcmf_fweh_register event handler registered
> for DEAUTH_IND
> [   37.522574] brcmfmac: brcmf_fweh_register event handler registered for DEAUTH
> [   37.522584] brcmfmac: brcmf_fweh_register event handler registered
> for DISASSOC_IND
> [   37.522593] brcmfmac: brcmf_fweh_register event handler registered
> for ASSOC_IND
> [   37.522603] brcmfmac: brcmf_fweh_register event handler registered
> for REASSOC_IND
> [   37.522613] brcmfmac: brcmf_fweh_register event handler registered for ROAM
> [   37.522622] brcmfmac: brcmf_fweh_register event handler registered
> for MIC_ERROR
> [   37.522633] brcmfmac: brcmf_fweh_register event handler registered
> for SET_SSID
> [   37.522644] brcmfmac: brcmf_fweh_register event handler registered
> for PFN_NET_FOUND
> [   37.522655] brcmfmac: brcmf_fweh_register event handler registered for IF
> [   37.522667] brcmfmac: brcmf_fweh_register event handler registered
> for P2P_PROBEREQ_MSG
> [   37.522677] brcmfmac: brcmf_fweh_register event handler registered
> for P2P_DISC_LISTEN_COMPLETE
> [   37.522688] brcmfmac: brcmf_fweh_register event handler registered
> for ACTION_FRAME_RX
> [   37.522699] brcmfmac: brcmf_fweh_register event handler registered
> for ACTION_FRAME_COMPLETE
> [   37.522710] brcmfmac: brcmf_fweh_register event handler registered
> for ACTION_FRAME_OFF_CHAN_COMPLETE
> [   37.522720] brcmfmac: brcmf_fweh_register event handler registered
> for ESCAN_RESULT
> [   37.522732] brcmfmac: brcmf_btcoex_attach enter
> [   37.523262] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.523284] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.523429] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.536624] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.536644] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.536879] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.537111] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.537126] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.537137] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.540301] brcmfmac: brcmf_sdio_readframes Enter
> [   37.540434] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.540656] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.540672] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.540796] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.556688] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.556706] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.556927] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.557152] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.557167] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.557178] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.560348] brcmfmac: brcmf_sdio_readframes Enter
> [   37.560476] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.560705] brcmfmac: brcmf_sdbrcm_bus_txctl Enter
> [   37.560721] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.560846] brcmfmac: brcmf_sdbrcm_bus_rxctl Enter
> [   37.576550] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.576567] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.576777] brcmfmac: brcmf_sdbrcm_isr Enter
> [   37.577001] brcmfmac: brcmf_sdbrcm_dpc Enter
> [   37.577016] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.577026] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   37.580188] brcmfmac: brcmf_sdio_readframes Enter
> [   37.580311] brcmfmac: brcmf_sdbrcm_read_control Enter
> [   37.580518] brcmfmac: brcmf_net_attach Enter, idx=0 mac=00:90:4c:c5:12:38
> [   37.581610] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
> [   37.581704] brcmfmac: brcmf_net_attach wlan0: Broadcom Dongle Host Driver
> [   37.596623] brcmfmac: brcmf_sdbrcm_bus_sleep Enter
> [   37.596641] brcmfmac: brcmf_sdbrcm_kso_control Enter
> [   45.955942] brcmfmac: brcmf_netdev_get_stats Enter, idx=0
>



^ permalink raw reply

* re: iwlwifi: mvm: BT Coex - don't limit agg size in loose scheme
From: Dan Carpenter @ 2013-11-01 10:28 UTC (permalink / raw)
  To: emmanuel.grumbach; +Cc: linux-wireless

Hello Emmanuel Grumbach,

This is a semi-automatic email about new static checker warnings.

The patch 9145d15128bd: "iwlwifi: mvm: BT Coex - don't limit agg size 
in loose scheme" from Jul 18, 2013, leads to the following Smatch 
complaint:

drivers/net/wireless/iwlwifi/mvm/rs.c:2491 rs_fill_link_cmd()
	 error: we previously assumed 'mvm' could be null (see line 2412)

drivers/net/wireless/iwlwifi/mvm/rs.c
  2411		repeat_rate--;
  2412		if (mvm)
                    ^^^
Existing check.

  2413			valid_tx_ant = iwl_fw_valid_tx_ant(mvm->fw);
  2414	
  2415		/* Fill rest of rate table */
  2416		while (index < LINK_QUAL_MAX_RETRY_NUM) {
  2417			/* Repeat initial/next rate.
  2418			 * For legacy IWL_NUMBER_TRY == 1, this loop will not execute.
  2419			 * For HT IWL_HT_NUMBER_TRY == 3, this executes twice. */

[snip]

  2481		}
  2482	
  2483		lq_cmd->agg_frame_cnt_limit = LINK_QUAL_AGG_FRAME_LIMIT_DEF;
  2484		lq_cmd->agg_disable_start_th = LINK_QUAL_AGG_DISABLE_START_DEF;
  2485	
  2486		lq_cmd->agg_time_limit =
  2487			cpu_to_le16(LINK_QUAL_AGG_TIME_LIMIT_DEF);
  2488	
  2489		if (sta)
  2490			lq_cmd->agg_time_limit =
  2491				cpu_to_le16(iwl_mvm_bt_coex_agg_time_limit(mvm, sta));
                                                                           ^^^
Patch introduces new unchecked dereference.

  2492	}
  2493	

regards,
dan carpenter

^ permalink raw reply

* re: iwlwifi: mvm: new BT Coex API
From: Dan Carpenter @ 2013-11-01 10:27 UTC (permalink / raw)
  To: emmanuel.grumbach; +Cc: linux-wireless

Hello Emmanuel Grumbach,

This is a semi-automatic email about new static checker warnings.

The patch dac94da8dba3: "iwlwifi: mvm: new BT Coex API" from Jun 18, 
2013, leads to the following Smatch complaint:

drivers/net/wireless/iwlwifi/mvm/bt-coex.c:754 iwl_mvm_bt_coex_notif_handle()
	 error: we previously assumed 'data.primary' could be null (see line 709)

drivers/net/wireless/iwlwifi/mvm/bt-coex.c
   708	
   709		if (data.primary) {
                    ^^^^^^^^^^^^
Patch introcudes a NULL check.

   710			struct ieee80211_chanctx_conf *chan = data.primary;
   711			if (WARN_ON(!chan->def.chan)) {
   712				rcu_read_unlock();
   713				return;
   714			}
   715	
   716			if (chan->def.width < NL80211_CHAN_WIDTH_40) {
   717				ci_bw_idx = 0;
   718				cmd.co_run_bw_primary = 0;
   719			} else {
   720				cmd.co_run_bw_primary = 1;
   721				if (chan->def.center_freq1 >
   722				    chan->def.chan->center_freq)
   723					ci_bw_idx = 2;
   724				else
   725					ci_bw_idx = 1;
   726			}
   727	
   728			cmd.bt_primary_ci =
   729				iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx];
   730			cmd.primary_ch_phy_id = *((u16 *)data.primary->drv_priv);
   731		}
   732	
   733		if (data.secondary) {
   734			struct ieee80211_chanctx_conf *chan = data.secondary;
   735			if (WARN_ON(!data.secondary->def.chan)) {
   736				rcu_read_unlock();
   737				return;
   738			}
   739	
   740			if (chan->def.width < NL80211_CHAN_WIDTH_40) {
   741				ci_bw_idx = 0;
   742				cmd.co_run_bw_secondary = 0;
   743			} else {
   744				cmd.co_run_bw_secondary = 1;
   745				if (chan->def.center_freq1 >
   746				    chan->def.chan->center_freq)
   747					ci_bw_idx = 2;
   748				else
   749					ci_bw_idx = 1;
   750			}
   751	
   752			cmd.bt_secondary_ci =
   753				iwl_ci_mask[chan->def.chan->hw_value][ci_bw_idx];
   754			cmd.secondary_ch_phy_id = *((u16 *)data.primary->drv_priv);
                                                           ^^^^^^^^^^^^^^^^^^^^^^
Patch introduces unchecked dereference.

   755		}
   756	

It's possible that a non-null data.secondary implies data.primary is
non-null.  If so please disregard this one-time email.

regards,
dan carpenter

^ permalink raw reply

* re: ath9k: dfs move ath_dfs_pool_stats
From: Dan Carpenter @ 2013-11-01 10:26 UTC (permalink / raw)
  To: janusz.dziedzic; +Cc: linux-wireless, ath9k-devel

Hello Janusz Dziedzic,

This is a semi-automatic email about new static checker warnings.

The patch d265214b614a: "ath9k: dfs move ath_dfs_pool_stats" from Oct 
14, 2013, leads to the following Smatch complaint:

drivers/net/wireless/ath/ath9k/dfs_debug.c:67 read_file_dfs()
	 error: we previously assumed 'sc->dfs_detector' could be null (see line 47)

drivers/net/wireless/ath/ath9k/dfs_debug.c
    46	
    47		if (sc->dfs_detector)
                    ^^^^^^^^^^^^^^^^
Patch introduces a new check.

    48			dfs_pool_stats = sc->dfs_detector->get_stats(sc->dfs_detector);
    49	
    50		len += scnprintf(buf + len, size - len, "DFS support for "
    51				 "macVersion = 0x%x, macRev = 0x%x: %s\n",
    52				 hw_ver->macVersion, hw_ver->macRev,
    53				 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_DFS) ?
    54						"enabled" : "disabled");
    55		len += scnprintf(buf + len, size - len, "Pulse detector statistics:\n");
    56		ATH9K_DFS_STAT("pulse events reported   ", pulses_total);
    57		ATH9K_DFS_STAT("invalid pulse events    ", pulses_no_dfs);
    58		ATH9K_DFS_STAT("DFS pulses detected     ", pulses_detected);
    59		ATH9K_DFS_STAT("Datalen discards        ", datalen_discards);
    60		ATH9K_DFS_STAT("RSSI discards           ", rssi_discards);
    61		ATH9K_DFS_STAT("BW info discards        ", bwinfo_discards);
    62		ATH9K_DFS_STAT("Primary channel pulses  ", pri_phy_errors);
    63		ATH9K_DFS_STAT("Secondary channel pulses", ext_phy_errors);
    64		ATH9K_DFS_STAT("Dual channel pulses     ", dc_phy_errors);
    65		len += scnprintf(buf + len, size - len, "Radar detector statistics "
    66				 "(current DFS region: %d)\n",
    67				 sc->dfs_detector->region);
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^
Existing unchecked dereference.

    68		ATH9K_DFS_STAT("Pulse events processed  ", pulses_processed);
    69		ATH9K_DFS_STAT("Radars detected         ", radar_detected);

regards,
dan carpenter

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox