Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp2929092rwi; Tue, 1 Nov 2022 13:35:57 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5gljX1QrNFlCyvk2gS5nkIOykrSzdQLKt77dv7M0/5qNUOUjm9dnt2eWfeGGqt5vwQ63L5 X-Received: by 2002:a17:902:e74a:b0:186:a094:1d3 with SMTP id p10-20020a170902e74a00b00186a09401d3mr20785807plf.153.1667334957171; Tue, 01 Nov 2022 13:35:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667334957; cv=none; d=google.com; s=arc-20160816; b=U94VqPolxEaP5tdxvRBIc16XQYmeLv2cI8W4MFUQho0AE6Nv5A/KVjJ3hpeA7Pl8ku CLPYXMjdbEaQvq8XdobAr6ETCFp6Kqo0gdFF0+8AQDc8J62FL6Ckjw8AkJtRUPplflTM c1cyzjkT3+FDYH9spdvRSaGou+1DcElXsSBC3om/Tl15alIweHcO+0ZLeO3tNLZv+n7h pw1TasgHoEVhvwi6OwMmFF/aej333/Ci9kHP659aIJvDejDhK0qRX2zCaPlaEzqysQPi fLAMbGFp+iGupilcGPO/HXNDum3Y/4NjneDe0WbzZs124aoR+1Sr1YJNRiGQit4xRDSH tTyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:references :cc:to:from:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=80p2vI7h9NymXeZ/iGoytPyO7nRo83XNUs5KtNjW7vU=; b=tINqR5MI32kQJUUo5998H5Z9Iz/Sv1MrqKEKU1Dx1/V4Zw6cAb19xs8eHRPiubZZFX iAEz9jQ30Jg737oeJHQmSOxLbfiCjwboChw/iH2zQgHkP02eS8/a6uTR+qPHnKxOZaGk nfWJGCIAVNBFx96HovjJkoHkv8frqZQTHSm2BiSZcQ1soUOApDSn2S+WL7cse7BatoP2 qNT521AKLpkBbbMUS1BkB2t4LD4DaZbDcck2IFc9liq0iygoChYGKNpTR+dLaGXY/FuB sjFpw2fr0FUFZiHo0zNA0gz9XwOmKY+TU1WLlpCjKiG/H6XhbHUFf50uwgYClbAMaBs5 K26g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=FvbNEuHU; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o11-20020a634e4b000000b0045fff5bceaasi11753093pgl.587.2022.11.01.13.35.48; Tue, 01 Nov 2022 13:35:57 -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=@gmail.com header.s=20210112 header.b=FvbNEuHU; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229823AbiKAUen (ORCPT + 67 others); Tue, 1 Nov 2022 16:34:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229871AbiKAUel (ORCPT ); Tue, 1 Nov 2022 16:34:41 -0400 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E98D81004A for ; Tue, 1 Nov 2022 13:34:39 -0700 (PDT) Received: by mail-ej1-x631.google.com with SMTP id b2so40062280eja.6 for ; Tue, 01 Nov 2022 13:34:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=80p2vI7h9NymXeZ/iGoytPyO7nRo83XNUs5KtNjW7vU=; b=FvbNEuHUrNUfBoPl3Re1aUOdsoRbR7199TgyrvFHnwy3pcUWN9cmtLuVTWuROOI7Av MavGxhyv+fLLhxmK4mCMLeMpkUnamSJUzoHGdsBV5DMSadrfeGuxf6hBdj8TOGDwK9TC 9ss/dPpT1Ym/FEmRE+lyyAhPNzmQV9/2Gm2bzYDPVzYLgCRM8V3UbGgWE/yMX3/KCD+x aFs62IYLbgbNMUjjg3pQUczR+QAfLCIMqh9LdSkTvifCyXqmhcbhJoDWeIN9n2EkbK+j 07LLz9IrJu6BzchXVQlKLpxBWsCEpir0+/Wc570xIn1wKT+3sR1840PSv0x8YS1kLcQN B+gw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=80p2vI7h9NymXeZ/iGoytPyO7nRo83XNUs5KtNjW7vU=; b=Gy3jXROCLHtydpWZAptpVeCAPks8JTWhA/M8u/CR63/GpI1pn/GV6qF4fvfuXmnN0H 2IHJXfWawaKpDfaXXM5IjBHv80bHh/IrBA/W1KAdXiVzvyd5t02JVhM4WZIy5Ovg5SNu Z4sUC6TU41aRJTIiykb7lRZAdPcqHJdL2EH2f3Dok29JJWyyc64kyd49uYBxXUYvV3h6 nHktJs3Lw+r1mgAWqQffnzjZnALhN+HbbZzArlm+BXBW0NHXtei5n+n7BuaFJoIpUmWr FA/+rsPPZMyFzigoZF+ypqSfwgs0jH7l7UgelvLYsnSNu7hhYn2RsZ/9ka5dh07hjrxs UCxA== X-Gm-Message-State: ACrzQf03B8QE8CiLfPxWTUCtRO46gcYb6VqzsFvIJzn30CVQooZh8/rU D3c4hIrt1H7Qnqbbrf8vyf95pWzG10g= X-Received: by 2002:a17:907:6d9d:b0:7ad:f514:794e with SMTP id sb29-20020a1709076d9d00b007adf514794emr3306695ejc.602.1667334878520; Tue, 01 Nov 2022 13:34:38 -0700 (PDT) Received: from [192.168.1.50] ([81.196.40.23]) by smtp.gmail.com with ESMTPSA id f30-20020a170906739e00b0078e05db7005sm4521490ejl.214.2022.11.01.13.34.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Nov 2022 13:34:38 -0700 (PDT) Message-ID: <9b59e735-6b89-a557-fafc-2da87fdd5b48@gmail.com> Date: Tue, 1 Nov 2022 22:34:37 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Subject: [PATCH v4 4/5] wifi: rtl8xxxu: Set IEEE80211_HW_SUPPORT_FAST_XMIT Content-Language: en-US From: Bitterblue Smith To: "linux-wireless@vger.kernel.org" Cc: Jes Sorensen References: <80aba428-0aff-f4b2-dea5-35d1425982b6@gmail.com> In-Reply-To: <80aba428-0aff-f4b2-dea5-35d1425982b6@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 According to commit 60d7900dcb98 ("wlcore: enable IEEE80211_HW_SUPPORT_FAST_XMIT"), we can use this because all the chips have hardware rate control. This is one of the things mac80211 requires before it will handle MSDU aggregation for us. Signed-off-by: Bitterblue Smith --- v4: - Rebased on top of wireless-next. v3: - No change. v2: - No change. --- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c index 823e50811b0d..58e6416787df 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c @@ -6998,6 +6998,7 @@ static int rtl8xxxu_probe(struct usb_interface *interface, * The firmware handles rate control */ ieee80211_hw_set(hw, HAS_RATE_CONTROL); + ieee80211_hw_set(hw, SUPPORT_FAST_XMIT); ieee80211_hw_set(hw, AMPDU_AGGREGATION); wiphy_ext_feature_set(hw->wiphy, NL80211_EXT_FEATURE_CQM_RSSI_LIST); -- 2.38.0