[Debian-eeepc-devel] rt2860sta module on 901 with 2.6.26

Phil Endecott spam_from_debian_eee at chezphil.org
Thu Aug 28 11:36:52 UTC 2008

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:


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

diff -ur rt2860/rt2860- DPO_RT28xx_60_LinuxSTA_V1.7.0.0/common/mlme.c
--- rt2860/rt2860-	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;
+	//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;
+	}	
 #ifdef RT2860
diff -ur rt2860/rt2860- DPO_RT28xx_60_LinuxSTA_V1.7.0.0/os/linux/config.mk
--- rt2860/rt2860-	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
+#Support EeePC Special setting
 ifeq ($(RT28xx_MODE),STA)

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?


More information about the Debian-eeepc-devel mailing list