73366f342356b52e820330c3b41e314f5c89cda3
[openwrt.git] / package / acx-mac80211 / patches / 100-hw-queue-check-fix.patch
1 --- a/mem.c
2 +++ b/mem.c
3 @@ -2036,7 +2036,7 @@ static int acxmem_probe(struct platform_
4          */
5         ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
6                                         | BIT(NL80211_IFTYPE_ADHOC);
7 -       ieee->queues = 1;
8 +       ieee->queues = 4;
9         /* OW TODO Check if RTS/CTS threshold can be included here */
10  
11         /* TODO: although in the original driver the maximum value was
12 --- a/pci.c
13 +++ b/pci.c
14 @@ -1022,7 +1022,7 @@ static int acxpci_probe(struct pci_dev *
15                         BIT(NL80211_IFTYPE_STATION) |
16                         BIT(NL80211_IFTYPE_ADHOC) |
17                         BIT(NL80211_IFTYPE_AP);
18 -       ieee->queues = 1;
19 +       ieee->queues = 4;
20         /* OW TODO Check if RTS/CTS threshold can be included here */
21  
22         /* TODO: although in the original driver the maximum value was
23 @@ -1691,7 +1691,7 @@ static int vlynq_probe(struct vlynq_devi
24                         BIT(NL80211_IFTYPE_STATION)     |
25                         BIT(NL80211_IFTYPE_ADHOC) |
26                         BIT(NL80211_IFTYPE_AP);
27 -       ieee->queues = 1;
28 +       ieee->queues = 4;
29  
30         /* We base signal quality on winlevel approach of previous driver
31          * TODO OW 20100615 This should into a common init code
32 --- a/usb.c
33 +++ b/usb.c
34 @@ -1624,7 +1624,7 @@ acxusb_probe(struct usb_interface *intf,
35          */
36         ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
37                         | BIT(NL80211_IFTYPE_ADHOC);
38 -       ieee->queues = 1;
39 +       ieee->queues = 4;
40         // OW TODO Check if RTS/CTS threshold can be included here
41  
42         // We base signal quality on winlevel approach of previous driver