path: root/wpa_supplicant/wnm_sta.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary EVENT_RX_ACTIONJouni Malinen2013-12-291-13/+14
| | | | | | | | | | | | 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 Target BSSID into BSS Transition Management ResponseJouni Malinen2013-12-271-1/+9
| | | | | | | P802.11-REVmc clarifies that the Target BSSID field is always present hen status code is zero, so match that requirement. Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Use nonzero dialog token in BSS Transition Management QueryJouni Malinen2013-12-271-1/+1
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Add debug logs to get the RSSI from the scan resultsSudha Daram2013-12-261-0/+12
| | | | | | | | This commit adds few more debug prints to log the RSSI information from the scanned BSSIDs and the current connected BSSID when comparing neighbor results during WNM Transition Management Request processing. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Make ESS Disassoc Imminent event more convenient to useJouni Malinen2013-05-231-3/+13
| | | | | | | | Define a proper event prefix and include additional information to allow ESS Dissassociation Imminent event to be used in a wpa_cli action script. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Do not reject ESS Disassoc ImminentJouni Malinen2013-05-231-4/+8
| | | | | | | This indication is not expected to include candidates, so do not reject it based on that. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Use defines for BSS Trans Mgmt field valuesJouni Malinen2013-05-231-10/+11
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Add sending of BSS Transition Management QueryVinayak Kamath2013-05-161-0/+35
| | | | | | | 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-16/+311
| | | | | | Process the neighbor report received in BSS Management Request frames. Signed-hostap: Vinayak Kamath <vkamat@codeaurora.org>
* WNM: Additional BSS Transition Management capabilityJouni Malinen2012-12-221-24/+103
| | | | | | | | | | | | | | | Add some more functionality for BSS Transition Management: - advertise support for BSS Transition Management in extended capabilities element - add hostapd.conf parameter bss_transition=1 for enabling support for BSS Transition Management - add "hostapd_cli disassoc_imminent <STA> <num TBTTs>" for sending disassociation imminent notifications for testing purposes - wpa_supplicant: trigger a new scan to find another BSS if the current AP indicates disassociation imminent (TODO: the old AP needs to be marked to use lower priority to avoid re-selecting it) Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Fix BSS Transition Management Request processingJouni Malinen2012-12-221-3/+37
| | | | | | | | | The WNM-Sleep Mode handler took over WNM Action frame processing without addressing the previously implemented WNM handler. Fix this by moving the BSs Transition Management processing into wnm_sta.c to share a single handler function for WNM Action frames. Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Fix memory leak on error pathJouni Malinen2012-12-161-0/+2
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Use CONFIG_WNM more consistentlyJouni Malinen2012-12-161-3/+0
| | | | | | | | | | Replace CONFIG_IEEE80211V with CONFIG_WNM to get more consistent build options for WNM-Sleep Mode operations. Previously it was possible to define CONFIG_IEEE80211V without CONFIG_WNM which would break the build. In addition, IEEE 802.11v has been merged into IEEE Std 802.11-2012 and WNM is a better term to use for this new functionality anyway. Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Split WNM-Sleep Mode Response processing into separate functionsJouni Malinen2012-12-161-77/+89
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Use defined macros for WNM-Sleep Mode Action Type valuesJouni Malinen2012-12-161-4/+4
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Remove unnecessary extra indentation levelJouni Malinen2012-12-161-49/+44
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* WNM: Fix GTK/IGTK parsing for WNM-Sleep Mode Response frameJouni Malinen2012-12-161-1/+40
| | | | | | | These fields do not use AES keywrap. Instead, they are protected with management frame protection (and not included if PMF is disabled). Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Accept GTK update version of WNM-Sleep Response statusJouni Malinen2012-12-161-1/+2
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Use Dialog Token value 1 in WNM-Sleep Mode RequestJouni Malinen2012-12-161-0/+1
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Add option for passing TFS request from external programsJouni Malinen2012-12-161-11/+30
| | | | | | | | 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: Remove unnecessary path component from includesJouni Malinen2012-12-161-2/+2
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Add ctrl_iface command for sending WNM-Sleep Mode RequestJouni Malinen2012-12-161-2/+2
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Remove unused variableJouni Malinen2012-12-161-4/+0
| | | | Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* WNM: Add WNM-Sleep Mode for station modeXi Chen2012-08-011-0/+248
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>