WCN7850 disconnects and reconnects in a loop

Kalle Valo kvalo at kernel.org
Mon Apr 8 01:08:38 PDT 2024


Baochen Qiang <quic_bqiang at quicinc.com> writes:

> On 4/4/2024 11:41 PM, Gregoire Stein wrote:
>> Hello,
>> now i'm on the last commit of master-pending
>> (6.9.0-rc2-wt-ath-1-mainline-g853450ce5ca0)
>> here are the various logs you asked for:
>> https://gist.github.com/GreyXor/927e7871e70630beabb522aeddc5891e
>
> Thanks for the logs.
>
> From dmesg and NetworkManager logs, connection and EAPOL frames are
> good, but DHCP transaction fails. IWD logs show 'Del Station' event
> received after EAPOL is done. So guessing 3rd party triggers 'Del
> Station' due to some unkown reasons (DHCP session failed?).
>
> In order to know who triggers 'Del Station', could you help reproduce
> this issue and collect mac80211/cfg80211 trace?
>
> Below steps for your consideration:
>
> 1. enable tracing on mac80211/cfg80211
> 	# echo 1 > /sys/kernel/debug/tracing/events/cfg80211/enable
> 	# echo 1 > /sys/kernel/debug/tracing/events/mac80211/enable

This is just a suggestion but it might be helpful to include also driver
and wpasupplicant traces to the same file. For example, here's what we
documented for ath10k:

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/debug#tracing

>> There are iwd, networkmanager and dmesg
>> iwd is launched with -d and the ath12k module with the debug flag
>> thanks
>> 
> And one more question, is this issue specific to AP? could you try
> other APs or could you try other client with this same AP? We can do
> comparison to narrow down.

Another things to try narrow down the problem is manually running
wpasupplicant. And also using manual IPs (no DHCP at all) or just use
'iw connect' without encryption.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the ath12k mailing list