mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: mt76u: rely on a dedicated stats workqueue
rate controller and throughput are very sensitive to tx status timing. In order to improve performances when the system is heavily loaded, substitute stat_work delayed_work with a regular work_struct and create a mt76u dedicated workqueue for tx status reporting Signed-off-by: Lorenzo Bianconi <[email protected]> Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
20f0589787
commit
3cbaf81a18
@@ -280,6 +280,7 @@ static int mt76x0u_probe(struct usb_interface *usb_intf,
|
||||
err:
|
||||
usb_set_intfdata(usb_intf, NULL);
|
||||
usb_put_dev(interface_to_usbdev(usb_intf));
|
||||
mt76u_deinit(&dev->mt76);
|
||||
|
||||
ieee80211_free_hw(mdev->hw);
|
||||
return ret;
|
||||
@@ -299,6 +300,7 @@ static void mt76x0_disconnect(struct usb_interface *usb_intf)
|
||||
usb_set_intfdata(usb_intf, NULL);
|
||||
usb_put_dev(interface_to_usbdev(usb_intf));
|
||||
|
||||
mt76u_deinit(&dev->mt76);
|
||||
ieee80211_free_hw(dev->mt76.hw);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user