From 33956cd4b398dc288ad6cc50457ce15a96af35d3 Mon Sep 17 00:00:00 2001
From: Vincent Wiemann <webmaster@codefetch.de>
Date: Wed, 23 May 2018 19:32:40 +0200
Subject: [PATCH] ar71xx: add support for Alfa AP121F (#1404)

Adds support for Alfa AP121F USB powered travel router (looks like an USB ethernet adapter).
There is no factory image, but only a sysupgrade file for this router which can be installed using the inbuilt UBoot web interface.
Configure your PC with IP address 192.168.1.2 and connect the router using its RJ45 port. Hold the reset button while powering the device until all LEDs have flashed 3 times simultaneously. You can now access the fallback web interface using a web browser at http://192.168.1.1 and flash the sysupgrade file.
---
 docs/index.rst         | 1 +
 targets/ar71xx-generic | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/docs/index.rst b/docs/index.rst
index 771f7616e..b882fcfcd 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -112,6 +112,7 @@ ar71xx-generic
 * ALFA Network
 
   - AP121
+  - AP121F
   - AP121U
   - Hornet-UB
   - Tube2H
diff --git a/targets/ar71xx-generic b/targets/ar71xx-generic
index b116652ea..20224be33 100644
--- a/targets/ar71xx-generic
+++ b/targets/ar71xx-generic
@@ -16,6 +16,9 @@ factory
 
 # ALFA NETWORK
 
+device alfa-network-ap121f ap121f ap121f
+factory
+
 device alfa-network-hornet-ub hornet-ub HORNETUB
 alias alfa-network-ap121
 alias alfa-network-ap121u
-- 
GitLab