]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: mac80211: add an option to filter a sta from being flushed
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Tue, 24 Dec 2024 17:27:29 +0000 (19:27 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 12:53:04 +0000 (13:53 +0100)
commita10723ced430de1b45572d84c0e4bcf5b671380c
tree7d87147c4a13d8fb074c284addca9e91cb2a8c2a
parent52674ee2f30c10e1f8c90ec9df36db926a536a0b
wifi: mac80211: add an option to filter a sta from being flushed

Sometimes we might want to flush only part of the stations of a vif,
for example only the TDLS ones.
To allow this, add a do_not_flush_sta argument to __sta_info_flush,
which in turn, will not flush this station.

Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20241224192322.535e1fcca192.Icecf7f443bf98c9535ce8ec03b24d0d17dfbc28e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h