[PATCH 10/27] wifi: mac80211: isolate driver from inactive links
Wen Gong
quic_wgong at quicinc.com
Wed Jun 14 19:26:52 PDT 2023
On 6/15/2023 2:32 AM, Johannes Berg wrote:
> On Wed, 2023-05-24 at 15:41 +0800, Wen Gong wrote:
>> May I add a new ops in struct ieee80211_ops? like this:
>>
>> u16 active_links(struct ieee80211_hw *hw, struct ieee80211_vif vif, u16
>> new_links)"
>>
>> then ieee80211_set_vif_links_bitmaps() call the ops to get the links for
>> station and set the sdata->vif.active_links with the return value from
>> lower driver,
>> it means lower driver will dynamic select the links count at this moment.
>>
>> If lower driver not register ops active_links, then keep current logic.
>>
> I guess you can can send patches for whatever you want :)
>
> But I have no idea what you're trying to do? Why would you need to have
> a callback?
Currently driver could use ieee80211_set_active_links_async() to active
links after connection completed.
But I would like to allow driver to select active links in a early time,
it will be more convenient for driver.
>
> Was this for link selection in the driver? We should have a patch
> somewhere that adds a BSS_CHANGE flag for when the valid links change,
> so the driver can select others.
>
> johannes
Yes, it is for link selection in driver at a early time before
connection completed.
Could you tell detail about how the BSS_CHANGE flag works?😁
More information about the ath11k
mailing list