FILS: Advertise ERP domain in FILS Indication element

Calculate the hashed realm from hostapd erp_domain configuration
parameter and add this to the FILS Indication element when ERP is
enabled.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
Jouni Malinen 2015-09-02 16:33:42 +03:00 committed by Jouni Malinen
parent c30ed45f45
commit 94f66e8a26
3 changed files with 36 additions and 1 deletions

View file

@ -455,5 +455,6 @@ int wpa_parse_cipher(const char *value);
int wpa_write_ciphers(char *start, char *end, int ciphers, const char *delim);
int wpa_select_ap_group_cipher(int wpa, int wpa_pairwise, int rsn_pairwise);
unsigned int wpa_mic_len(int akmp);
u16 fils_domain_name_hash(const char *domain);
#endif /* WPA_COMMON_H */