Message ID | 6a7cd7bd2179578335cc95b158faf21ba3f7876a.1636730634.git.lorenzo@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Johannes Berg |
Headers | show |
Series | iw: event: report missing radar events | expand |
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); }
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(+)