Message ID | 20240124132814.802018-1-quic_adisi@quicinc.com |
---|---|
Headers | show |
Series | wifi: cfg80211/mac80211: add support to flush stations based on link ID | expand |
On 1/24/2024 5:28 AM, Aditya Kumar Singh wrote: > Currently whenever NL80211_CMD_DEL_STATION command is called without any > MAC address, all stations present on that interface are flushed. > However with MLO there is a need to flush the stations from a particular > link in the interface, and not from all the links associated with the MLD > interface. > > For example - 2 GHz and 5 GHz are part of an AP MLD. When 2 GHz BSS is > brought up, it sends flush command on the interface (MLD). Then eventually "it sends": can you please clarify what "it" is > 5 GHZ links comes up and that also sends the command on the same interface. "that also sends": likewise what is "that" > Now by the time 5 GHz link comes up, if any station gets connected to 2 GHz > link, it would be flushed while 5 GHz link is started which is wrong. > > Hence, add an option to pass link ID as well in the command so that if link > ID is passed, station using that passed link ID alone would be deleted > and others will not be removed. > > A subsequent patch would add logic to delete only the station using the > passed link ID. > > Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com> Actual code change LGTM