From patchwork Sun Dec 6 01:11:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 1411657 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.openwrt.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=Dl6awnbH; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=bBiA/4z1; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CpT5p4c64z9sW8 for ; Sun, 6 Dec 2020 12:15:42 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=YTjcPglRNtGsZrQb9Y2AtLfgNskJ29aeAKwmBHv68+E=; b=Dl6awnbHsc43pNXyRXyRCu7Lmb 5eEoSJUe6dWlrRVJzJZhHIIVmr5/HoA4q9dJ+BppRDKEk2nAt7sKAzOpgT8afFxVaC3Li0iNS9xP2 YcejGxtPltaKvByupLtkc0c0zwvuTmn1avgjTqPn+g8fbEqk1l2Eq9HGPE2dqdwon5tSSTjD1IkyI WENC11TmTYQ+THNpPvo2+U53m93ItJTz587RyYgvHCBEUaSXqABPZSZChSQT3s7p8O68QRHmFDN1F +1MA+oivBlDVmZwXlMXi1QS5c3hVO7mtrKSa9HH3NuCfRDBRUY5GrJg03Si5zUvH9J8VfOc0w/Nzc Kw683aHQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1klic5-0006O2-T7; Sun, 06 Dec 2020 01:13:22 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1klic2-0006MQ-LJ for openwrt-devel@lists.openwrt.org; Sun, 06 Dec 2020 01:13:19 +0000 Received: by mail-wr1-x431.google.com with SMTP id u12so9103429wrt.0 for ; Sat, 05 Dec 2020 17:13:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gEBzuzYB2t53WUslcEPPtBMzKoPuXVjOQdFf04CvTIs=; b=bBiA/4z1gG5rxpFptIu25HnsT/sIrH9kfLlrNNp1Hpn6mo2E0vElKifzpyhKCgFlLt NQW+fY8F1eARn2E5NoWRr92GkLxqcpFOWAkJaXYIa4oTLZAktfAthxIowuycSDkTq43b CTTIMWAfmr4XlE2bjFaBogV8HyKBiSPVO8vUyV+owHUkmVqYVSHE028DLSc2GLGkku36 8MbISZTuj+GLSuFgNJVet12LCUG8upSvsBB4ooN86kyUMs+bYDeo6xMxstz0BaUx4WOn s65AEhHwQGvL2ZEQGcFYhppqsG84bJOofqIh26YS3EQTYotsmHXOr6ZMZFsUfYX1fy71 ASJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gEBzuzYB2t53WUslcEPPtBMzKoPuXVjOQdFf04CvTIs=; b=eVw2jvvIUrhNo5hS6E6KKTUgWIWSltTxDzs6I6HgQMSTiuChIzKCMgMYQsu19+YPXl RTx85Fk5DzWl9MC75RYB7lnB6+YjU6b3U5RNIJM4DOdqGEd8Gqec0k3nQi98UiXczSDp 4TwmZDkbY2YlQidSCsvS5uOUWgt6dxldHozirkuu2+Ik4tBYPmZfwtMYPRnaaZyTBbRQ 4+1Bwg+nnpus3AWfNE/NFxW/SFLJzb2kwc/ow2dPUXIuSd/BvqHLkofG1EeLfpC5o+2Z may8b33TWOahQyrOqihBi43dPx2Pyji1zsWmCMl0xtrgNpiiXs7vG/oh405XYwatayob 6WmA== X-Gm-Message-State: AOAM533jkagwFzWeq8EIax1C1pEnOqcQVAB1J1ZDQIWS2otOvzvXCEQt tzOvFKZwZGyi6gXC/t9PbSocSvOydvE= X-Google-Smtp-Source: ABdhPJyJOZcEP2G9OOKYIVnXtfEi6/8xpeem/1gT0a3m8vrWkOYXLKBOqlO2/iu/9TUGYGHMl853RA== X-Received: by 2002:a5d:534e:: with SMTP id t14mr12426144wrv.234.1607217194609; Sat, 05 Dec 2020 17:13:14 -0800 (PST) Received: from ansuel-xps20.localdomain (host-87-1-248-10.retail.telecomitalia.it. [87.1.248.10]) by smtp.googlemail.com with ESMTPSA id b73sm7328415wmb.0.2020.12.05.17.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2020 17:13:14 -0800 (PST) From: Ansuel Smith To: openwrt-devel@lists.openwrt.org Subject: [PATCH v3 0/4] Add support channel with to iwinfo Date: Sun, 6 Dec 2020 02:11:14 +0100 Message-Id: <20201206011118.20601-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201205_201318_788833_8805847B X-CRM114-Status: GOOD ( 10.43 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:431 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [ansuelsmth[at]gmail.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ansuel Smith Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org This series modify 2 different repo. Iwinfo and Rpcd The 2 iwinfo patch add support to iwinfo to display and export channel width and center_channel info for both wifi scan and wifi info related to the local wifi. The other 2 rpcd patch export the iwinfo data to ubus to make them usable by the webui. v3: - Add check for center_chan support in iwinfo_cli - Use uinit to represent chan width and add function format_chant_width v2: - Put the static char array to the iwinfo include. (the rpcd plugin use the same include) - Add additional patch to export center_chanl for local wifi.