Last active
August 29, 2015 14:02
-
-
Save nosada/703ce9bc9af6cf4d4f08 to your computer and use it in GitHub Desktop.
patchs for mt7610u_wifi_sta_v3002_dpo_20130916
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- mt7610u_wifi_sta_v3002_dpo_20130916.orig/os/linux/config.mk 2013-09-16 23:03:08.000000000 +0900 | |
+++ mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/config.mk 2014-05-31 15:45:52.395206140 +0900 | |
@@ -23,12 +23,12 @@ | |
# Support Wpa_Supplicant | |
# i.e. wpa_supplicant -Dralink | |
-HAS_WPA_SUPPLICANT=n | |
+HAS_WPA_SUPPLICANT=y | |
# Support Native WpaSupplicant for Network Maganger | |
# i.e. wpa_supplicant -Dwext | |
-HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n | |
+HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y | |
#Support Net interface block while Tx-Sw queue full | |
HAS_BLOCK_NET_IF=n | |
@@ -1038,7 +1038,7 @@ | |
export CFLAGS | |
else | |
# Linux 2.6 | |
- EXTRA_CFLAGS := $(WFLAGS) | |
+ EXTRA_CFLAGS := $(WFLAGS) -Wno-date-time | |
endif | |
endif | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- mt7610u_wifi_sta_v3002_dpo_20130916.orig/RT2870STA.dat 2014-06-01 18:20:38.509258472 +0900 | |
+++ mt7610u_wifi_sta_v3002_dpo_20130916/RT2870STA.dat 2014-06-01 18:22:59.168086822 +0900 | |
@@ -1,10 +1,10 @@ | |
#The word of "Default" must not be removed | |
Default | |
-CountryRegion=5 | |
+CountryRegion=1 | |
CountryRegionABand=7 | |
-CountryCode= | |
+CountryCode=JP | |
ChannelGeography=1 | |
-SSID=11n-AP | |
+SSID= | |
NetworkType=Infra | |
WirelessMode=5 | |
EfuseBufferMode=0 | |
@@ -19,8 +19,8 @@ | |
PktAggregate=0 | |
WmmCapable=1 | |
AckPolicy=0;0;0;0 | |
-AuthMode=OPEN | |
-EncrypType=NONE | |
+AuthMode=WPA2PSK # choose one of ("WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK") | |
+EncrypType=AES # choose one of ("NONE", "WEP", "TKIP", "AES") | |
WPAPSK= | |
DefaultKeyID=1 | |
Key1Type=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- mt7610u_wifi_sta_v3002_dpo_20130916.orig/common/rtusb_dev_id.c 2013-09-16 23:03:08.000000000 +0900 | |
+++ mt7610u_wifi_sta_v3002_dpo_20130916/common/rtusb_dev_id.c 2014-05-31 15:34:53.967632838 +0900 | |
@@ -36,6 +36,7 @@ | |
/* module table */ | |
USB_DEVICE_ID rtusb_dev_id[] = { | |
#ifdef MT76x0 | |
+ {USB_DEVICE(0x7392,0xb711)}, /* WDC-433SU2M */ | |
{USB_DEVICE(0x148F,0x7610)}, /* MT7610U */ | |
{USB_DEVICE(0x0E8D,0x7610)}, /* MT7610U */ | |
{USB_DEVICE_AND_INTERFACE_INFO(0x0E8D, 0x7630, 0xff, 0x2, 0xff)}, /* MT7630U */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment