aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-16 14:11:05 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-16 14:11:05 (GMT)
commit8c0906542c06d862ffae10e2984330b28ed505a6 (patch)
treef5835fa68878ccbde2ac8e6db2a7c932718da352 /wpa_supplicant/bss.h
parent94627f6cc8be8693b6c6a7a6407fcf94ba0a7edb (diff)
downloadhostap-8c0906542c06d862ffae10e2984330b28ed505a6.zip
hostap-8c0906542c06d862ffae10e2984330b28ed505a6.tar.gz
hostap-8c0906542c06d862ffae10e2984330b28ed505a6.tar.bz2
Fetch IEs from both Beacon and Probe Response frames if available
This allows the driver wrappers to return two sets of IEs, so that the BSS code can use information from both Beacon and Probe Response frames if needed. For example, some Cisco APs seem to include more information in Wireless Provisioning Services IE when it is in the Beacon frame.
Diffstat (limited to 'wpa_supplicant/bss.h')
-rw-r--r--wpa_supplicant/bss.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/wpa_supplicant/bss.h b/wpa_supplicant/bss.h
index 2fa4863..1de4722 100644
--- a/wpa_supplicant/bss.h
+++ b/wpa_supplicant/bss.h
@@ -41,7 +41,8 @@ struct wpa_scan_res;
* @level: signal level
* @tsf: Timestamp of last Beacon/Probe Response frame
* @last_update: Time of the last update (i.e., Beacon or Probe Response RX)
- * @ie_len: length of the following IE field in octets
+ * @ie_len: length of the following IE field in octets (from Probe Response)
+ * @beacon_ie_len: length of the following Beacon IE field in octets
*
* This structure is used to store information about neighboring BSSes in
* generic format. It is mainly updated based on scan results from the driver.
@@ -65,7 +66,9 @@ struct wpa_bss {
u64 tsf;
struct os_time last_update;
size_t ie_len;
+ size_t beacon_ie_len;
/* followed by ie_len octets of IEs */
+ /* followed by beacon_ie_len octets of IEs */
};
void wpa_bss_update_start(struct wpa_supplicant *wpa_s);