Ilan Peer f1871abd27 wifi: mac80211: Add getter functions for vif MLD state
As a preparation to support disabled/dormant links, add the
following function:

- ieee80211_vif_usable_links(): returns the bitmap of the links
  that can be activated. Use this function in all the places that
  the bitmap of the usable links is needed.

- ieee80211_vif_is_mld(): returns true iff the vif is an MLD.
  Use this function in all the places where an indication that the
  connection is a MLD is needed.

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230608163202.86e3351da1fc.If6fe3a339fda2019f13f57ff768ecffb711b710a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2023-06-14 12:20:08 +02:00
..
2021-07-01 13:19:48 -07:00
2023-03-17 08:56:37 +00:00
2023-03-29 08:19:38 +01:00
2022-08-09 22:14:02 -07:00
2023-06-01 21:37:32 -07:00
2021-12-16 07:18:35 -08:00
2023-06-06 11:12:20 +02:00
2021-10-15 11:33:08 +01:00
2023-04-13 16:43:38 -07:00
2023-04-22 01:39:41 +02:00
2021-10-13 09:40:46 -07:00
2021-07-27 13:05:56 +01:00
2022-05-11 12:43:10 +01:00
2023-05-11 18:07:05 -07:00
2023-06-06 20:59:08 -07:00
2021-08-03 13:05:26 +01:00
2023-02-16 09:27:07 +01:00
2023-06-08 19:40:30 -07:00
2022-12-12 15:04:39 -08:00
2023-06-08 19:40:30 -07:00
2023-03-07 09:33:43 -08:00
2023-04-13 16:43:38 -07:00