mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-27 23:54:24 +00:00
Merge pull request #68 from kimocoder/v5.1.5
EFUSE fixes + Fixed MAC + Cleanup
This commit is contained in:
commit
98eb5aa0b5
@ -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
|
||||||
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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
Loading…
Reference in New Issue
Block a user