[Debian-eeepc-devel] rt2860sta module on 901 with 2.6.26
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.
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-184.108.40.206/common/mlme.c DPO_RT28xx_60_LinuxSTA_V220.127.116.11/common/mlme.c
--- rt2860/rt2860-18.104.22.168/common/mlme.c 2008-08-27 16:28:09.000000000 +0100
+++ DPO_RT28xx_60_LinuxSTA_V22.214.171.124/common/mlme.c 2008-07-15 08:30:36.000000000 +0100
@@ -772,6 +772,21 @@
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.
+ pAd->StaCfg.WpaSupplicantUP = 0;
+ pAd->StaCfg.WpaSupplicantUP = 1;
diff -ur rt2860/rt2860-126.96.36.199/os/linux/config.mk DPO_RT28xx_60_LinuxSTA_V188.8.131.52/os/linux/config.mk
--- rt2860/rt2860-184.108.40.206/os/linux/config.mk 2008-08-27 16:28:09.000000000 +0100
+++ DPO_RT28xx_60_LinuxSTA_V220.127.116.11/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
CC := $(CROSS_COMPILE)gcc
LD := $(CROSS_COMPILE)ld
WFLAGS := -DAGGREGATION_SUPPORT -DPIGGYBACK_SUPPORT -DWMM_SUPPORT -DLINUX -Wall -Wstrict-prototypes -Wno-trigraphs
+WFLAGS += -DEEEPC_SPECIAL_SETTING
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?
More information about the Debian-eeepc-devel