kaloz / mwlwifi

mac80211 driver for the Marvell 88W8864 802.11ac chip
397 stars 119 forks source link

160Mhz #342

Closed wapebira closed 5 years ago

wapebira commented 5 years ago

i removed phy2 i have the right country code but when setting 160mhz on 36 or 149 we get this in the logs

[  151.013016] device wlan0 left promiscuous mode
[  151.017527] br-lan: port 2(wlan0) entered disabled state
[  151.062201] ieee80211 phy0: change: 0x40
[  151.154989] ieee80211 phy0: change: 0x100
[  151.550063] ieee80211 phy0: change: 0xffffffff
[  151.652295] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  151.659032] br-lan: port 2(wlan0) entered blocking state
[  151.664384] br-lan: port 2(wlan0) entered disabled state
[  151.669847] device wlan0 entered promiscuous mode
[  151.674642] br-lan: port 2(wlan0) entered blocking state
[  151.679984] br-lan: port 2(wlan0) entered forwarding state
[  151.685976] ieee80211 phy0: change: 0x100
[  151.693114] ieee80211 phy0: change: 0x40
[  151.903129] ieee80211 phy0: change: 0x40
[  152.113207] ieee80211 phy0: change: 0x40
[  152.153244] device wlan0 left promiscuous mode
[  152.157739] br-lan: port 2(wlan0) entered disabled state
[  152.211263] ieee80211 phy0: change: 0x100
[  152.398319] ieee80211 phy0: change: 0xffffffff
[  152.502403] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
davidc502 commented 5 years ago

Work Around You can choose another channel like 40, 44, 48, 52, 56, 60 or 64, and Channel 36 will be covered due to the width anyway. Same goes for 149 as you can choose higher or lower and still cover channel 149 if it is allowed for your country.

wapebira commented 5 years ago

Thanks David, I tried again all the channels, but no luck. As soon as is set to 160Mhz, the adapter gets disabled or tx power off. Probably because the power table/regulatory.db. If you change country and it does not match what has in eeprom, will get disabled. If upload another regulatory.db where I modified, the kernel does says "invalid reg domain". It checks something somewhere. The problem is how this is handled by Marvell... since last year we are allowed to use ch 36 at 160Mhz and 30db, but the reg table is stuck at 80Mhz and 23db.

On a side note, poking around that bin file, I found two interesting strings. it seems there is a "party mode" coded into it

 ........Welcome 
 to the party, pa
 l!..............

and Cisco has his tail in here also

......8006.img v
ersion: B4.18.01
 Mar 29 2018 09:
15:43 Copyright 
(c) 2007, 2009-2
015 by Cisco Sys
tems, Inc. .....
lantis1008 commented 5 years ago

That’s a Die Hard reference, and I’m sure just a programming joke.

yuhhaurlin commented 5 years ago

Mwlwifi does not touch regulatory domain.