aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mt76/patches
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-02-11 13:05:07 +0000
committerJohn Crispin <blogic@openwrt.org>2015-02-11 13:05:07 +0000
commit45155038a93ac117c8aad91a8748e85ef2640245 (patch)
tree4794adcf3ed4d37a02f2470cd34cf495eab7721a /package/kernel/mt76/patches
parent1c566e516ea13ff304a74b87ca11df0017e45043 (diff)
downloadmaster-187ad058-45155038a93ac117c8aad91a8748e85ef2640245.tar.gz
master-187ad058-45155038a93ac117c8aad91a8748e85ef2640245.tar.bz2
master-187ad058-45155038a93ac117c8aad91a8748e85ef2640245.zip
mt76: update to latest git HEAD
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44400 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mt76/patches')
-rw-r--r--package/kernel/mt76/patches/0001-mt7602-remove-vht-capabilities.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/package/kernel/mt76/patches/0001-mt7602-remove-vht-capabilities.patch b/package/kernel/mt76/patches/0001-mt7602-remove-vht-capabilities.patch
deleted file mode 100644
index 0a1f9c9862..0000000000
--- a/package/kernel/mt76/patches/0001-mt7602-remove-vht-capabilities.patch
+++ /dev/null
@@ -1,46 +0,0 @@
---- a/init.c
-+++ b/init.c
-@@ -682,24 +682,27 @@ mt76_init_sband(struct mt76_dev *dev, st
- ht_cap->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
- ht_cap->ampdu_density = IEEE80211_HT_MPDU_DENSITY_4;
-
-- vht_cap = &sband->vht_cap;
-- vht_cap->vht_supported = true;
-+ if (dev->cap.has_5ghz)
-+ {
-+ vht_cap = &sband->vht_cap;
-+ vht_cap->vht_supported = true;
-
-- mcs_map = (IEEE80211_VHT_MCS_SUPPORT_0_9 << (0 * 2)) |
-- (IEEE80211_VHT_MCS_SUPPORT_0_9 << (1 * 2)) |
-- (IEEE80211_VHT_MCS_NOT_SUPPORTED << (2 * 2)) |
-- (IEEE80211_VHT_MCS_NOT_SUPPORTED << (3 * 2)) |
-- (IEEE80211_VHT_MCS_NOT_SUPPORTED << (4 * 2)) |
-- (IEEE80211_VHT_MCS_NOT_SUPPORTED << (5 * 2)) |
-- (IEEE80211_VHT_MCS_NOT_SUPPORTED << (6 * 2)) |
-- (IEEE80211_VHT_MCS_NOT_SUPPORTED << (7 * 2));
-+ mcs_map = (IEEE80211_VHT_MCS_SUPPORT_0_9 << (0 * 2)) |
-+ (IEEE80211_VHT_MCS_SUPPORT_0_9 << (1 * 2)) |
-+ (IEEE80211_VHT_MCS_NOT_SUPPORTED << (2 * 2)) |
-+ (IEEE80211_VHT_MCS_NOT_SUPPORTED << (3 * 2)) |
-+ (IEEE80211_VHT_MCS_NOT_SUPPORTED << (4 * 2)) |
-+ (IEEE80211_VHT_MCS_NOT_SUPPORTED << (5 * 2)) |
-+ (IEEE80211_VHT_MCS_NOT_SUPPORTED << (6 * 2)) |
-+ (IEEE80211_VHT_MCS_NOT_SUPPORTED << (7 * 2));
-
-- vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map);
-- vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map);
-- vht_cap->cap = IEEE80211_VHT_CAP_RXLDPC |
-- IEEE80211_VHT_CAP_TXSTBC |
-- IEEE80211_VHT_CAP_RXSTBC_1 |
-- IEEE80211_VHT_CAP_SHORT_GI_80;
-+ vht_cap->vht_mcs.rx_mcs_map = cpu_to_le16(mcs_map);
-+ vht_cap->vht_mcs.tx_mcs_map = cpu_to_le16(mcs_map);
-+ vht_cap->cap = IEEE80211_VHT_CAP_RXLDPC |
-+ IEEE80211_VHT_CAP_TXSTBC |
-+ IEEE80211_VHT_CAP_RXSTBC_1 |
-+ IEEE80211_VHT_CAP_SHORT_GI_80;
-+ }
-
- dev->chandef.chan = &sband->channels[0];
-