Date: Mon, 29 Jun 2026 06:34:15 +0000 From: Bjoern A. Zeeb <bz@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 89781f2723d6 - stable/15 - LinuxKPI: 802.11: adjust tracing for action/ampdu/addba functions Message-ID: <6a4211e7.459bd.469f1744@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/15 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=89781f2723d65b28d7c62c3e20a10d45638c951f commit 89781f2723d65b28d7c62c3e20a10d45638c951f Author: Bjoern A. Zeeb <bz@FreeBSD.org> AuthorDate: 2026-04-26 22:43:49 +0000 Commit: Bjoern A. Zeeb <bz@FreeBSD.org> CommitDate: 2026-06-29 03:52:05 +0000 LinuxKPI: 802.11: adjust tracing for action/ampdu/addba functions Adjust the pure debug tracing to no longer be under HT and add more to the other functions we are interested in, so we can follow the calls more easily. Sponsored by: The FreeBSD Foundation (cherry picked from commit 22ac9be92d1da75989f67d6057a57c69b289b82d) --- sys/compat/linuxkpi/common/src/linux_80211.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index 745b3872abe4..637e8dc9d282 100644 --- a/sys/compat/linuxkpi/common/src/linux_80211.c +++ b/sys/compat/linuxkpi/common/src/linux_80211.c @@ -6004,7 +6004,7 @@ lkpi_ic_recv_action(struct ieee80211_node *ni, const struct ieee80211_frame *wh, ic = ni->ni_ic; lhw = ic->ic_softc; - IMPROVE_HT("recv_action called; nothing to do in lkpi; make debugging"); + TRACEOK("recv_action called"); return (lhw->ic_recv_action(ni, wh, frm, efrm)); } @@ -6018,7 +6018,7 @@ lkpi_ic_send_action(struct ieee80211_node *ni, int category, int action, void *s ic = ni->ni_ic; lhw = ic->ic_softc; - IMPROVE_HT("send_action called; nothing to do in lkpi; make debugging"); + TRACEOK("send_action with action %d called", action); return (lhw->ic_send_action(ni, category, action, sa)); } @@ -6033,7 +6033,7 @@ lkpi_ic_ampdu_enable(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap) ic = ni->ni_ic; lhw = ic->ic_softc; - IMPROVE_HT("ieee80211_ampdu_enable called; nothing to do in lkpi for now; make debugging"); + TRACEOK("ieee80211_ampdu_enable called"); return (lhw->ic_ampdu_enable(ni, tap)); } @@ -6068,6 +6068,8 @@ lkpi_ic_addba_request(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap, lsta = ni->ni_drv_data; sta = LSTA_TO_STA(lsta); + TRACEOK("ADDBA REQ tid %u", tap->txa_tid); + if (!lsta->added_to_drv) { ic_printf(ic, "%s: lsta %p ni %p, sta %p not added to firmware\n", __func__, lsta, ni, sta); @@ -6128,6 +6130,8 @@ lkpi_ic_addba_response(struct ieee80211_node *ni, struct ieee80211_tx_ampdu *tap lsta = ni->ni_drv_data; sta = LSTA_TO_STA(lsta); + TRACEOK("ADDBA RESP status %d (0 == SUCCESS) tid %u", status, tap->txa_tid); + if (!lsta->added_to_drv) { ic_printf(ic, "%s: lsta %p ni %p, sta %p not added to firmware\n", __func__, lsta, ni, sta); @@ -6246,6 +6250,8 @@ lkpi_ic_addba_response_timeout(struct ieee80211_node *ni, struct ieee80211_tx_am ic = ni->ni_ic; lhw = ic->ic_softc; + TRACEOK("ADDBA RESP TIMEO tid %u", tap->txa_tid); + IMPROVE_HT(); lhw->ic_addba_response_timeout(ni, tap);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a4211e7.459bd.469f1744>
