On 3/27/2024 10:52 PM, Manish Dharanenthiran wrote: [...] > +/** > + * cfg80211_update_link_reconfig_remove_status - Inform userspace about > + * the removal status of link which is scheduled for removal > + * @dev: the device on which the operation is requested > + * @link_id: Link which is undergoing removal > + * @tbtt_count: Current tbtt_count to be updated. > + * @tsf: Beacon's timestamp value > + * @status: Inform started or completed action to userspace based on the value kernel-doc warns: include/net/cfg80211.h:9573: warning: Function parameter or struct member 'action' not described in 'cfg80211_update_link_reconfig_remove_status' include/net/cfg80211.h:9573: warning: Excess function parameter 'status' description in 'cfg80211_update_link_reconfig_remove_status' > + * received, > + * i) 0 (IEEE80211_LINK_RECONFIG_START) - Send > + * NL80211_CMD_LINK_REMOVAL_STARTED > + * ii) 1 (IEEE80211_LINK_RECONFIG_COMPLETE) - Send > + * NL80211_CMD_LINK_REMOVAL_COMPLETED > + * > + * > + * This function is used to inform userspace about the ongoing link removal > + * status. 'IEEE80211_LINK_RECONFIG_START' is issued when the first beacon with > + * ML reconfigure IE is sent out. This event can be used by userspace to start > + * the BTM in case of AP mode. And, IEEE80211_LINK_RECONFIG_COMPLETE is issued > + * when the last beacon is sent with ML reconfigure IE. This is used to > + * initiate the deletion of that link, also to trigger deauth/disassoc for the > + * associated peer(s). > + * > + * Note: This API is currently used by drivers which supports offloaded > + * Multi-Link reconfigure link removal. Returns failure if FEATURE FLAG is not > + * set or success if NL message is sent. > + */ > +int > +cfg80211_update_link_reconfig_remove_status(struct net_device *dev, > + unsigned int link_id, > + u8 tbtt_count, u64 tsf, > + enum ieee80211_link_reconfig_remove_state action); > + > #endif /* __NET_CFG80211_H */ [...] /jeff