[Bug 274382] iwlwifi Invalid TXQ id
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 274382] iwlwifi Invalid TXQ id"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 15 Feb 2024 19:11:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274382
--- Comment #39 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
(In reply to Cheng Cui from comment #38)
sta is added to FW and in state IEEE80211_STA_NONE sta->lsta->ni is
0xfffffe00ab574000
IEEE80211_STA_NONE can be from scan-to-auth, assoc-down, run-init.
Given the fc type/subtype this should be an AUTH frame to it should be
scan_to_auth.
However:
vap->iv_bss 0xfffffe00ab79f000 != lvif_bss->ni 0xfffffe00ab574000 but synched
is 1.
Can you apply the following change to give us an idea of how the updates to
iv_bss go (untested):
--- sys/compat/linuxkpi/common/src/linux_80211.c
+++ sys/compat/linuxkpi/common/src/linux_80211.c
@@ -2531,6 +2531,11 @@ lkpi_iv_update_bss(struct ieee80211vap *vap, struct
ieee80211_node *ni)
lvif = VAP_TO_LVIF(vap);
LKPI_80211_LVIF_LOCK(lvif);
+ ic_printf(vap->iv_ic, "%s:%d: lvif %p vap %p iv_bss %p lvif_bss %p "
+ "lvif_bss->ni %p synched %d, ni %p\n", __func__, __LINE__,
+ lvif, vap, vap->iv_bss, lvif->lvif_bss,
+ (lvif->lvif_bss != NULL) ? lvif->lvif_bss->ni : NULL,
+ lvif->lvif_bss_synched, ni);
lvif->lvif_bss_synched = false;
LKPI_80211_LVIF_UNLOCK(lvif);
Almost also want to dump vap->iv_state here and in lkpi_sta_dump(), if not the
entire history in the latter (taken from ieee80211_ddb.c):
int i;
printf("iv_nstate %#x %s iv_nstate_b %d iv_nstate_n %d\n",
vap->iv_nstate, ieee80211_state_name[vap->iv_nstate], /* historic
*/
vap->iv_nstate_b, vap->iv_nstate_n);
for (i = 0; i < NET80211_IV_NSTATE_NUM; i++) {
printf("\t [%d] iv_nstates %#x %s _task %p _args %d\n", i,
vap->iv_nstates[i],
ieee80211_state_name[vap->iv_nstates[i]],
&vap->iv_nstate_task[i], vap->iv_nstate_args[i]);
}
--
You are receiving this mail because:
You are on the CC list for the bug.