Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -Naur 2008_0708_RT2860_Linux_STA_v1.7.0.0/Makefile rt2860/Makefile
- --- 2008_0708_RT2860_Linux_STA_v1.7.0.0/Makefile 2008-07-01 03:20:26.000000000 +0200
- +++ rt2860/Makefile 2008-08-16 02:17:37.000000000 +0200
- @@ -101,11 +101,9 @@
- ifneq (,$(findstring 2.4,$(LINUX_SRC)))
- cp -f os/linux/Makefile.4 $(RT28xx_DIR)/os/linux/Makefile
- make -C $(RT28xx_DIR)/os/linux/
- - cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.o /tftpboot
- else
- cp -f os/linux/Makefile.6 $(RT28xx_DIR)/os/linux/Makefile
- make -C $(LINUX_SRC) SUBDIRS=$(RT28xx_DIR)/os/linux modules
- - cp -f $(RT28xx_DIR)/os/linux/rt$(CHIPSET)sta.ko /tftpboot
- endif
- clean:
- diff -Naur 2008_0708_RT2860_Linux_STA_v1.7.0.0/common/mlme.c rt2860/common/mlme.c
- --- 2008_0708_RT2860_Linux_STA_v1.7.0.0/common/mlme.c 2008-07-08 14:33:32.000000000 +0200
- +++ rt2860/common/mlme.c 2008-07-15 09:30:36.000000000 +0200
- @@ -772,6 +772,21 @@
- ULONG TxTotalCnt;
- PRTMP_ADAPTER pAd = (RTMP_ADAPTER *)FunctionContext;
- +#ifdef EEEPC_SPECIAL_SETTING
- + //Baron 2008/07/10
- + //printk("Baron_Test:\t%s", RTMPGetRalinkEncryModeStr(pAd->StaCfg.WepStatus));
- + //If the STA security setting is OPEN or WEP, pAd->StaCfg.WpaSupplicantUP = 0.
- + //If the STA security setting is WPAPSK or WPA2PSK, pAd->StaCfg.WpaSupplicantUP = 1.
- + if(pAd->StaCfg.WepStatus<2)
- + {
- + pAd->StaCfg.WpaSupplicantUP = 0;
- + }
- + else
- + {
- + pAd->StaCfg.WpaSupplicantUP = 1;
- + }
- +#endif
- +
- #ifdef CONFIG_STA_SUPPORT
- #ifdef RT2860
- IF_DEV_CONFIG_OPMODE_ON_STA(pAd)
- diff -Naur 2008_0708_RT2860_Linux_STA_v1.7.0.0/include/rt_linux.h rt2860/include/rt_linux.h
- --- 2008_0708_RT2860_Linux_STA_v1.7.0.0/include/rt_linux.h 2008-07-01 04:27:10.000000000 +0200
- +++ rt2860/include/rt_linux.h 2008-08-16 00:50:14.000000000 +0200
- @@ -313,10 +313,6 @@
- #define DBGPRINT_RAW(Level, Fmt) \
- { \
- - if (Level <= RTDebugLevel) \
- - { \
- - printk Fmt; \
- - } \
- }
- #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
- diff -Naur 2008_0708_RT2860_Linux_STA_v1.7.0.0/os/linux/config.mk rt2860/os/linux/config.mk
- --- 2008_0708_RT2860_Linux_STA_v1.7.0.0/os/linux/config.mk 2008-07-07 16:37:50.000000000 +0200
- +++ rt2860/os/linux/config.mk 2008-07-15 09:38:32.000000000 +0200
- @@ -5,10 +5,10 @@
- HAS_28xx_QA=n
- # Support Wpa_Supplicant
- -HAS_WPA_SUPPLICANT=n
- +HAS_WPA_SUPPLICANT=y
- # Support Native WpaSupplicant for Network Maganger
- -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
- @@ -45,12 +45,18 @@
- #Support features of 802.11n Draft3
- HAS_DOT11N_DRAFT3_SUPPORT=n
- +#Support EeePC Special setting
- +HAS_EEEPC_SPECIAL_SETTING=y
- CC := $(CROSS_COMPILE)gcc
- LD := $(CROSS_COMPILE)ld
- WFLAGS := -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs
- +ifeq ($(HAS_EEEPC_SPECIAL_SETTING),y)
- +WFLAGS += -DEEEPC_SPECIAL_SETTING
- +endif
- +
- ifeq ($(RT28xx_MODE),STA)
- WFLAGS += -DCONFIG_STA_SUPPORT -DDBG
- diff -Naur 2008_0708_RT2860_Linux_STA_v1.7.0.0/os/linux/rt_main_dev.c rt2860/os/linux/rt_main_dev.c
- --- 2008_0708_RT2860_Linux_STA_v1.7.0.0/os/linux/rt_main_dev.c 2008-07-01 05:31:10.000000000 +0200
- +++ rt2860/os/linux/rt_main_dev.c 2008-08-16 02:20:19.000000000 +0200
- @@ -801,7 +801,7 @@
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
- - device = dev_get_by_name(dev->nd_net, slot_name);
- + device = dev_get_by_name(dev_net(dev), slot_name);
- #else
- device = dev_get_by_name(slot_name);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement