[PATCH v5 3/6] hostapd_cli: MLO: pass 'LINKID' in the command

Jouni Malinen j at w1.fi
Sun Sep 1 01:55:13 PDT 2024


On Tue, Aug 13, 2024 at 02:08:49PM +0530, Aditya Kumar Singh wrote:
> MLD level socket can take 'LINKID <link id>'. Add changes to pass this via
> hostapd_cli. User needs to give "link_id=<link_id>" in post fix fashion in
> the command in order to pass this link_id from cli.

This use of a postfix in the hostapd_cli command has the same issue as
postfix LINKID in the actually control interface command has, i.e., it
can be mixed up with other parts of the command.

> For example -
> $ hostapd_cli -i wlan0 status link_id=0 | grep freq=
> freq=2437

This is this even needed in hostapd_cli? Isn't it much cleaner to use
the -l command line parameter for per-link operations?

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list