Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
nu11secur1ty
GitHub Repository: nu11secur1ty/Kali-Linux
Path: blob/master/ALFA-W1F1/RTL8814AU/8814au.conf
1306 views
1
# /etc/modprobe.d/8814au.conf
2
#
3
# Purpose: Allow easy access to specific driver options.
4
#
5
# Edit the following line to change, add or delete options:
6
options 8814au rtw_drv_log_level=1 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_switch_usb_mode=0
7
#
8
# After editing is complete, save this file (if using nano: Ctrl+X, Y, Enter)
9
# and reboot to activate the changes.
10
#
11
# Documentation:
12
#
13
# -----
14
#
15
# Log options ( rtw_drv_log_level )
16
#
17
# 0 = NONE
18
# 1 = ALWAYS (default)
19
# 2 = ERROR
20
# 3 = WARNING
21
# 4 = INFO
22
# 5 = DEBUG
23
# 6 = MAX
24
#
25
# Note: You can save a log file that only includes RTW log entries by running
26
# the following in a terminal:
27
#
28
# sudo ./save-log.sh
29
#
30
# Note: The name of the log file will be `rtw.log`.
31
#
32
# -----
33
#
34
# LED options ( rtw_led_ctrl )
35
#
36
# 0 = Always off
37
# 1 = Normal blink (default)
38
# 2 = Always on
39
#
40
# -----
41
#
42
# VHT options ( rtw_vht_enable )
43
#
44
# 0 = Disable
45
# 1 = Enable (default)
46
# 2 = Force auto enable (use only for 5 GHz AP mode)
47
#
48
# Notes:
49
# - A non-default setting can degrade performance greatly in managed mode.
50
# - Option 2 allows 80 MHz channel width for 5GHz AP mode, such as when
51
# you are using hostapd.
52
#
53
# -----
54
#
55
# Power options ( rtw_power_mgnt )
56
#
57
# 0 = Disable power saving
58
# 1 = Power saving on, minPS (default)
59
# 2 = Power saving on, maxPS (not recommended for AP mode)
60
#
61
# -----
62
#
63
# USB options: ( rtw_switch_usb_mode )
64
#
65
# 0 = No switch (default)
66
# 1 = Switch from usb 2.0 to usb 3.0
67
# 2 = Switch from usb 3.0 to usb 2.0
68
#
69
# -----
70
#
71
# Wireless Mode options ( rtw_wireless_mode )
72
#
73
# 1 = 2.4GHz 802.11b
74
# 2 = 2.4GHz 802.11g
75
# 3 = 2.4GHz 802.11b/g
76
# 4 = 5GHz 802.11a
77
# 8 = 2.4Hz 802.11n
78
# 11 = 2.4GHz 802.11b/g/n
79
# 16 = 5GHz 802.11n
80
# 20 = 5GHz 802.11a/n
81
# 64 = 5GHz 802.11ac
82
# 84 = 5GHz 802.11a/n/ac
83
# 95 = 2.4GHz 802.11b/g/n 5GHz 802.11a/n/ac (default)
84
#
85
# -----
86
# To see all options that are available:
87
#
88
# $ ls /sys/module/8814au/parameters/
89
#
90
# -----
91
#
92
# To see the values that are in use:
93
#
94
# $ grep [[:alnum:]] /sys/module/8814au/parameters/*
95
#
96
# -----
97
#
98
# hostapd setup information for rtl8814au
99
# Note: The best settings can vary but the following may be a good place to start.
100
#
101
# /etc/modprobe.d/8814au.conf
102
# options 8814au rtw_drv_log_level=0 rtw_led_ctrl=0 rtw_vht_enable=2 rtw_power_mgnt=1 rtw_beamform_cap=0 rtw_switch_usb_mode=1
103
#
104
# /etc/hostapd/hostapd.conf
105
#
106
# hw ht capab: 0x1863
107
# ht_capab=[LDPC][HT40+][HT40-][SHORT-GI-20][SHORT-GI-40][MAX-AMSDU-7935][DSSS_CCK-40]
108
#
109
# hw vht capab: 0x03c001b2
110
# vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][HTC-VHT][MAX-A-MPDU-LEN-EXP7]
111
#
112
# -----
113
114