Skip to content

add support for multi phy devices

Janusz Dziedzic requested to merge multiple_phy_support into devel

Such single device could create multiple phys:

root@OpenWrt:# ls /sys/devices/platform/soc/18000000.wifi/ieee80211/ phy0 phy1 root@OpenWrt:#

root@OpenWrt:# ls -l /sys/class/ieee80211/phy0/device lrwxrwxrwx 1 root root 0 Aug 19 14:01 /sys/class/ieee80211/phy0/device -> ../../../18000000.wifi root@OpenWrt:# ls -l /sys/class/ieee80211/phy1/device lrwxrwxrwx 1 root root 0 Aug 19 14:01 /sys/class/ieee80211/phy1/device -> ../../../18000000.wifi root@OpenWrt:~#

So, before we fail to find connect phyX base on radio name from UCI device section.

Code ported from iwinfo, where we have:

root@OpenWrt:/sys# iwinfo nl80211 path phy0 platform/soc/18000000.wifi root@OpenWrt:/sys#

Signed-off-by: Janusz Dziedzic janusz.dziedzic@iopsys.eu

Merge request reports

Loading