@@ -1853,6 +1853,7 @@ void wpa_config_free(struct wpa_config *config)
os_free(config->p2p_ssid_postfix);
os_free(config->pssid);
os_free(config->p2p_pref_chan);
+ os_free(config->autoscan);
os_free(config);
}
@@ -2872,7 +2873,8 @@ static const struct global_parse_data global_fields[] = {
{ INT_RANGE(disassoc_low_ack, 0, 1), 0 },
{ INT_RANGE(interworking, 0, 1), 0 },
{ FUNC(hessid), 0 },
- { INT_RANGE(access_network_type, 0, 15), 0 }
+ { INT_RANGE(access_network_type, 0, 15), 0 },
+ { STR(autoscan), 0 }
};
#undef FUNC
@@ -611,6 +611,15 @@ struct wpa_config {
* Homogeneous ESS. This is used only if interworking is enabled.
*/
u8 hessid[ETH_ALEN];
+
+ /**
+ * autoscan - Automatic scan parameters or %NULL if none
+ *
+ * This is an optional set of parameters for automatic scanning
+ * within an interface in following format:
+ * <autoscan module name>:<module parameters>
+ */
+ char *autoscan;
};