PKG_DRIVERS = \
mac80211-hwsim \
+ virt-wifi \
mt7601u \
rsi91x rsi91x-usb rsi91x-sdio\
wlcore wl12xx wl18xx
AUTOLOAD:=$(call AutoProbe,mac80211_hwsim)
endef
+define KernelPackage/virt-wifi
+ $(call KernelPackage/mac80211/Default)
+ TITLE:=Wifi wrapper for ethernet drivers
+ DEPENDS+= +kmod-cfg80211 +@DRIVER_11AX_SUPPORT +@DRIVER_11AC_SUPPORT
+ FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/virtual/virt_wifi.ko
+ AUTOLOAD:=$(call AutoProbe,virt_wifi)
+endef
+
define KernelPackage/mt7601u
$(call KernelPackage/mac80211/Default)
endif
config-$(call config_package,mac80211-hwsim) += MAC80211_HWSIM
+config-$(call config_package,virt-wifi) += VIRT_WIFI
config-$(call config_package,mt7601u) += MT7601U
config-y += WL_MEDIATEK