From 63bb07b617c73d7c6de06cff0e4beda643b0795c Mon Sep 17 00:00:00 2001 From: Conrad Lara - KG6JEI Date: Sun, 5 Apr 2015 22:16:24 -0700 Subject: [PATCH] hardware: CPE510: Add initial hardware support for TPLink CPE510 in testing Testing mode for CPE510 Offset needs to be looked into, OS reports a max power of 23dbm need to see if this is kernel, or offset related. Should provide enough details for the board to be registered in the UI --- files/www/cgi-bin/perlfunc.pm | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/files/www/cgi-bin/perlfunc.pm b/files/www/cgi-bin/perlfunc.pm index 9ba8cb70..b22de4b9 100644 --- a/files/www/cgi-bin/perlfunc.pm +++ b/files/www/cgi-bin/perlfunc.pm @@ -922,6 +922,17 @@ sub hardware_boardid sub hardware_info { %model = ( + 'TP-Link CPE510 v1.0' => { + 'name' => 'TP-Link CPE510 v1.0', + 'comment' => '', + 'supported' => '-2', + 'maxpower' => '27', + 'pwroffset' => '0', + 'antennas' => { 1 => "Horizontal", 2 => "Vertical", 3 => "Diversity" }, + 'defaultant' => 3, + 'usechains' => 1, + 'rfband' => '5800ubntus', + }, '0xc2a2' => { 'name' => 'Bullet 2 HP', 'comment' => 'Not enough Ram or flash',