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? 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