Thanks, this script is working (modded it to include udp instead of nr). I can see a successful Neighbor Request and Neighbor Response on ath10k-ct-htt, hostapd-2.9 with openssl. The setup includes 2x Archer A7s Dumb APs with a WRT1900ACS router (disabled wireless functionality) – all three have OpenWrt built from the master branch.
Additional roaming settings were: 802.11r with FT-over-the-Air, 802.11v with BSS transition, 802.11k with list populated by your script.
This is my config in /etc/config/wireless:
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'psk2+ccmp'
option key 'XXXXXX'
option dtim_period '3'
option ieee80211r '1'
option ft_psk_generate_local '1'
option ft_over_ds '0'
option ieee80211v '1'
option bss_transition '1'
option ieee80211k '1'
The following capture shows an exchange between an Archer A7v5 and an iPhone 11 Pro on iOS 13.3.
Screen Shot 2019-12-26 at 08.36.16In the neighbor report I see four APs, (corresponding to 2x N SSIDs and 2x AC SSIDs).
Screen Shot 2019-12-26 at 08.40.15However, I have an issue with your script whenever I reboot the APs. I have to keep restarting them (3x on each AP) to populate:
ubus call hostapd.wlan0 rrm_nr_listubus call umdns browse

