aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/gas_query.h
Commit message (Collapse)AuthorAgeFilesLines
* HS 2.0: Fix PMF-in-use check for ANQP Venue URL processingJouni Malinen2018-12-081-0/+1
| | | | | | | | | | | | | | The previous implementation did not check that we are associated with the sender of the GAS response before checking for PMF status. This could have accepted Venue URL when not in associated state. Fix this by explicitly checking for association with the responder first. This fixes an issue that was detected, e.g., with these hwsim test case sequences: gas_anqp_venue_url_pmf gas_anqp_venue_url gas_prot_vs_not_prot gas_anqp_venue_url Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* DPP: Use wildcard BSSID in GAS query framesJouni Malinen2018-02-101-1/+1
| | | | | | | | | | | Force use of the wildcard BSSID address in GAS query frames with DPP regardless of how the gas_address3 configuration parameter is set. DPP specification mandates this and the use of GAS here is really outside the context of a BSS, so using the wildcard BSSID makes sense even for the corner case of Configurator running on a known AP (where IEEE 802.11 standard would allow the BSSID of the AP to be used). Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
* DPP: Stop pending GAS client operation on DPP_STOP_LISTENJouni Malinen2017-11-291-0/+2
| | | | | | | This makes the operation more complete in stopping all ongoing DPP related functionality. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
* GAS: Remove unused gas_query_cancel()Jouni Malinen2016-06-271-2/+0
| | | | | | | | This function was added with the initial GAS implementation, but there was no user for it at the time and no clear use now either, so remove the unused function and the related GAS query reason code. Signed-off-by: Jouni Malinen <j@w1.fi>
* GAS client: Use Protected Dual of Public Action frames with PMFJouni Malinen2014-01-231-1/+2
| | | | | | | | | | When GAS is used with PMF negotiated, Protected Dual of Public Action frames are expected to be used instead of Public Action frames, i.e., the GAS/ANQP frames are expected to be encrypted. Conver Public Action GAS queries to use Dual of Public Action frame if PMF has been negotiated with the AP to which the frame is being sent. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Use radio work for GAS requestsJouni Malinen2014-01-071-1/+0
| | | | | | | | | Avoid concurrent GAS operations with any other exclusive use of the radio by using the radio work queuing mechanism. This replaces some of the earlier constraints on concurrent operations with the more generic wpa_radio work concept. Signed-hostap: Jouni Malinen <j@w1.fi>
* GAS: Do not start new scan operation during an ongoing GAS queryJouni Malinen2013-10-211-0/+1
| | | | | | | These operations can have conflicting offchannel requirements, so wait with a new scan trigger until a pending GAS query has been completed. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
* Document gas_query.c functionsJouni Malinen2012-12-221-0/+3
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by AtherosJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from files that were initially contributed by Atheros Communications or Qualcomm Atheros. Signed-hostap: Jouni Malinen <j@w1.fi>
* GAS: Add a generic GAS query moduleJouni Malinen2011-09-291-0/+61
This implements GAS request mechanism that is aimed at being used to replace use case specific GAS/ANQP implementations in the future. Compared to the earlier implementation in P2P SD, this implementation includes support for multiple concurrent requests and more thorough validation of frames against the pending query data. GAS header processing, including comeback and reassembly, are handled within gas_query.c and the users of this module will only need to provide the Query Request and process the (possibly reassembled) Query Response.