wpa_supplicant does not handle duplicate beacons in 6 GHz band

Dennis Bland dennis at dbperformance.com
Tue Aug 24 21:24:48 PDT 2021


For a 6 GHz AP beacon HE Operation element with the 6 GHz Operation
Information field setting Duplicate Beacon = True and setting a 6 GHz
Primary Channel, it seems wpa_supplicant does not parse this
information.

As a result, wpa_supplicant updates the BSSID channel/frequency based
on where it saw the beacon last, which is usually not the actual
channel.

Example below of a scan of a 6 GHz AP with Duplicate Beacons enabled.

Best regards,

Dennis

1629837214.426898: wlp3s0: Event SCAN_RESULTS (3) received
1629837214.426926: wlp3s0: Scan completed in 6.866714 seconds
1629837214.427157: nl80211: Received scan results (9 BSSes)
1629837214.427961: wlp3s0: BSS: Start scan result update 3
1629837214.428046: BSS: <bssid> changed freq 6575 --> 6475
1629837214.428075: BSS: <bssid> has multiple entries in the scan
results - select the most current one
1629837214.428095: Previous last_update: 159.245825 (freq 6475)
1629837214.428111: New last_update: 159.450825 (freq 6515)
1629837214.428126: Accept this BSS entry since it looks more current
than the previous update
1629837214.428139: BSS: <bssid> changed freq 6475 --> 6515
1629837214.428156: BSS: <bssid> has multiple entries in the scan
results - select the most current one
1629837214.428173: Previous last_update: 159.450825 (freq 6515)
1629837214.428188: New last_update: 136.001825 (freq 6535)
1629837214.428203: Ignore this BSS entry since the previous update
looks more current
1629837214.428217: BSS: <bssid> has multiple entries in the scan
results - select the most current one
1629837214.428233: Previous last_update: 159.450825 (freq 6515)
1629837214.428247: New last_update: 159.143825 (freq 6455)
1629837214.428261: Ignore this BSS entry since the previous update
looks more current
1629837214.428275: BSS: <bssid> has multiple entries in the scan
results - select the most current one
1629837214.428290: Previous last_update: 159.450825 (freq 6515)
1629837214.428304: New last_update: 159.041825 (freq 6435)
1629837214.428319: Ignore this BSS entry since the previous update
looks more current
1629837214.428332: BSS: <bssid> has multiple entries in the scan
results - select the most current one
1629837214.428348: Previous last_update: 159.450825 (freq 6515)
1629837214.428362: New last_update: 159.348825 (freq 6495)
1629837214.428376: Ignore this BSS entry since the previous update
looks more current
1629837214.428390: BSS: <bssid> has multiple entries in the scan
results - select the most current one
1629837214.428406: Previous last_update: 159.450825 (freq 6515)
1629837214.428420: New last_update: 159.553825 (freq 6555)
1629837214.428434: Accept this BSS entry since it looks more current
than the previous update
1629837214.428447: BSS: <bssid> changed freq 6515 --> 6555
1629837214.428464: BSS: <bssid> has multiple entries in the scan
results - select the most current one
1629837214.428480: Previous last_update: 159.553825 (freq 6555)
1629837214.428495: New last_update: 159.757825 (freq 6575)
1629837214.428509: Accept this BSS entry since it looks more current
than the previous update
1629837214.428522: BSS: <bssid> changed freq 6555 --> 6575
1629837214.428555: BSS: last_scan_res_used=2/32
1629837214.428587: wlp3s0: New scan results available (own=1 ext=0)
1629837214.428630: autoscan periodic: scan result notification
1629837214.428655: wlp3s0: Beginning of SSID list
1629837214.428680: wlp3s0: add to filter ssid: <ssid>
1629837214.428704: wlp3s0: add to active scan ssid: <ssid>
1629837214.428738: wlp3s0: Starting sched scan after 0 seconds (no timeout)
1629837214.428764: wlp3s0: nl80211: sched_scan request
1629837214.428795: nl80211: Scan SSID <ssid>
1629837214.428815: nl80211: Scan extra IEs - hexdump(len=24): 7f 0b 04
00 42 02 01 40 00 40 00 20 20 72 00 dd 07 50 6f 9a 16 03 01 03
1629837214.428848: nl80211: Sched scan filter SSID <ssid>
1629837214.428930: nl80211: Sched scan RSSI filter -90 dBm
1629837214.430311: nl80211: Sched scan requested (ret=0)
1629837214.430416: WPS: AP[0] <bssid> tries=0 last_attempt=-1 sec ago
bssid_ignore=0
1629837214.430463: wlp3s0: Radio work 'scan'@0x55709ee0c940 done in
6.871989 seconds
1629837214.430498: wlp3s0: radio_work_free('scan'@0x55709ee0c940):
num_active_works --> 0
1629837214.430527: wlp3s0: Selecting BSS from priority group 0
1629837214.430569: wlp3s0: 0: <bssid> ssid='<ssid>' wpa_ie_len=0
rsn_ie_len=20 caps=0x1111 level=-65 freq=6575
1629837214.430608: wlp3s0:    selected based on RSN IE
1629837214.430634: wlp3s0:    skip - frequency not allowed



More information about the Hostap mailing list