802.11r Troubleshooting [ath9k+ath10k]

Quick answer:

root@main-uap:/etc/config# head /etc/board.json
{
	"model": {
		"id": "ubnt,unifiac-pro",
		"name": "Ubiquiti UniFi-AC-PRO"
	},
	"switch": {
		"switch0": {
			"enable": true,
			"reset": true,
			"ports": [
root@main-uap:/etc/config# fgrep OPENWRT_RELEASE /etc/os-release
OPENWRT_RELEASE="OpenWrt SNAPSHOT r11614+1-82a741c774"
root@main-uap:/etc/config# uname -a
Linux main-uap 4.19.86 #0 Sat Nov 30 12:39:36 2019 mips GNU/Linux
root@main-uap:/etc/config# opkg list-installed | fgrep ath
ath10k-firmware-qca988x-ct-htt - 2019-10-03-d622d160-1
kmod-ath - 4.19.86+5.4-rc8-1-1
kmod-ath10k-ct - 4.19.86+2019-11-07-080cd781-1
kmod-ath9k - 4.19.86+5.4-rc8-1-1
kmod-ath9k-common - 4.19.86+5.4-rc8-1-1

should have included this before heh.

I also pulled in the following patchset: https://patchwork.ozlabs.org/project/openwrt/list/?series=141862

Edit: it seems like this issue could be related to my previous post and the enabled optional MFP (Rekeying Issue - "driver can't safely do that.").

Edit2: this seems to be a bug in hostapd, as this line makes sure both ways to change state cant be set at the same time: https://github.com/torvalds/linux/blob/386403a115f95997c2715691226e11a7b5cffcfd/net/mac80211/main.c#L521

So for every driver missing add+remove in favor of state it would fail.

1 Like