Skip to content

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection

Notifications You must be signed in to change notification settings

astsam/rtl8812au

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTL8812AU/21AU and RTL8814AU linux driver with monitor mode and frame injection

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.

The branch v4.3.21 may be built for RTL8814AU or RTL8812AU/RTL8821AU chipset.

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

  1. Set interface down

$ sudo ip link set wlan0 down

  1. Set monitor mode

$ sudo iwconfig wlan0 mode monitor

  1. Set interface up

$ 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

About

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •