]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/wpa_supplicant_i.h
P2P: Apply unsafe frequency rules to available channels
authorArif Hussain <c_arifh@qca.qualcomm.com>
Fri, 24 Jan 2014 14:14:29 +0000 (16:14 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 27 Jan 2014 09:49:05 +0000 (11:49 +0200)
commit253f2e37957e726677d545f5598aad56d7d33bf5
tree08b770d19c906a85220aefd1cf224804e2f537b1
parent1682c6236017f28b8fdb3b791565c835e988a559
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>
src/common/qca-vendor.h
src/common/wpa_ctrl.h
src/drivers/driver.h
src/drivers/driver_common.c
src/drivers/driver_nl80211.c
wpa_supplicant/events.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h