Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5382905ybi; Wed, 12 Jun 2019 01:23:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwNGgSOhpleCE+liNK3qMy/ltK9QsYRvZNJS3kldJ9f+SbC+StCCk+ANiSFee8nj3iJP1zS X-Received: by 2002:a17:902:102c:: with SMTP id b41mr30873130pla.204.1560327818480; Wed, 12 Jun 2019 01:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560327818; cv=none; d=google.com; s=arc-20160816; b=YUc5GdwefZuIkuoE7EqriFVlLSgegXHr+yOkeV4lmsPA566Gv1Pfbsa26WZkf5Vl4E gLPGj4IDq8qm4kMFSkpieDPDG/7HtWt20jXXxczc9bdTjQWPEBv9y8l7ovjI8qXRbpL7 5H7XWi2xmzk+f8mMpevvNp4l1jcXOtozSG8X8LU2ormpw2/unWHVxs6+M+Log2fR3K/j EzD3x49h/Ghf2TeBpsWhnXgXmStUvudd9fye5xhRG6PHBWtow2+12U+XwadjUM4jN5X0 Hf5G/MOLGGUBI/zGgi34xR9glS3lNbrCmt1JJRO2IMlMZ/A9vX8yr5c2IBLbC7eui/Ex KC7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:authenticated-by; bh=7rmZSl11OBMHXoXMzYYkvv/QFHsrGBfzjGADTlXVKJQ=; b=BlQKBUBE2sXgIs6dBt5KJPvFziAbfpcYTAaOnGY68ewaAUadZ/SCh6Y/r4Tr1i6MUt oYrCnALe6EUnwWpCJq4iNdg3rPsD5Xw2lnH0sIY0xcrbUmMUhVKQ+5MZzoN7CtfHBv2a lRzYVLMFwUHG4Mo3fz0fg1nwVTQNojDgY49mqWcj/OaZ/VXr8CePpCu3mdvlZNvFghm5 Laxf0Lo7PTAV+0i4F7tFjf6K7VdX4kxdGVjxtRRNu46OfS9YHa1qYvoiqxnsOeQrxqlq CS+nib53QWLl+Ab9bOysiBuIU+9UfzMwT97z1QWM+08wicXS0HMVHkRK48urjNf1DUov +o/A== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a190si16046034pfb.122.2019.06.12.01.23.22; Wed, 12 Jun 2019 01:23:38 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731232AbfFLGpd (ORCPT + 99 others); Wed, 12 Jun 2019 02:45:33 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:51292 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731218AbfFLGpc (ORCPT ); Wed, 12 Jun 2019 02:45:32 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x5C6jRVQ004344, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtitcasv01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x5C6jRVQ004344 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 12 Jun 2019 14:45:27 +0800 Received: from localhost.localdomain (172.21.68.126) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.439.0; Wed, 12 Jun 2019 14:45:26 +0800 From: To: CC: Subject: [PATCH 01/11] rtw88: add fast xmit support Date: Wed, 12 Jun 2019 14:45:07 +0800 Message-ID: <1560321917-17751-2-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560321917-17751-1-git-send-email-yhchuang@realtek.com> References: <1560321917-17751-1-git-send-email-yhchuang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.126] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Yan-Hsuan Chuang With dynamic power save support, rtw88 is able to support fast tx path, claim it to mac80211. Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtw88/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/realtek/rtw88/main.c b/drivers/net/wireless/realtek/rtw88/main.c index 142e530..d2e8d2e 100644 --- a/drivers/net/wireless/realtek/rtw88/main.c +++ b/drivers/net/wireless/realtek/rtw88/main.c @@ -1168,6 +1168,7 @@ int rtw_register_hw(struct rtw_dev *rtwdev, struct ieee80211_hw *hw) ieee80211_hw_set(hw, REPORTS_TX_ACK_STATUS); ieee80211_hw_set(hw, SUPPORTS_PS); ieee80211_hw_set(hw, SUPPORTS_DYNAMIC_PS); + ieee80211_hw_set(hw, SUPPORT_FAST_XMIT); hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) | BIT(NL80211_IFTYPE_AP) | -- 2.7.4