hostapd/src/ap
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
..
accounting.c hostapd_driver_ops reduction 2010-11-24 16:34:49 +02:00
accounting.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
ap_config.c AP: Enable WMM with default parameters by default for HT 2011-02-01 14:34:12 +02:00
ap_config.h hostapd: Allow coexistance of HT BSSes with WEP/TKIP BSSes 2011-02-21 17:27:16 +02:00
ap_drv_ops.c hostapd: Inherit correct MAC address for AP VLAN interfaces 2011-02-24 21:25:40 +02:00
ap_drv_ops.h Convert most commonly used drv ops to real function calls 2010-11-24 17:01:21 +02:00
ap_list.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
ap_list.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
ap_mlme.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
ap_mlme.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
authsrv.c EAP-pwd: Add support for EAP-pwd server and peer functionality 2010-09-14 21:51:40 -10:00
authsrv.h Move authentication server setup into separate file 2009-12-25 13:43:43 +02:00
beacon.c hostapd: Allow TDLS use to be prohibited in the BSS 2011-01-28 19:21:59 +02:00
beacon.h P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
ctrl_iface_ap.c P2P: Add P2P configuration and callbacks in hostapd code 2010-09-09 07:17:17 -07:00
ctrl_iface_ap.h Move ctrl_iface_ap.c into src/ap 2009-12-25 12:25:55 +02:00
drv_callbacks.c wpa_s AP: Deliver EVENT_RX_PROBE_REQ events to AP processing 2011-02-08 14:32:35 +02:00
hostapd.c Flush STA entries in hostapd when clearing STAs from kernel 2011-02-10 22:31:32 +02:00
hostapd.h wpa_s AP: Deliver EVENT_RX_PROBE_REQ events to AP processing 2011-02-08 14:32:35 +02:00
hw_features.c hostapd: Add require_ht configuration parameter 2011-02-09 15:08:47 +02:00
hw_features.h Fix rate table handling 2010-11-09 16:17:50 +02:00
iapp.c Include header files explicitly in *.c, not via header files 2009-12-26 00:31:51 +02:00
iapp.h Move iapp.c into src/ap 2009-12-25 13:04:45 +02:00
ieee802_1x.c FT: Fix FT-EAP to set EAPOL Authenticator into authenticated state 2011-02-20 21:56:56 +02:00
ieee802_1x.h Make EAPOL Authenticator buildable with Microsoft compiler 2010-02-19 18:35:40 +02:00
ieee802_11.c AP: Update logging related to inactivity and disassociation 2011-02-24 17:44:45 +02:00
ieee802_11.h hostapd: Allow coexistance of HT BSSes with WEP/TKIP BSSes 2011-02-21 17:27:16 +02:00
ieee802_11_auth.c hostapd_driver_ops reduction 2010-11-24 16:34:49 +02:00
ieee802_11_auth.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
ieee802_11_ht.c hostapd: Allow coexistance of HT BSSes with WEP/TKIP BSSes 2011-02-21 17:27:16 +02:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
p2p_hostapd.c P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
p2p_hostapd.h P2P: Extend P2P manager functionality to work with driver MLME 2010-10-08 18:16:07 +03:00
peerkey_auth.c Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
pmksa_cache_auth.c Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
pmksa_cache_auth.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
preauth_auth.c Fix memory leak on RSN preauth init error path 2010-01-06 21:14:09 +02:00
preauth_auth.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
sta_info.c AP: Update logging related to inactivity and disassociation 2011-02-24 17:44:45 +02:00
sta_info.h AP: Introduce sta authorized wrappers 2011-02-02 16:52:32 +02:00
tkip_countermeasures.c AP: Introduce sta authorized wrappers 2011-02-02 16:52:32 +02:00
tkip_countermeasures.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
utils.c Allow Probe Request callbacks to terminate iteration 2009-12-28 13:14:58 +02:00
vlan_init.c Get rid of struct hostapd_driver_ops abstraction 2010-11-24 16:50:06 +02:00
vlan_init.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
wmm.c Make sure reserved field in WMM IE is set to 0 2011-02-10 22:10:40 +02:00
wmm.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
wpa_auth.c Add more wpa_auth debugging messages 2011-02-24 17:35:59 +02:00
wpa_auth.h Allow advertising of U-APSD functionality in Beacon 2010-04-11 11:32:15 +03:00
wpa_auth_ft.c Annotate places depending on strong random numbers 2010-11-24 01:05:20 +02:00
wpa_auth_glue.c FT: Specify source MAC address for RRB messages 2011-02-20 17:50:11 +02:00
wpa_auth_glue.h Move rest of the generic AP mode functionality into src/ap 2009-12-25 20:06:07 +02:00
wpa_auth_i.h hostapd: Verify availability of random data when using WPA/WPA2 2010-11-24 13:08:03 +02:00
wpa_auth_ie.c Share WPA IE parser function for RSN authenticator/supplicant 2010-11-12 21:52:14 +02:00
wpa_auth_ie.h FT: Validate MDIE and FTIE in FT 4-way handshake message 2/4 2010-04-10 22:40:35 +03:00
wps_hostapd.c P2P: Allow WPS_PBC command on GO to select on P2P Device Address 2011-02-07 18:28:36 +02:00
wps_hostapd.h P2P: Allow WPS_PBC command on GO to select on P2P Device Address 2011-02-07 18:28:36 +02:00