aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/hostapd.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-01-31 12:38:44 (GMT)
committerJouni Malinen <j@w1.fi>2017-02-01 16:17:39 (GMT)
commit91d91abf6f9bf420643a9245b63f5ac8c6bbb18a (patch)
tree8b487f7cd806f46c8ee06a0ffe216b20d5656add /src/ap/hostapd.h
parent54b04d6f39995c7ec5ca1ba598d48867d5365e64 (diff)
downloadhostap-91d91abf6f9bf420643a9245b63f5ac8c6bbb18a.zip
hostap-91d91abf6f9bf420643a9245b63f5ac8c6bbb18a.tar.gz
hostap-91d91abf6f9bf420643a9245b63f5ac8c6bbb18a.tar.bz2
FILS: DHCP relay for HLP requests
The new dhcp_server configuration parameter can now be used to configure hostapd to act as a DHCP relay for DHCPDISCOVER messages received as FILS HLP requests. The dhcp_rapid_commit_proxy=1 parameter can be used to configure hostapd to convert 4 message DHCP exchange into a 2 message exchange in case the DHCP server does not support DHCP rapid commit option. The fils_hlp_wait_time parameter can be used to set the time hostapd waits for an HLP response. This matches the dot11HLPWaitTime in IEEE Std 802.11ai-2016. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/ap/hostapd.h')
-rw-r--r--src/ap/hostapd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ap/hostapd.h b/src/ap/hostapd.h
index bc0ac23..5ab623d 100644
--- a/src/ap/hostapd.h
+++ b/src/ap/hostapd.h
@@ -303,6 +303,8 @@ struct hostapd_data {
u8 range_req_token;
unsigned int lci_req_active:1;
unsigned int range_req_active:1;
+
+ int dhcp_sock; /* UDP socket used with the DHCP server */
};