diff mbox series

iw: print ctrl port tx status event

Message ID 20201206101642.3606-1-markus.theil@tu-ilmenau.de
State New
Headers show
Series iw: print ctrl port tx status event | expand

Commit Message

Markus Theil Dec. 6, 2020, 10:16 a.m. UTC
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
---
 event.c | 5 +++++
 1 file changed, 5 insertions(+)
diff mbox series

Patch

diff --git a/event.c b/event.c
index 8dd4345..61395f8 100644
--- a/event.c
+++ b/event.c
@@ -1171,6 +1171,11 @@  static int print_event(struct nl_msg *msg, void *arg)
 			(unsigned long long)nla_get_u64(tb[NL80211_ATTR_COOKIE]),
 			tb[NL80211_ATTR_ACK] ? "acked" : "no ack");
 		break;
+	case NL80211_CMD_CONTROL_PORT_FRAME_TX_STATUS:
+		printf("ctrl. port TX status (cookie %llx): %s\n",
+			(unsigned long long)nla_get_u64(tb[NL80211_ATTR_COOKIE]),
+			tb[NL80211_ATTR_ACK] ? "acked" : "no ack");
+		break;
 	case NL80211_CMD_PMKSA_CANDIDATE:
 		printf("PMKSA candidate found\n");
 		break;