hostapd/src
Helmut Schaa e926bcffd8 hostapd: Inherit correct MAC address for AP VLAN interfaces
When using multiple vifs and dynamic vlan tagging is enabled on any
interface, the created AP VLAN interfaces get the BSSID of the first
AP mode interface instead of the BSSID of the corresponding AP mode
interface.

Example:

wlan0 - xx:xx:xx:xx:x0
wlan1 - xx:xx:xx:xx:x1

Assume a STA connects to the AP interface wlan1 and gets a dynamic
VLAN tag 100 assigned by the RADIUS server. Hostapd will create an AP
VLAN interface wlan1.100 but doesn't set an address for this interface
which results in wlan1.100 getting the same address as wlan0:

wlan1.100 - xx:xx:xx:xx:x0

As a result the STA that was moved to wlan1.100 isn't able to finish its
4-way handshake since mac80211 won't pass its frames to wlan1.100 due to
the different address.

To fix this issue make use of the address of the AP interface when
creating an AP VLAN interface.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
2011-02-24 21:25:40 +02:00
..
ap hostapd: Inherit correct MAC address for AP VLAN interfaces 2011-02-24 21:25:40 +02:00
common hostapd: Add require_ht configuration parameter 2011-02-09 15:08:47 +02:00
crypto Remove unneeded OpenSSL error messages from key/cert parsing 2011-02-22 22:19:55 +02:00
drivers nl80211: Use nl_atype() from libnl 2011-02-22 21:48:49 +02:00
eap_common EAP-pwd: Fix some interoperability issues 2011-01-16 13:12:07 +02:00
eap_peer EAP-pwd: Fix some interoperability issues 2011-01-16 13:12:07 +02:00
eap_server P2P: Allow WPS_PBC command on GO to select on P2P Device Address 2011-02-07 18:28:36 +02:00
eapol_auth EAP-pwd: Add support for EAP-pwd server and peer functionality 2010-09-14 21:51:40 -10:00
eapol_supp Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
l2_packet l2_packet: Use wpa_printf() instead of perror() 2010-11-24 15:00:22 +02:00
p2p P2P: Check GO Neg Req retransmit limit in p2p_listen_end 2011-01-12 13:48:55 +02:00
radius hostapd: Fix RADIUS client configuration update on reconfig 2011-02-10 22:12:29 +02:00
rsn_supp Use wpa_msg() instead of wpa_printf() 2011-02-10 20:14:46 +02:00
tls Increase internal TLSs client key exchange buffer 2011-02-21 18:25:34 +02:00
utils utils: Corrected a typo in header's name definition 2011-02-21 22:44:46 +02:00
wps P2P: Allow WPS_PBC command on GO to select on P2P Device Address 2011-02-07 18:28:36 +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