GAS client: Use Protected Dual of Public Action frames with PMF
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Jan 2014 09:18:20 +0000 (11:18 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 23 Jan 2014 09:50:28 +0000 (11:50 +0200)
commitc5a64e2d51d978f8d53bebd8f9c6ee37fd649716
treebcccb5ac548d19a086b62b502861bcb923765f4f
parent5ce00d09c0b65999c27e4a7dbf5544d452447d2a
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>
src/drivers/driver_nl80211.c
wpa_supplicant/events.c
wpa_supplicant/gas_query.c
wpa_supplicant/gas_query.h