hostapd: report bssid, ssid and channel over ubus
authorMartin Weinelt <hexa@darmstadt.ccc.de>
Fri, 25 Jun 2021 22:01:07 +0000 (00:01 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 20 Mar 2022 00:30:52 +0000 (01:30 +0100)
commit3731ffa0ee0c7e4e1bac96bf99a390cf93f7bb30
treef04b3a7d32108c286611e23b472a9d2c39ea855a
parent53c60d4bfaa791d2e5fe5f4123cb0d6eadc7ec99
hostapd: report bssid, ssid and channel over ubus

Imports a function from iw to convert frequencies to channel numbers.

Co-authored-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
[fix potential out of bounds read]
Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 398df6275674b637bc950e4f946f84c2bc5e09ff)
package/network/services/hostapd/src/src/ap/ubus.c