Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1527066ybv; Fri, 14 Feb 2020 01:13:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzvDvzHTE67GcTaRcytwbMZtdbTymTXwF76rW00+z9gtN3BvOr2Q4pwC787Afp2CSfi+JXF X-Received: by 2002:a54:450f:: with SMTP id l15mr1245166oil.126.1581671625354; Fri, 14 Feb 2020 01:13:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581671625; cv=none; d=google.com; s=arc-20160816; b=x+I5DRF9wPiiT9Jg1Ccuao5z2HyXxzqlSvjqiC2wusCKrbwqIidGQl1uLfJGa8BM+N mthB3vP6+hHUXJMMTpa8uKaTqr5fcrm4R7U1VVLaBjvszacezBflQXIhVA2fbt2jj3JW 8U3u+vOwrYN789Uiwf3Nv4mjKk4JQ6TZ6X/NaeAw/rvJgiAZL85yWYypW/wWsYmNSqj3 c722cB0AeSOLsrFtQgUUCHMgFT7Djel5n/s2W7+bGPOCRjCx8FyMVKNt6IDZxPav/tRM Ii3TZInoSXshZtf67z2onFTnRIkUFgChlTz8N2Udq7WV3o9u77Zq2eYqEw4Eu0lJH41d LK2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=baDV0Xglh5+EFZY7RK+FaytXPWqDLTzBBzrfR/NZABM=; b=ShMcFYBH3953INo01tuwRfGdZj9NoGltNSqjVBBjfSc5zpI+/Ko1ZRCCnnwdgu0vzh kt0XAq1H9F091BQkBEqvuDSdXDzNJBIrNctV0xcXGgYh5lTPa6WGFgQzfmW994fFcB28 2oPbItlA6VVVBNuLYnC1jDuuhpslXrKyA8Oa0tZEd3EwJkTVyiaAcoF09ptHe8wtNH9A 4mnqkbsL0n+aWYKkq5iwFEsxloC1TbDBUEs/HS4SIdNCTzLpVXw1Qne5ib3uUA/TNHL2 dzIiGVLguteF9BLzQ8PlpLqBQyJbhgmlEXTvyeS6bkuQnyUVLtvXqFi9Ku7Yfk5AqkNh rGkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nbd.name header.s=20160729 header.b=JwHE37AY; 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 c130si2564089oib.182.2020.02.14.01.13.34; Fri, 14 Feb 2020 01:13:45 -0800 (PST) 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=fail header.i=@nbd.name header.s=20160729 header.b=JwHE37AY; 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 S2387419AbgBNJMM (ORCPT + 99 others); Fri, 14 Feb 2020 04:12:12 -0500 Received: from nbd.name ([46.4.11.11]:41280 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387402AbgBNJML (ORCPT ); Fri, 14 Feb 2020 04:12:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nbd.name; s=20160729; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Sender:Reply-To:Cc:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=baDV0Xglh5+EFZY7RK+FaytXPWqDLTzBBzrfR/NZABM=; b=JwHE37AYlgmBIqD7HxqF5MP76v XfncoDG9tFIfiSHeVPBOkI8tvZXCjEFpYbGhzgk8TVgh+ehDIvh/62038jF14MhkvIBOX5H7ebKMk 3z9Vby4n/gUKkGsuA13/opVu4puU1E3hjgkho9lsrvOGsn6kxAsXlN+J8je4fIBYW7kU=; Received: from [80.255.7.100] (helo=maeck.local) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1j2X17-0006Ms-S3 for linux-wireless@vger.kernel.org; Fri, 14 Feb 2020 10:12:09 +0100 Received: by maeck.local (Postfix, from userid 501) id D2DA27C8211E; Fri, 14 Feb 2020 10:12:08 +0100 (CET) From: Felix Fietkau To: linux-wireless@vger.kernel.org Subject: [PATCH 3/3] mt76: do not set HOST_BROADCAST_PS_BUFFERING for mt7615 Date: Fri, 14 Feb 2020 10:12:08 +0100 Message-Id: <20200214091208.59619-3-nbd@nbd.name> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200214091208.59619-1-nbd@nbd.name> References: <20200214091208.59619-1-nbd@nbd.name> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org mt7615 handles powersave buffering in firmware Signed-off-by: Felix Fietkau --- drivers/net/wireless/mediatek/mt76/mac80211.c | 1 - drivers/net/wireless/mediatek/mt76/mt7603/init.c | 1 + drivers/net/wireless/mediatek/mt76/mt76x02_util.c | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c index f74fc7130ed2..bcba1fefd723 100644 --- a/drivers/net/wireless/mediatek/mt76/mac80211.c +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c @@ -295,7 +295,6 @@ mt76_phy_init(struct mt76_dev *dev, struct ieee80211_hw *hw) ieee80211_hw_set(hw, SIGNAL_DBM); ieee80211_hw_set(hw, PS_NULLFUNC_STACK); - ieee80211_hw_set(hw, HOST_BROADCAST_PS_BUFFERING); ieee80211_hw_set(hw, AMPDU_AGGREGATION); ieee80211_hw_set(hw, SUPPORTS_RC_TABLE); ieee80211_hw_set(hw, SUPPORT_FAST_XMIT); diff --git a/drivers/net/wireless/mediatek/mt76/mt7603/init.c b/drivers/net/wireless/mediatek/mt76/mt7603/init.c index 182ce5a86f65..9e40e81bcc29 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7603/init.c +++ b/drivers/net/wireless/mediatek/mt76/mt7603/init.c @@ -557,6 +557,7 @@ int mt7603_register_device(struct mt7603_dev *dev) wiphy->n_iface_combinations = ARRAY_SIZE(if_comb); ieee80211_hw_set(hw, TX_STATUS_NO_AMPDU_LEN); + ieee80211_hw_set(hw, HOST_BROADCAST_PS_BUFFERING); /* init led callbacks */ if (IS_ENABLED(CONFIG_MT76_LEDS)) { diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c index 48da4f3a17db..b7a120b0856d 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.c +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.c @@ -181,6 +181,7 @@ void mt76x02_init_device(struct mt76x02_dev *dev) hw->vif_data_size = sizeof(struct mt76x02_vif); ieee80211_hw_set(hw, SUPPORTS_HT_CCK_RATES); + ieee80211_hw_set(hw, HOST_BROADCAST_PS_BUFFERING); dev->mt76.global_wcid.idx = 255; dev->mt76.global_wcid.hw_key_idx = -1; -- 2.24.0