#22369: Ath10k/dynamic VLAN broken
-----------------------------------------+------------------------
Reporter: gkelleter | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: packages | Version: Trunk
Keywords: hostapd ath10k dynamic vlan |
-----------------------------------------+------------------------
Since commit 2ecfedd6cde3cd92a8e670a514dee1b4633265af on trunk dynamic
VLAN isn't working with atk10k radio anymore.
That commit updates hostapd to version 2016-01-15.
The commit of hostapd that breaks it is
7cebc8e2100626dc6981a3f53301058452953b9b, "Fix init of group state machine
for static VLANs". Parent commit works as expected.
Problem is that some key cannot be set for the new vlan-tagged wlan
interface at ath10k.
Symptom is that neither wlanX-Y.<VLAN-ID> nor the corresponding vlan-
bridge is created. Association fails.
Tried the same with ath9k radio: works as expected.
This is the relevant debug log of hostapd:
{{{
wlan0-2: STA 78:7e:61:61:15:a3 RADIUS: VLAN ID 20
VLAN: vlan_add_dynamic(vlan_id=20 ifname=wlan0-2.#)
nl80211: Create interface iftype 4 (AP_VLAN)
nl80211: Ignored event (cmd=7) for foreign interface (ifindex 60 wdev 0x0)
nl80211: New interface wlan0-2.20 created: ifindex=60
nl80211: Add own interface ifindex 60
nl80211: if_indices[16]: 5 34 58 59 60
nl80211: Add own interface ifindex 60
nl80211: ifindex 60 already in the list
VLAN: Set interface wlan0-2.20 up
WPA: Add group state machine for VLAN-ID 20
GMK - hexdump(len=32): [REMOVED]
Key Counter - hexdump(len=32): [REMOVED]
WPA: group state machine entering state GTK_INIT (VLAN-ID 20)
GTK - hexdump(len=16): [REMOVED]
IGTK - hexdump(len=16): [REMOVED]
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 20)
wpa_driver_nl80211_set_key: ifindex=60 (wlan0-2.20) alg=3 addr=0x496be4
key_idx=1 set_tx=1 seq_len=0 key_len=16
nl80211: KEY_DATA - hexdump(len=16): [REMOVED]
broadcast key
nl80211: set_key failed; err=-22 Invalid argument)
WPA: group state machine entering state FATAL_FAILURE
WPA: Ensure group state machine running for VLAN ID 20
WPA initialization for VLAN 20 failed (-1)
WPA: Try stopping group state machine for VLAN ID 20
WPA: Remove group state machine for VLAN-ID 20
WPA deinit of wlan0-2.20 failed
nl80211: wpa_driver_nl80211_if_remove(type=1 ifname=wlan0-2.20) ifindex=60
added_if=1
nl80211: Remove interface ifindex=60
nl80211: if_indices[16]: 5 34 58 59
}}}
Regards,
Günther
--
Ticket URL: <https://dev.openwrt.org/ticket/22369>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets