[PATCH v3 0/6] MLO control socket changes

Aditya Kumar Singh quic_adisi at quicinc.com
Thu Aug 1 09:51:37 PDT 2024


Control socket for each link BSS of MLD currently needs to be in a separate
directory since interface name is same for all links in an AP MLD. Hence
once the first link comes up, rest of links will not come up if using the
same control interface directory.

Hence, introduce link level sockets. Each link will use socket with name
"<interface>_link<link id>" under given control interface directory.

Also, introduce a MLD level socket with name "<interface>" in the same
directory. This will help to route the commands to underlying links if
required as well as it will keep backwards compatibility with other
applications trying to find "<interface>" file in the control interface
directory.

Aditya Kumar Singh (5):
  ctrl_iface: MLO: introduce MLD level socket
  hostapd_cli: MLO: pass 'LINKID' in the command
  hostapd_cli: MLO: add status command for MLD socket
  tests: MLO: use link ID to access control sockets
  tests: MLO: add MLD socket connectivity test case

Karthikeyan Kathirvel (1):
  ctrl_iface: create link based hapd control sockets
---
v3: * Email correction in [0] and [6].

v2: * Rebased on ToT. No conflicts in [1-4].
    * Fixed newly added EHT MLO and RSN Override sim test cases. [5/6]
---
 hostapd/ctrl_iface.c             | 397 ++++++++++++++++++++++++++++++-
 hostapd/ctrl_iface.h             |   4 +
 hostapd/hostapd_cli.c            |  69 +++++-
 hostapd/main.c                   |   5 +
 src/ap/hostapd.c                 |  39 +++
 src/ap/hostapd.h                 |   7 +
 src/common/wpa_ctrl.c            |  54 +++++
 src/common/wpa_ctrl.h            |   7 +
 tests/hwsim/hostapd.py           |  27 ++-
 tests/hwsim/mld.py               |  36 +++
 tests/hwsim/test_eht.py          | 126 +++++++++-
 tests/hwsim/test_rsn_override.py |   2 +
 12 files changed, 749 insertions(+), 24 deletions(-)
 create mode 100644 tests/hwsim/mld.py


base-commit: 69d18ab9f256360e3a444f45e53840fcf3aa8f19
-- 
2.34.1




More information about the Hostap mailing list