hostap/wpa_supplicant/examples
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
..
p2p P2P: Add D-Bus python script to perform Disconnect 2012-08-05 00:24:40 +03:00
60_wpa_supplicant
dbus-listen-preq.py DBus: Add ability to report probe requests 2012-04-01 21:14:48 +03:00
ieee8021x.conf
openCryptoki.conf
p2p-action-udhcp.sh
p2p-action.sh P2P: Add support for IP address assignment in 4-way handshake 2014-01-27 21:44:26 +02:00
plaintext.conf
udhcpd-p2p.conf
wep.conf
wpa-psk-tkip.conf
wpa2-eap-ccmp.conf
wpas-dbus-new-getall.py
wpas-dbus-new-signals.py Fix BSS property names in the example D-Bus script 2012-01-01 18:55:55 +02:00
wpas-dbus-new-wps.py
wpas-dbus-new.py
wpas-test.py
wps-ap-cli
wps-nfc.py NFC: Add no waiting and no multiple operations options for scripts 2013-04-27 22:15:23 +03:00