diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-02-14 13:37:46 +0100 |
---|---|---|
committer | iwlwifi publisher <> | 2024-04-17 12:56:59 +0000 |
commit | e8c3c412e29547795b8584bc322bf8dfe9b977d8 (patch) | |
tree | 871dfaf54b4bf7484b79adab6bfe0581f199435c | |
parent | 4ef0a3e47e363529a045f81d0aeddfdd9695c499 (diff) | |
download | backport-iwlwifi-e8c3c412e29547795b8584bc322bf8dfe9b977d8.tar.gz |
wifi: mac80211: clarify the dormant/suspended links docs
Since I keep getting confused about this and asking about it,
update the documentation.
In the future, especially when we add more reasons for a link
to be disabled, we should add a per-link 'disable state' bitmap
instead of maintaining all these bitmaps with subset logic, to
indicate each of the different states separately.
type=cleanup
ticket=none
Change-Id: I92dd7d177b25df189b842d3bcddb1f2b13b1de13
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-on: https://gerritwcs.ir.intel.com/c/iwlwifi-stack-dev/+/94543
automatic-review: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
tested: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Tested-by: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
x-iwlwifi-stack-dev: 068b6c6492515c327c280a62953feb482cbc9cb4
-rw-r--r-- | include/net/mac80211.h | 8 | ||||
-rw-r--r-- | versions | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 2d1fba26d1..351539d7fe 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h @@ -1932,10 +1932,12 @@ enum ieee80211_neg_ttlm_res { * @active_links: The bitmap of active links, or 0 for non-MLO. * The driver shouldn't change this directly, but use the * API calls meant for that purpose. - * @dormant_links: bitmap of valid but disabled links, or 0 for non-MLO. - * Must be a subset of valid_links. + * @dormant_links: subset of the valid links that are disabled/suspended + * due to advertised or negotiated TTLM respectively. + * 0 for non-MLO. * @suspended_links: subset of dormant_links representing links that are - * suspended. + * suspended due to negotiated TTLM, and could be activated in the + * future by tearing down the TTLM negotiation. * 0 for non-MLO. * @neg_ttlm: negotiated TID to link mapping info. * see &struct ieee80211_neg_ttlm. @@ -2,4 +2,4 @@ BACKPORTS_VERSION="(see git)" BACKPORTED_KERNEL_VERSION="(see git)" BACKPORTED_KERNEL_NAME="iwlwifi" BACKPORTS_BUILD_TSTAMP=__DATE__ \" \" __TIME__ -BACKPORTS_GIT_TRACKED="iwlwifi-stack-public:master:11935:78382975" +BACKPORTS_GIT_TRACKED="iwlwifi-stack-public:master:11936:068b6c64" |