Hi,
I have a laptop with a MediaTek mt7921 wireless chip, and I'm getting disconnected from the AP every 10 minutes (PREV_AUTH_NOT_VALID). I've tried to disable aspm, without any noticeable improvements.
The only relevant information to my problem I found on the mailing list was regarding a problem that could lead to the driver preventing wpa_supplicant from receiving EAPOL frames.
I'm currently running a manually built kernel 5.17.0-0.rc3.20220208git555f3d7be91a on Fedora 35 (to toggle the requested CONFIG_MAC80211_ debugging build options).
So far, I haven't seen anything suspicious from wpa_supplicant, which simply reacts to the event accordingly (from events NL80211_CMD_DEL_STATION then NL80211_CMD_DISASSOCIATE).
-- lspci
03:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Ada
pter
Subsystem: Lenovo Device e0bc
Kernel driver in use: mt7921e
Kernel modules: mt7921e
-- iw events
wlp3s0: del station 34:xx:xx:xx:xx:xx
wlp3s0 (phy #0): disassoc 34:xx:xx:xx:xx:xx -> b4:xx:xx:xx:xx:xx reason 2: Previous authentication no longer valid
wlp3s0 (phy #0): disconnected (by AP) reason: 2: Previous authentication no longer valid
phy #0: regulatory domain change: set to world roaming by the wireless core upon initialization request
regulatory domain change: set to DE by a user request
wlp3s0 (phy #0): scan started
wlp3s0 (phy #0): scan finished: 2462, "XXXXX" ""
wlp3s0 (phy #0): scan started
wlp3s0 (phy #0): scan finished: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720 5745 5765 5785 5805 5825 5845 5865, "XXXXX" ""
wlp3s0: new station 34:xx:xx:xx:xx:xx
wlp3s0 (phy #0): auth 34:xx:xx:xx:xx:xx -> b4:xx:xx:xx:xx:xx status: 0: Successful
wlp3s0 (phy #0): assoc 34:xx:xx:xx:xx:xx -> b4:xx:xx:xx:xx:xx status: 0: Successful
wlp3s0 (phy #0): connected to 34:xx:xx:xx:xx:xx
-- dmesg
wlp3s0: disassociated from 34:xx:xx:xx:xx:xx (Reason: 2=PREV_AUTH_NOT_VALID)
wlp3s0: authenticate with 34:xx:xx:xx:xx:xx
wlp3s0: send auth to 34:xx:xx:xx:xx:xx (try 1/3)
wlp3s0: authenticated
wlp3s0: associate with 34:xx:xx:xx:xx:xx (try 1/3)
wlp3s0: RX AssocResp from 34:xx:xx:xx:xx:xx (capab=0x1511 status=0 aid=1)
wlp3s0: associated
wlp3s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 34:xx:xx:xx:xx:xx
Thanks,
--
Gabriel Féron
It's an in-kernel driver so it should be stable.
Maybe downgrade to the latest release kernel.
No problem about not replying to the list
I'll readd the list.
Feb. 10, 2022 12:36:07 Gabriel Féron <[email protected]>:
> I've tried already, but it didn't work. There's also generally loads of problems with either the driver or the firmware, like panic on reboots or even sometimes the device is not detected and you need to do a cold boot.
>
> Anyways, first time I posted to a mailing list and I ended up answering to you only, sorry for that :)
>
> Cheers!
> 10 Feb 2022, 16:12 by [email protected]:
>
>> Maybe turn off power saving?
>> I don't know how but I think "modinfo mt76" will show the parameters.
>> Googling will help. :-)
>>
>> Feb. 10, 2022 04:12:48 Gabriel Féron <[email protected]>:
>>
>>> In my case, I don't think so. I tried with a Intel ac9260 and don't have the problem. This is also with a regular household AP that's basically everywhere in Germany (FritzBox) and no other devices have similar issues - I could be wrong, though.
>>>
>>> Feb 9, 2022, 23:48 by [email protected]:
>>>
>>>> I also get disconnected (by AP) reason: 2: Previous authentication no longer valid but on an Intel ax200 (built in my Intel laptop) but networkmanager reconnects.
>>>> I wonder if it is problem with the infrastructure.
>>>>