Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yavincl committed Jun 18, 2020
1 parent 6a80a71 commit f0d4dc7
Showing 1 changed file with 16 additions and 24 deletions.
40 changes: 16 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,48 +28,46 @@ Compiling & Building
---------
### Dependencies
To compile the driver, you need to have make and a compiler installed. In addition,
you must have the kernel headers installed. If you do not understand what this means,
consult your distro.
you must have the kernel headers installed (usually package linux-headers or linux-headers-generic). If you do not understand what this means,
consult your distro's documentation.

### Compiling

Depending on your distribution, you *might* need to run this as root.

> make all
`make all -j$(nproc)`

### Installing

> sudo make install
`sudo make install`

You must also blacklist the kernel driver, or it will override this one.

> sudo nano /etc/modprobe.d/50-blacklist.conf
Add a line that says "blacklist rtl8192ee", no quotes.
`echo "blacklist rtl8192ee" | sudo tee -a /etc/modprobe.d/50-blacklist.conf`

Now, tell the system to load the module on boot.

> sudo nano /etc/modules-load.d/8192ee.conf
Add a line that says "8192ee", no quotes.
`echo "8192ee" | sudo tee -a /etc/modules-load.d/8192ee.conf`

### Using as AP

Reference: TL-WN881ND
This device can broadcast on channels 1-13 with a maximum txpower of 20dBm.
Reference: TL-WN881ND v2
This device can broadcast on channels 1-13.
Using hostapd to manage your AP, set the proper ht-capab field for this device, which is:

> HT_CAPAB=[RX-STBC1][SHORT-GI-40][SHORT-GI-20][DSSS-CCK-40][MAX-AMSDU-7935]
`HT_CAPAB=[RX-STBC1][SHORT-GI-40][SHORT-GI-20][DSSS_CCK-40][MAX-AMSDU-7935]`

Optionally enable wideband, if you don't have neighbours:
Note that while this will result in a increase in network throughput it will cause further away clients to fail connecting.

> HT_CAPAB=[HT40+][RX-STBC1][SHORT-GI-40][SHORT-GI-20][DSSS-CCK-40][MAX-AMSDU-7935]
`HT_CAPAB=[HT40+][RX-STBC1][SHORT-GI-40][SHORT-GI-20][DSSS_CCK-40][MAX-AMSDU-7935]` (for channels 1-7), or
`HT_CAPAB=[HT40-][RX-STBC1][SHORT-GI-40][SHORT-GI-20][DSSS_CCK-40][MAX-AMSDU-7935]` (for channels 5-13)

Optionally optimize the driver by tweaking some features:
### Changing transmit power

> sudo nano /etc/modprobe.d/8192ee.conf
Currently there is no way to change transmit power in the driver with iw or iwconfig tools, as you would with other wireless devices.
However, you can still manually change the transmit power by editing the code.

Add a line that says "options 8192ee rtw_iqk_fw_offload=1 rtw_en_napi=1 rtw_pci_aspm_enable=0 rtw_lps_level=0", no quotes.
This will disable power-saving features and enable offloading that might or might not improve performance at the cost of power. YMMV.

DKMS
---------
Expand All @@ -79,9 +77,3 @@ The module can also be installed with DKMS. Make sure to install the `dkms` pack
sudo dkms build 8192ee/1.1
sudo dkms install 8192ee/1.1

Submitting Issues
---------

Frequently asked Questions
---------

0 comments on commit f0d4dc7

Please sign in to comment.