[PATCH 5/6] hostapd: Add debug ack status for tx status
Ramasamy Kaliappan
ramasamy.kaliappan at oss.qualcomm.com
Thu Aug 6 09:31:46 PDT 2026
When an authentication or association response frame is sent to a peer
address with the no_sta flag set, the driver may have no station entry
for that peer even though ack may received from peer
Include the tx ack status in the authentication and association tx
callback function when the destination STA entry cannot be found.
Signed-off-by: Ramasamy Kaliappan <ramasamy.kaliappan at oss.qualcomm.com>
---
src/ap/ieee802_11.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 3b71b5edc311..b5802fff2fba 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -8560,8 +8560,9 @@ static void handle_auth_cb(struct hostapd_data *hapd,
sta = ap_get_sta(hapd, mgmt->da);
if (!sta) {
wpa_printf(MSG_DEBUG, "handle_auth_cb: STA " MACSTR
- " not found",
- MAC2STR(mgmt->da));
+ " not found"
+ " [%s acknowledged for association response]",
+ MAC2STR(mgmt->da), !ok ? "no" : "");
return;
}
@@ -8739,8 +8740,10 @@ static void handle_assoc_cb(struct hostapd_data *hapd,
sta = ap_get_sta(hapd, mgmt->da);
if (!sta) {
- wpa_printf(MSG_INFO, "handle_assoc_cb: STA " MACSTR " not found",
- MAC2STR(mgmt->da));
+ wpa_printf(MSG_INFO, "handle_assoc_cb: STA " MACSTR " not found"
+ " [%s acknowledged association response]",
+ MAC2STR(mgmt->da),
+ !ok ? "no" : "");
return;
}
--
2.34.1
More information about the Hostap
mailing list