You are not logged in.
Hey everyone,
I have one issue with my laptop's wifi card: it doesn't recognizes channels 12 and 13.
I tried to set the "world regulatory domain" to "IT" (my country code) as follow:
$ cat /etc/modprobe.d/cfg80211.conf
options cfg80211 ieee80211_regdom=IT
$ cat /etc/conf.d/wireless-regdom | grep IT
WIRELESS_REGDOM="IT"
and it seems that is loaded:
$ dmesg | grep cfg80211
[ 36.542134] cfg80211: World regulatory domain updated:
[ 36.542139] cfg80211: DFS Master region: unset
[ 36.542140] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 36.542143] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 36.542145] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 36.542146] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 36.542148] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 36.542150] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 36.542152] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 36.542153] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 36.542155] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 36.545564] cfg80211: Regulatory domain changed to country: IT
[ 36.545569] cfg80211: DFS Master region: ETSI
[ 36.545571] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 36.545574] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 36.545576] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 36.545579] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 36.545581] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[ 36.545584] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
$ iw reg get
global
country IT: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
But from iwlist i can see that wifi card doesn't recognizes channels 12 and 13:
$ iwlist channel
wwp0s26u1u6i6 no frequency information.
wlp2s0b1 15 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 36 : 5.18 GHz
Channel 40 : 5.2 GHz
Channel 44 : 5.22 GHz
Channel 48 : 5.24 GHz
Current Frequency:2.412 GHz (Channel 1)
my kernel version:
$ uname -r
4.4.5-1-ARCH
the wifi card is a BCM43228:
$ lspci -vnn -d 14e4:
02:00.0 Network controller [0280]: Broadcom Corporation BCM43228 802.11a/b/g/n [14e4:4359]
Subsystem: Dell Wireless 1530 Half-size Mini PCIe Card [1028:0011]
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at e3c00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma
and b43 module is loaded:
$ lsmod | grep b43
b43 405504 0
bcma 49152 1 b43
mac80211 647168 1 b43
cfg80211 483328 2 b43,mac80211
ssb 61440 1 b43
rng_core 16384 1 b43
led_class 16384 4 b43,sdhci,dell_laptop,input_leds
mmc_core 114688 4 b43,ssb,sdhci,sdhci_pci
My blacklisted modules:
$ cat /etc/modprobe.d/blacklist.conf
blacklist wl
blacklist brcmfmac
blacklist brcmsmac
I tried to switch to another country code like "JP" that allow these channels but nothing changes..
If i run windows7 the wifi card recognizes channels 12 and 13 correcly, so it isn't an hw problem, but i need to get Arch working on these frequencies :-(
Can anyone try to help me please?
I've already read some other topics but no luck:
https://bbs.archlinux.org/viewtopic.php?id=179738
https://bbs.archlinux.org/viewtopic.php?id=124174
Offline
It is likely not enabled in the b43 module, there is a lot of code in main.c referring to limited 2GHz being 11 channels
Somewhere around line 200
static struct ieee80211_channel b43_2ghz_chantable[] = {
CHAN2G(1, 2412, 0),
CHAN2G(2, 2417, 0),
CHAN2G(3, 2422, 0),
CHAN2G(4, 2427, 0),
CHAN2G(5, 2432, 0),
CHAN2G(6, 2437, 0),
CHAN2G(7, 2442, 0),
CHAN2G(8, 2447, 0),
CHAN2G(9, 2452, 0),
CHAN2G(10, 2457, 0),
CHAN2G(11, 2462, 0),
CHAN2G(12, 2467, 0),
CHAN2G(13, 2472, 0),
CHAN2G(14, 2484, 0),
};
/* No support for the last 3 channels (12, 13, 14) */
#define b43_2ghz_chantable_limited_size 11
#undef CHAN2G
And this around line 5300
/* We don't support all 2 GHz channels on some devices */
limited_2g =3D phy->radio_ver =3D=3D 0x2057 &&
(phy->radio_rev =3D=3D 9 || phy->radio_rev =3D=3D 14);
Offline
It is likely not enabled in the b43 module, there is a lot of code in main.c referring to limited 2GHz being 11 channels
Somewhere around line 200static struct ieee80211_channel b43_2ghz_chantable[] = { CHAN2G(1, 2412, 0), CHAN2G(2, 2417, 0), CHAN2G(3, 2422, 0), CHAN2G(4, 2427, 0), CHAN2G(5, 2432, 0), CHAN2G(6, 2437, 0), CHAN2G(7, 2442, 0), CHAN2G(8, 2447, 0), CHAN2G(9, 2452, 0), CHAN2G(10, 2457, 0), CHAN2G(11, 2462, 0), CHAN2G(12, 2467, 0), CHAN2G(13, 2472, 0), CHAN2G(14, 2484, 0), }; /* No support for the last 3 channels (12, 13, 14) */ #define b43_2ghz_chantable_limited_size 11 #undef CHAN2G
And this around line 5300
/* We don't support all 2 GHz channels on some devices */ limited_2g =3D phy->radio_ver =3D=3D 0x2057 && (phy->radio_rev =3D=3D 9 || phy->radio_rev =3D=3D 14);
Hi jeremy,
thank you for your reply, probably i have to replace this device with another well-supported one.. I also tried other driver (broadcom-wl) but none seems to be enough stable for everyday use.
Offline
After some months of everyday use i can say that broadcom-wl https://wiki.archlinux.org/index.php/br … roadcom-wl is the best choice for this laptop, and it's stable enough.
$ iw reg get
global
country IT: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
global
country IT: DFS-ETSI
(2402 - 2482 @ 40), (N/A, 20), (N/A)
(5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW
(5490 - 5710 @ 160), (N/A, 27), (0 ms), DFS
(57000 - 66000 @ 2160), (N/A, 40), (N/A)
$ iwlist wlp2s0 channel
wlp2s0 32 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz
Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 32 : 5.16 GHz
Channel 34 : 5.17 GHz
Channel 36 : 5.18 GHz
Channel 38 : 5.19 GHz
Channel 40 : 5.2 GHz
Channel 42 : 5.21 GHz
Channel 44 : 5.22 GHz
Channel 46 : 5.23 GHz
Channel 48 : 5.24 GHz
Channel 50 : 5.25 GHz
Channel 52 : 5.26 GHz
Channel 54 : 5.27 GHz
Channel 56 : 5.28 GHz
Channel 58 : 5.29 GHz
Channel 60 : 5.3 GHz
Channel 62 : 5.31 GHz
Channel 64 : 5.32 GHz
Channel 66 : 5.33 GHz
Channel 68 : 5.34 GHz
Current Frequency:5.2 GHz (Channel 40)
$ cat /etc/modprobe.d/blacklist.conf
blacklist b43
blacklist brcmfmac
blacklist brcmsmac
$ lsmod | grep wl
wl 6377472 0
cfg80211 491520 1 wl
Thanks
Offline
Does it actually allow you to use channel 12 and 13?
Offline
Hi Jeremy, sorry for my very late reply!
No, it was frustrating.
With wl drivers i can see channels 12 and 13 from iwlist chan, but i can't use them (no scan result on those channels).
I also tried to patch b43 module by changing main.c line 215
/* No support for the last 3 channels (12, 13, 14) */
#define b43_2ghz_chantable_limited_size 11
to
/* No support for the last 3 channels (12, 13, 14) */
#define b43_2ghz_chantable_limited_size 13
But no luck: while scan works fine, and i can see my AP on channel 13, i can't connect to that AP.. Some output from dmesg:
[ +1,723585] wlp2s0b1: authenticate with 34:31:c4:0f:9d:b5
[ +0,092769] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 1/3)
[ +0,206287] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 2/3)
[ +0,203303] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 3/3)
[ +0,203309] wlp2s0b1: authentication with 34:31:c4:0f:9d:b5 timed out
[ +1,744760] wlp2s0b1: authenticate with 34:31:c4:0f:9d:b5
[ +0,010291] b43-phy1 ERROR: PHY init: Channel switch to default failed
[ +0,005053] b43-phy1: Radio turned on by software
[ +0,000325] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 1/3)
[ +0,202651] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 2/3)
[ +0,203329] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 3/3)
[ +0,203282] wlp2s0b1: authentication with 34:31:c4:0f:9d:b5 timed out
[ +2,134076] wlp2s0b1: authenticate with 34:31:c4:0f:9d:b5
[ +0,010924] b43-phy1 ERROR: PHY init: Channel switch to default failed
[ +0,005055] b43-phy1: Radio turned on by software
[ +0,000324] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 1/3)
[ +0,202647] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 2/3)
[ +0,203325] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 3/3)
[ +0,203292] wlp2s0b1: authentication with 34:31:c4:0f:9d:b5 timed out
[ +2,624275] wlp2s0b1: authenticate with 34:31:c4:0f:9d:b5
[ +0,013983] b43-phy1 ERROR: PHY init: Channel switch to default failed
[ +0,005504] b43-phy1: Radio turned on by software
[ +0,000321] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 1/3)
[ +0,202215] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 2/3)
[ +0,206635] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 3/3)
[ +0,203322] wlp2s0b1: authentication with 34:31:c4:0f:9d:b5 timed out
[ +6,644389] b43-phy1 ERROR: PHY init: Channel switch to default failed
[ +0,005049] b43-phy1: Radio turned on by software
[ +2,986212] wlp2s0b1: authenticate with 34:31:c4:0f:9d:b5
[ +0,000273] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 1/3)
[ +0,202792] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 2/3)
[ +0,203312] wlp2s0b1: send auth to 34:31:c4:0f:9d:b5 (try 3/3)
[ +0,203300] wlp2s0b1: authentication with 34:31:c4:0f:9d:b5 timed out
[ +3,912050] IPv6: ADDRCONF(NETDEV_UP): wlp2s0b1: link is not ready
[ +0,214220] b43-phy1: Loading firmware version 784.2 (2012-08-15 21:35:19)
[ +0,050969] b43-phy1 ERROR: PHY init: Channel switch to default failed
So i surrendered, and i'm not using channels 12 and 13 on this laptop. Now i'm using wl because with b43 connection sometimes hangs, while with wl everything works fine (except for channels 12 and 13 -.-).
Offline