aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorAhmad Kholaif <akholaif@qca.qualcomm.com>2015-02-11 02:48:39 (GMT)
committerJouni Malinen <j@w1.fi>2015-02-11 14:51:33 (GMT)
commit480994dafb8bc4c53807ab884f4ee58693fda6b6 (patch)
tree8fef130c6f33aab54094ac61d555ddb0acac04d9 /src/drivers/driver_common.c
parentf245b45075c02eee24b1e2bcc2683ee1d2a09786 (diff)
downloadhostap-480994dafb8bc4c53807ab884f4ee58693fda6b6.zip
hostap-480994dafb8bc4c53807ab884f4ee58693fda6b6.tar.gz
hostap-480994dafb8bc4c53807ab884f4ee58693fda6b6.tar.bz2
nl80211: Allocate QCA vendor subcmds for DFS radar detected and CAC events
When DFS offloading capability is supported by the driver, the driver should use these events to indicate when a radar pattern has been detected, channel availability check (CAC) has been completed, aborted or finished after the non-occupancy period is over on a DFS channel. Also, add a new driver.h event to be used by NL80211 to indicate CAC Started event on a DFS channel. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/drivers/driver_common.c')
-rw-r--r--src/drivers/driver_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/driver_common.c b/src/drivers/driver_common.c
index f897c11..aebea8c 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -79,6 +79,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(AVOID_FREQUENCIES);
E2S(NEW_PEER_CANDIDATE);
E2S(ACS_CHANNEL_SELECTED);
+ E2S(DFS_CAC_STARTED);
}
return "UNKNOWN";