aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>2015-09-08 09:46:20 (GMT)
committerJouni Malinen <j@w1.fi>2015-10-03 17:30:40 (GMT)
commit98b05081215dee5628d6568179899c3c20fb105e (patch)
tree648e0f5c1130401d510122375c44d2451a4c27bc /wpa_supplicant/config.h
parent3bafb0d842a9c5b07f66eda43a100a8af1fd0bba (diff)
downloadhostap-98b05081215dee5628d6568179899c3c20fb105e.zip
hostap-98b05081215dee5628d6568179899c3c20fb105e.tar.gz
hostap-98b05081215dee5628d6568179899c3c20fb105e.tar.bz2
P2P: Implement P2P_GO_FREQ_MOVE_SCM_ECSA policy
Add new GO frequency move policy. The P2P_GO_FREQ_MOVE_SCM_ECSA prefers SCM if all the clients advertise eCSA support and the candidate frequency is one of the group common frequencies. Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index 627f38b..68d64fa 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -761,12 +761,17 @@ struct wpa_config {
* frequency list of the local device and the peer device.
*
* @P2P_GO_FREQ_MOVE_STAY: Prefer to stay on the current frequency.
+ *
+ * @P2P_GO_FREQ_MOVE_SCM_ECSA: Same as
+ * P2P_GO_FREQ_MOVE_SCM_PEER_SUPPORTS but a transition is possible only
+ * if all the group members advertise eCSA support.
*/
enum {
P2P_GO_FREQ_MOVE_SCM = 0,
P2P_GO_FREQ_MOVE_SCM_PEER_SUPPORTS = 1,
P2P_GO_FREQ_MOVE_STAY = 2,
- P2P_GO_FREQ_MOVE_MAX = P2P_GO_FREQ_MOVE_STAY,
+ P2P_GO_FREQ_MOVE_SCM_ECSA = 3,
+ P2P_GO_FREQ_MOVE_MAX = P2P_GO_FREQ_MOVE_SCM_ECSA,
} p2p_go_freq_change_policy;
#define DEFAULT_P2P_GO_FREQ_MOVE P2P_GO_FREQ_MOVE_STAY