fragattacks/src
Jouni Malinen 25ef8529c1 P2P: Add support for IP address assignment in 4-way handshake
This new mechanism allows P2P Client to request an IPv4 address from the
GO as part of the 4-way handshake to avoid use of DHCP exchange after
4-way handshake. If the new mechanism is used, the assigned IP address
is shown in the P2P-GROUP-STARTED event on the client side with
following new parameters: ip_addr, ip_mask, go_ip_addr. The assigned IP
address is included in the AP-STA-CONNECTED event on the GO side as a
new ip_addr parameter. The IP address is valid for the duration of the
association.

The IP address pool for this new mechanism is configured as global
wpa_supplicant configuration file parameters ip_addr_go, ip_addr_mask,
ip_addr_star, ip_addr_end. For example:

ip_addr_go=192.168.42.1
ip_addr_mask=255.255.255.0
ip_addr_start=192.168.42.2
ip_addr_end=192.168.42.100

DHCP mechanism is expected to be enabled at the same time to support P2P
Devices that do not use the new mechanism. The easiest way of managing
the IP addresses is by splitting the IP address range into two parts and
assign a separate range for wpa_supplicant and DHCP server.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
2014-01-27 21:44:26 +02:00
..
ap P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
common P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
crypto OpenSSL: Include sha1/sha256 header files to verify declarations 2013-12-31 19:58:16 +02:00
drivers P2P: Apply unsafe frequency rules to available channels 2014-01-27 11:49:05 +02:00
eap_common Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
eap_peer WPS NFC: Process new style handover select 2014-01-27 21:10:55 +02:00
eap_server Remove PEAPv2 support 2014-01-07 10:45:11 +02:00
eapol_auth Convert EAPOL authenticator dump into easier to parse format 2014-01-02 17:37:21 +02:00
eapol_supp Skip network disabling on expected EAP failure 2014-01-08 16:42:15 +02:00
l2_packet Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02:00
p2p P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
radius Declare wpa_debug_* variables in src/utils/wpa_debug.h 2013-12-31 19:29:52 +02:00
rsn_supp P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
tls Use ARRAY_SIZE() macro 2013-10-26 17:49:05 +03:00
utils Fix req_scan-deplete-timeout and update eloop API for this 2014-01-07 10:45:10 +02:00
wps P2P NFC: Report connection handover as trigger for P2P 2014-01-27 21:10:56 +02:00
lib.rules Add rules for building src/crypto as a library 2009-12-05 22:03:46 +02:00
Makefile P2P: Add initial version of P2P Module 2010-09-09 07:17:17 -07:00