aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-07-21 00:02:19 +0300
committerArik Nemtsov <arik@wizery.com>2012-08-02 13:04:01 +0300
commitaf943c964ead5eb6552013fbc1cbd56e6bb8d551 (patch)
treefaf5e0831afca5b31b9e9fe2ba1c946d9c8049d7 /src
parentf7a1a0e0c350b461d222a2416934e3ce55d9b306 (diff)
downloadexternal_wpa_supplicant_8_ti-af943c964ead5eb6552013fbc1cbd56e6bb8d551.zip
external_wpa_supplicant_8_ti-af943c964ead5eb6552013fbc1cbd56e6bb8d551.tar.gz
external_wpa_supplicant_8_ti-af943c964ead5eb6552013fbc1cbd56e6bb8d551.tar.bz2
P2P: Resolve frequency conflicts between STA and P2P (BRCM)
Upon association check whether there's a a frequency conflict given that no support for multi channel. In case there's a freq conflict with an existing P2P_GO or P2P_CLI decide how to resolve it (which one to disable or disconnect) according to the priority configuration. Effectively on Android JB, STA is always prioritized over P2P so in case of a conflict P2P will be disconnected so that STA can associate on a different channel. Signed-off-by: Eyal Shapira <eyal@wizery.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/wpa_ctrl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/wpa_ctrl.h b/src/common/wpa_ctrl.h
index 2da58c9..a440b69 100644
--- a/src/common/wpa_ctrl.h
+++ b/src/common/wpa_ctrl.h
@@ -56,6 +56,10 @@ extern "C" {
#define WPA_EVENT_BSS_ADDED "CTRL-EVENT-BSS-ADDED "
/** A BSS entry was removed (followed by BSS entry id and BSSID) */
#define WPA_EVENT_BSS_REMOVED "CTRL-EVENT-BSS-REMOVED "
+#ifdef ANDROID_P2P
+/** Notify the Userspace about the freq conflict */
+#define WPA_EVENT_FREQ_CONFLICT "CTRL-EVENT-FREQ-CONFLICT "
+#endif
/** WPS overlap detected in PBC mode */
#define WPS_EVENT_OVERLAP "WPS-OVERLAP-DETECTED "