Michael Braun 1d4de2e222 mac80211: fix CMD_FRAME for AP_VLAN
When using IEEE 802.11r FT OVER-DS roaming with AP_VLAN, hostapd needs to
send out a frame using CMD_FRAME for a station assigned to an AP_VLAN
interface.

Right now, the userspace needs to give the exact AP_VLAN interface index
for CMD_FRAME; hostapd does not do this. Additionally, userspace cannot
use GET_STATION to query the AP_VLAN ifidx, as while GET_STATION finds
stations assigned to AP_VLAN even if the AP iface is queried, it does not
return AP_VLAN ifidx (it returns the queried one).

This breaks IEEE 802.11r over_ds with vlans, as the reply frame does not
get out. This patch fixes this by using get_sta_bss for CMD_FRAME.

Signed-off-by: Michael Braun <michael-dev@fami-braun.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2016-10-12 09:19:12 +02:00
..
2015-01-27 11:07:35 +01:00
2015-01-27 11:09:13 +01:00
2014-11-04 13:18:21 +01:00
2014-04-09 14:49:43 +02:00
2016-04-12 15:56:15 +02:00
2015-08-14 17:49:53 +02:00
2016-04-06 13:18:18 +02:00
2015-05-11 19:16:04 +02:00
2015-10-14 18:40:26 +02:00
2016-09-30 13:47:00 +02:00
2014-04-09 14:49:43 +02:00
2016-09-13 15:39:29 +02:00
2016-04-12 15:56:15 +02:00
2016-09-15 16:46:16 +02:00
2016-04-12 15:56:15 +02:00
2015-05-11 14:51:29 +02:00
2012-03-13 14:54:16 -04:00