On Mon, Jul 25, 2022 at 02:19:27PM +0000, Salil Wadnerkar wrote: > Does anyone know which `ieee80211` commands I need to get the wireless > connection info like SSID name, type (WPA, etc), and signal strength? > `ieee80211_ioctl` (https://man.netbsd.org/NetBSD-9.0/ieee80211_ioctl.9) > looks promising, but I cannot find the IOCTL commands that will get the > required info.
You mean like the output of "ifconfig $IF list scan" ? That is implemented by the list_scan function in src/sbin/ifconfig/ieee80211.c. Martin
