100-hw-queue-check-fix.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. /* TODO: although in the original driver the maximum value was
  11. --- a/pci.c
  12. +++ b/pci.c
  13. @@ -1022,7 +1022,7 @@ static int acxpci_probe(struct pci_dev *
  14. BIT(NL80211_IFTYPE_STATION) |
  15. BIT(NL80211_IFTYPE_ADHOC) |
  16. BIT(NL80211_IFTYPE_AP);
  17. - ieee->queues = 1;
  18. + ieee->queues = 4;
  19. /* OW TODO Check if RTS/CTS threshold can be included here */
  20. /* TODO: although in the original driver the maximum value was
  21. @@ -1691,7 +1691,7 @@ static int vlynq_probe(struct vlynq_devi
  22. BIT(NL80211_IFTYPE_STATION) |
  23. BIT(NL80211_IFTYPE_ADHOC) |
  24. BIT(NL80211_IFTYPE_AP);
  25. - ieee->queues = 1;
  26. + ieee->queues = 4;
  27. /* We base signal quality on winlevel approach of previous driver
  28. * TODO OW 20100615 This should into a common init code
  29. --- a/usb.c
  30. +++ b/usb.c
  31. @@ -1624,7 +1624,7 @@ acxusb_probe(struct usb_interface *intf,
  32. */
  33. ieee->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION)
  34. | BIT(NL80211_IFTYPE_ADHOC);
  35. - ieee->queues = 1;
  36. + ieee->queues = 4;
  37. // OW TODO Check if RTS/CTS threshold can be included here
  38. // We base signal quality on winlevel approach of previous driver