wpa_supplicant: Add support for IPv6 with UDP ctrl_iface
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Mon, 24 Feb 2014 12:22:16 +0000 (13:22 +0100)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2014 14:43:01 +0000 (16:43 +0200)
commit4db216fcf72efbccad90e723de4508fd1697bb2f
tree6aa8aa0c0d02034639009147987ca9d9af9e85cd
parente2364d162a991f5bd1364671a4cfb6cc87de08d9
wpa_supplicant: Add support for IPv6 with UDP ctrl_iface

Add IPv6 support when using udp/udp-remote control interface using the
following new build configuration options:

CONFIG_CTRL_IFACE=udp6
CONFIG_CTRL_IFACE=udp6-remote

This is useful for testing, while we don't need to assign IPv4 address
(static or using DHCP) and can just use auto configured IPv6 addresses
(link local, which is based on the MAC address). Also add scope id
support for link local case.

For example,
./wpa_cli
./wpa_cli -i ::1,9877
./wpa_cli -i fe80::203:7fff:fe05:69%wlan0,9877

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
src/common/wpa_ctrl.c
wpa_supplicant/Makefile
wpa_supplicant/ctrl_iface_udp.c
wpa_supplicant/defconfig