aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-02 11:57:44 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-02 11:57:44 (GMT)
commit8d923a4acfb8c43527cc9fe9571ebf341b8e0502 (patch)
tree4bfa7a044e88b9d3c0b0ec8cab743be4369c1d99 /wpa_supplicant/bss.h
parent59f2caa9258b2212de0f44a71ebaac112ddf9956 (diff)
downloadhostap-8d923a4acfb8c43527cc9fe9571ebf341b8e0502.zip
hostap-8d923a4acfb8c43527cc9fe9571ebf341b8e0502.tar.gz
hostap-8d923a4acfb8c43527cc9fe9571ebf341b8e0502.tar.bz2
Only expire scanned BSSes based on new scan results
Get more information about scans when updating BSS table information. This allows the missing-from-scans expiration rule to work properly when only partial set of channels or SSIDs are being scanned.
Diffstat (limited to 'wpa_supplicant/bss.h')
-rw-r--r--wpa_supplicant/bss.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/bss.h b/wpa_supplicant/bss.h
index 8ef52bc..2242222 100644
--- a/wpa_supplicant/bss.h
+++ b/wpa_supplicant/bss.h
@@ -1,6 +1,6 @@
/*
* BSS table
- * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
+ * Copyright (c) 2009-2010, Jouni Malinen <j@w1.fi>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -69,7 +69,8 @@ struct wpa_bss {
void wpa_bss_update_start(struct wpa_supplicant *wpa_s);
void wpa_bss_update_scan_res(struct wpa_supplicant *wpa_s,
struct wpa_scan_res *res);
-void wpa_bss_update_end(struct wpa_supplicant *wpa_s);
+void wpa_bss_update_end(struct wpa_supplicant *wpa_s, struct scan_info *info,
+ int new_scan);
int wpa_bss_init(struct wpa_supplicant *wpa_s);
void wpa_bss_deinit(struct wpa_supplicant *wpa_s);
struct wpa_bss * wpa_bss_get(struct wpa_supplicant *wpa_s, const u8 *bssid,