mbox series

[0/5] mac80211: change disassociation order

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

Message

Miri Korenblit Oct. 28, 2024, 4:18 p.m. UTC
Hi,

This series contains patches that changed 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(-)

Comments

Johannes Berg Nov. 7, 2024, 2:28 p.m. UTC | #1
This patchset doesn't apply (some patches not cleanly, some not at all),
but I'm not sure why. Perhaps it requires merging wireless back first?

Please resend when it applies on wireless-next. 

johannes