Proper configuration of 802.11k and 802.11v

Nah, don't use the luci app. As much as I tested it, it's broken.

No, https://github.com/berlin-open-wireless-lab/DAWN/blob/master/CONFIGURE.md is a better source in my opinion.

1 Like

Wrong repo for usteer, https://git.openwrt.org/project/usteer.git is more active.

2 Likes

Thanks for this! I'm back on Dawn on all my APs for now. I'll see if I notice any changes compared to Usteer :+1:

Ah yes and here:

So more recent commits and a few active contributors.

This is interesting:

What was/is the source of funding for usteer? Is further development contingent on that?

@_FailSafe curious how you get on.

It would be helpful if OpenWrt were to integrate a solution to help make things easier on users. The waters on this front seen rather murky at present.

@lantis1008 I see from other threads that you have tested usteer. Have you also tested DAWN? Any thoughts about using either or neither and 802.11k and 802.11v in general?

No I never tried DAWN. I preferred usteer because it was in tree, jow's comment aside.

Notice any changes?

Can someone help with DAWN? I installed it, deleted the config and rewrote from scratch based on the github guide. The mechanism seems to work but most of the times "it's comparing to 0 APs" and when I check the hearing list the only AP next to the client is the one it's currently connected to, thus no wonder "current is the best" .. If I briefly disconnect on the client and reconnect, all other 4 APs show up (AP1 2.4G, AP1 5G, AP2 2.4G, AP2 5G) but after just a few seconds (<1min) all disappear except for the one it's currently connected to.
The point would be to keep ALL listed there and keep a score for them, given that they're within physical reach (which they definitely are). Or better yet, (re)discover new possible APs nearby. Which literall never happens (unless the client on its own decides it needs a new connection and check for new). This renders DAWN useless for me at minute but I'm sure I'm just missing some important line of configuration.
Additional info: hostapd_cli -i 5G show_neighbor seems also empty (except for itself) when DAWN is installed. As soon as usteer is installed, it's nicely populated with all 4 mentioned SSID MACs

Thx

I think that you need to double-check option broadcast_ip. It should be the highest (255) address of your LAN network, i.e., in the default configuration, 192.168.1.255. Also, in /etc/config/umdns, please check if it operates on the correct network.

I just reinstalled to double-check. broadcast_ip is indeed set to 192.168.0.255 (as my WiFi subnet is 192.168.0.0/24). The umdns config merely has set jail 1 and list network lan. Both APs are dumb APs, both are connected wired on the LAN interface bridge and receive a reserved IP from OpnSense via DHCP. I even set "neighbors" option statically with MAC addr of the 5G AP SSID. As you can see I also tried set_hostapd_nr with default 0 tried 1 (static) and 2 (dynamic). No changes..
This should just work as far as I know with these settings? But it doesn't. See full dawn config below:

config local
        option loglevel '1'

config network
        option broadcast_ip '192.168.0.255'
        option broadcast_port '1025'
        option tcp_port '1026'
        option network_option '2'
        option shared_key 'Niiiiiiiiiiiiick'
        option iv 'Niiiiiiiiiiiiick'
        option use_symm_enc '0'
        option collision_domain '-1'
        option bandwidth '-1'

config hostapd
        option hostapd_dir '/var/run/hostapd'

config times
        option con_timeout '60'
        option remove_client '15'
        option remove_probe '30'
        option remove_ap '460'
        option update_chan_util '5'
        option update_tcp_con '5'
        option update_hostapd '10'
        option update_beacon_reports '10'
        option update_client '5'

config metric 'global'
        option use_station_count '0'
        option max_station_diff '1'
        option deny_auth_reason '1'
        option deny_assoc_reason '17'
        option chan_util_avg_period '3'
        option duration '5'
        option bandwidth_threshold '0'
        option disassoc_nr_length '6'
        option eval_probe_req '0'
        option eval_auth_req '0'
        option eval_assoc_req '0'
        option kicking '3'
        option kicking_threshold '20'
        option min_number_to_kick '2'
        option min_probe_count '2'
        option rrm_mode 'atp'
        option set_hostapd_nr '1'
        option neighbors '50:EB:F6:86:80:24 50:EB:F6:86:79:AC'

config metric '802_11g'
        option initial_score '20'
        option ht_support '5'
        option vht_support '5'
        option no_ht_support '0'
        option no_vht_support '0'
        option rssi '10'
        option rssi_val '-40'
        option low_rssi_val '-55'
        option low_rssi '-15'
        option chan_util '0'
        option chan_util_val '140'
        option max_chan_util '-15'
        option max_chan_util_val '170'
        option rssi_weight '0'
        option rssi_center '-50'

config metric '802_11a'
        option initial_score '100'
        option ht_support '20'
        option vht_support '40'
        option no_ht_support '-20'
        option no_vht_support '-30'
        option rssi '40'
        option rssi_val '-60'
        option low_rssi_val '-70'
        option low_rssi '-15'
        option chan_util '0'
        option chan_util_val '140'
        option max_chan_util '-15'
        option max_chan_util_val '170'
        option rssi_weight '0'
        option rssi_center '-70'

And umdns config:

config umdns
        option jail 1
        list network lan

Let me know what I screwed up :slight_smile: thx

Remove neighbors.

Then, increase the log level on both APs, then restart both umdns and dawn. Maybe there will be something interesting in the logs then.

Also, my config has option set_hostapd_nr '2', I don't know if this difference is relevant.

Removed neighbors, installed newest snapshot, wpad-openssl, dawn and still... same situation.. hostapd_cli neighbors don't show the neighbors. In DAWN-luci I can see both 5g and both 2g SSIDs but in hearing map not all clients have all 4. Basically none.. most have only 1!

Still, this is progress.

For the next stage, we need a Linux laptop. If you only have Windows or Mac, then please download some Linux LiveCD (e.g. Fedora or Ubuntu), write it to a flash drive (e.g. using Fedora MediaWriter), boot it on your laptop, connect to the WiFi, and from there run this command:

sudo iw dev wlp1s0 scan   # or whatever the name of the WiFi device is, use "iw dev" if unsure

Please copy-paste the output regarding your SSID (both APs) to this topic. This way we'll see if 802.11k and 802.11v stuff is correctly enabled.

It would also be interesting if this Linux client shows up fully in the hearing map.

1 Like

Thanks for the help. The linux station didn't show up fully. However, if I run an iw scan in a few seconds it shows up fully (all 4 bssid) and then it starts dying down. Right now, like 2 minutes after having run iw scan, only 3 remains and the further away 5G is gone already.

Here's the iw scan report from a linux station (2ap, each ap has 2g and 5g).

BSS 50:eb:f6:86:79:a8(on wlp0s20f3)
        last seen: 220.734s [boottime]
        TSF: 5094849323 usec (0d, 01:24:54)
        freq: 2427
        beacon interval: 100 TUs
        capability: ESS Privacy ShortSlotTime RadioMeasure (0x1411)
        signal: -63.00 dBm
        last seen: 2744 ms ago
        Information elements from Probe Response frame:
        SSID: Rowra
        Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
        DS Parameter set: channel 4
        Country: HU     Environment: Indoor/Outdoor
                Channels [1 - 13] @ 20 dBm
        ERP: Barker_Preamble_Mode
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK FT/PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        BSS Load:
                 * station count: 0
                 * channel utilisation: 20/255
                 * available admission capacity: 0 [*32us]
        RM enabled capabilities:
                Capabilities: 0x72 0x00 0x00 0x00 0x00
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 0
        Supported operating classes:
                 * current operating class: 83
        HT capabilities:
                Capabilities: 0x9ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15
        HT operation:
                 * primary channel: 4
                 * secondary channel offset: above
                 * STA channel width: any
                 * RIFS: 0
                 * HT protection: no
                 * non-GF present: 0
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Extended capabilities:
                 * Extended Channel Switching
                 * WNM-Sleep Mode
                 * BSS Transition
                 * Multiple BSSID
                 * SSID List
                 * UTC TSF Offset
                 * QoS Map
                 * UTF-8 SSID
                 * Operating Mode Notification
                 * 6
        HE capabilities:
                HE MAC Capabilities (0x00051a081044):
                        +HTC HE Supported
                        TWT Responder
                        BSR
                        OM Control
                        Maximum A-MPDU Length Exponent: 3
                        BQR
                        A-MSDU in A-MPDU
                        OM Control UL MU Data Disable RX
                HE PHY Capabilities: (0x02200e920f01af08000c00):
                        HE40/2.4GHz
                        LDPC Coding in Payload
                        NDP with 4x HE-LTF and 3.2us GI
                        STBC Tx <= 80MHz
                        STBC Rx <= 80MHz
                        DCM Max Constellation: 2
                        DCM Max Constellation Rx: 2
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        Beamformee STS <= 80Mhz: 3
                        Sounding Dimensions <= 80Mhz: 1
                        Codebook Size SU Feedback
                        Codebook Size MU Feedback
                        Triggered SU Beamforming Feedback
                        Triggered MU Beamforming Feedback
                        Partial Bandwidth Extended Range
                        PPE Threshold Present
                        Max NC: 1
                        TX 1024-QAM
                        RX 1024-QAM
                HE RX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                HE TX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                PPE Threshold 0x39 0x1c 0xc7 0x71 0x1c 0x07
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 50:eb:f6:86:80:20(on wlp0s20f3)
        last seen: 220.734s [boottime]
        TSF: 4702398482 usec (0d, 01:18:22)
        freq: 2427
        beacon interval: 100 TUs
        capability: ESS Privacy ShortPreamble RadioMeasure (0x1031)
        signal: -53.00 dBm
        last seen: 2744 ms ago
        Information elements from Probe Response frame:
        SSID: Rowra
        Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
        DS Parameter set: channel 4
        Country: HU     Environment: Indoor/Outdoor
                Channels [1 - 13] @ 20 dBm
        ERP: <no flags>
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK FT/PSK
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC (0x000c)
        BSS Load:
                 * station count: 4
                 * channel utilisation: 20/255
                 * available admission capacity: 0 [*32us]
        RM enabled capabilities:
                Capabilities: 0x72 0x00 0x00 0x00 0x00
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 0
        Supported operating classes:
                 * current operating class: 83
        HT capabilities:
                Capabilities: 0x9ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15
        HT operation:
                 * primary channel: 4
                 * secondary channel offset: above
                 * STA channel width: any
                 * RIFS: 0
                 * HT protection: 20 MHz
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Extended capabilities:
                 * Extended Channel Switching
                 * WNM-Sleep Mode
                 * BSS Transition
                 * Multiple BSSID
                 * SSID List
                 * UTC TSF Offset
                 * QoS Map
                 * UTF-8 SSID
                 * Operating Mode Notification
                 * 6
        HE capabilities:
                HE MAC Capabilities (0x00051a081044):
                        +HTC HE Supported
                        TWT Responder
                        BSR
                        OM Control
                        Maximum A-MPDU Length Exponent: 3
                        BQR
                        A-MSDU in A-MPDU
                        OM Control UL MU Data Disable RX
                HE PHY Capabilities: (0x02200e920f01af08000c00):
                        HE40/2.4GHz
                        LDPC Coding in Payload
                        NDP with 4x HE-LTF and 3.2us GI
                        STBC Tx <= 80MHz
                        STBC Rx <= 80MHz
                        DCM Max Constellation: 2
                        DCM Max Constellation Rx: 2
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        Beamformee STS <= 80Mhz: 3
                        Sounding Dimensions <= 80Mhz: 1
                        Codebook Size SU Feedback
                        Codebook Size MU Feedback
                        Triggered SU Beamforming Feedback
                        Triggered MU Beamforming Feedback
                        Partial Bandwidth Extended Range
                        PPE Threshold Present
                        Max NC: 1
                        TX 1024-QAM
                        RX 1024-QAM
                HE RX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                HE TX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                PPE Threshold 0x39 0x1c 0xc7 0x71 0x1c 0x07
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 50:eb:f6:86:80:24(on wlp0s20f3) -- associated
        last seen: 223.361s [boottime]
        TSF: 4705066735 usec (0d, 01:18:25)
        freq: 5260
        beacon interval: 100 TUs
        capability: ESS Privacy RadioMeasure (0x1011)
        signal: -43.00 dBm
        last seen: 120 ms ago
        Information elements from Probe Response frame:
        SSID: Rowra
        Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
        DS Parameter set: channel 52
        Country: HU     Environment: Indoor/Outdoor
                Channels [36 - 48] @ 30 dBm
                Channels [52 - 64] @ 24 dBm
                Channels [100 - 140] @ 24 dBm
                Channels [144 - 144] @ 0 dBm
                Channels [149 - 173] @ 30 dBm
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK FT/PSK PSK/SHA-256
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC MFP-capable (0x008c)
        BSS Load:
                 * station count: 3
                 * channel utilisation: 19/255
                 * available admission capacity: 0 [*32us]
        RM enabled capabilities:
                Capabilities: 0x72 0x00 0x00 0x00 0x00
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 0
        Supported operating classes:
                 * current operating class: 128
        HT capabilities:
                Capabilities: 0x9ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15
        HT operation:
                 * primary channel: 52
                 * secondary channel offset: above
                 * STA channel width: any
                 * RIFS: 0
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Extended capabilities:
                 * Extended Channel Switching
                 * WNM-Sleep Mode
                 * BSS Transition
                 * Multiple BSSID
                 * SSID List
                 * UTC TSF Offset
                 * QoS Map
                 * UTF-8 SSID
                 * Operating Mode Notification
                 * 6
                 * Max Number Of MSDUs In A-MSDU is unlimited
        VHT capabilities:
                VHT Capabilities (0x338939b1):
                        Max MPDU length: 7991
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                VHT extended NSS: supported
        VHT operation:
                 * channel width: 1 (80 MHz)
                 * center freq segment 1: 58
                 * center freq segment 2: 0
                 * VHT basic MCS set: 0xfffc
        Transmit Power Envelope:
                 * Local Maximum Transmit Power For 20 MHz: 24 dBm
                 * Local Maximum Transmit Power For 40 MHz: 24 dBm
                 * Local Maximum Transmit Power For 80 MHz: 24 dBm
        HE capabilities:
                HE MAC Capabilities (0x00051a081044):
                        +HTC HE Supported
                        TWT Responder
                        BSR
                        OM Control
                        Maximum A-MPDU Length Exponent: 3
                        BQR
                        A-MSDU in A-MPDU
                        OM Control UL MU Data Disable RX
                HE PHY Capabilities: (0x04200e920f01af08000c00):
                        HE40/HE80/5GHz
                        LDPC Coding in Payload
                        NDP with 4x HE-LTF and 3.2us GI
                        STBC Tx <= 80MHz
                        STBC Rx <= 80MHz
                        DCM Max Constellation: 2
                        DCM Max Constellation Rx: 2
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        Beamformee STS <= 80Mhz: 3
                        Sounding Dimensions <= 80Mhz: 1
                        Codebook Size SU Feedback
                        Codebook Size MU Feedback
                        Triggered SU Beamforming Feedback
                        Triggered MU Beamforming Feedback
                        Partial Bandwidth Extended Range
                        PPE Threshold Present
                        Max NC: 1
                        TX 1024-QAM
                        RX 1024-QAM
                HE RX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                HE TX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                PPE Threshold 0x39 0x1c 0xc7 0x71 0x1c 0x07
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec
BSS 50:eb:f6:86:79:ac(on wlp0s20f3)
        last seen: 223.477s [boottime]
        TSF: 5097633344 usec (0d, 01:24:57)
        freq: 5180
        beacon interval: 100 TUs
        capability: ESS Privacy RadioMeasure (0x1011)
        signal: -58.00 dBm
        last seen: 0 ms ago
        Information elements from Probe Response frame:
        SSID: Rowra
        Supported rates: 6.0* 9.0 12.0* 18.0 24.0* 36.0 48.0 54.0
        DS Parameter set: channel 36
        Country: HU     Environment: Indoor/Outdoor
                Channels [36 - 48] @ 30 dBm
                Channels [52 - 64] @ 24 dBm
                Channels [100 - 140] @ 24 dBm
                Channels [144 - 144] @ 0 dBm
                Channels [149 - 173] @ 30 dBm
        RSN:     * Version: 1
                 * Group cipher: CCMP
                 * Pairwise ciphers: CCMP
                 * Authentication suites: PSK FT/PSK PSK/SHA-256
                 * Capabilities: 16-PTKSA-RC 1-GTKSA-RC MFP-capable (0x008c)
        BSS Load:
                 * station count: 1
                 * channel utilisation: 2/255
                 * available admission capacity: 0 [*32us]
        RM enabled capabilities:
                Capabilities: 0x72 0x00 0x00 0x00 0x00
                        Neighbor Report
                        Beacon Passive Measurement
                        Beacon Active Measurement
                        Beacon Table Measurement
                Nonoperating Channel Max Measurement Duration: 0
                Measurement Pilot Capability: 0
        Supported operating classes:
                 * current operating class: 128
        HT capabilities:
                Capabilities: 0x9ef
                        RX LDPC
                        HT20/HT40
                        SM Power Save disabled
                        RX HT20 SGI
                        RX HT40 SGI
                        TX STBC
                        RX STBC 1-stream
                        Max AMSDU length: 7935 bytes
                        No DSSS/CCK HT40
                Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
                Minimum RX AMPDU time spacing: 4 usec (0x05)
                HT TX/RX MCS rate indexes supported: 0-15
        HT operation:
                 * primary channel: 36
                 * secondary channel offset: above
                 * STA channel width: any
                 * RIFS: 0
                 * HT protection: no
                 * non-GF present: 1
                 * OBSS non-GF present: 0
                 * dual beacon: 0
                 * dual CTS protection: 0
                 * STBC beacon: 0
                 * L-SIG TXOP Prot: 0
                 * PCO active: 0
                 * PCO phase: 0
        Extended capabilities:
                 * Extended Channel Switching
                 * WNM-Sleep Mode
                 * BSS Transition
                 * Multiple BSSID
                 * SSID List
                 * UTC TSF Offset
                 * QoS Map
                 * UTF-8 SSID
                 * Operating Mode Notification
                 * 6
                 * Max Number Of MSDUs In A-MSDU is unlimited
        VHT capabilities:
                VHT Capabilities (0x338939b1):
                        Max MPDU length: 7991
                        Supported Channel Width: neither 160 nor 80+80
                        RX LDPC
                        short GI (80 MHz)
                        TX STBC
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        RX antenna pattern consistency
                        TX antenna pattern consistency
                VHT RX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT RX highest supported: 0 Mbps
                VHT TX MCS set:
                        1 streams: MCS 0-9
                        2 streams: MCS 0-9
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                VHT TX highest supported: 0 Mbps
                VHT extended NSS: supported
        VHT operation:
                 * channel width: 1 (80 MHz)
                 * center freq segment 1: 42
                 * center freq segment 2: 0
                 * VHT basic MCS set: 0xfffc
        Transmit Power Envelope:
                 * Local Maximum Transmit Power For 20 MHz: 30 dBm
                 * Local Maximum Transmit Power For 40 MHz: 30 dBm
                 * Local Maximum Transmit Power For 80 MHz: 30 dBm
        HE capabilities:
                HE MAC Capabilities (0x00051a081044):
                        +HTC HE Supported
                        TWT Responder
                        BSR
                        OM Control
                        Maximum A-MPDU Length Exponent: 3
                        BQR
                        A-MSDU in A-MPDU
                        OM Control UL MU Data Disable RX
                HE PHY Capabilities: (0x04200e920f01af08000c00):
                        HE40/HE80/5GHz
                        LDPC Coding in Payload
                        NDP with 4x HE-LTF and 3.2us GI
                        STBC Tx <= 80MHz
                        STBC Rx <= 80MHz
                        DCM Max Constellation: 2
                        DCM Max Constellation Rx: 2
                        SU Beamformer
                        SU Beamformee
                        MU Beamformer
                        Beamformee STS <= 80Mhz: 3
                        Sounding Dimensions <= 80Mhz: 1
                        Codebook Size SU Feedback
                        Codebook Size MU Feedback
                        Triggered SU Beamforming Feedback
                        Triggered MU Beamforming Feedback
                        Partial Bandwidth Extended Range
                        PPE Threshold Present
                        Max NC: 1
                        TX 1024-QAM
                        RX 1024-QAM
                HE RX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                HE TX MCS and NSS set <= 80 MHz
                        1 streams: MCS 0-11
                        2 streams: MCS 0-11
                        3 streams: not supported
                        4 streams: not supported
                        5 streams: not supported
                        6 streams: not supported
                        7 streams: not supported
                        8 streams: not supported
                PPE Threshold 0x39 0x1c 0xc7 0x71 0x1c 0x07
        WMM:     * Parameter version 1
                 * u-APSD
                 * BE: CW 15-1023, AIFSN 3
                 * BK: CW 15-1023, AIFSN 7
                 * VI: CW 7-15, AIFSN 2, TXOP 3008 usec
                 * VO: CW 3-7, AIFSN 2, TXOP 1504 usec

Thanks for the report. Indeed, the parts added by 802.11k and 802.11v are there.

Now, while still on Linux, please run this command as root:

wpa_cli -i wlp1s0   # of course with the correct interface

While in the wpa_cli shell, type this to increase the log verbosity:

log_level DEBUG

After that, wpa_supplicant will log a lot more, and you can see that in journalctl -f. What we are interested in is "Action Frames" sent and received. They look like this:

Mar 03 03:59:33 aep-haswell wpa_supplicant[791]: nl80211: BSS Event 59 (NL80211_CMD_FRAME) received for wlp0s20u3
Mar 03 03:59:33 aep-haswell wpa_supplicant[791]: nl80211: RX frame da=00:c0:ca:b1:0b:41 sa=e8:9f:80:d4:9e:c6 bssid=e8:9f:80:d4:9e:c6 freq=5260 ssi_signal=-69 fc=0x40d0 seq_ctrl=0x2b0 stype=13 (WLAN_FC_STYPE_ACTION) len=55
Mar 03 03:59:33 aep-haswell wpa_supplicant[791]: wlp0s20u3: Event RX_MGMT (18) received
Mar 03 03:59:33 aep-haswell wpa_supplicant[791]: wlp0s20u3: Received Action frame: SA=e8:9f:80:d4:9e:c6 Category=5 DataLen=30 freq=5260 MHz
Mar 03 03:59:33 aep-haswell wpa_supplicant[791]: Measurement request type 5 token 1
...
Mar 03 03:59:33 aep-haswell wpa_supplicant[791]: RRM: Radio Measurement report - hexdump(len=5): 27 03 01 00 05
Mar 03 03:59:33 aep-haswell wpa_supplicant[791]: nl80211: Send Action frame (ifindex=5, freq=5260 MHz wait=0 ms no_cck=0 offchanok=1)

Please check that your workstation gets and logs them. Note that after some time those Radio Measurement report messages become long, 200+ bytes.

Then stop DAWN and verify that these Action Frames stop coming.

Confirmed. Radio measurement reports were already long (340bytes) but I still waited a bit, kept coming. Stopped DAWN and so did they stop coming. To make extra sure, started it again and they started coming in again. Additional info I just realised: network map matches on both APs, but the hearing map differs. I'm not even sure how that's possible.. shouldn't DAWN instances broadcast and thus keep each other up to date and in sync? Isn't that the whole point? It really should work, they're connected to the very same switch, same subnet.
Should I try downgrading to a release instead of snapshot?
(Wow all this a whole new world to me.. I've worked as a linux sysadmin, currently as a cyber sec engineer but never touched wireless before. So much more to learn :slight_smile: )

DAWN instances do not really broadcast data to synchronize. Instead, they register with their local umdns daemon, and then rely on multicast messages sent by other umdns instances to find each other. Then they connect to each other via TCP. Can you confirm with netstat -ntp whether these connections are there? In theory, these TCP connections should form a full mesh.

Downgrading to a release does not seem to be necessary, as the version of DAWN is the same.

They appear to be there:

tcp        0      0 192.168.0.44:56434      192.168.0.45:1026       ESTABLISHED 5986/dawn
tcp        0      0 192.168.0.45:46538      192.168.0.44:1026       ESTABLISHED 4352/dawn

I listened in on it tcpdump -i br-lan port 1026 -X and I can see json communication on both.

I would say it works then.

The hearing map will indeed not be 100% in sync, and there seems to be a bug that the status of HT and VHT support is incorrect. So my advice would be to configure DAWN not to make any decisions based on that support.

What I suggest is increasing DAWN log level and working from there to understand what it hears and what it decides.

1 Like

It's on 0 which should be the highest but there isn't a whole lot going on. One thing I can tell for sure is that most of the times it doesn't even have anything to compare to since (I guess) the hearing map is pretty much close to empty, save for itself. Can you share your own config? Maybe I did mess things up with too short timings, no idea at this point.. thanks