aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.h
Commit message (Collapse)AuthorAgeFilesLines
* WNM: Add candidate list to BSS transition queryAvraham Stern2016-02-221-1/+1
| | | | | | | | | | Add an option to configure a candidate list to BSS transition query ("list" as the second argument to WNM_BSS_QUERY). The candidate list is built from the available scan results. If no updated scan results (< 10 sec) are available, the command fails. Signed-off-by: David Spinadel <david.spinadel@intel.com> Signed-off-by: Avraham Stern <avraham.stern@intel.com>
* WNM: Use recent scan results on BSS transition requestJouni Malinen2014-11-221-2/+3
| | | | | | | | | If the last scans are recent (for now, less than ten seconds old), use them instead of triggering a new scan when a BSS Transition Management Request frame is received. As a fallback, allow a new scan to be triggered if no matches were found. Signed-off-by: Jouni Malinen <j@w1.fi>
* WNM: Optimize BSS transition management scansJouni Malinen2014-11-221-0/+1
| | | | | | | | When the list of preferred transition candidates is received, use the identified channels to optimize the following scan so that no time is wasted on other channels. Signed-off-by: Jouni Malinen <j@w1.fi>
* WNM: Move transition candidate list processing to normal scanJouni Malinen2014-11-221-0/+14
| | | | | | This makes it easier to optimize transition request processing. Signed-off-by: Jouni Malinen <j@w1.fi>
* WNM: Mark wnm_scan_response() staticJouni Malinen2014-11-221-3/+0
| | | | | | This function is not used outside wnm_sta.c. Signed-off-by: Jouni Malinen <j@w1.fi>
* WNM: Simplify how candidate subelements are storedJouni Malinen2014-11-221-31/+16
| | | | | | | | There is no need to use a separately allocated data structures for this. A bitfield indicating which information is present and variables within struct neighbor_report are simpler to use and more efficient. Signed-off-by: Jouni Malinen <j@w1.fi>
* WNM: Convert BSSID Info into a u32Jouni Malinen2014-11-221-1/+1
| | | | | | This is more convenient to use than u8 array. Signed-off-by: Jouni Malinen <j@w1.fi>
* WNM: Remove unnecessary present flagJouni Malinen2014-04-071-8/+0
| | | | | | | The structures are all allocated, so the pointer can be compared to NULL to determine whether the subelement was present. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Fix neighbor report subelement formatsJouni Malinen2014-04-071-6/+6
| | | | | | Number of of subelements were using incorrect format definition. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* Remove unnecessary EVENT_RX_ACTIONJouni Malinen2013-12-291-4/+1
| | | | | | | | | | | | This driver event was used separately for some Action frames, but all the driver wrappers converted to this from information that would have been enough to indicate an EVENT_RX_MGMT event. In addition, the received event was then converted back to a full IEEE 802.11 management frame for processing in most cases. This is unnecessary complexity, so get rid of the extra path and use EVENT_RX_MGMT for Action frames as well as other management frame subtypes. Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Add sending of BSS Transition Management QueryVinayak Kamath2013-05-161-0/+2
| | | | | | | The new control interface command can be used to send a BSS Transition Management Query frame to the current AP. Signed-hostap: Vinayak Kamath <vkamat@codeaurora.org>
* WNM: Add neighbor report processing for BSS Transition ManagementVinayak Kamath2013-05-161-0/+67
| | | | | | Process the neighbor report received in BSS Management Request frames. Signed-hostap: Vinayak Kamath <vkamat@codeaurora.org>
* WNM: Add option for passing TFS request from external programsJouni Malinen2012-12-161-1/+1
| | | | | | | | The optional tfs_req=<hex dump> parameter can be added for the wnm_sleep command to specify the TFS request element to use in the WNM-Sleep Mode Request frame. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Add ctrl_iface command for sending WNM-Sleep Mode RequestJouni Malinen2012-12-161-1/+1
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Add WNM-Sleep Mode for station modeXi Chen2012-08-011-0/+21
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>