IMPORTANT - PLEASE READ:
Beginning on November 4, 2019, I will NO LONGER support people that have downloaded the source as a zip file. Using git has much more flexibility. In addition, there is much less liklihood that a user will contact me with a problem that is ALREADY fixed.
If your system says that /lib/modules/...../build does not exist, you have not installed the kernel headers, you have done it incorrectly, or you are not running the kernel for which the headers have been installed. The necessary steps are dependent on which distro you are using. Creating a new issue and asking at GitHub will not be productive.
Unsolicited E-mail sent to my private address will be ignored!!
If a build fails that previously worked, perform a 'git pull' and retry before reporting a problem. As noted, if you had downloaded the source in zip form, then you would need to get an entirely new source file. That is why using git, which downloads only the changed lines, is required.
Repository for the stand-alone RTL8192EE driver.
May offer much better performance than the kernel rtl8192ee driver, especially when used as Access Point.
Still, it will, with difficulty, barely surpass 50Mbps of uplink, in the best conditions.
To compile the driver, you need to have make and a compiler installed. In addition, 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.
Depending on your distribution, you might need to run this as root.
make all -j$(nproc)
sudo make install
You must also blacklist the kernel driver, or it will override this one.
echo "blacklist rtl8192ee" | sudo tee -a /etc/modprobe.d/50-blacklist.conf
Now, tell the system to load the module on boot.
echo "8192ee" | sudo tee -a /etc/modules-load.d/8192ee.conf
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]
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]
(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)
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.
The module can also be installed with DKMS. Make sure to install the dkms
package first.
sudo dkms add ./rtl8192ee
sudo dkms build 8192ee/1.1
sudo dkms install 8192ee/1.1