Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFS Gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Patrick
FFS Gluon
Commits
c7ff22ca
Commit
c7ff22ca
authored
9 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
Add support for TP-LINK TL-WA830RE v1
parent
b5050b29
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
patches/openwrt/0037-ar71xx-fix-AR71XX_MODEL-for-TP-Link-TL-WA830RE-v1.patch
+24
-0
24 additions, 0 deletions
...7-ar71xx-fix-AR71XX_MODEL-for-TP-Link-TL-WA830RE-v1.patch
targets/ar71xx-generic/profiles.mk
+3
-2
3 additions, 2 deletions
targets/ar71xx-generic/profiles.mk
with
27 additions
and
2 deletions
patches/openwrt/0037-ar71xx-fix-AR71XX_MODEL-for-TP-Link-TL-WA830RE-v1.patch
0 → 100644
+
24
−
0
View file @
c7ff22ca
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Mon, 15 Jun 2015 21:28:06 +0200
Subject: ar71xx: fix AR71XX_MODEL for TP-Link TL-WA830RE v1
The v1 identifies as v10 internally. As there is no TL-WA830RE v10, add a
workaround to avoid confusing users.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 1838cb4..d79776b 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -145,6 +145,10 @@
tplink_board_detect() {
;;
"083000"*)
model="TP-Link TL-WA830RE"
+
+ if [ "$hwver" = 'v10' ]; then
+ hwver='v1'
+ fi
;;
"084100"*)
model="TP-Link TL-WR841N/ND"
This diff is collapsed.
Click to expand it.
targets/ar71xx-generic/profiles.mk
+
3
−
2
View file @
c7ff22ca
...
@@ -83,9 +83,10 @@ $(eval $(call GluonModel,TLWDR4300,tl-wdr4300-v1,tp-link-tl-wdr4300-v1))
...
@@ -83,9 +83,10 @@ $(eval $(call GluonModel,TLWDR4300,tl-wdr4300-v1,tp-link-tl-wdr4300-v1))
$(
eval
$(
call GluonProfile,TLWA750
))
$(
eval
$(
call GluonProfile,TLWA750
))
$(
eval
$(
call GluonModel,TLWA750,tl-wa750re-v1,tp-link-tl-wa750re-v1
))
$(
eval
$(
call GluonModel,TLWA750,tl-wa750re-v1,tp-link-tl-wa750re-v1
))
ifeq
($(BROKEN),1)
# TL-WA830RE v1, v2
# TL-WA830RE v2
$(
eval
$(
call GluonProfile,TLWA830
))
$(
eval
$(
call GluonProfile,TLWA830
))
$(
eval
$(
call GluonModel,TLWA830,tl-wa830re-v1,tp-link-tl-wa830re-v1
))
ifeq
($(BROKEN),1)
$(
eval
$(
call GluonModel,TLWA830,tl-wa830re-v2,tp-link-tl-wa830re-v2
))
$(
eval
$(
call GluonModel,TLWA830,tl-wa830re-v2,tp-link-tl-wa830re-v2
))
endif
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment