How can I find AP BSSID of connected client to OpenWrt?

How can I find AP BSSID of connected client to openwrt?

A few candidates:

  • iwinfo wlan0 assoclist
  • iw dev wlan0 station dump (if wlan0 is in AP mode)
  • iw dev wlan0 link (iw wlan0 is in client mode)
1 Like

I used to find clients using wlanconfig ath0 list sta. But I did not get ap Bssid there. And my royer is not having iwinfo and iw in it. Is there other method to find out AP BSSID of client?