aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2026-04-26 22:43:49 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-06-05 12:09:22 +0000
commit22ac9be92d1da75989f67d6057a57c69b289b82d (patch)
tree500c1b81bdbf293f7214dfcb517715cde6c2e289
parenta993d281111bef7c760340321e372a7cb6a759a0 (diff)
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 MFC after: 3 days
-rw-r--r--sys/compat/linuxkpi/common/src/linux_80211.c12
1 files 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 b6ad148fb587..774bcc531ad3 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -6010,7 +6010,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));
}
@@ -6024,7 +6024,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));
}
@@ -6039,7 +6039,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));
}
@@ -6074,6 +6074,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);
@@ -6134,6 +6136,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);
@@ -6252,6 +6256,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);