public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mt76: add back the SUPPORTS_REORDERING_BUFFER flag
@ 2020-10-11 16:20 Felix Fietkau
  2020-10-11 18:34 ` Lorenzo Bianconi
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Fietkau @ 2020-10-11 16:20 UTC (permalink / raw)
  To: linux-wireless; +Cc: stable

It was accidentally dropped while adding multiple wiphy support
Fixes fast-rx support and avoids handling reordering in both mac80211
and the driver

Cc: stable@vger.kernel.org
Fixes: c89d36254155 ("mt76: add function for allocating an extra wiphy")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 drivers/net/wireless/mediatek/mt76/mac80211.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c
index a778ecc65261..2bc1ef1cbfea 100644
--- a/drivers/net/wireless/mediatek/mt76/mac80211.c
+++ b/drivers/net/wireless/mediatek/mt76/mac80211.c
@@ -305,6 +305,7 @@ mt76_phy_init(struct mt76_dev *dev, struct ieee80211_hw *hw)
 	ieee80211_hw_set(hw, SUPPORT_FAST_XMIT);
 	ieee80211_hw_set(hw, SUPPORTS_CLONED_SKBS);
 	ieee80211_hw_set(hw, SUPPORTS_AMSDU_IN_AMPDU);
+	ieee80211_hw_set(hw, SUPPORTS_REORDERING_BUFFER);
 
 	if (!(dev->drv->drv_flags & MT_DRV_AMSDU_OFFLOAD)) {
 		ieee80211_hw_set(hw, TX_AMSDU);
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mt76: add back the SUPPORTS_REORDERING_BUFFER flag
  2020-10-11 16:20 [PATCH] mt76: add back the SUPPORTS_REORDERING_BUFFER flag Felix Fietkau
@ 2020-10-11 18:34 ` Lorenzo Bianconi
  0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Bianconi @ 2020-10-11 18:34 UTC (permalink / raw)
  To: Felix Fietkau; +Cc: linux-wireless, stable

[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]

> It was accidentally dropped while adding multiple wiphy support
> Fixes fast-rx support and avoids handling reordering in both mac80211
> and the driver
> 
> Cc: stable@vger.kernel.org
> Fixes: c89d36254155 ("mt76: add function for allocating an extra wiphy")
> Signed-off-by: Felix Fietkau <nbd@nbd.name>

Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>

> ---
>  drivers/net/wireless/mediatek/mt76/mac80211.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/net/wireless/mediatek/mt76/mac80211.c b/drivers/net/wireless/mediatek/mt76/mac80211.c
> index a778ecc65261..2bc1ef1cbfea 100644
> --- a/drivers/net/wireless/mediatek/mt76/mac80211.c
> +++ b/drivers/net/wireless/mediatek/mt76/mac80211.c
> @@ -305,6 +305,7 @@ mt76_phy_init(struct mt76_dev *dev, struct ieee80211_hw *hw)
>  	ieee80211_hw_set(hw, SUPPORT_FAST_XMIT);
>  	ieee80211_hw_set(hw, SUPPORTS_CLONED_SKBS);
>  	ieee80211_hw_set(hw, SUPPORTS_AMSDU_IN_AMPDU);
> +	ieee80211_hw_set(hw, SUPPORTS_REORDERING_BUFFER);
>  
>  	if (!(dev->drv->drv_flags & MT_DRV_AMSDU_OFFLOAD)) {
>  		ieee80211_hw_set(hw, TX_AMSDU);
> -- 
> 2.28.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-11 18:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-11 16:20 [PATCH] mt76: add back the SUPPORTS_REORDERING_BUFFER flag Felix Fietkau
2020-10-11 18:34 ` Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox