[PATCH 00/42] MLO: Support more MLO flows

Andrei Otcheretianski andrei.otcheretianski at intel.com
Mon Nov 20 15:51:14 PST 2023


This set of patches adds support for additional MLO flows.
Support flows for properly handling link associations failures,
reassociations, handling ML probes, link removals etc. and add the
corresponding tests. This series also include some bugfixes and
refactoring.

Andrei Otcheretianski (9):
  wpa_supplicant: Add MLD testing configs
  wpa_supplicant: Remove duplicate logic in wpas_ml_element()
  wpa_supplicant: Fix ml_ie_len type in wpa_bss_parse_basic_ml_element()
  AP: Don't include MLD ID in beacons
  AP: Avoid setting same MLD and link address
  AP: Get rid of wpa_auth_pmksa_add3
  wpa_supplicant: Use wpa_msg in bssid_ignore.c
  tests: update ML discovery test to also check probe requests
  tests: Add a unit test for RNR/basic ML element parsing

Benjamin Berg (23):
  nl80211: Do a roundtrip to reset event supressions
  sme: Drop old disassoc_while_authenticating workaround
  common: Simplify and avoid confusing defragmentation API
  defs: Add WLAN_STATUS_DENIED_TX_LINK_NOT_ACCEPTED
  MLD: Also mark links as failed after association failure
  MLD: Return status code for links when rejecting association
  bss: do not consider ignored BSSs for links
  MLD: ignore failed links from association
  nl80211: Add support to parse out link from error reply
  nl80211: Report link specific association failures from the kernel
  AP: Use a struct for probe resp in/out params
  AP: Split probe response IE generation into separate function
  AP: Add parsing of ML probe requests
  AP: MLO: Add helper to iterate all links of an MLD AP
  ML: Add basic handling of ML probe requests
  MLD: Use MLD address for deauthentication
  hwsim: Avoid exception string matching for failures
  hwsim: Fix some incorrect failure waiting calls
  os: allow multiple failures in one test
  tests: allow specifying multiple failure locations
  os: Add TEST_FAIL_TAG macro to allow more narrow matching
  tests: Add some MLD association tests
  tests: test driver association ML link rejection flow

Ilan Peer (9):
  AP: MLD: Make BSS parameter change variable
  AP: Add support for testing ML link removal
  scan: Include AP MLD ID in ML probe request if needed
  scan: MLD: Include SSID in ML probe request
  AP: Use AP MLD address for SA query and response when needed
  AP: Handle re-association from an non-AP MLD
  AP: MLD: Update all PMKSAs in the AP MLD
  tests: Add validation of number of valid and active links
  tests: Add test to verify link removal

Johannes Berg (1):
  ieee802_11_defs: Fix EHT_ML_PRES_BM_PROBE_REQ_AP_MLD_ID

 hostapd/ctrl_iface.c               | 112 +++-----
 hostapd/main.c                     |  12 +-
 src/ap/beacon.c                    | 416 +++++++++++++++++++++-------
 src/ap/ctrl_iface_ap.c             |   2 +-
 src/ap/dpp_hostapd.c               |  14 +-
 src/ap/drv_callbacks.c             |   2 +-
 src/ap/hostapd.c                   |  62 ++++-
 src/ap/hostapd.h                   |  27 ++
 src/ap/ieee802_11.c                | 223 ++++++++++-----
 src/ap/ieee802_11.h                |  18 +-
 src/ap/ieee802_11_eht.c            | 259 +++++++++++++++++-
 src/ap/ieee802_11_shared.c         | 109 +++++++-
 src/ap/wnm_ap.c                    |   3 +-
 src/ap/wpa_auth.c                  |  37 +--
 src/ap/wpa_auth.h                  |   6 -
 src/common/ieee802_11_common.c     | 164 +++++------
 src/common/ieee802_11_common.h     |   9 +-
 src/common/ieee802_11_defs.h       |  10 +-
 src/common/wpa_common.c            |   4 +-
 src/drivers/driver.h               |   1 +
 src/drivers/driver_nl80211.c       | 380 +++++++++++++++++---------
 src/drivers/driver_nl80211.h       |  12 +-
 src/drivers/driver_nl80211_capa.c  |  13 +-
 src/drivers/driver_nl80211_event.c |  27 +-
 src/drivers/driver_nl80211_scan.c  |  21 +-
 src/pasn/pasn_initiator.c          |  10 +-
 src/pasn/pasn_responder.c          |  11 +-
 src/utils/os.h                     |  22 +-
 src/utils/os_unix.c                | 181 ++++++------
 tests/Makefile                     |  61 ++++-
 tests/hwsim/hostapd.py             |   4 +
 tests/hwsim/test_ap_eap.py         |  44 +--
 tests/hwsim/test_ap_hs20.py        |   4 +-
 tests/hwsim/test_eht.py            | 301 +++++++++++++++++++-
 tests/hwsim/test_rrm.py            |   2 +-
 tests/hwsim/utils.py               |  45 +--
 tests/test-bss.c                   |  88 ++++++
 wlantest/rx_mgmt.c                 |   2 +-
 wpa_supplicant/bss.c               |  95 ++++---
 wpa_supplicant/bss.h               |   6 +-
 wpa_supplicant/bssid_ignore.c      |  26 +-
 wpa_supplicant/config.c            |  23 ++
 wpa_supplicant/config.h            |  17 ++
 wpa_supplicant/config_file.c       |  10 +
 wpa_supplicant/ctrl_iface.c        |  74 +----
 wpa_supplicant/events.c            | 335 +++++++++++++++++++++--
 wpa_supplicant/sme.c               | 424 ++++++++++++-----------------
 wpa_supplicant/sme.h               |  14 +-
 wpa_supplicant/wpa_supplicant.c    |  12 +-
 wpa_supplicant/wpa_supplicant_i.h  |  12 +-
 50 files changed, 2627 insertions(+), 1139 deletions(-)
 create mode 100644 tests/test-bss.c

-- 
2.38.1




More information about the Hostap mailing list