mac80211: add support for multiple wiphys behind a single device
authorFelix Fietkau <nbd@nbd.name>
Thu, 31 Oct 2019 11:36:55 +0000 (12:36 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 5 Nov 2019 11:09:36 +0000 (12:09 +0100)
commit8b15e7f661b4263a7b9fb6a410a5f58263b72caa
treed59c3a68ab5b2004cb42d6d2f77cc4dd51613f82
parentd64daf7026ce47788f12130462a3107bdab8718f
mac80211: add support for multiple wiphys behind a single device

The device path will be the same for the first phy. For all subsequent
phys, the path gets an extra +1, +2, ...
Move the code for converting path to phy and vice versa to a separate
library script shared by config detection code and the netifd wireless
handler script

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/Makefile
package/kernel/mac80211/files/lib/netifd/mac80211.sh [new file with mode: 0644]
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/kernel/mac80211/files/lib/wifi/mac80211.sh