aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.h
diff options
context:
space:
mode:
authorAmar Singhal <asinghal@qca.qualcomm.com>2013-02-07 10:27:52 (GMT)
committerJouni Malinen <j@w1.fi>2013-02-07 10:27:52 (GMT)
commit9f42d49c55f233bf536e3a06dbe9a4e5ef0249aa (patch)
treeb2f583ba27f982f6c88b024fbd4598b13e5d155e /wpa_supplicant/bss.h
parentcc03d0fef3bf5913f8e11b7e998c10bf36a3c07f (diff)
downloadhostap-9f42d49c55f233bf536e3a06dbe9a4e5ef0249aa.zip
hostap-9f42d49c55f233bf536e3a06dbe9a4e5ef0249aa.tar.gz
hostap-9f42d49c55f233bf536e3a06dbe9a4e5ef0249aa.tar.bz2
Fix BSS RANGE command for no exact id match cases
The RANGE=N1-N2 command did not return any entries in some cases where N1 does not match with any BSS entry. Fix this by allow entries to be fetched even without knowing the exact id values. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/bss.h')
-rw-r--r--wpa_supplicant/bss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/bss.h b/wpa_supplicant/bss.h
index 01f6c59..ab2c47e 100644
--- a/wpa_supplicant/bss.h
+++ b/wpa_supplicant/bss.h
@@ -111,6 +111,8 @@ struct wpa_bss * wpa_bss_get_bssid(struct wpa_supplicant *wpa_s,
struct wpa_bss * wpa_bss_get_p2p_dev_addr(struct wpa_supplicant *wpa_s,
const u8 *dev_addr);
struct wpa_bss * wpa_bss_get_id(struct wpa_supplicant *wpa_s, unsigned int id);
+struct wpa_bss * wpa_bss_get_id_range(struct wpa_supplicant *wpa_s,
+ unsigned int idf, unsigned int idl);
const u8 * wpa_bss_get_ie(const struct wpa_bss *bss, u8 ie);
const u8 * wpa_bss_get_vendor_ie(const struct wpa_bss *bss, u32 vendor_type);
struct wpabuf * wpa_bss_get_vendor_ie_multi(const struct wpa_bss *bss,