Getting Wi-Fi information

A fundamental question...since iOS has always placed strict limits on what apps can do with Wi-Fi, and there’s never been a supported API for getting low-level Wi-Fi information such as ---a way to tell whether the WiFi is 2.4 or 5.0Ghz, is there an OpenWrt API available to obtain this info and if so can you point me to any helpful how-to docs?

Context: We have a router that will utilize OpenWrt. we're creating an iOS/Android App and need a way to get

  • Wi-Fi frequency information for the available networks
  • Signal Strength of each

Maybe you should start with how Luci implements the scan/join networks function?
iwinfo for CLI, libiwinfo for a library I suppose. Ubus for the API side