aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_common.c
diff options
context:
space:
mode:
authorArif Hussain <c_arifh@qca.qualcomm.com>2014-01-24 14:14:29 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-27 09:49:05 (GMT)
commit253f2e37957e726677d545f5598aad56d7d33bf5 (patch)
tree08b770d19c906a85220aefd1cf224804e2f537b1 /src/drivers/driver_common.c
parent1682c6236017f28b8fdb3b791565c835e988a559 (diff)
downloadhostap-253f2e37957e726677d545f5598aad56d7d33bf5.zip
hostap-253f2e37957e726677d545f5598aad56d7d33bf5.tar.gz
hostap-253f2e37957e726677d545f5598aad56d7d33bf5.tar.bz2
P2P: Apply unsafe frequency rules to available channels
This adds a QCA vendor specific nl80211 event to allow the driver to indicate a list of frequency ranges that should be avoided due to interference or possible known co-existance constraints. Such frequencies are marked as not allowed for P2P use to force groups to be formed on different channels. If a P2P GO is operating on a channel that the driver recommended not to use, a notification about this is sent on the control interface and upper layer code may decide to tear down the group and optionally restart it on another channel. As a TODO item, this could also be changed to use CSA to avoid removing the group. Signed-hostap: 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 64bdddb..3058cd5 100644
--- a/src/drivers/driver_common.c
+++ b/src/drivers/driver_common.c
@@ -78,6 +78,7 @@ const char * event_to_string(enum wpa_event_type event)
E2S(DFS_NOP_FINISHED);
E2S(SURVEY);
E2S(SCAN_STARTED);
+ E2S(AVOID_FREQUENCIES);
}
return "UNKNOWN";