-- ASUS

device('asus-rt-ac51u', 'rt-ac51u', {
	factory = false,
	broken = true, -- no 5GHz usable, LEDs not fully supported
})


-- GL.iNet

device('gl-mt300a', 'gl-mt300a', {
	factory = false,
})

device('gl-mt300n', 'gl-mt300n', {
	factory = false,
})

device('gl-mt750', 'gl-mt750', {
	factory = false,
})


-- Nexx

device('nexx-wt3020-8m', 'wt3020-8M', {
	aliases = {
		'nexx-wt3020ad',
		'nexx-wt3020f',
		'nexx-wt3020h',
	},
})

-- TP-Link

local tplink_region_suffix = ''
if (env.GLUON_REGION or '') ~= '' then
	tplink_region_suffix = '-' .. env.GLUON_REGION
end

device('tp-link-archer-c2-v1', 'tplink_c2-v1', {
	factory = false,
})

device('tp-link-archer-c20-v1', 'tplink_c20-v1')

device('tp-link-archer-c20i', 'ArcherC20i')

device('tp-link-archer-c50', 'ArcherC50v1', {
	factory = '-squashfs-factory' .. tplink_region_suffix,
})


-- Xiaomi

device('xiaomi-miwifi-mini', 'miwifi-mini', {
	factory = false,
})