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
This commit is contained in:
Bjoern A. Zeeb
2026-04-26 22:43:49 +00:00
parent a993d28111
commit 22ac9be92d
+9 -3
View File
@@ -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);