Path: blob/master/ALFA-W1F1/RTL8814AU/8814au.conf
1306 views
# /etc/modprobe.d/8814au.conf1#2# Purpose: Allow easy access to specific driver options.3#4# Edit the following line to change, add or delete options:5options 8814au rtw_drv_log_level=1 rtw_led_ctrl=1 rtw_vht_enable=1 rtw_switch_usb_mode=06#7# After editing is complete, save this file (if using nano: Ctrl+X, Y, Enter)8# and reboot to activate the changes.9#10# Documentation:11#12# -----13#14# Log options ( rtw_drv_log_level )15#16# 0 = NONE17# 1 = ALWAYS (default)18# 2 = ERROR19# 3 = WARNING20# 4 = INFO21# 5 = DEBUG22# 6 = MAX23#24# Note: You can save a log file that only includes RTW log entries by running25# the following in a terminal:26#27# sudo ./save-log.sh28#29# Note: The name of the log file will be `rtw.log`.30#31# -----32#33# LED options ( rtw_led_ctrl )34#35# 0 = Always off36# 1 = Normal blink (default)37# 2 = Always on38#39# -----40#41# VHT options ( rtw_vht_enable )42#43# 0 = Disable44# 1 = Enable (default)45# 2 = Force auto enable (use only for 5 GHz AP mode)46#47# Notes:48# - A non-default setting can degrade performance greatly in managed mode.49# - Option 2 allows 80 MHz channel width for 5GHz AP mode, such as when50# you are using hostapd.51#52# -----53#54# Power options ( rtw_power_mgnt )55#56# 0 = Disable power saving57# 1 = Power saving on, minPS (default)58# 2 = Power saving on, maxPS (not recommended for AP mode)59#60# -----61#62# USB options: ( rtw_switch_usb_mode )63#64# 0 = No switch (default)65# 1 = Switch from usb 2.0 to usb 3.066# 2 = Switch from usb 3.0 to usb 2.067#68# -----69#70# Wireless Mode options ( rtw_wireless_mode )71#72# 1 = 2.4GHz 802.11b73# 2 = 2.4GHz 802.11g74# 3 = 2.4GHz 802.11b/g75# 4 = 5GHz 802.11a76# 8 = 2.4Hz 802.11n77# 11 = 2.4GHz 802.11b/g/n78# 16 = 5GHz 802.11n79# 20 = 5GHz 802.11a/n80# 64 = 5GHz 802.11ac81# 84 = 5GHz 802.11a/n/ac82# 95 = 2.4GHz 802.11b/g/n 5GHz 802.11a/n/ac (default)83#84# -----85# To see all options that are available:86#87# $ ls /sys/module/8814au/parameters/88#89# -----90#91# To see the values that are in use:92#93# $ grep [[:alnum:]] /sys/module/8814au/parameters/*94#95# -----96#97# hostapd setup information for rtl8814au98# Note: The best settings can vary but the following may be a good place to start.99#100# /etc/modprobe.d/8814au.conf101# 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=1102#103# /etc/hostapd/hostapd.conf104#105# hw ht capab: 0x1863106# ht_capab=[LDPC][HT40+][HT40-][SHORT-GI-20][SHORT-GI-40][MAX-AMSDU-7935][DSSS_CCK-40]107#108# hw vht capab: 0x03c001b2109# vht_capab=[MAX-MPDU-11454][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-STBC-1][HTC-VHT][MAX-A-MPDU-LEN-EXP7]110#111# -----112113114