From patchwork Sat Mar 16 21:32:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Wiemann X-Patchwork-Id: 1057423 X-Patchwork-Delegate: ynezz@true.cz Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ironai.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hGHi0PyZ"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44MFzv252xz9ryj for ; Sun, 17 Mar 2019 08:33:11 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:Date:Message-ID: From:To:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=672fMlDjO7qSkom0hXozpYJtaAcs+fB43CiArPOSDLM=; b=hGHi0PyZn80eeY Sk65rJWB31k6tP3maN7nPjW/9PGwbtefGKgNgwQ0CuqiNJ4irrwutteNqg5+hZy4j4qoFGor6mnjT 3okjLVbjSoboDMvkLYHfHM7XDVAeyi6PDPGoxe1/yXW+YFa0EaAdtA5Zhew0RJ1Nia5WzRd2AVMzC aW6LyBDkyfIrSMu27r40a5JBVeQg/bvKSGoHq7Ojnr3gXXTsYclnQc02gUMDlrJQeeCmuc0zS8R4T R1gVIZU1CUrytPwiqo1jv+colWoAk29xUqMarShmf0yoA2b4rZ6emvrw+zod+LZLAgoDERmcaMkDv 2DPb34J3XsK+gpfOwNKg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5GvB-00006l-Fn; Sat, 16 Mar 2019 21:32:49 +0000 Received: from achernar.uberspace.de ([95.143.172.237]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1h5Gv7-00006U-0z for openwrt-devel@lists.openwrt.org; Sat, 16 Mar 2019 21:32:47 +0000 Received: (qmail 10196 invoked from network); 16 Mar 2019 21:32:38 -0000 Received: from localhost (HELO ?IPv6:2a02:790:ff:921:e6f8:9cff:feb4:b5e0?) (127.0.0.1) by achernar.uberspace.de with SMTP; 16 Mar 2019 21:32:38 -0000 To: openwrt-devel@lists.openwrt.org From: Vincent Wiemann Message-ID: <28c322f4-e46a-f566-34b0-ef84be5abcc8@ironai.com> Date: Sat, 16 Mar 2019 22:32:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190316_143245_365406_7550357C X-CRM114-Status: UNSURE ( 7.34 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [95.143.172.237 listed in list.dnswl.org] Subject: [OpenWrt-Devel] [PATCH v2] iwinfo: Complete device IDs for Ubiquiti airOS XM/XW devices X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This commit includes all power offsets and subsystem device IDs for Ubiquiti XM and XW devices. The device ID is wildcarded. Consistency has been tested among all Ubiquiti platforms. These values seem to be PA gains and likely do not include antenna gains. I expect the antenna gains to be defined in ART- partitions. Signed-off-by: Vincent Wiemann --- hardware.txt | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 98 insertions(+), 5 deletions(-) diff --git a/hardware.txt b/hardware.txt index f36c476..727c607 100644 --- a/hardware.txt +++ b/hardware.txt @@ -17,6 +17,99 @@ 0xffff 0xffff 0xffff 0xc105 5 0 "Ubiquiti" "NanoStation Loco5" 0xffff 0xffff 0xffff 0xc202 10 0 "Ubiquiti" "Bullet2" 0xffff 0xffff 0xffff 0xc205 5 0 "Ubiquiti" "Bullet5" +0x168c 0xffff 0x0777 0xe002 6 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe003 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe005 5 0 "Ubiquiti" "NanoStation M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe006 5 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe009 6 0 "Ubiquiti" "NanoStation Loco M9" /* airOS XM */ +0x168c 0xffff 0x0777 0xe012 10 0 "Ubiquiti" "NanoStation M2" /* airOS XM */ +0x168c 0xffff 0x0777 0xe035 3 0 "Ubiquiti" "NanoStation M3" /* airOS XM */ +0x168c 0xffff 0x0777 0xe0a2 2 0 "Ubiquiti" "NanoStation Loco M2" /* airOS XM */ +0x168c 0xffff 0x0777 0xe0a5 1 0 "Ubiquiti" "NanoStation Loco M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe102 6 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe105 5 0 "Ubiquiti" "Rocket M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe112 10 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe115 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1a3 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1a5 5 0 "Ubiquiti" "PowerBridge M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe1b2 10 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1b3 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1b5 5 0 "Ubiquiti" "Rocket M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe1b6 5 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1b9 6 0 "Ubiquiti" "Rocket M9" /* airOS XM */ +0x168c 0xffff 0x0777 0xe1c2 10 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1c3 3 0 "Ubiquiti" "Rocket M3" /* airOS XM */ +0x168c 0xffff 0x0777 0xe1c5 5 0 "Ubiquiti" "Rocket M5 GPS" /* airOS XM */ +0x168c 0xffff 0x0777 0xe1c5 5 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1d2 10 0 "Ubiquiti" "Rocket M2 Titanium" /* airOS XM/XW */ +0x168c 0xffff 0x0777 0xe1d3 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1d5 5 0 "Ubiquiti" "airOS XM/XW" +0x168c 0xffff 0x0777 0xe1d9 6 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1e3 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe1e5 5 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe202 12 0 "Ubiquiti" "Bullet M2" /* airOS XM */ +0x168c 0xffff 0x0777 0xe205 6 0 "Ubiquiti" "Bullet M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe212 1 0 "Ubiquiti" "AirGrid M2" /* airOS XM */ +0x168c 0xffff 0x0777 0xe215 1 0 "Ubiquiti" "AirGrid M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe232 2 0 "Ubiquiti" "NanoBridge M2" /* airOS XM */ +0x168c 0xffff 0x0777 0xe233 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe235 1 0 "Ubiquiti" "NanoBridge M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe239 6 0 "Ubiquiti" "NanoBridge M9" /* airOS XM */ +0x168c 0xffff 0x0777 0xe242 9 0 "Ubiquiti" "AirGrid M2 HP" /* airOS XM */ +0x168c 0xffff 0x0777 0xe243 3 0 "Ubiquiti" "NanoBridge M3" /* airOS XM */ +0x168c 0xffff 0x0777 0xe245 6 0 "Ubiquiti" "AirGrid M5 HP" /* airOS XM */ +0x168c 0xffff 0x0777 0xe252 9 0 "Ubiquiti" "AirGrid M2 HP" /* airOS XM */ +0x168c 0xffff 0x0777 0xe255 6 0 "Ubiquiti" "AirGrid M5 HP" /* airOS XM */ +0x168c 0xffff 0x0777 0xe2a3 3 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe2a5 5 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe2b2 10 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe2b5 1 0 "Ubiquiti" "NanoBridge M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe2b9 6 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe2c2 10 0 "Ubiquiti" "NanoBeam M2 Int" /* airOS XW */ +0x168c 0xffff 0x0777 0xe2c3 6 0 "Ubiquiti" "Bullet M2 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe2c4 6 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe2d2 12 0 "Ubiquiti" "Bullet M2 Titanium HP" /* airOS XM */ +0x168c 0xffff 0x0777 0xe2d4 6 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe2d5 6 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe2e5 4 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe302 12 0 "Ubiquiti" "PicoStation M2" /* airOS XM */ +0x168c 0xffff 0x0777 0xe305 6 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe345 6 0 "Ubiquiti" "WispStation M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe3a5 5 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe3b5 6 0 "Ubiquiti" "airOS XM/XW" +0x168c 0xffff 0x0777 0xe3e5 4 0 "Ubiquiti" "PowerBeam M5 300" /* airOS XW */ +0x168c 0xffff 0x0777 0xe402 10 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe405 1 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe4a2 1 0 "Ubiquiti" "AirRouter" /* airOS XM */ +0x168c 0xffff 0x0777 0xe4a5 1 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe4b2 9 0 "Ubiquiti" "AirRouter HP" /* airOS XM */ +0x168c 0xffff 0x0777 0xe4d5 5 0 "Ubiquiti" "Rocket M5 Titanium" /* airOS XW */ +0x168c 0xffff 0x0777 0xe4e5 4 0 "Ubiquiti" "PowerBeam M5 400" /* airOS XW */ +0x168c 0xffff 0x0777 0xe5e5 4 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe6a2 1 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe6b2 1 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe6b5 5 0 "Ubiquiti" "Rocket M5 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe6c2 6 0 "Ubiquiti" "airOS XM" +0x168c 0xffff 0x0777 0xe6e5 4 0 "Ubiquiti" "PowerBeam M5 400 ISO" /* airOS XW */ +0x168c 0xffff 0x0777 0xe7f8 2 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe805 5 0 "Ubiquiti" "airOS XM" /* e.g. NanoStation M5, Bullet M5 */ +0x168c 0xffff 0x0777 0xe812 6 0 "Ubiquiti" "NanoBeam M2 13" /* airOS XW */ +0x168c 0xffff 0x0777 0xe815 4 0 "Ubiquiti" "NanoBeam M5 16" /* airOS XW */ +0x168c 0xffff 0x0777 0xe825 4 0 "Ubiquiti" "NanoBeam M5 19" /* airOS XW */ +0x168c 0xffff 0x0777 0xe835 6 0 "Ubiquiti" "AirGrid M5 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe845 1 0 "Ubiquiti" "NanoStation Loco M5 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe855 5 0 "Ubiquiti" "NanoStation M5 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe865 6 0 "Ubiquiti" "LiteBeam M5" /* airOS XW */ +0x168c 0xffff 0x0777 0xe866 6 0 "Ubiquiti" "NanoStation M2 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe867 2 0 "Ubiquiti" "NanoStation Loco M2 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe868 7 0 "Ubiquiti" "Rocket M2 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe869 2 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe875 4 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe879 2 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe885 4 0 "Ubiquiti" "PowerBeam M5 620 XW" /* airOS XW */ +0x168c 0xffff 0x0777 0xe895 4 0 "Ubiquiti" "airOS XW" +0x168c 0xffff 0x0777 0xe8a5 1 0 "Ubiquiti" "NanoStation Loco M5" /* airOS XM */ +0x168c 0xffff 0x0777 0xe8b5 5 0 "Ubiquiti" "airOS XM" 0x168c 0x001b 0x0777 0x3002 10 0 "Ubiquiti" "XR2" 0x168c 0x001b 0x7777 0x3002 10 0 "Ubiquiti" "XR2" 0x168c 0x001b 0x0777 0x3b02 10 0 "Ubiquiti" "XR2.3" @@ -41,18 +134,18 @@ 0x168c 0x0027 0x168c 0x2082 7 0 "Ubiquiti" "SR71A" 0x168c 0x0027 0x0777 0x4082 7 0 "Ubiquiti" "SR71" 0x168c 0x0029 0x0777 0x4005 7 0 "Ubiquiti" "SR71-15" -0x168c 0x002a 0x0777 0xe302 12 0 "Ubiquiti" "PicoStation M2" /* ToDo: confirm offset */ -0x168c 0x002a 0x0777 0xe012 12 0 "Ubiquiti" "NanoStation M2" /* ToDo: confirm offset */ -0x168c 0x002a 0x0777 0xe005 5 0 "Ubiquiti" "NanoStation M5" /* ToDo: confirm offset */ +0x168c 0x002a 0x0777 0xe302 12 0 "Ubiquiti" "PicoStation M2" /* ToDo: confirm offset - Correct! */ +0x168c 0x002a 0x0777 0xe012 12 0 "Ubiquiti" "NanoStation M2" /* ToDo: confirm offset - Wrong! */ +0x168c 0x002a 0x0777 0xe005 5 0 "Ubiquiti" "NanoStation M5" /* ToDo: confirm offset - Correct! */ 0x168c 0x002a 0x0777 0xe202 12 0 "Ubiquiti" "Bullet M2" 0x168c 0x002a 0x0777 0xe805 5 0 "Ubiquiti" "Bullet M5" -0x168c 0x002a 0x0777 0xe345 0 0 "Ubiquiti" "WispStation M5" /* ToDo: confirm offset */ +0x168c 0x002a 0x0777 0xe345 0 0 "Ubiquiti" "WispStation M5" /* ToDo: confirm offset - Wrong! */ 0x168c 0x0029 0x168c 0xa094 0 0 "Atheros" "AR9220" 0x168c 0x0029 0x168c 0xa095 0 0 "Atheros" "AR9223" 0x168c 0x002a 0x168c 0xa093 0 0 "Atheros" "AR9280" 0x168c 0x002b 0x168c 0xa091 0 0 "Atheros" "AR9285" 0x168c 0x002d 0x168c 0x209a 0 0 "Atheros" "AR9287" -0x168c 0x002e 0x0777 0xe0a2 8 0 "Ubiquiti" "NanoStation Loco M2 (XM)" +0x168c 0x002e 0x0777 0xe0a2 8 0 "Ubiquiti" "NanoStation Loco M2 (XM)" /* wrong offset! */ 0x168c 0x0033 0x168c 0xa120 0 0 "Atheros" "AR9580" 0x168c 0x0033 0x168c 0xa136 0 0 "Atheros" "AR9580" 0x168c 0x0033 0x19b6 0xd016 0 0 "Mikrotik" "R11e-2HPnD"