Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp77735yba; Mon, 20 May 2019 05:19:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqypUwKfz/VKMOCKp1ZPeXTIOy3PqsMrvM4m28I+expj72+UEpzD7lavzV+017/1qEEj5/Pn X-Received: by 2002:a65:638e:: with SMTP id h14mr1520086pgv.209.1558354742559; Mon, 20 May 2019 05:19:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558354742; cv=none; d=google.com; s=arc-20160816; b=gmi9UdwxUYwtQllBJlHU227UZB76QDc0HW6m2HnvG48k3utJ8G5Ft3jQqSSqA7HQ77 Ioj0/oUX857rDk6dtU5yVECm+hwnPtJmjLSfAECVDeAqKaA0yDD15ThWONyuD68k8ED/ aBG9uqtkwtFTmdOTbsD74U4Hvvw/1bPmU0CNalN+Zh4AH99RiPpqdB23G070Cf5XiXGf ZkvrmdQGN+JYFJFCgJZcM7q/l5K8OjZ9rQLZpgghU9xnWAay06WKE6fNdPoNKTnUCuAY lmZH3NifrJdMOApDvs87xP4dkmb43JW3+Fo7In364ZPgh2eJolW5PD7QsbFGeWz0jGMQ mRWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=yheM2iqQHfi84JXeju6rMWMOLAWaAN/0C/vFjAtRgNY=; b=IDNkkdDZM2wufZs3lYPMijsiM9Wd+vO+3XigvuZCnkSBjAB3ozq49CxGn7QPEqxE1J cvBcGFiMR38kD6SDQWaz/8jlyk2aafoYr6rD20Y1K3Wa+5gbtULdLcS+swY//lwp+fJx FkzbLLuODTkZx0BDCMTfqBZtNZqqd3srOnfh6e+n+2f2yp48as7NnwRZ0deC1jM1mVoF xxPVz8sK8JXu6YbnWfuEhnCkaSf1uIWq/RPzEuubAmjkfdevebMmEnpMi0HdRPNVXmUj b2Z0/BSrHtItYFq++BV5KNpyZebu5W7SYrIqKGY/0HjKz/qDikADpNqmE3la06bFO0kw tVhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=KJkgBK45; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e19si11727405pfh.141.2019.05.20.05.18.37; Mon, 20 May 2019 05:19:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=KJkgBK45; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732354AbfETMAz (ORCPT + 99 others); Mon, 20 May 2019 08:00:55 -0400 Received: from rnd-relay.smtp.broadcom.com ([192.19.229.170]:35398 "EHLO rnd-relay.smtp.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732283AbfETMAz (ORCPT ); Mon, 20 May 2019 08:00:55 -0400 Received: from mail-irv-17.broadcom.com (mail-irv-17.lvn.broadcom.net [10.75.224.233]) by rnd-relay.smtp.broadcom.com (Postfix) with ESMTP id 9D4BD30C0A0; Mon, 20 May 2019 05:00:53 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 rnd-relay.smtp.broadcom.com 9D4BD30C0A0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1558353653; bh=L7bmPvrXrRT78nANaAUXJEd/KZDQp60omDsRj55LMXk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KJkgBK45XhWXfWueOgypJyzg5kV795xWwL3lCCCn7ASKp8NbbHsYkcaLeGICP/Uhj EC2ncG6x8jl/XF0ELbVr5aoEOGVM/yTiJfQx0gl9tmI0CUdgtAZdjYUN2ShOSVWneT atp54FjsA5Tcy0KQDNmVFe9KT8eIXASGY30JCA0w= Received: from bld-bun-01.bun.broadcom.com (bld-bun-01.bun.broadcom.com [10.176.128.83]) by mail-irv-17.broadcom.com (Postfix) with ESMTP id E30BB60D69; Mon, 20 May 2019 05:00:53 -0700 (PDT) Received: by bld-bun-01.bun.broadcom.com (Postfix, from userid 25152) id F1AE6B02CD6; Mon, 20 May 2019 14:00:50 +0200 (CEST) From: Arend van Spriel To: Johannes Berg Cc: linux-wireless@vger.kernel.org, Arend van Spriel Subject: [RFC 8/8] cfg80211: apply same mandatory rate flags for 5GHz and 6GHz Date: Mon, 20 May 2019 14:00:45 +0200 Message-Id: <1558353645-18119-9-git-send-email-arend.vanspriel@broadcom.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1558353645-18119-1-git-send-email-arend.vanspriel@broadcom.com> References: <1558353645-18119-1-git-send-email-arend.vanspriel@broadcom.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org For the new 6GHz band the same rules apply for mandatory rates so add it to set_mandatory_flags_band() function. Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Leon Zegers Signed-off-by: Arend van Spriel --- net/wireless/util.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/wireless/util.c b/net/wireless/util.c index 03e7176..fd90c86 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c @@ -156,6 +156,7 @@ static void set_mandatory_flags_band(struct ieee80211_supported_band *sband) switch (sband->band) { case NL80211_BAND_5GHZ: + case NL80211_BAND_6GHZ: want = 3; for (i = 0; i < sband->n_bitrates; i++) { if (sband->bitrates[i].bitrate == 60 || -- 1.9.1