GAS: Add a generic GAS query module

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.
This commit is contained in:
Jouni Malinen 2011-09-28 19:44:25 +03:00 committed by Jouni Malinen
parent 0c840c33f7
commit 04ea7b7947
6 changed files with 556 additions and 0 deletions

View file

@ -1285,6 +1285,8 @@ endif
ifdef NEED_GAS
OBJS += ../src/common/gas.o
OBJS += gas_query.o
CFLAGS += -DCONFIG_GAS
endif
OBJS_wpa_rm := ctrl_iface.o mlme.o ctrl_iface_unix.o