From patchwork Tue Aug 24 10:22:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 502125 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=-19.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, 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 24EB3C4338F for ; Tue, 24 Aug 2021 10:23:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F5406127B for ; Tue, 24 Aug 2021 10:23:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236274AbhHXKXy (ORCPT ); Tue, 24 Aug 2021 06:23:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:59520 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236216AbhHXKXx (ORCPT ); Tue, 24 Aug 2021 06:23:53 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 713F0610FB; Tue, 24 Aug 2021 10:23:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1629800589; bh=ncrzn/5H60qTGHUANZ6GtGlCNLN89Q5Zd/SNaZ/a35g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mo7SBsoyvK3tQ0Ch4nvWlZj/uulN8UuwfmiAPad5Jswa0HIu8WeO1kI+z5hHWQp+F 9Kc4anmeo4J/8ZqwPvCkO8btfW0TaqzGLKa/knmk/zRgUwHpbt0JN/bV7bhDdi0A4v QricAjek3gjN7XM+ZLggs05i0+sKJrczq8JTMSL8Hs/Eqlkq8IIalaIXiEjgoJ4cZL El/Dl8oQQuFxiIr2JM8JqtF0HFbvKg4wckWZ5JHhvcSvYr2wscvsfmX6OF3kA6E802 1xHjWyZFdgKXmDj/v287cKSQMOS5QIN9ms2FxN1q2SVsQt+uTJcSX6xHvS1qlLvqZ3 ISmzCajEmYhFg== From: Lorenzo Bianconi To: nbd@nbd.name Cc: linux-wireless@vger.kernel.org, lorenzo.bianconi@redhat.com, sean.wang@mediatek.com, Deren.Wu@mediatek.com Subject: [PATCH 7/9] mt76: connac: enable hw amsdu @ 6GHz Date: Tue, 24 Aug 2021 12:22:25 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This is a preliminary patch to enable 6GHz band for mt7921 devices. Tested-by: Deren Wu Signed-off-by: Lorenzo Bianconi --- drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c index 3b9c4180f954..10198c0c065b 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c +++ b/drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c @@ -766,7 +766,7 @@ void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb, if (!is_mt7921(dev)) return; - if (sta->ht_cap.ht_supported) + if (sta->ht_cap.ht_supported || sta->he_cap.has_he) mt76_connac_mcu_sta_amsdu_tlv(skb, sta, vif); /* starec he */