]> git.ipfire.org Git - thirdparty/hostap.git/commit
AP MLD: Create link based hostapd control sockets
authorKarthikeyan Kathirvel <quic_kathirve@quicinc.com>
Tue, 13 Aug 2024 08:38:47 +0000 (14:08 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 1 Sep 2024 08:17:03 +0000 (11:17 +0300)
commit61dfd7ae356026029baea135db41ffbbecdf9d89
tree5ae67f730eac47ec48c96d544b0206bd238d38bf
parent8625001ce51b6581ceb94ffed199220c8b2a1443
AP MLD: Create link based hostapd control sockets

Create link based control sockets to access the link based commands
through hostapd_cli. This will create the link interfaces in the name of
<ifname>_link<X>

Example:
To fetch link 0 status from wlan0, below command can be used -
    $ hostapd_cli -i wlan0 -l 0 status

On failure of link/interface selection, below error will be observed
    $ hostapd_cli -i wlan0 -l 2 status
    Failed to connect to hostapd - wpa_ctrl_open: No such file or directory

Signed-off-by: Karthikeyan Kathirvel <quic_kathirve@quicinc.com>
Co-developed-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
hostapd/ctrl_iface.c
hostapd/hostapd_cli.c
src/ap/hostapd.c
src/ap/hostapd.h
src/common/wpa_ctrl.h