[PATCH 10/27] wifi: mac80211: isolate driver from inactive links

Johannes Berg johannes at sipsolutions.net
Tue Apr 11 00:38:48 PDT 2023


On Tue, 2023-04-04 at 11:28 +0800, Wen Gong wrote:
> 
> May I also add a field such as "u16 active_links_count" in struct 
> wiphy_iftype_ext_capab,
> and add logic in function ieee80211_set_vif_links_bitmaps() for station 
> like this ?:
> if (active_links_count && hweight16(links) <= active_links_count)
>      then sdata->vif.active_links = links;
> 

Also here, not sure it makes sense in cfg80211 level?

Though I'm not sure what the idea here is at all - you can refuse to
link switch etc, what would you use this for?

Then again, we haven't really designed out all the link selection stuff,
do we want wpa_s to do it, driver to do it, etc.? Hence debugfs. So
depending on what end up doing there, we will obviously need to
advertise some level of link-concurrency to userspace.

johannes



More information about the ath11k mailing list