GAS server: Add support for ANQP Venue Name element

The new venue_name configuration parameter can now be used to configure
the ANQP Venue Name values that stations can request through GAS.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2012-02-26 22:34:21 +02:00 committed by Jouni Malinen
parent 3eaee4bf4b
commit 648cc711a5
6 changed files with 96 additions and 0 deletions

View file

@ -142,6 +142,12 @@ struct hostapd_roaming_consortium {
u8 oi[MAX_ROAMING_CONSORTIUM_LEN];
};
struct hostapd_venue_name {
u8 lang[3];
u8 name_len;
u8 name[252];
};
/**
* struct hostapd_bss_config - Per-BSS configuration
*/
@ -361,6 +367,10 @@ struct hostapd_bss_config {
unsigned int roaming_consortium_count;
struct hostapd_roaming_consortium *roaming_consortium;
/* IEEE 802.11u - Venue Name duples */
unsigned int venue_name_count;
struct hostapd_venue_name *venue_name;
u16 gas_comeback_delay;
int gas_frag_limit;