From patchwork Mon Aug 3 15:33:33 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Theil X-Patchwork-Id: 259681 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47967C433DF for ; Mon, 3 Aug 2020 15:33:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3329920775 for ; Mon, 3 Aug 2020 15:33:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726981AbgHCPdt (ORCPT ); Mon, 3 Aug 2020 11:33:49 -0400 Received: from smail.rz.tu-ilmenau.de ([141.24.186.67]:51534 "EHLO smail.rz.tu-ilmenau.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbgHCPdt (ORCPT ); Mon, 3 Aug 2020 11:33:49 -0400 Received: from legolas.tu-ilmenau.de (unknown [141.24.111.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id 7ED1258004F; Mon, 3 Aug 2020 17:33:47 +0200 (CEST) From: Markus Theil To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Markus Theil Subject: [PATCH 1/4] iw: print current ext feature set Date: Mon, 3 Aug 2020 17:33:33 +0200 Message-Id: <20200803153336.319773-1-markus.theil@tu-ilmenau.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Markus Theil --- info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/info.c b/info.c index f7889fe..ee2faeb 100644 --- a/info.c +++ b/info.c @@ -710,6 +710,8 @@ broken_combination: ext_feat_print(tb, BEACON_PROTECTION_CLIENT, "beacon prot. for clients support"); ext_feat_print(tb, SCAN_FREQ_KHZ, "scan on kHz frequency support"); ext_feat_print(tb, CONTROL_PORT_OVER_NL80211_TX_STATUS, "tx status for nl80211 control port support"); + ext_feat_print(tb, OPERATING_CHANNEL_VALIDATION, "Operating Channel Validation (OCV) support"); + ext_feat_print(tb, 4WAY_HANDSHAKE_AP_PSK, "AP mode PSK offload support"); } if (tb_msg[NL80211_ATTR_COALESCE_RULE]) { From patchwork Mon Aug 3 15:33:35 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Theil X-Patchwork-Id: 259680 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13585C433E0 for ; Mon, 3 Aug 2020 15:33:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id ECDEF20775 for ; Mon, 3 Aug 2020 15:33:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727004AbgHCPdu (ORCPT ); Mon, 3 Aug 2020 11:33:50 -0400 Received: from smail.rz.tu-ilmenau.de ([141.24.186.67]:51542 "EHLO smail.rz.tu-ilmenau.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726998AbgHCPdu (ORCPT ); Mon, 3 Aug 2020 11:33:50 -0400 Received: from legolas.tu-ilmenau.de (unknown [141.24.111.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smail.rz.tu-ilmenau.de (Postfix) with ESMTPSA id 921D7580060; Mon, 3 Aug 2020 17:33:47 +0200 (CEST) From: Markus Theil To: johannes@sipsolutions.net Cc: linux-wireless@vger.kernel.org, Markus Theil Subject: [PATCH 3/4] iw: handle all mesh config parameters Date: Mon, 3 Aug 2020 17:33:35 +0200 Message-Id: <20200803153336.319773-3-markus.theil@tu-ilmenau.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200803153336.319773-1-markus.theil@tu-ilmenau.de> References: <20200803153336.319773-1-markus.theil@tu-ilmenau.de> MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Signed-off-by: Markus Theil --- mesh.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mesh.c b/mesh.c index 0650d0c..23b3471 100644 --- a/mesh.c +++ b/mesh.c @@ -264,6 +264,12 @@ static const struct mesh_param_descr _mesh_param_descrs[] = _my_nla_put_u16, _parse_u16, _print_u16_in_TUs}, {"mesh_plink_timeout", NL80211_MESHCONF_PLINK_TIMEOUT, _my_nla_put_u32, _parse_u32, _print_u32_in_seconds}, + {"mesh_connected_to_gate", NL80211_MESHCONF_CONNECTED_TO_GATE, + _my_nla_put_u8, _parse_u8_as_bool, _print_u8}, + {"mesh_nolearn", NL80211_MESHCONF_NOLEARN, + _my_nla_put_u8, _parse_u8_as_bool, _print_u8}, + {"mesh_connected_to_as", NL80211_MESHCONF_CONNECTED_TO_AS, + _my_nla_put_u8, _parse_u8_as_bool, _print_u8}, }; static void print_all_mesh_param_descr(void)