aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-10-22 16:10:56 (GMT)
committerJouni Malinen <j@w1.fi>2013-10-22 21:44:07 (GMT)
commitaf8a827b90ad504711bf1c156b715103878a934d (patch)
treeef8100ad8d33aa08932c654d8c36ab29fa47f3f1 /wpa_supplicant/wpa_supplicant_i.h
parent941dae0a2e2f6cacee90d2ea8fcd7e94229d3528 (diff)
downloadhostap-af8a827b90ad504711bf1c156b715103878a934d.zip
hostap-af8a827b90ad504711bf1c156b715103878a934d.tar.gz
hostap-af8a827b90ad504711bf1c156b715103878a934d.tar.bz2
Make frequency range list routines more general
This allows the frequency range list implementation to be shared for other purposes. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant_i.h')
-rw-r--r--wpa_supplicant/wpa_supplicant_i.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/wpa_supplicant/wpa_supplicant_i.h b/wpa_supplicant/wpa_supplicant_i.h
index d44f0a2..eea7be9 100644
--- a/wpa_supplicant/wpa_supplicant_i.h
+++ b/wpa_supplicant/wpa_supplicant_i.h
@@ -227,12 +227,6 @@ struct p2p_srv_upnp {
char *service;
};
-struct wpa_freq_range {
- unsigned int min;
- unsigned int max;
-};
-
-
/**
* struct wpa_global - Internal, global data for all %wpa_supplicant interfaces
*
@@ -257,8 +251,7 @@ struct wpa_global {
struct dl_list p2p_srv_upnp; /* struct p2p_srv_upnp */
int p2p_disabled;
int cross_connection;
- struct wpa_freq_range *p2p_disallow_freq;
- unsigned int num_p2p_disallow_freq;
+ struct wpa_freq_range_list p2p_disallow_freq;
enum wpa_conc_pref {
WPA_CONC_PREF_NOT_SET,
WPA_CONC_PREF_STA,