Author: nbd
Date: 2015-10-06 00:38:39 +0200 (Tue, 06 Oct 2015)
New Revision: 47145

Added:
   
branches/chaos_calmer/package/kernel/mt76/patches/001-backport_ieee80211_hw_set.patch
   branches/chaos_calmer/package/kernel/mt76/patches/002-disable_fast_xmit.patch
Removed:
   
branches/chaos_calmer/package/kernel/mt76/patches/100-dma-fix-rx-buffer-allocation-size.patch
Modified:
   branches/chaos_calmer/package/kernel/mt76/Makefile
Log:
mt76: sync with trunk r47143, add backports for compat with the older mac80211 
version

Signed-off-by: Felix Fietkau <[email protected]>

Modified: branches/chaos_calmer/package/kernel/mt76/Makefile
===================================================================
--- branches/chaos_calmer/package/kernel/mt76/Makefile  2015-10-05 22:38:32 UTC 
(rev 47144)
+++ branches/chaos_calmer/package/kernel/mt76/Makefile  2015-10-05 22:38:39 UTC 
(rev 47145)
@@ -1,7 +1,7 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mt76
-PKG_VERSION:=2015-06-15
+PKG_VERSION:=2015-10-05
 PKG_RELEASE=1
 
 PKG_LICENSE:=GPLv2
@@ -10,7 +10,7 @@
 PKG_SOURCE_URL:=https://github.com/openwrt/mt76
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=ec91841868a554375b3019bcfaa13ae6d20fe91c
+PKG_SOURCE_VERSION:=0169cab3e4e8377ab5a508895ec893c4e00dbbc5
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
 
 PKG_MAINTAINER:=Felix Fietkau <[email protected]>

Added: 
branches/chaos_calmer/package/kernel/mt76/patches/001-backport_ieee80211_hw_set.patch
===================================================================
--- 
branches/chaos_calmer/package/kernel/mt76/patches/001-backport_ieee80211_hw_set.patch
                               (rev 0)
+++ 
branches/chaos_calmer/package/kernel/mt76/patches/001-backport_ieee80211_hw_set.patch
       2015-10-05 22:38:39 UTC (rev 47145)
@@ -0,0 +1,12 @@
+--- a/init.c
++++ b/init.c
+@@ -16,6 +16,9 @@
+ #include "eeprom.h"
+ #include "mcu.h"
+ 
++#define ieee80211_hw_set(hw, flag) \
++      do { (hw)->flags |= IEEE80211_HW_##flag; } while(0)
++
+ static bool
+ mt76_wait_for_mac(struct mt76_dev *dev)
+ {

Added: 
branches/chaos_calmer/package/kernel/mt76/patches/002-disable_fast_xmit.patch
===================================================================
--- 
branches/chaos_calmer/package/kernel/mt76/patches/002-disable_fast_xmit.patch   
                            (rev 0)
+++ 
branches/chaos_calmer/package/kernel/mt76/patches/002-disable_fast_xmit.patch   
    2015-10-05 22:38:39 UTC (rev 47145)
@@ -0,0 +1,10 @@
+--- a/init.c
++++ b/init.c
+@@ -816,7 +816,6 @@ int mt76_register_device(struct mt76_dev
+       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);
+ 
+       hw->sta_data_size = sizeof(struct mt76_sta);
+       hw->vif_data_size = sizeof(struct mt76_vif);

Deleted: 
branches/chaos_calmer/package/kernel/mt76/patches/100-dma-fix-rx-buffer-allocation-size.patch
===================================================================
--- 
branches/chaos_calmer/package/kernel/mt76/patches/100-dma-fix-rx-buffer-allocation-size.patch
       2015-10-05 22:38:32 UTC (rev 47144)
+++ 
branches/chaos_calmer/package/kernel/mt76/patches/100-dma-fix-rx-buffer-allocation-size.patch
       2015-10-05 22:38:39 UTC (rev 47145)
@@ -1,18 +0,0 @@
-From: Felix Fietkau <[email protected]>
-Date: Sat, 18 Jul 2015 17:51:24 +0200
-Subject: [PATCH] dma: fix rx buffer allocation size
-
-Signed-off-by: Felix Fietkau <[email protected]>
----
-
---- a/dma.c
-+++ b/dma.c
-@@ -158,7 +158,7 @@ mt76_dma_rx_fill(struct mt76_dev *dev, s
-       while (q->queued < q->ndesc - 1) {
-               int offset = mt76_rx_buf_offset(dev);
- 
--              buf = kzalloc(len, GFP_ATOMIC);
-+              buf = kzalloc(q->buf_size, GFP_ATOMIC);
-               if (!buf)
-                       break;
- 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to