-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathmt76_usb.conf
51 lines (51 loc) · 1.33 KB
/
mt76_usb.conf
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
43
44
45
46
47
48
49
50
51
# /etc/modprobe.d/mt76_usb.conf
#
# Purpose: Allow easy management of driver options.
#
# Edit the following line to change options:
#
options mt76_usb disable_usb_sg=1
#
# After editing is complete, save this file and reboot to activate the changes.
#
# Documentation:
#
# -----
#
# Disable usb scatter-gather support
#
# Scatter-Gather options: ( disable_usb_sg )
#
# 0 = disable_usb_sg (scatter-gather is on) (module default)
# 1 = disable_usb_sg (scatter-gather is off) (this script default)
#
# Information about the Scatter-Gather module parameter:
#
# Background: Scatter and Gather (Vectored I/O) is a concept that was primarily
# used in hard disks and it enhances large I/O request performance.
#
# Problem reports seem to be limited to situations where the user is running an
# AP with a USB3 capable adapter in a USB3 port while operating on the 5Ghz
# band. Symtoms include dramatically reduced throughput. Research tends to
# indicate that this could be a hardware specific problem and is not caused by
# the driver or USB WiFi adapter.
#
# -----
#
# To see all options that are available:
#
# $ ls /sys/module/mt76_usb/parameters/
#
# -----
#
# Alternative method to apply
#
# echo 1 > /sys/module/mt76_usb/parameters/disable_usb_sg
#
# -----
#
# To see the values that are in use:
#
# $ grep [[:alnum:]] /sys/module/mt76_usb/parameters/*
#
# -----