DORMANTno replies

[PATCH] iw: event: report missing radar events

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2021-11-12 16:50:48
Subsystem: the rest · Maintainer: Linus Torvalds

Properly report the two following radar events:
- NL80211_RADAR_PRE_CAC_EXPIRED
- NL80211_RADAR_CAC_STARTED

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 event.c | 6 ++++++
 1 file changed, 6 insertions(+)
diff --git a/event.c b/event.c
index e0908dd..ad29189 100644
--- a/event.c
+++ b/event.c
@@ -1233,6 +1233,12 @@ static int print_event(struct nl_msg *msg, void *arg)
 		case NL80211_RADAR_NOP_FINISHED:
 			printf("%d MHz: NOP finished\n", freq);
 			break;
+		case NL80211_RADAR_PRE_CAC_EXPIRED:
+			printf("%d MHz: PRE-CAC expired\n", freq);
+			break;
+		case NL80211_RADAR_CAC_STARTED:
+			printf("%d MHz: CAC started\n", freq);
+			break;
 		default:
 			printf("%d MHz: unknown radar event\n", freq);
 		}
-- 
2.31.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help