Merge pull request #68 from kimocoder/v5.1.5

EFUSE fixes + Fixed MAC + Cleanup
This commit is contained in:
Christian B 2017-12-16 16:36:38 +01:00 committed by GitHub
commit 98eb5aa0b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1206 additions and 1325 deletions

View File

@ -69,7 +69,8 @@ or
``` ```
sudo iw wlan0 set txpower fixed 3000 sudo iw wlan0 set txpower fixed 3000
``` ```
For Ubuntu 17.04 add the following lines Newer versions of NetworkManager switches to random MAC address. Some users would prefer to use a fixed address.
Simply add these lines below
``` ```
[device] [device]
wifi.scan-rand-mac-address=no wifi.scan-rand-mac-address=no

View File

@ -1379,7 +1379,7 @@ extern char *rtw_initmac;
*/ */
void rtw_macaddr_cfg(u8 *out, const u8 *hw_mac_addr) void rtw_macaddr_cfg(u8 *out, const u8 *hw_mac_addr)
{ {
#define DEFAULT_RANDOM_MACADDR 1 #define DEFAULT_RANDOM_MACADDR 0
u8 mac[ETH_ALEN]; u8 mac[ETH_ALEN];
if (out == NULL) { if (out == NULL) {
@ -1422,9 +1422,9 @@ err_chk:
mac[0] = 0x00; mac[0] = 0x00;
mac[1] = 0xe0; mac[1] = 0xe0;
mac[2] = 0x4c; mac[2] = 0x4c;
mac[3] = 0x87; mac[3] = 0xe0;
mac[4] = 0x00; mac[4] = 0x10;
mac[5] = 0x00; mac[5] = 0x70;
#endif #endif
} }

View File

@ -1,5 +1,5 @@
PACKAGE_NAME="realtek-rtl88xxau" PACKAGE_NAME="realtek-rtl88xxau"
PACKAGE_VERSION="5.1.5~20171206" PACKAGE_VERSION="5.1.5~20171216"
CLEAN="make clean" CLEAN="make clean"
BUILT_MODULE_NAME[0]=8812au BUILT_MODULE_NAME[0]=8812au
DEST_MODULE_LOCATION[0]="/updates" DEST_MODULE_LOCATION[0]="/updates"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff