The master branch is based on https://github.com/ulli-kroll/rtl8821au branch v4.3.22-beta/rework. According to rtw_version.c the real driver version is 4.3.20.
We recommend building from the v5.1.5 branch, which got kernel v4.12 support & more adapters supported. Both the 8812AU & 8814AU is supported on the v5.1.5 branch.
The branch v4.3.21 may also be built for RTL8814AU or RTL8812AU/RTL8821AU chipset. Notice, kernel v4.12 support is still missing on the v4.3.21 branch.
for building RTL8812AU/RTL8821AU driver type:
$ make
for building RTL8814 driver type:
$ make RTL8814=1
for building driver with debug output type:
$ make DEBUG=1
or
$ make RTL8814=1 DEBUG=1
for setting monitor mode
$ sudo ip link set wlan0 down
$ sudo iwconfig wlan0 mode monitor
$ sudo ip link set wlan0 up
for switching channels (interface must be up)
Set channel 6, width 40 MHz:
$ sudo iw wlan0 set channel 6 HT40-
Set channel 149, width 80 MHz:
$ sudo iw wlan0 set freq 5745 80 5775
for setting TX power (v4.3.21 branch only):
$ sudo iwconfig wlan0 txpower 30
or
$ sudo iw wlan0 set txpower fixed 3000
to inject frames with b/g rates use the Rate field in the radiotap header
to inject frames with n rates use the MCS field in the radiotap header
to inject frames with ac rates use the VHT field in the radiotap header
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。