mbox series

[RESEND,0/5] mac80211: change disassociation order

Message ID 20241224172731.2640748-1-miriam.rachel.korenblit@intel.com (mailing list archive)
Headers show
Series mac80211: change disassociation order | expand

Message

Miri Korenblit Dec. 24, 2024, 5:27 p.m. UTC
Hi,

This series contains patches that changes the disassocation order in
mlme code:
Instead of removing the AP STA completely, and then mark the vif as
unassociated
(which means that in between, the vif is marked as associated but there
is no AP STA. That makes little sense and may be a problem for some
drivers, as iwlwifi),
first move the state of the AP STA to NONE, then mark the vif as
unassociated, and only then remove the AP STA.

The new order will be used only for drivers that set a special driver
flag, so otherwise no impact on other drivers.

This series also contains the dependednt iwlwifi patches.

Thanks,
Miri

Miri Korenblit (5):
  wifi: iwlwifi: mvm: remove pre-mld code from mld path
  wifi: iwlwifi: mvm: send the right link id
  wifi: mac80211: add an option to filter a sta from being flushed
  wifi: mac80211: change disassoc sequence a bit
  wifi: iwlwifi: mvm: cleanup iwl_mvm_sta_del

 .../net/wireless/intel/iwlwifi/mvm/mac80211.c | 31 +---------
 .../wireless/intel/iwlwifi/mvm/mld-mac80211.c | 35 +----------
 .../net/wireless/intel/iwlwifi/mvm/mld-sta.c  | 27 +++------
 drivers/net/wireless/intel/iwlwifi/mvm/sta.c  | 59 ++++++++-----------
 drivers/net/wireless/intel/iwlwifi/mvm/sta.h  |  7 +--
 include/net/mac80211.h                        |  4 ++
 net/mac80211/cfg.c                            |  2 +-
 net/mac80211/mlme.c                           | 24 +++++++-
 net/mac80211/sta_info.c                       |  5 +-
 net/mac80211/sta_info.h                       |  5 +-
 10 files changed, 75 insertions(+), 124 deletions(-)