2022-11-24 19:38:18

by Ioannis Barkas

[permalink] [raw]
Subject: TL-WN551G Atheros WPA3 SSID connection problem #6

Hello,

Moving on to my PCI devices, this is seen on Ubuntu boot:
[ 60.950274] ath5k 0000:05:06.0: registered as 'phy0'
[ 61.559799] ath: EEPROM regdomain: 0x809c
[ 61.559805] ath: EEPROM indicates we should expect a country code
[ 61.559806] ath: doing EEPROM country->regdmn map search
[ 61.559807] ath: country maps to regdmn code: 0x52
[ 61.559808] ath: Country alpha2 being used: CN
[ 61.559809] ath: Regpair used: 0x52
[ 61.559833] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 61.560201] ath5k: phy0: Atheros AR2413 chip found (MAC: 0x78, PHY: 0x45)
[ 63.069976] ath5k 0000:05:06.0 wlp5s6: renamed from wlan0

Do not know why it has chosen CN, I am at EU! Maybe wrong value in
serial EEPROM.

It was able to connect to the 2,4GHz WPA3 SSID:
[ 665.113370] wlp5s6: authenticate with c6:27:28:**:**:**
[ 665.113421] wlp5s6: 80 MHz not supported, disabling VHT
[ 665.118229] wlp5s6: send auth to c6:27:28:**:**:** (try 1/3)
[ 665.119872] wlp5s6: authenticated
[ 665.124467] wlp5s6: associate with c6:27:28:**:**:** (try 1/3)
[ 665.128611] wlp5s6: RX AssocResp from c6:27:28:**:**:**
(capab=0x1431 status=0 aid=16)
[ 665.128787] wlp5s6: associated
[ 665.160040] wlp5s6: Limiting TX power to 30 (30 - 0) dBm as
advertised by c6:27:28:**:**:**
[ 665.375713] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s6: link becomes ready
[ 669.398074] systemd-journald[969]: Time jumped backwards, rotating.
[ 711.862557] wlp5s6: deauthenticating from c6:27:28:**:**:** by
local choice (Reason: 3=DEAUTH_LEAVING)
[ 712.115085] wlp5s6: authenticate with c6:27:28:**:**:**
[ 712.115115] wlp5s6: 80 MHz not supported, disabling VHT
[ 712.120467] wlp5s6: send auth to c6:27:28:**:**:** (try 1/3)
[ 712.122050] wlp5s6: authenticated
[ 712.122999] wlp5s6: associate with c6:27:28:**:**:** (try 1/3)
[ 712.126066] wlp5s6: RX AssocResp from c6:27:28:**:**:**
(capab=0x1431 status=0 aid=16)
[ 712.126181] wlp5s6: associated
[ 712.162838] wlp5s6: Limiting TX power to 30 (30 - 0) dBm as
advertised by c6:27:28:**:**:**
[ 712.231286] IPv6: ADDRCONF(NETDEV_CHANGE): wlp5s6: link becomes ready
[ 722.209998] ath5k: ath5k_hw_get_isr: ISR: 0x00000400 IMR: 0x00000000

But moments before disconnecting from it, I got:
[ 929.701994] ================================================================================
[ 929.702005] UBSAN: array-index-out-of-bounds in
/build/linux-JDy9aa/linux-5.19.0/drivers/net/wireless/ath/ath5k/base.c:1741:20
[ 929.702009] index 4 is out of range for type 'ieee80211_tx_rate [4]'
[ 929.702012] CPU: 5 PID: 0 Comm: swapper/5 Tainted: P O
5.19.0-21-generic #21-Ubuntu
[ 929.702015] Hardware name: Gigabyte Technology Co., Ltd.
GA-880GMA-USB3/GA-880GMA-USB3, BIOS F4e 05/24/2012
[ 929.702017] Call Trace:
[ 929.702019] <IRQ>
[ 929.702022] show_stack+0x4e/0x61
[ 929.702029] dump_stack_lvl+0x4a/0x6d
[ 929.702036] dump_stack+0x10/0x18
[ 929.702038] ubsan_epilogue+0x9/0x43
[ 929.702041] __ubsan_handle_out_of_bounds.cold+0x42/0x47
[ 929.702044] ath5k_tx_frame_completed.constprop.0+0x28f/0x2e0 [ath5k]
[ 929.702055] ath5k_tx_processq+0xb2/0x1d0 [ath5k]
[ 929.702062] ath5k_tasklet_tx+0x80/0xf0 [ath5k]
[ 929.702067] tasklet_action_common.constprop.0+0xbc/0x100
[ 929.702072] tasklet_action+0x22/0x30
[ 929.702074] __do_softirq+0xdb/0x34f
[ 929.702078] __irq_exit_rcu+0x87/0xc0
[ 929.702081] irq_exit_rcu+0xe/0x20
[ 929.702083] common_interrupt+0xa4/0xb0
[ 929.702086] </IRQ>
[ 929.702087] <TASK>
[ 929.702088] asm_common_interrupt+0x27/0x40
[ 929.702092] RIP: 0010:native_safe_halt+0xb/0x10
[ 929.702095] Code: cc cc cc 4c 89 ee 48 c7 c7 e0 4f 25 98 e8 8d 8f
84 ff eb c4 cc cc cc cc cc cc cc cc cc cc cc eb 07 0f 00 2d b9 46 4e
00 fb f4 <c3> cc cc cc cc eb 07 0f 00 2d a9 46 4e 00 f4 c3 cc cc cc cc
cc 0f
[ 929.702097] RSP: 0018:ffffbf91800cfdc0 EFLAGS: 00000246
[ 929.702100] RAX: 0000000000004000 RBX: ffff9d0e41270064 RCX: 0000000000000000
[ 929.702102] RDX: 0000000000000001 RSI: ffff9d0e41270000 RDI: 0000000000000001
[ 929.702103] RBP: ffffbf91800cfdd0 R08: 0000000000000000 R09: 0000000000000000
[ 929.702104] R10: 0000000000000000 R11: 0000000000000000 R12: ffff9d0e41270064
[ 929.702105] R13: 0000000000000005 R14: ffffffff984c5220 R15: ffff9d1160540000
[ 929.702108] ? acpi_idle_do_entry+0x79/0xc0
[ 929.702111] acpi_idle_enter+0xbb/0x180
[ 929.702114] cpuidle_enter_state+0x9a/0x650
[ 929.702117] ? native_load_gs_index+0x19/0x40
[ 929.702121] ? raw_spin_rq_unlock+0x10/0x40
[ 929.702125] cpuidle_enter+0x2e/0x50
[ 929.702127] call_cpuidle+0x23/0x50
[ 929.702130] cpuidle_idle_call+0x11b/0x190
[ 929.702132] do_idle+0x82/0x100
[ 929.702134] cpu_startup_entry+0x1d/0x20
[ 929.702136] start_secondary+0x122/0x160
[ 929.702139] secondary_startup_64_no_verify+0xe5/0xeb
[ 929.702143] </TASK>
[ 929.702144] ================================================================================
[ 978.737790] ath5k: ath5k_hw_get_isr: ISR: 0x00000001 IMR: 0x00000000
[ 1137.988980] wlp5s6: deauthenticating from c6:27:28:**:**:** by
local choice (Reason: 3=DEAUTH_LEAVING)

Is it something harmless?

Here is the device:
05:06.0 Ethernet controller [0200]: Qualcomm Atheros AR2413/AR2414
Wireless Network Adapter [AR5005G(S) 802.11bg] [168c:001a] (rev 01)
Subsystem: Qualcomm Atheros Compex Wireless 802.11 b/g MiniPCI
Adapter, Rev A1 [WLM54G] [168c:2052]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 4 bytes
Interrupt: pin A routed to IRQ 20
NUMA node: 0
Region 0: Memory at fdbf0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=2 PME-
Kernel driver in use: ath5k
Kernel modules: ath5k
00: 8c 16 1a 00 06 00 90 02 01 00 00 02 01 a8 00 00
10: 00 00 bf fd 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 01 50 00 00 8c 16 52 20
30: 00 00 00 00 44 00 00 00 00 00 00 00 05 01 0a 1c
40: 00 00 00 00 01 00 c2 01 00 40 00 c6 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00