mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-16 18:57:31 +02:00
[package] acx-mac80211: Add workaround for mac80211 hw-queue check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32417 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e51e3d7633
commit
93c5b6eff6
42
package/acx-mac80211/patches/100-hw-queue-check-fix.patch
Normal file
42
package/acx-mac80211/patches/100-hw-queue-check-fix.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user