Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1733542rwn; Thu, 15 Sep 2022 23:05:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4ybsUhnZzbeyeai5oK+Fx34iwrcct8XOK7+vQZjscQge87LOy2R0PAiFDsZFop1gkelbF/ X-Received: by 2002:a17:906:cc50:b0:777:5a19:2264 with SMTP id mm16-20020a170906cc5000b007775a192264mr2408806ejb.130.1663308321385; Thu, 15 Sep 2022 23:05:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663308321; cv=none; d=google.com; s=arc-20160816; b=nu3pz/FQD0/FuYeJOfw37FGx8EVTS7rGmbwGmfZq5ZO2agZ/ULnWZDjqnaBFehpKCq EmCpAYTKCBdAgOfqBMm4Gd2PiQ4H+HzK5hFcqkevR27apEYCpiB7/xJnKTtXeDvKupp7 zavflxHHQN4NsqPQ0mb9fEOvCFcF/Mew9AORRN+EFzH8W2sP5TvGolFajtg0XzsZy4WL 8tx7wR4KJMsh7xlGT/Z/bpZqqagPHrqqOqQfNDrzM7KiBkG3dImxvk2jXFqYrD9wz/B3 slea03+SDhIrq6vgV3QWy1tyDmdr7ITdvQiF77czGnXZcVOqFHEHXTpOd3hIH7dnWKuW dcQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=K/aGS6r5MYQSMaNm0DDEvZGxrC2zazvdjxKSHrZLqKg=; b=DzKmctfm3G8M0ve+fbqbZ5UT5YQrgcw9i/bjFBq9HqOqHl/WXabWaVtEYFuG5V3O5r dlkMPqgRZ0FRDSlPH+T1rx0AcVLISJTPrtF1ypxpRXbhXOPnHUeeWh48uEL7TRuWWVWR G8kAHuyfUl/LVdStamx3dvNGEbuvpQky/GVxvtM15/Tp0L0fUFepHLzHgenJeSPmLNyf gZ1Siu9nKF8MTsrI1D2heakBslwIprqsscWhyPBTN5wLfOp1T1mePOPkGxmd4iH9rpZJ zyKdIzQk6+cAF0jaUpDHxhvMrvvIjCdWprC50lWbpKNw+a4gJmLZcG6ZnS/mlAtMTzxY 5gtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QKl9K0Dz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sb31-20020a1709076d9f00b0077f2c582561si12476142ejc.156.2022.09.15.23.05.04; Thu, 15 Sep 2022 23:05:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QKl9K0Dz; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229685AbiIPFoe (ORCPT + 64 others); Fri, 16 Sep 2022 01:44:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbiIPFoc (ORCPT ); Fri, 16 Sep 2022 01:44:32 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3BDF5E669 for ; Thu, 15 Sep 2022 22:44:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id B4D9BB8235A for ; Fri, 16 Sep 2022 05:44:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CF3E4C433D6; Fri, 16 Sep 2022 05:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1663307063; bh=R1S8FgHayaYhk3ltK1TLwAkBP0yqIaxNrzlMpbcUWqg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=QKl9K0Dz71ZfLtqU4u8YitF/WPfWLWa7TFVLgzHQdUtRxUSQ18Av8t4uJUr9a7JUI kr7koPLdwBoqYv0aBKI/WtVnYEEYvT6uEMWo2VFlaBpE7G+uUXMsMLY8Pk6hBWwoWC JvxJlwUTGI8FoDjs1rPGGF5Cd9FGlpt7nu6uKCPPEZqHyhM1+6Q6QXTrgetu0UTlsz trl589AeiOZvbUXDh+4DgBJt3fpv5Pgq4mnvhY0KmpD7Fsj11Z6U7N/ajGEBMRPt2x Isj896uSB/Qnc4F7vEVuM0hxxsi89PntE1yB3YZG2sNAsppgbk5QSaJ00LEk5xbs4s dC70oGzlyDsXg== From: Kalle Valo To: James Prestwood Cc: linux-wireless@vger.kernel.org Subject: Re: [PATCH] net: mac80211: remove/avoid misleading prints References: <20220915195553.1052931-1-prestwoj@gmail.com> Date: Fri, 16 Sep 2022 08:44:17 +0300 In-Reply-To: <20220915195553.1052931-1-prestwoj@gmail.com> (James Prestwood's message of "Thu, 15 Sep 2022 12:55:53 -0700") Message-ID: <87pmfvan66.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org James Prestwood writes: > At some point a few kernel debug prints started appearing which > indicated something was sending invalid IEs: > > "bad VHT capabilities, disabling VHT" > "Invalid HE elem, Disable HE" > > Turns out these were being printed because the local hardware > supported HE/VHT but the peer/AP did not. Bad/invalid indicates, > to me at least, that the IE is in some way malformed, not missing. > > For the HE print (ieee80211_verify_peer_he_mcs_support) it will > now silently fail if the HE capability element is missing (still > prints if the element size is wrong). > > For the VHT print, it has been removed completely and will silently > set the DISABLE_VHT flag which is consistent with how DISABLE_HT > is set. > > Signed-off-by: James Prestwood This has been cluttering my test logs as well, thanks for fixing this. But the title should be: wifi: mac80211: remove/avoid misleading prints I assume Johannes can fix it during commit. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches