Skip to content

Radio iface list

Janusz Dziedzic requested to merge radio_iface_list into devel

@anjancx Please check if that is aligned with our architecture.

For nl80211 as a radio I plan to return phyX interfaces - not hardcoded in /etc/config/wireless but real we can find in: /sys/class/ieee80211/*

Today we base on /etc/config/wireless - and finally we can add radio names like phy0 and phy1. But in case of problems (eg. driver reload) mac80211 could name them phy2, phy3 ....

Please check. Today will add wifimngr code that will use wifi_radio_list() and wifi_iface_list() and verify if works correctly.

Merge request reports