summaryrefslogtreecommitdiff
path: root/package/kernel/acx-mac80211/patches/100-hw-queue-check-fix.patch
blob: 73366f342356b52e820330c3b41e314f5c89cda3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
--- a/mem.c
+++ b/mem.c
@@ -2036,7 +2036,7 @@ static int acxmem_probe(struct platform_
 	 */
 	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
@@ -1022,7 +1022,7 @@ static int acxpci_probe(struct pci_dev *
 			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
@@ -1691,7 +1691,7 @@ static int vlynq_probe(struct vlynq_devi
 			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
@@ -1624,7 +1624,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