[PATCH 0/6] MLO control socket changes

Aditya Kumar Singh quic_adisi at quicinc.com
Mon Apr 22 22:31:22 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

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
 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 | 104 ++++++++++-
 11 files changed, 735 insertions(+), 14 deletions(-)
 create mode 100644 tests/hwsim/mld.py

base-commit: 5308029f8684b789b433c05e79c0a7ec37971ef8

More information about the Hostap mailing list