Author: oget
Update of /cvs/free/rpms/rt2870/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv29100
Modified Files:
.cvsignore ReleaseNote-RT2870.txt rt2870.spec sources
Added Files:
rt2870-allowTKIP.patch
Log Message:
* Sat Jun 26 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> -
2.4.0.0-1
- Update to 2.4.0.0
rt2870-allowTKIP.patch:
RT2870STA.dat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE rt2870-allowTKIP.patch ---
diff -rupN 2010_06_25_RT2870_Linux_STA_v2.4.0.0.old/RT2870STA.dat
2010_06_25_RT2870_Linux_STA_v2.4.0.0/RT2870STA.dat
--- 2010_06_25_RT2870_Linux_STA_v2.4.0.0.old/RT2870STA.dat 2010-06-01 01:26:56.000000000
-0400
+++ 2010_06_25_RT2870_Linux_STA_v2.4.0.0/RT2870STA.dat 2010-07-04 13:49:11.000000000
-0400
@@ -47,7 +47,7 @@ HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
-HT_DisallowTKIP=1
+HT_DisallowTKIP=0
HT_STBC=0
IEEE80211H=0
TGnWifiTest=0
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/rt2870/F-12/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 22 May 2009 20:25:52 -0000 1.5
+++ .cvsignore 4 Jul 2010 18:18:36 -0000 1.6
@@ -1 +1 @@
-2009_0521_RT2870_Linux_STA_V2.1.2.0.tgz
+2010_06_25_RT2870_Linux_STA_v2.4.0.0.tgz
Index: ReleaseNote-RT2870.txt
===================================================================
RCS file: /cvs/free/rpms/rt2870/F-12/ReleaseNote-RT2870.txt,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ReleaseNote-RT2870.txt 22 May 2009 20:25:52 -0000 1.3
+++ ReleaseNote-RT2870.txt 4 Jul 2010 18:18:36 -0000 1.4
@@ -1,64 +1,10 @@
-[V2.1.2.0]
-1. Short GI sampling improvement.
-2. Support Linux Kernel 2.6.29
-[V2.1.1.0]
-1. Fixed that Enqueue command to command thread would fail when HAS_KTHREAD_SUPPORT=n in
config.mk.
-2. Fixed driver would send zero IWEVASSOCREQIE to Native WpaSupplicant.
-3. Fixed driver would send non-zero BSSID to Navtive WpaSupplicant when STA disconnecting
to AP.
+[2.4.0.0]
-[V2.1.0.0]
-1. New generation schema for multiple OS porting.
-2. Fixed Ad-hoc ping failed in noisy environment. (Probe Response has too many retry
- packet then cause "not enough space in MgmtRing").
-3. Fixed WPS failed with D-Link DIR-628 in 5GHz.
-4. Change FastRoaming in DAT file to AutoRoaming.
-5. Support kthread.
-6. Add New A band channel list region 15 contains the whole channels in the A band
region
-4 and the new CE channel 167,169,171,173.
-7. New IEEE802.11r functionality.
+1. Fix Adhoc issue.
+2. Fix issue: Correct RSSI, SNR, Noise calculation
+3. Fix issue: STA cannot connect to OPEN-WEP AP if WpaSupplicant set
+4. Add an ATE command for AUTOALC.
+5. Add an ATE command for interpacket GAP.
+6. Add an ATE command for ATE payload pattern.
-[V1.4.0.0]
-1. Add IWEVGENIE in iwlist ra0 scan.
-2. Add new WSC hardware push button function
-3. Add Ad-Hoc to support N rate.
-4. Add "iwpriv ra0 set CarrierDetect=0(or 1)"
-5. Add Station N only mode in Infra mode. (Only connects to N-AP)
-6. Add Global country domain (ch1-11:active scan, ch12-14 passive scan)
-7. Fixed connection failed with Range Maximizer - 515 AP (Marvell Chip) when security is
WPAPSK/TKIP.
-8. Fixed crash in LinkDown when there are >64 APs exists.
-9. Fixed compile error when CARRIER_DETECTION_SUPPORT is enabled.
-10. Fixed suspend/resume error when ra0 down, ra0 up
-11. Modified iwpriv ra0 get_site_survey: When security of AP is OPEN/WEP or SHARED/WEP,
show UNKNOW/WEP in scan list.
-12. When the secondary channel of AP exceeds the country region's range, station will
auto fallback to 20MHz. i.e. need both control and secondary channel are both
- in country region's channel list.
-13. Migrate Mesh supporting to Draft-2.0.
-14. Support DLS
-15. Support WAPI functionality
-16. Support Linux Kernel 2.6.27
-17. Fixed WPS failed when AP is not in scan table or AP's channel changing after user
sets "iwpriv ra0 wsc_start"
-18. Add WPS Wireless Event strings.
-19. Fixed WPA(2)PSK issue when group cipher of AP is WEP40 or WEP104.
-
-
-[V1.3.0.0]
-1. Fixed issue of Radar Channel flag building with HAS_EXT_BUILD_CHANNEL_LIST=n.
-2. Fixed issue of Adhoc-STA would create in radar channel.
-3. Fixed LED issue of "ifconfig ra0 down".
-4. Support Linux Kernel 2.6.24
-5. Support SNMP
-6. Support Debug Diagnose
-7. Add IEEE802.11d Client Mode: None, Flexible, Strcit.
-8. Add two ioctl commands to change tx long/short retry limit.
-9. Fixed WPS STA is hard to do WPS process with Broadcom WPS AP Proxy and Marvell WPS
External Registrar.
-10. Fixed WPS STA didn't send dis-assoc to AP after WPS processing.
-11. Fixed WPAPSK rekey problem when A-MSDU is enabled.
-
-[V1.2.0.0]
-1. Add Legacy Power Saving Mode.
-2. Add BaSmartHardTransmit mechanism.
-3. Modify rate adaptation for fast ramp-up tuning.
-4. Support custom wireless event.
-5. Support Linux Kernel 2.6 suspend and resume.
-6. Fixed W52 with Activity scan issue in ABG_MIXED and ABGN_MIXED mode.
-7. Fixed fixed rate issue in N mode and fixed rate ioctl.
Index: rt2870.spec
===================================================================
RCS file: /cvs/free/rpms/rt2870/F-12/rt2870.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- rt2870.spec 4 Dec 2009 13:31:27 -0000 1.9
+++ rt2870.spec 4 Jul 2010 18:18:36 -0000 1.10
@@ -1,19 +1,20 @@
-%define SourceName 2009_0521_RT2870_Linux_STA_V2.1.2.0
+%define SourceName 2010_06_25_RT2870_Linux_STA_v2.4.0.0
Name: rt2870
-Version: 2.1.2.0
-Release: 2%{?dist}.1
+Version: 2.4.0.0
+Release: 1%{?dist}
Summary: Common files for RaLink rt2870 kernel driver
Group: System Environment/Kernel
License: GPLv2+
-URL:
http://www.ralinktech.com/ralink/Home/Support/Linux.html
-Source0:
http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tgz
-Source1:
http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2870.txt
-# Alternative suspend script. Might not be necessary anymore.
-# Kept for historical reasons.
+URL:
http://www.ralinktech.com/support.php?s=2
+# No direct links anymore. The sources are downloaded from the above page.
+Source0: %{SourceName}.tgz
+Source1: ReleaseNote-RT2870.txt
Source2: suspend.sh
# Blacklist the module shipped with kernel
Source3: blacklist-rt2800usb.conf
+# Needed for WPA2 support (RFBZ #664)
+Patch0: rt2870-allowTKIP.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -27,6 +28,7 @@
%prep
%setup -q -n %{SourceName}
+%patch0 -p1 -b .allowTKIP
# Fix bunch of encoding and permission issues
sed 's|\r||' %{SOURCE1} > ReleaseNotes
@@ -37,15 +39,17 @@
touch -r sta_ate_iwpriv_usage.txt tmpfile2
mv -f tmpfile2 sta_ate_iwpriv_usage.txt
+sed 's|\r||' LICENSE\ ralink-firmware.txt > tmpfile
+touch -r LICENSE\ ralink-firmware.txt tmpfile
+mv -f tmpfile LICENSE\ ralink-firmware.txt
+
iconv -f JOHAB -t UTF8 README_STA > tmpfile
touch -r README_STA tmpfile
mv -f tmpfile README_STA
-chmod -x *.txt
+chmod -x *.txt README_STA
%build
-# Needed for WPA2 support (RFBZ #664)
-sed -i 's|HT_DisallowTKIP=1|HT_DisallowTKIP=0|' RT2870STA.dat
sleep 1m
%install
@@ -53,8 +57,10 @@
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
install -pm 0644 RT2870STA*.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2870STA/
cp -a %{SOURCE2} .
+%if 0%{fedora} < 14
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/
cp -a %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/
+%endif
%clean
rm -rf $RPM_BUILD_ROOT
@@ -65,9 +71,14 @@
%dir %{_sysconfdir}/Wireless
%dir %{_sysconfdir}/Wireless/RT2870STA
%config(noreplace) %{_sysconfdir}/Wireless/RT2870STA/RT2870STA*.dat
+%if 0%{fedora} < 14
%config(noreplace) %{_sysconfdir}/modprobe.d/blacklist-rt2800usb.conf
+%endif
%changelog
+* Sat Jun 26 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> -
2.4.0.0-1
+- Update to 2.4.0.0
+
* Fri Dec 04 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> -
2.1.2.0-2.1
- Blacklist kernel's rt2800usb module
Index: sources
===================================================================
RCS file: /cvs/free/rpms/rt2870/F-12/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 22 May 2009 20:25:52 -0000 1.5
+++ sources 4 Jul 2010 18:18:36 -0000 1.6
@@ -1 +1 @@
-31ded4a23d5c5546fff596eca5585070 2009_0521_RT2870_Linux_STA_V2.1.2.0.tgz
+9ab5d68566eb6defd5a794bb98bcf425 2010_06_25_RT2870_Linux_STA_v2.4.0.0.tgz