OSDN Git Service

wifi: nl80211/mac80211: clarify link ID in control port TX
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jul 2022 08:26:50 +0000 (10:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jul 2022 12:28:16 +0000 (14:28 +0200)
commit9dd1953846c7cd58100a5c6bd90db54e2c60668a
treea980d2b993b970854adfd79e6be3ebc758321f5a
parentdd820ed6336ad37c870ef2f11e34dcf1a8ff2aa1
wifi: nl80211/mac80211: clarify link ID in control port TX

Clarify the link ID behaviour in control port TX, we need it
to select the link to transmit on for both MLD and non-MLD
receivers, but select the link address as the SA only if the
receiver is not an MLD.

Fixes: 67207bab9341 ("wifi: cfg80211/mac80211: Support control port TX from specific link")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/uapi/linux/nl80211.h
net/mac80211/tx.c