aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config_ssid.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-03-27 05:45:50 (GMT)
committerJouni Malinen <j@w1.fi>2010-03-27 05:45:50 (GMT)
commitb766a9a2938b555521b05eecb12685e73b29df1b (patch)
treece4ea8e77beef0a3752ff201e2a8fedf326189d4 /wpa_supplicant/config_ssid.h
parent9fad706c686dff097bcbffe3d335eb93f76ab135 (diff)
downloadhostap-b766a9a2938b555521b05eecb12685e73b29df1b.zip
hostap-b766a9a2938b555521b05eecb12685e73b29df1b.tar.gz
hostap-b766a9a2938b555521b05eecb12685e73b29df1b.tar.bz2
Add freq_list network configuration parameter
This can be used to limit which frequencies are considered when selecting a BSS. This is somewhat similar to scan_freq, but will also affect any scan results regardless of which program triggered the scan.
Diffstat (limited to 'wpa_supplicant/config_ssid.h')
-rw-r--r--wpa_supplicant/config_ssid.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/wpa_supplicant/config_ssid.h b/wpa_supplicant/config_ssid.h
index 6056c9c..25e87aa 100644
--- a/wpa_supplicant/config_ssid.h
+++ b/wpa_supplicant/config_ssid.h
@@ -363,6 +363,16 @@ struct wpa_ssid {
* <bgscan module name>:<module parameters>
*/
char *bgscan;
+
+ /**
+ * freq_list - Array of allowed frequencies or %NULL for all
+ *
+ * This is an optional zero-terminated array of frequencies in
+ * megahertz (MHz) to allow for selecting the BSS. If set, scan results
+ * that do not match any of the specified frequencies are not
+ * considered when selecting a BSS.
+ */
+ int *freq_list;
};
#endif /* CONFIG_SSID_H */