aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/gas_query.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2014-01-23 09:18:20 (GMT)
committerJouni Malinen <j@w1.fi>2014-01-23 09:50:28 (GMT)
commitc5a64e2d51d978f8d53bebd8f9c6ee37fd649716 (patch)
treebcccb5ac548d19a086b62b502861bcb923765f4f /wpa_supplicant/gas_query.h
parent5ce00d09c0b65999c27e4a7dbf5544d452447d2a (diff)
downloadhostap-c5a64e2d51d978f8d53bebd8f9c6ee37fd649716.zip
hostap-c5a64e2d51d978f8d53bebd8f9c6ee37fd649716.tar.gz
hostap-c5a64e2d51d978f8d53bebd8f9c6ee37fd649716.tar.bz2
GAS client: Use Protected Dual of Public Action frames with PMF
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>
Diffstat (limited to 'wpa_supplicant/gas_query.h')
-rw-r--r--wpa_supplicant/gas_query.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/gas_query.h b/wpa_supplicant/gas_query.h
index 5c3d161..ad13490 100644
--- a/wpa_supplicant/gas_query.h
+++ b/wpa_supplicant/gas_query.h
@@ -17,7 +17,8 @@ struct gas_query;
struct gas_query * gas_query_init(struct wpa_supplicant *wpa_s);
void gas_query_deinit(struct gas_query *gas);
int gas_query_rx(struct gas_query *gas, const u8 *da, const u8 *sa,
- const u8 *bssid, const u8 *data, size_t len, int freq);
+ const u8 *bssid, u8 categ, const u8 *data, size_t len,
+ int freq);
/**
* enum gas_query_result - GAS query result