Interworking: Add support for configuring arbitrary ANQP-elements
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 7 Oct 2015 13:14:09 +0000 (16:14 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 7 Oct 2015 14:07:21 +0000 (17:07 +0300)
commit695dbbea8808c9e5057b3ea2e06fc157b32035a2
tree47d62fb584aeb0688b8d8c3c1ab5faaf2bf5770d
parent3f21b311b2a1f21277fda5fe92f9778e83c8f3d3
Interworking: Add support for configuring arbitrary ANQP-elements

The new hostapd configuration parameter anqp_elem can now be used to
configure arbitrary ANQP-elements for the GAS/ANQP server. In addition
to supporting new elements, this can be used to override previously
supported elements if some special values are needed (mainly for testing
purposes).

The parameter uses following format:
anqp_elem=<InfoID>:<hexdump of payload>

For example, AP Geospatial Location ANQP-element with unknown location:
anqp_elem=265:0000
and AP Civic Location ANQP-element with unknown location:
anqp_elem=266:000000

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
hostapd/config_file.c
hostapd/hostapd.conf
src/ap/ap_config.c
src/ap/ap_config.h
src/ap/gas_serv.c
src/ap/gas_serv.h