How to know the frequency of AP mode

Jouni Malinen j at w1.fi
Mon Nov 20 14:17:17 PST 2017


On Mon, Nov 20, 2017 at 09:46:25AM -0800, Grégoire Gentil wrote:
> How can I query hostapd to know the frequency hostapd is using or is
> configured to use?"

The STATUS command on the hostapd control interface returns this. For
example:

$ hostapd_cli status
state=ENABLED
phy=phy3
freq=2412
...

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list