OSDN Git Service

private_lib: move WPA_EVENT_DRIVER_STATE to driver_cmd_common.h
[android-x86/external-wpa_supplicant_8.git] / wpa_supplicant / config.h
index a1a5239..3fe46e3 100644 (file)
@@ -24,6 +24,7 @@
 #define DEFAULT_BSS_EXPIRATION_SCAN_COUNT 2
 #define DEFAULT_MAX_NUM_STA 128
 #define DEFAULT_ACCESS_NETWORK_TYPE 15
+#define DEFAULT_SCAN_CUR_FREQ 0
 
 #include "config_ssid.h"
 #include "wps/wps.h"
@@ -653,6 +654,14 @@ struct wpa_config {
        int *freq_list;
 
        /**
+        * scan_cur_freq - Whether to scan only the current channel
+        *
+        * If true, attempt to scan only the current channel if any other
+        * VIFs on this radio are already associated on a particular channel.
+        */
+       int scan_cur_freq;
+
+       /**
         * changed_parameters - Bitmap of changed parameters since last update
         */
        unsigned int changed_parameters;
@@ -867,6 +876,17 @@ struct wpa_config {
         * sched_scan_interval -  schedule scan interval
         */
        unsigned int sched_scan_interval;
+
+       /**
+        * tdls_external_control - External control for TDLS setup requests
+        *
+        * Enable TDLS mode where external programs are given the control
+        * to specify the TDLS link to get established to the driver. The
+        * driver requests the TDLS setup to the supplicant only for the
+        * specified TDLS peers.
+        *
+        */
+       int tdls_external_control;
 };