]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Allow channels to be removed from P2P use
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 17 Feb 2012 20:57:13 +0000 (22:57 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 17 Feb 2012 20:57:13 +0000 (22:57 +0200)
commit6f3bc72be006ee9da35091bfc7ee349d96e1d8de
tree8a821b8f98be5952212b67dccf73a6b723ff591b
parentb8a8d6774bf045f72d76fb4ac3dd557c4ee9f369
P2P: Allow channels to be removed from P2P use

A list of disallowed frequencies for P2P channel list can now be
configured with P2P_SET disallow_freq. The frequencies (or frequency
pairs) are comma separated. For example:
wpa_cli p2p_set disallow_freq 2462,5000-6000

The allowed P2P channel list is constructed by removing explicitly
disallowed channels from the channel list received from the driver.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/ctrl_iface.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/wpa_supplicant.c
wpa_supplicant/wpa_supplicant_i.h