ramips-mt7620: add support for TP-Link Archer C20 v1

This commit is contained in:
Steffen Förster 2018-08-08 23:17:34 +02:00
parent 1e61e8e897
commit 4b6af8dd23
3 changed files with 12 additions and 0 deletions

View File

@ -340,6 +340,10 @@ ramips-mt7620
- GL-MT300N [#80211s]_ - GL-MT300N [#80211s]_
- GL-MT750 [#80211s]_ - GL-MT750 [#80211s]_
* TP-Link
- Archer C20 (v1) [#80211s]_
ramips-mt7621 ramips-mt7621
^^^^^^^^^^^^^ ^^^^^^^^^^^^^

View File

@ -47,6 +47,8 @@ elseif platform.match('ar71xx', 'generic', {'archer-c5', 'archer-c58-v1',
elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040', elseif platform.match('ipq40xx', nil, {'avm,fritzbox-4040',
'openmesh,a42', 'openmesh,a62'}) then 'openmesh,a42', 'openmesh,a62'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address') table.insert(try_files, 1, '/sys/class/net/eth0/address')
elseif platform.match('ramips', 'mt7620', {'tplink,c20-v1'}) then
table.insert(try_files, 1, '/sys/class/net/eth0/address')
end end

View File

@ -7,3 +7,9 @@ factory
device gl-mt750 gl-mt750 device gl-mt750 gl-mt750
factory factory
# TP-Link
if [ "$BROKEN" ]; then
device tp-link-archer-c20-v1 tplink_c20-v1 # BROKEN: only 2.4GHz wifi working
fi