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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no 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 C146FC4363D for ; Sat, 3 Oct 2020 10:38:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6D2F620754 for ; Sat, 3 Oct 2020 10:38:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725770AbgJCKiV (ORCPT ); Sat, 3 Oct 2020 06:38:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbgJCKiV (ORCPT ); Sat, 3 Oct 2020 06:38:21 -0400 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50479C0613D0 for ; Sat, 3 Oct 2020 03:38:21 -0700 (PDT) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1kOevi-00FpOk-KY; Sat, 03 Oct 2020 12:38:18 +0200 Message-ID: <3173d6cfc6c3945c6902cb53106197c04ff7cb2e.camel@sipsolutions.net> Subject: Re: [PATCH] cfg80211: add support to configure HE MCS for beacon rate From: Johannes Berg To: Rajkumar Manoharan Cc: linux-wireless@vger.kernel.org Date: Sat, 03 Oct 2020 12:38:17 +0200 In-Reply-To: References: <1600143587-25327-1-git-send-email-rmanohar@codeaurora.org> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-1.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, 2020-10-03 at 02:30 -0700, Rajkumar Manoharan wrote: > On 2020-09-18 05:05, Johannes Berg wrote: > > On Mon, 2020-09-14 at 21:19 -0700, Rajkumar Manoharan wrote: > > > This allows an option to configure a single HE MCS beacon tx rate. > > > > This breaks the ap_beacon_rate_legacy2 hwsim test but I'm not sure why, > > please check. > > > Ah... Thanks for reporting... Hostapd has to clear VHT/HE rates while > setting > legacy beacon tx rate. Otherwise the default he_mcs is filled and > causing hwsim failure. > Posted a fix[1] for review. Not sure that makes sense to me - why wouldn't the kernel side just default to "no HE MCS" if the attribute isn't present at all?!? johannes