Glenn Saberton wrote:
> Phil Endecott wrote:
>> Dear All,
>> 
>> I saw some patches here a few days ago from Glenn Saberton for the 
>> 901's rt2860sta wireless driver module, including some small changes 
>> for kernel 2.6.26.  I have just finally got this working on my system 
>> by setting things like the ESSID and WEP key in 
>> /etc/Wireless/RT2860STA/RT2860STA.dat.  My previous attempts using 
>> iwconfig or entries in /etc/network/interfaces to set these all 
>> failed.  How have other people been getting on with 2.6.26 on the 901?
>
> Hi Phill,
>       Can you please post patches that have gotten this driver to work for
> you. I don't actually have the hardware yet, so am kind of flying blind
> with the packaging.

Hi Glenn,

The two changes that I made were identical to yours; there's a change in 
some kernel structure in 2.6.26 and tftpboot in a Makefile.  However, my 
starting point was slightly different; I got the source from here:

http://www.itwriting.com/blog/778-fixing-wi-fi-on-asus-eee-pc-901-with-linux.html

(Scroll down to "update 3" and click "new code").  This includes the following:

diff -ur rt2860/rt2860-1.7.0.0/common/mlme.c 
DPO_RT28xx_60_LinuxSTA_V1.7.0.0/common/mlme.c
--- rt2860/rt2860-1.7.0.0/common/mlme.c 2008-08-27 16:28:09.000000000 +0100
+++ DPO_RT28xx_60_LinuxSTA_V1.7.0.0/common/mlme.c       2008-07-15 
08:30:36.000000000 +0100
@@ -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 -ur rt2860/rt2860-1.7.0.0/os/linux/config.mk 
DPO_RT28xx_60_LinuxSTA_V1.7.0.0/os/linux/config.mk
--- rt2860/rt2860-1.7.0.0/os/linux/config.mk    2008-08-27 16:28:09.000000000 
+0100
+++ DPO_RT28xx_60_LinuxSTA_V1.7.0.0/os/linux/config.mk  2008-08-27 
17:05:54.000000000 +0100
@@ -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 
 

However, I've no idea if this makes things any better or worse so I 
don't suggest you include it until you've had some more experience.  
In particular I don't have a WPA network here, and according to the 
page that I linked above the problem this fixes is related to supporting 
WEP and WPA without recompiling the module.

Does anyone else have any experience with this?


Phil.


_______________________________________________
Debian-eeepc-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel

Reply via email to