]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: AP MLD: Parse link ID to determine the BSS for radar event
authorChenming Huang <quic_chenhuan@quicinc.com>
Thu, 21 Mar 2024 01:39:45 +0000 (07:09 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 15 Apr 2024 08:38:42 +0000 (11:38 +0300)
commit32261721e1f0cf669c47687899a2df536699b22a
treee09557927db2345a41c5711f317b723377707603
parent216cfd708d978e2fe3bc2f03a63e5dc010b0d2e9
nl80211: AP MLD: Parse link ID to determine the BSS for radar event

Link ID is more accurate to specify the BSS for a radar event in some
corner cases, e.g., when there is a radar detection event and the driver
then switches to another DFS channel. There will then be two events
coming from the driver (CAC start and channel switch complete). In case
the CAC-start event comes first, hostapd still stores the previous
frequency and cannot find the correct link by calling
nl80211_get_mld_link_by_freq() with the new frequency.

Signed-off-by: Chenming Huang <quic_chenhuan@quicinc.com>
src/drivers/driver_nl80211_event.c