]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Add NL80211_ATTR_MLO_LINK_ID for NL80211_CMD_REMAIN_ON_CHANNEL
authorHu Wang <quic_huw@quicinc.com>
Mon, 8 Jan 2024 10:14:38 +0000 (10:14 +0000)
committerJouni Malinen <j@w1.fi>
Sat, 13 Jan 2024 17:39:03 +0000 (19:39 +0200)
commit0120d052d745c51fae8df29cba597e0d2638f404
tree01f52536ad5ebf7cba4c3e40a2a39d4226300b2a
parentc0e93bb2177b961415cd2b1c06cd2dc29c4ddb5c
nl80211: Add NL80211_ATTR_MLO_LINK_ID for NL80211_CMD_REMAIN_ON_CHANNEL

cfg80211 requires the link ID to be specified for requests to start a
remain-on-channel operation during an ML association. This feels wrong
since the ROC operation is in most cases unrelated to the
association. However, that requirement has been in place since kernel
commit 7b0a0e3c3a88 ("wifi: cfg80211: do some rework towards MLO link
APIs") from April 2022, and as such, it looks necessary to have
wpa_supplicant work around this by specifying the currently used link ID
that would seem to match the ROC channel most closely.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/ieee802_11_common.c
src/common/ieee802_11_common.h
src/drivers/driver_nl80211.c
wpa_supplicant/scan.h