aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/bss.h
Commit message (Collapse)AuthorAgeFilesLines
* Interworking: Add ANQP query requestsJouni Malinen2011-10-161-0/+10
| | | | | | | | | | | Add mechanism for using GAS/ANQP to query Interworking related information from APs. The received information is stored in the BSS table and can be viewed with ctrl_iface BSS command. New ctrl_iface command ANQP_GET can be used to fetch ANQP elements from a specific AP. Additional commands FETCH_ANQP and STOP_FETCH_ANQP can be used to initiate and stop an iteration through all APs in the BSS table that indicate support Interworking to fetch ANQP elements from them.
* dbus: Add D-Bus methods to flush the BSS cacheSam Leffler2011-03-201-0/+2
| | | | | | | | | | | Add an "Interface.FlushBSS" method to the new D-Bus API and a "flush" method to the old API. Both take an age parameter that is a threshold (in seconds) for selecting entries to evict. Setting this parameter to zero flushes all entries from the cache. This mechanism is useful for a connection manager to clear state at startup and on resume (where the age parameter may be used to hold onto recent/valid data).
* Fetch IEs from both Beacon and Probe Response frames if availableJouni Malinen2010-01-161-1/+4
| | | | | | | | 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.
* dbus: Change BSS property MaxRate to RatesWitold Sowa2010-01-041-1/+2
| | | | | Instead of exposing maximum BSS bit rate, expose sorted array of all supported rates.
* Do not store raw scan resultsJouni Malinen2010-01-021-0/+2
| | | | | Use scan results to update the BSS table and to select the BSS for connection, but do not store the results for longer time.
* Only expire scanned BSSes based on new scan resultsJouni Malinen2010-01-021-2/+3
| | | | | | 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.
* WPS: Use BSS table instead of raw scan resultsJouni Malinen2010-01-021-0/+2
|
* Add wpa_bss_get_max_rate() to match with old scan_res helpersJouni Malinen2009-12-271-0/+1
|
* Add BSS list sorted by id and add some helper functionsJouni Malinen2009-12-271-0/+9
| | | | | | | | | This allows the BSS list to be iterated in order of increasing id to avoid problems with new scans reordering entries. The order on the wpa_s->bss list changes with most recently updated entries being moved to the tail of the list while wpa_s->bss_id list maintains its order with new entries being added to the tail and old entries being removed when they expire.
* Add BSS table to track scan results without dropping informationJouni Malinen2009-12-271-0/+74
Collect information from scan results into a BSS table that will not expire information as quickly as scan results where every new scan, no matter for how limited set of channels/SSIDs, clears all old information. For now, this is only used for D-Bus BSS added/removed notifications, but this will likely be extended to be used internally instead of the scan results to better support partial scans.