summaryrefslogtreecommitdiff
path: root/package/acx-mac80211
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2012-06-17 20:50:43 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2012-06-17 20:50:43 +0000
commit8015c01f4fb8fc2ab74a1c5c24771f7004524737 (patch)
tree33e5c0e322ccf019c93d8220180c13b2877bc8b1 /package/acx-mac80211
parent37c2235af71b49ece02a08d1fcdf3d0957a1dbb8 (diff)
downloadmtk-20170518-8015c01f4fb8fc2ab74a1c5c24771f7004524737.zip
mtk-20170518-8015c01f4fb8fc2ab74a1c5c24771f7004524737.tar.gz
mtk-20170518-8015c01f4fb8fc2ab74a1c5c24771f7004524737.tar.bz2
acx-mac80211: Add workaround for mac80211 hw-queue check
SVN-Revision: 32417
Diffstat (limited to 'package/acx-mac80211')
-rw-r--r--package/acx-mac80211/patches/100-hw-queue-check-fix.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/package/acx-mac80211/patches/100-hw-queue-check-fix.patch b/package/acx-mac80211/patches/100-hw-queue-check-fix.patch
new file mode 100644
index 0000000..62f2998
--- /dev/null
+++ b/package/acx-mac80211/patches/100-hw-queue-check-fix.patch
@@ -0,0 +1,42 @@
+--- a/mem.c
++++ b/mem.c
+@@ -2026,7 +2026,7 @@ static int __devinit acxmem_probe(struct
+ */
+ ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
+ | BIT(NL80211_IFTYPE_ADHOC);
+- ieee->queues = 1;
++ ieee->queues = 4;
+ /* OW TODO Check if RTS/CTS threshold can be included here */
+
+ /* TODO: although in the original driver the maximum value was
+--- a/pci.c
++++ b/pci.c
+@@ -1010,7 +1010,7 @@ static int __devinit acxpci_probe(struct
+ BIT(NL80211_IFTYPE_STATION) |
+ BIT(NL80211_IFTYPE_ADHOC) |
+ BIT(NL80211_IFTYPE_AP);
+- ieee->queues = 1;
++ ieee->queues = 4;
+ /* OW TODO Check if RTS/CTS threshold can be included here */
+
+ /* TODO: although in the original driver the maximum value was
+@@ -1682,7 +1682,7 @@ static __devinit int vlynq_probe(struct
+ BIT(NL80211_IFTYPE_STATION) |
+ BIT(NL80211_IFTYPE_ADHOC) |
+ BIT(NL80211_IFTYPE_AP);
+- ieee->queues = 1;
++ ieee->queues = 4;
+
+ /* We base signal quality on winlevel approach of previous driver
+ * TODO OW 20100615 This should into a common init code
+--- a/usb.c
++++ b/usb.c
+@@ -1627,7 +1627,7 @@ acxusb_probe(struct usb_interface *intf,
+ */
+ ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
+ | BIT(NL80211_IFTYPE_ADHOC);
+- ieee->queues = 1;
++ ieee->queues = 4;
+ // OW TODO Check if RTS/CTS threshold can be included here
+
+ // We base signal quality on winlevel approach of previous driver