diff --git a/docs/user/supported_devices.rst b/docs/user/supported_devices.rst index 8263b6b9..b136cf6d 100644 --- a/docs/user/supported_devices.rst +++ b/docs/user/supported_devices.rst @@ -89,6 +89,7 @@ ath79-generic * Ubiquiti + - NanoStation M2/M5 (XW) - UniFi AC Lite - UniFi AC LR - UniFi AC Mesh diff --git a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces index 25542d19..e6469dc4 100755 --- a/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces +++ b/package/gluon-core/luasrc/lib/gluon/upgrade/020-interfaces @@ -47,6 +47,7 @@ if platform.match('ath79', 'generic', { 'tplink,cpe210-v2', 'tplink,cpe510-v1', 'tplink,wbs210-v2', + 'ubnt,nanostation-m-xw', 'ubnt,unifi-ap-pro', }) then lan_ifname, wan_ifname = wan_ifname, lan_ifname diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua index 737cf826..cfb018a7 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/platform.lua @@ -35,6 +35,7 @@ function M.is_outdoor_device() 'tplink,cpe510-v3', 'tplink,eap225-outdoor-v1', 'tplink,wbs210-v2', + 'ubnt,nanostation-m-xw', 'ubnt,unifiac-mesh', }) then return true diff --git a/targets/ath79-generic b/targets/ath79-generic index f3c5e8cb..53603864 100644 --- a/targets/ath79-generic +++ b/targets/ath79-generic @@ -333,6 +333,13 @@ device('tp-link-wbs210-v2', 'tplink_wbs210-v2') -- Ubiquiti +device('ubiquiti-nanostation-m-xw', 'ubnt_nanostation-m-xw', { + manifest_aliases = { + 'ubiquiti-nanostation-m2-xw', -- upgrade from OpenWrt 19.07 + 'ubiquiti-nanostation-m5-xw', -- upgrade from OpenWrt 19.07 + }, +}) + device('ubiquiti-unifi-ac-lite', 'ubnt_unifiac-lite', { factory = false, packages = ATH10K_PACKAGES_QCA9880,