Hi All,

I'm having issues with Wifi on a WCN3990 chip. It seems to work fine for people 
in the US but here in Europe connecting to Wifi networks is hit-or-miss.
I am in Germany and can only connect to a few Wifi networks, with the others 
failing with authentication issues.

We guessed this was because of the regulatory information not set and indeed 
the driver always falls back to the default, which is the US.

[ 24.072334] ath: EEPROM regdomain: 0x0
[ 24.072346] ath: EEPROM indicates default country code should be used

But even after patching the default regdomain to be Germany and providing the 
bdwlan files used by Android
(found here: 
https://github.com/TheMuppets/proprietary_vendor_google_sargo/tree/lineage-21/proprietary/vendor/firmware)
the connection issues remain. I am now at my wits end and so I am asking here 
how to best debug this. This is a log excerpt from when the connection fails:
[ 1976.444722] wlan0: authenticate with 04:d9:f5:12:75:b4 (local address=5e:00:a8:96:03:48)
[ 1976.444816] wlan0: send auth to 04:d9:f5:12:75:b4 (try 1/3)
[ 1976.451117] wlan0: authenticated
[ 1976.452960] wlan0: associate with 04:d9:f5:12:75:b4 (try 1/3)
[ 1976.455507] wlan0: RX AssocResp from 04:d9:f5:12:75:b4 (capab=0x511 status=18 aid=284)
[ 1976.455548] wlan0: 04:d9:f5:12:75:b4 denied association (code=18) Here is 
the PostmarketOS issue for this problem. Maybe there's some useful information 
there:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3134

Please let me know on how to further debug this, your help will be greatly 
appreciated.

Thanks in advance
Frieder Hannenheim


Reply via email to