r7 - tarballs unstable/rt2500 unstable/rt2500/debian unstable/rt2500/debian/patches

Aurelien Jarno aurel32 at alioth.debian.org
Tue Mar 6 02:08:42 CET 2007


Author: aurel32
Date: 2007-03-06 01:08:37 +0000 (Tue, 06 Mar 2007)
New Revision: 7

Added:
   tarballs/rt2500_1.1.0-b4.orig.tar.gz
   unstable/rt2500/debian/
   unstable/rt2500/debian/README.Debian.modules.in
   unstable/rt2500/debian/RaConfig2500.1
   unstable/rt2500/debian/changelog
   unstable/rt2500/debian/compat
   unstable/rt2500/debian/control
   unstable/rt2500/debian/control.modules.in
   unstable/rt2500/debian/copyright
   unstable/rt2500/debian/docs.modules.in
   unstable/rt2500/debian/patches/
   unstable/rt2500/debian/patches/000_if_name.diff
   unstable/rt2500/debian/patches/001_gui.diff
   unstable/rt2500/debian/patches/002_clean.diff
   unstable/rt2500/debian/patches/2.6.19.diff
   unstable/rt2500/debian/patches/2.6.20.diff
   unstable/rt2500/debian/patches/series
   unstable/rt2500/debian/rt2500-source.README.Debian
   unstable/rt2500/debian/rt2500-source.dirs
   unstable/rt2500/debian/rt2500-source.docs
   unstable/rt2500/debian/rt2500.dirs
   unstable/rt2500/debian/rt2500.docs
   unstable/rt2500/debian/rt2500.manpages
   unstable/rt2500/debian/rt2500.menu
   unstable/rt2500/debian/rules
Removed:
   tarballs/rt2500_1.1.0+cvs20070219.orig.tar.gz
Log:
Initial import of rt2500.


Deleted: tarballs/rt2500_1.1.0+cvs20070219.orig.tar.gz
===================================================================
(Binary files differ)

Added: tarballs/rt2500_1.1.0-b4.orig.tar.gz
===================================================================
(Binary files differ)


Property changes on: tarballs/rt2500_1.1.0-b4.orig.tar.gz
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream


Property changes on: unstable/rt2500/debian
___________________________________________________________________
Name: mergeWithUpstream
   + 1

Added: unstable/rt2500/debian/README.Debian.modules.in
===================================================================
--- unstable/rt2500/debian/README.Debian.modules.in	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/README.Debian.modules.in	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,42 @@
+README.Debian for rt2500-modules
+Aurelien Jarno <aurel32 at debian.org>
+$Id: rt2500-modules.README.Debian,v 1.0 2005/08/31 22:53:42 aurel32 Exp $
+
+1. Interface name
+=================
+
+The name of the interface has been changed in the Debian package from 
+ra%d to eth%d to be conform with the naming scheme of the interfaces in 
+Debian. Note that the successor of rt2500, namely rt2x00, will also use
+this name.
+
+If you want to change the name of the interface, use the ifname option.
+For example, to change the name back to ra%d, you will have to run:
+
+  modprobe ifname=ra%d
+
+This option could be made permanent by putting it in a file that have to
+be located in /etc/modprobe.d for 2.6 kernels and in /etc/modutils.d for
+2.4 kernels. For example, to change the name back to ra%d, you will have 
+to use the following line
+
+  options rt2500 ifname=ra%d
+
+
+2. Configuration
+================
+
+To configure your wireless network interface, you can use iwconfig from 
+the wireless-tools package. It is possible to include the configuration 
+into /etc/network/interfaces such as in the following example:
+
+auto eth1
+iface eth1 inet dhcp
+	wireless-mode managed
+	wireless-channel 6
+	wireless-essid my_wifi_network
+	wireless-rate 54M
+				
+Please look at the documentation of the wireless-tools package for more
+information.
+

Added: unstable/rt2500/debian/RaConfig2500.1
===================================================================
--- unstable/rt2500/debian/RaConfig2500.1	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/RaConfig2500.1	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,35 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH RACONFIG2500 1 "May 17, 2005"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+RaConfig2500 \- A configuration tool for wireless RT2500 network cards
+.SH SYNOPSIS
+.B RaConfig2500 
+.SH DESCRIPTION
+.B RaConfig2500
+is a simple X11 utility to configure your RT2500 wireless
+network card. It must be used with the corresponding RT2500 driver.
+.SH OPTIONS
+This software does not have any options.
+.SH SEE ALSO
+iwconfig(8).
+.SH AUTHOR
+.B RaConfig2500 
+was written by Ralink Tech Inc.
+.br
+This manual page was written by Aurelien Jarno <aurel32 at debian.org>,
+for the Debian GNU/Linux system (but may be used by others).

Added: unstable/rt2500/debian/changelog
===================================================================
--- unstable/rt2500/debian/changelog	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/changelog	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,192 @@
+rt2500 (1:1.1.0-b4-1) unstable; urgency=low
+
+  * Switch back to 1.1.0-b4 + backported patches (closes: bug#411703, 
+    bug#413158).
+  * Switch maintainer to "Debian Ralink packages maintainers".
+  * Move Ben Hutchings to uploaders, and add Romain Beauxis to uploaders.
+  * Use quilt for patch management.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Tue,  6 Mar 2007 00:53:59 +0100
+
+rt2500 (1.1.0+cvs20070219-1) unstable; urgency=low
+
+  * Switch Maintainer and Uploader.
+  * New CVS snaphost.
+    - Fix build on >= 2.6.20-rc5 kernels (closes: bug#406825).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Mon, 19 Feb 2007 01:50:17 +0100
+
+rt2500 (1.1.0+cvs20061231-2) unstable; urgency=low
+
+  * Use bzip2 instead of gzip to compress the sources. 
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Wed,  3 Jan 2007 20:58:09 +0100
+
+rt2500 (1.1.0+cvs20061231-1) unstable; urgency=low
+
+  * New CVS snaphost.
+    - Fix SSID handling with kernels >= 2.6.19.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Sun, 31 Dec 2006 18:28:26 +0100
+
+rt2500 (1.1.0+cvs20061210-1) unstable; urgency=low
+
+  * New CVS snapshot.
+     - Fix build with kernels >= 2.6.19.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Sun, 10 Dec 2006 15:30:22 +0100
+
+rt2500 (1.1.0+cvs20060620-3) unstable; urgency=low
+
+  * debian/rules: fix a bashism (closes: bug#385207).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Wed, 30 Aug 2006 14:56:48 +0200
+
+rt2500 (1.1.0+cvs20060620-2) unstable; urgency=low
+
+  * Fixed a typo in the description. 
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Tue,  1 Aug 2006 16:28:49 +0200
+
+rt2500 (1.1.0+cvs20060620-1) unstable; urgency=low
+
+  * New CVS snapshot (closes: bug#376319). 
+  * Bumped Standard-Versions to 3.7.2 (no changes).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Tue, 11 Jul 2006 09:39:27 +0200
+
+rt2500 (1.1.0+cvs20060420-3) unstable; urgency=low
+
+  * Fixed a bug preventing the interface to be detected if its number is
+    greater than 0.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Thu, 27 Apr 2006 21:53:57 +0200
+
+rt2500 (1.1.0+cvs20060420-2) unstable; urgency=low
+
+  * Rename rt2500-_KVERS_ into rt2500-modules-_KVERS_.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Sat, 22 Apr 2006 18:56:26 +0200
+
+rt2500 (1.1.0+cvs20060420-1) unstable; urgency=low
+
+  * New CVS version that should work on SMP machines (closes: bug#363640).
+  * Added Ben Hutchings <ben at decadentplace.org.uk> to the Uploaders: field.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Thu, 20 Apr 2006 12:26:35 +0200
+
+rt2500 (1.1.0+cvs20060417-2) unstable; urgency=low
+
+  * Fix a typo in README.Debian (closes: bug#363563).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Thu, 20 Apr 2006 03:28:32 +0200
+
+rt2500 (1.1.0+cvs20060417-1) unstable; urgency=low
+
+  * New CVS version.
+  * Put a link to /usr/share/doc/rt2500-source/README.Debian into the 
+    root of rt2500.tar.gz, as users are unable to look in /usr/share/doc/
+    by themselves (closes: bug#350500).
+  * Add a menu item for RaConfig2500 (closes: bug#360779).
+  * Fixed a typo in RaConfig2500. Thanks to Peter Crosbie Stevenson
+    <stevepe at earlham.edu> (closes: bug#355073).
+  * Fixed some text fields that where cutted-off in RaConfig2500. Thanks to 
+    Peter Stevenson (closes: bug#354795).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Mon, 30 Jan 2006 01:12:03 +0100
+
+rt2500 (1.1.0+cvs20051217-1) unstable; urgency=low
+
+  * New CVS version:
+    - Add support for injection of raw packets (closes: bug#339673).
+  * Only suggests gcc-3.3 and fails if it is not installed when building
+    the module against a 2.4 kernel (closes: bug#341655).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Sat, 17 Dec 2005 23:38:32 +0100
+
+rt2500 (1.1.0+cvs20050819-4) unstable; urgency=low
+
+  * Move to unstable. 
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Tue,  1 Nov 2005 15:32:06 +0100
+
+rt2500 (1.1.0+cvs20050819-3) experimental; urgency=low
+
+  * Upload to experimental as unstable is semi-frozen.
+  * Refuse to build the module on SMP kernel.
+  * Only recommends linux-image-2.6.xx.
+  * Clarified the description of rt2500. 
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Mon, 31 Oct 2005 19:59:19 +0100
+
+rt2500 (1.1.0+cvs20050819-2) unstable; urgency=low
+
+  * It's seems RT2500STA.dat is only used by the configuration tool.
+    Move this file in this package, and delete the rt2500-base package
+    (closes: bug#325897).
+  * Changed the name of the interface directly in the sources to be
+    able to get rid of rt2500-base.
+  * Added a README.Debian in the module package to explain how to
+    change the name of the interface.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Wed, 31 Aug 2005 23:03:27 +0200
+
+rt2500 (1.1.0+cvs20050819-1) unstable; urgency=low
+
+  * New CVS version.
+  * This version now builds on powerpc (closes: #321822), but I have no
+    way to verify it works on this architecture.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Wed, 31 Aug 2005 22:41:47 +0200
+
+rt2500 (1.1.0+cvs20050710-4) unstable; urgency=low
+
+  * C++ transition: build-depends on libqt3-mt-dev (>= 3.3.4-4)
+    (closes: bug#320234). 
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Fri, 12 Aug 2005 00:04:06 +0200
+
+rt2500 (1.1.0+cvs20050710-3) unstable; urgency=low
+
+  * Oops fixed a typo in debian/control.modules.in. 
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Mon,  1 Aug 2005 01:57:18 +0200
+
+rt2500 (1.1.0+cvs20050710-2) unstable; urgency=low
+
+  * Make the modules also depending on the kernel images which are using
+    the new kernel naming scheme (closes: bug#320361).
+  * Only build modules with gcc-3.3 on a 2.4 kernel.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Mon,  1 Aug 2005 01:38:07 +0200
+
+rt2500 (1.1.0+cvs20050710-1) unstable; urgency=low
+
+  * Upload from Debconf 5.
+  * New CVS version.
+  * Build modules with gcc-3.3.
+  * Bumped Standard-Versions to 3.6.2 (no changes).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Mon, 11 Jul 2005 10:44:57 +0300
+
+rt2500 (1.1.0+cvs20050530-2) unstable; urgency=low
+
+  * Build-Depends on debhelper (closes: bug#311575). 
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Thu,  2 Jun 2005 08:22:33 +0200
+
+rt2500 (1.1.0+cvs20050530-1) unstable; urgency=low
+
+  * New CVS version.
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Tue, 31 May 2005 07:16:46 +0200
+
+rt2500 (1.1.0+cvs20050528-1) unstable; urgency=low
+
+  * Initial Release (closes: bug#285756).
+
+ -- Aurelien Jarno <aurel32 at debian.org>  Sun, 29 May 2005 19:03:04 +0200
+
+Local variables:
+mode: debian-changelog
+End:

Added: unstable/rt2500/debian/compat
===================================================================
--- unstable/rt2500/debian/compat	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/compat	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1 @@
+4

Added: unstable/rt2500/debian/control
===================================================================
--- unstable/rt2500/debian/control	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/control	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,35 @@
+Source: rt2500
+Section: net
+Priority: extra
+Build-Depends: debhelper (>= 4.0), libqt3-mt-dev (>= 3.3.4-4), bzip2, quilt
+Maintainer: Debian Ralink packages maintainers <pkg-ralink-maintainers at lists.alioth.debian.org>
+Uploaders: Aurelien Jarno <aurel32 at debian.org>, Ben Hutchings <ben at decadentplace.org.uk>, Romain Beauxis <toots at rastageeks.org>
+Standards-Version: 3.7.2
+
+Package: rt2500-source
+Architecture: all
+Depends: debhelper (>= 4.0), module-assistant
+Suggests: gcc-3.3
+Description: RT2500 wireless network drivers source
+ This package provides the source code of the Linux drivers for wireless
+ network cards using Ralink RT2500.
+ .
+ In order to compile the kernel modules you need the kernel sources (or
+ the kernel-headers for the kernel-image packages from Debian). For
+ compile instructions look into /usr/share/doc/rt2500-source/README.Debian
+ or simply use the module-assistant utility.
+ .
+  Homepage: http://rt2x00.serialmonkey.com/
+
+Package: rt2500
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Conflicts: rt2500-base
+Recommends: wireless-tools
+Description: configuration tool for wireless RT2500 network cards
+ This package provides an X11 application to configure the RT2500 wireless 
+ network card. It must be used with the corresponding RT2500 driver.
+ .
+ This package is useless without the appropriate rt2500-modules-x.yy.zz package
+ for the kernel you are running, except if you have built it by hand. You can
+ create such a package from rt2500-source.

Added: unstable/rt2500/debian/control.modules.in
===================================================================
--- unstable/rt2500/debian/control.modules.in	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/control.modules.in	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,21 @@
+Source: rt2500
+Section: net
+Priority: extra
+Build-Depends: debhelper (>= 4.0.0)
+Maintainer: Aurelien Jarno <aurel32 at debian.org>
+Standards-Version: 3.7.2
+
+Package: rt2500-modules-_KVERS_
+Conflicts: rt2500-_KVERS_
+Architecture: any
+Recommends: linux-image-_KVERS_ | kernel-image-_KVERS_, wireless-tools
+Suggests: rt2500
+Description: RT2500 wireless network drivers
+ This package contains the set of loadable kernel modules for wireless
+ network cards using Ralink RT2500 chips.
+ .
+ The modules were compiled to be compatible with the kernel in the
+ _KVERS_ package.
+ .
+  Homepage: http://rt2x00.serialmonkey.com
+   

Added: unstable/rt2500/debian/copyright
===================================================================
--- unstable/rt2500/debian/copyright	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/copyright	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,31 @@
+This package was debianized by Aurelien Jarno <aurel32 at debian.org> on
+Tue, 17 May 2005 01:33:42 +0200.
+
+It was downloaded from http://rt2x00.serialmonkey.com/
+
+Copyright
+
+  This package is copyright Ivo van Doorn <ivd at euronet.nl>, Luis Correia
+  <lfcorreia at users.sf.net>, Mark Wallis <mwallis at serialmonkey.com> and
+  others. See THANKS for more detail.
+
+License:
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License with
+  the Debian GNU/Linux distribution in file /usr/share/common-licenses/GPL;
+  if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+  Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General Public
+License, version 2, can be found in /usr/share/common-licenses/GPL-2.
+

Added: unstable/rt2500/debian/docs.modules.in
===================================================================
--- unstable/rt2500/debian/docs.modules.in	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/docs.modules.in	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,3 @@
+FAQ
+THANKS
+README

Added: unstable/rt2500/debian/patches/000_if_name.diff
===================================================================
--- unstable/rt2500/debian/patches/000_if_name.diff	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/patches/000_if_name.diff	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,31 @@
+--- Utilitys/raconfig.cpp
++++ Utilitys/raconfig.cpp
+@@ -38,7 +38,7 @@
+ // This function reads the user's preference from the configuration file.
+ 
+ #define CONFFILE "/etc/rt2x00.conf"
+-#define DEFAULT_DEVICE_NAME "ra%%d"
++#define DEFAULT_DEVICE_NAME "eth%%d"
+ int read_conf (char *devname)
+ {
+   FILE *filep;
+--- Module/rtmp_main.c
++++ Module/rtmp_main.c
+@@ -60,7 +60,7 @@
+ 
+ static char *ifname = NULL ;
+ MODULE_PARM(ifname, "s");
+-MODULE_PARM_DESC(ifname, "Network device name (default ra%d)");
++MODULE_PARM_DESC(ifname, "Network device name (default eth%d)");
+ #else
+ int debug = 0;	/* Default is off. */
+ module_param(debug, int, 0);
+@@ -68,7 +68,7 @@
+ 
+ static char *ifname = NULL ;
+ module_param(ifname, charp, 0);
+-MODULE_PARM_DESC(ifname, "Network device name (default ra%d)");
++MODULE_PARM_DESC(ifname, "Network device name (default eth%d)");
+ #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0) */
+ 
+ // Following information will be show when you run 'modinfo'

Added: unstable/rt2500/debian/patches/001_gui.diff
===================================================================
--- unstable/rt2500/debian/patches/001_gui.diff	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/patches/001_gui.diff	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,413 @@
+--- Utilitys/addprofiledlg.cpp
++++ Utilitys/addprofiledlg.cpp
+@@ -108,7 +108,7 @@
+ 
+     Config_RadioButton_CAM = new QRadioButton( Config_ButtonGroup_PowerSaveing, "Config_RadioButton_CAM" );
+     Config_RadioButton_CAM->setEnabled( TRUE );
+-    Config_RadioButton_CAM->setGeometry( QRect( 25, 20, 200, 30 ) ); 
++    Config_RadioButton_CAM->setGeometry( QRect( 20, 20, 200, 30 ) ); 
+     Config_RadioButton_CAM->setText("CAM (Constantly Awake Mode)");
+     Config_RadioButton_CAM->setChecked( TRUE );
+     Config_ButtonGroup_PowerSaveing->insert( Config_RadioButton_CAM, 0 );
+@@ -121,85 +121,85 @@
+     Config_ButtonGroup_PowerSaveing->insert( Config_RadioButton_PSMode, 1 );
+ 
+     Config_TextLabel1 = new QLabel( ConfigPage_tab, "Config_TextLabel1" );
+-    Config_TextLabel1->setGeometry( QRect( 25, 85, 100, 30 ) ); 
++    Config_TextLabel1->setGeometry( QRect( 25, 85, 120, 30 ) ); 
+     Config_TextLabel1->setText("Network Type");
+ 
+     Config_ComboBox_NetworkType = new QComboBox( FALSE, ConfigPage_tab, "Config_ComboBox_NetworkType" );
+     Config_ComboBox_NetworkType->insertItem("802.11 Ad Hoc");
+     Config_ComboBox_NetworkType->insertItem("Infrastructure");
+-    Config_ComboBox_NetworkType->setGeometry( QRect( 150, 85, 180, 30 ) ); 
++    Config_ComboBox_NetworkType->setGeometry( QRect( 180, 85, 180, 30 ) ); 
+     Config_ComboBox_NetworkType->setCurrentItem( 1 );
+ 
+     Config_TextLabel2 = new QLabel( ConfigPage_tab, "Config_TextLabel2" );
+-    Config_TextLabel2->setGeometry( QRect( 25, 130, 120, 30 ) ); 
++    Config_TextLabel2->setGeometry( QRect( 25, 130, 150, 30 ) ); 
+     Config_TextLabel2->setText("11B Preamble Type");
+ 
+     Config_ComboBox_Preamble = new QComboBox( FALSE, ConfigPage_tab, "Config_ComboBox_Preamble" );
+     Config_ComboBox_Preamble->insertItem("Auto");
+     Config_ComboBox_Preamble->insertItem("Long");
+     Config_ComboBox_Preamble->setEnabled( FALSE );
+-    Config_ComboBox_Preamble->setGeometry( QRect( 150, 130, 180, 30 ) ); 
++    Config_ComboBox_Preamble->setGeometry( QRect( 180, 130, 180, 30 ) ); 
+ 
+     Config_CheckBox_RTS = new QCheckBox( ConfigPage_tab, "Config_CheckBox_RTS" );
+-    Config_CheckBox_RTS->setGeometry( QRect( 15, 187, 130, 30 ) ); 
++    Config_CheckBox_RTS->setGeometry( QRect( 15, 187, 140, 30 ) ); 
+     Config_CheckBox_RTS->setText("RTS Threshold");
+ 
+     Config_TextLabel3 = new QLabel( ConfigPage_tab, "Config_TextLabel3" );
+-    Config_TextLabel3->setGeometry( QRect( 165, 167, 20, 30 ) ); 
++    Config_TextLabel3->setGeometry( QRect( 195, 167, 20, 30 ) ); 
+     Config_TextLabel3->setText("0");
+ 
+     Config_Slider_RTS = new QSlider( ConfigPage_tab, "Config_Slider_RTS" );
+     Config_Slider_RTS->setEnabled( FALSE );
+-    Config_Slider_RTS->setGeometry( QRect( 195, 187, 180, 30 ) ); 
++    Config_Slider_RTS->setGeometry( QRect( 225, 187, 180, 30 ) ); 
+     Config_Slider_RTS->setMaxValue( 2312 );
+     Config_Slider_RTS->setValue( 2312 );
+     Config_Slider_RTS->setOrientation( QSlider::Horizontal );
+ 
+     Config_TextLabel4 = new QLabel( ConfigPage_tab, "Config_TextLabel4" );
+-    Config_TextLabel4->setGeometry( QRect( 385, 167, 35, 30 ) ); 
++    Config_TextLabel4->setGeometry( QRect( 415, 167, 45, 30 ) ); 
+     Config_TextLabel4->setText("2312");
+ 
+     Config_SpinBox_RTS = new QSpinBox( ConfigPage_tab, "Config_SpinBox_RTS" );
+     Config_SpinBox_RTS->setEnabled( FALSE );
+-    Config_SpinBox_RTS->setGeometry( QRect( 425, 187, 50, 30 ) ); 
++    Config_SpinBox_RTS->setGeometry( QRect( 465, 187, 50, 30 ) ); 
+     Config_SpinBox_RTS->setMaxValue( 2312 );
+     Config_SpinBox_RTS->setValue( 2312 );
+ 
+     Config_CheckBox_Fragment = new QCheckBox( ConfigPage_tab, "Config_CheckBox_Fragment" );
+-    Config_CheckBox_Fragment->setGeometry( QRect( 15, 220, 140, 30 ) ); 
++    Config_CheckBox_Fragment->setGeometry( QRect( 15, 220, 170, 30 ) ); 
+     Config_CheckBox_Fragment->setText("Fragment Threshold");
+ 
+     Config_Slider_Fragment = new QSlider( ConfigPage_tab, "Config_Slider_Fragment" );
+     Config_Slider_Fragment->setEnabled( FALSE );
+-    Config_Slider_Fragment->setGeometry( QRect( 195, 225, 180, 30 ) ); 
++    Config_Slider_Fragment->setGeometry( QRect( 225, 225, 180, 30 ) ); 
+     Config_Slider_Fragment->setMinValue( 256 );
+     Config_Slider_Fragment->setMaxValue( 2312 );
+     Config_Slider_Fragment->setValue( 2312 );
+     Config_Slider_Fragment->setOrientation( QSlider::Horizontal );
+ 
+     Config_TextLabel5 = new QLabel( ConfigPage_tab, "Config_TextLabel5" );
+-    Config_TextLabel5->setGeometry( QRect( 165, 205, 20, 30 ) ); 
++    Config_TextLabel5->setGeometry( QRect( 195, 205, 30, 30 ) ); 
+     Config_TextLabel5->setText("256");
+ 
+     Config_SpinBox_Fragment = new QSpinBox( ConfigPage_tab, "Config_SpinBox_Fragment" );
+     Config_SpinBox_Fragment->setEnabled( FALSE );
+-    Config_SpinBox_Fragment->setGeometry( QRect( 425, 225, 50, 30 ) ); 
++    Config_SpinBox_Fragment->setGeometry( QRect( 465, 225, 60, 30 ) ); 
+     Config_SpinBox_Fragment->setMaxValue( 2312 );
+     Config_SpinBox_Fragment->setMinValue( 256 );
+     Config_SpinBox_Fragment->setValue( 2312 );
+ 
+     Config_TextLabel6 = new QLabel( ConfigPage_tab, "Config_TextLabel6" );
+-    Config_TextLabel6->setGeometry( QRect( 385, 205, 35, 30 ) ); 
++    Config_TextLabel6->setGeometry( QRect( 415, 205, 45, 30 ) ); 
+     Config_TextLabel6->setText("2312");
+ 
+     Config_TextLabel_Channel = new QLabel( ConfigPage_tab, "Config_TextLabel_Channel" );
+-    Config_TextLabel_Channel->setGeometry( QRect( 490, 187, 61, 31 ) ); 
++    Config_TextLabel_Channel->setGeometry( QRect( 465, 97, 61, 31 ) ); 
+     Config_TextLabel_Channel->setText("Channel");
+     Config_TextLabel_Channel->hide();
+ 
+     Config_ComboBox_Channel = new QComboBox( FALSE, ConfigPage_tab, "Config_ComboBox_Channel" );
+     Config_ComboBox_Channel->insertItem("1");
+-    Config_ComboBox_Channel->setGeometry( QRect( 490, 225, 71, 31 ) );
++    Config_ComboBox_Channel->setGeometry( QRect( 465, 130, 60, 31 ) );
+     Config_ComboBox_Channel->hide();
+ 
+     TabWidget_Config->insertTab( ConfigPage_tab, "System Configuration");
+@@ -208,19 +208,19 @@
+     SecurityPage_tab = new QWidget( TabWidget_Config, "SecurityPage_tab" );
+ 
+     Security_TextLabel1 = new QLabel( SecurityPage_tab, "Security_TextLabel1" );
+-    Security_TextLabel1->setGeometry( QRect( 15, 15, 120, 30 ) ); 
++    Security_TextLabel1->setGeometry( QRect( 15, 15, 150, 30 ) ); 
+     Security_TextLabel1->setText("Authentication Type:");
+ 
+     Security_ComboBox_AuthType = new QComboBox( FALSE, SecurityPage_tab, "Security_ComboBox_AuthType" );
+     Security_ComboBox_AuthType->insertItem("OPEN");
+     Security_ComboBox_AuthType->insertItem("SHARED");
+     Security_ComboBox_AuthType->insertItem("WPAPSK");
+-    Security_ComboBox_AuthType->setGeometry( QRect( 145, 15, 120, 30 ) );
++    Security_ComboBox_AuthType->setGeometry( QRect( 175, 15, 120, 30 ) );
+     Security_ComboBox_AuthType->setCurrentItem(0);
+ 
+     Security_TextLabel2 = new QLabel( SecurityPage_tab, "Security_TextLabel2" );
+-    Security_TextLabel2->setGeometry( QRect( 308, 15, 120, 30 ) ); 
+-    Security_TextLabel2->setText("Encryptiion Type:");
++    Security_TextLabel2->setGeometry( QRect( 298, 15, 130, 30 ) ); 
++    Security_TextLabel2->setText("Encryption Type:");
+ 
+     Security_ComboBox_Encrypt = new QComboBox( FALSE, SecurityPage_tab, "Security_ComboBox_Encrypt" );
+     Security_ComboBox_Encrypt->insertItem("NONE");
+@@ -229,11 +229,11 @@
+     Security_ComboBox_Encrypt->setCurrentItem(0);
+ 
+     Security_TextLabel3 = new QLabel( SecurityPage_tab, "Security_TextLabel3" );
+-    Security_TextLabel3->setGeometry( QRect( 15, 60, 120, 31 ) ); 
++    Security_TextLabel3->setGeometry( QRect( 15, 60, 165, 31 ) ); 
+     Security_TextLabel3->setText("WPA Pre-Shared Key:");
+ 
+     Security_LineEdit_PSK = new QLineEdit( SecurityPage_tab, "Security_LineEdit_PSK" );
+-    Security_LineEdit_PSK->setGeometry( QRect( 145, 60, 410, 30 ) ); 
++    Security_LineEdit_PSK->setGeometry( QRect( 185, 60, 370, 30 ) ); 
+     Security_LineEdit_PSK->setMaxLength(64);
+     Security_LineEdit_PSK->setEnabled( FALSE );
+ 
+@@ -251,7 +251,7 @@
+     Security_ComboBox_KeyType1 = new QComboBox( FALSE, Security_ButtonGroup_Key, "Security_ComboBox_KeyType1" );
+     Security_ComboBox_KeyType1->insertItem("Hexadecimal");
+     Security_ComboBox_KeyType1->insertItem("Ascii");
+-    Security_ComboBox_KeyType1->setGeometry( QRect( 90, 20, 120, 30 ) ); 
++    Security_ComboBox_KeyType1->setGeometry( QRect( 90, 20, 125, 30 ) ); 
+     Security_ComboBox_KeyType1->setEnabled( FALSE );
+ 
+     m_hexValidator = new QHexValidator(this);
+@@ -278,7 +278,7 @@
+     Security_ComboBox_KeyType2 = new QComboBox( FALSE, Security_ButtonGroup_Key, "Security_ComboBox_KeyType2" );
+     Security_ComboBox_KeyType2->insertItem("Hexadecimal");
+     Security_ComboBox_KeyType2->insertItem("Ascii");
+-    Security_ComboBox_KeyType2->setGeometry( QRect( 90, 55, 120, 30 ) );
++    Security_ComboBox_KeyType2->setGeometry( QRect( 90, 55, 125, 30 ) );
+     Security_ComboBox_KeyType2->setEnabled( FALSE );
+ 
+     Security_LineEdit_Key2Hex = new QLineEdit( Security_ButtonGroup_Key, "Security_LineEdit_Key2Hex" );
+@@ -303,7 +303,7 @@
+     Security_ComboBox_KeyType3 = new QComboBox( FALSE, Security_ButtonGroup_Key, "Security_ComboBox_KeyType3" );
+     Security_ComboBox_KeyType3->insertItem("Hexadecimal");
+     Security_ComboBox_KeyType3->insertItem("Ascii");
+-    Security_ComboBox_KeyType3->setGeometry( QRect( 90, 90, 120, 30 ) );
++    Security_ComboBox_KeyType3->setGeometry( QRect( 90, 90, 125, 30 ) );
+     Security_ComboBox_KeyType3->setEnabled( FALSE );
+ 
+     Security_LineEdit_Key3Hex = new QLineEdit( Security_ButtonGroup_Key, "Security_LineEdit_Key3Hex" );
+@@ -328,7 +328,7 @@
+     Security_ComboBox_KeyType4 = new QComboBox( FALSE, Security_ButtonGroup_Key, "Security_ComboBox_KeyType4" );
+     Security_ComboBox_KeyType4->insertItem("Hexadecimal");
+     Security_ComboBox_KeyType4->insertItem("Ascii");
+-    Security_ComboBox_KeyType4->setGeometry( QRect( 90, 125, 120, 30 ) );
++    Security_ComboBox_KeyType4->setGeometry( QRect( 90, 125, 125, 30 ) );
+     Security_ComboBox_KeyType4->setEnabled( FALSE );
+ 
+     Security_LineEdit_Key4Hex = new QLineEdit( Security_ButtonGroup_Key, "Security_LineEdit_Key4Hex" );
+--- Utilitys/raconfigui.cpp
++++ Utilitys/raconfigui.cpp
+@@ -190,7 +190,7 @@
+     LinkStatusPage_tab = new QWidget( TabWidgetRaConfig, "LinkStatusPage_tab" );
+ 
+     LinkStatus_TextLabel1 = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel1" );
+-    LinkStatus_TextLabel1->setGeometry( QRect( 50, 20, 110, 30 ) ); 
++    LinkStatus_TextLabel1->setGeometry( QRect( 40, 20, 110, 30 ) ); 
+     LinkStatus_TextLabel1->setText("Status:");
+ 
+     LinkStatus_TextLabel_Status = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel_Status" );
+@@ -199,7 +199,7 @@
+     LinkStatus_TextLabel_Status->setFrameShadow( QLabel::Sunken );
+ 
+     LinkStatus_TextLabel2 = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel2" );
+-    LinkStatus_TextLabel2->setGeometry( QRect( 50, 65, 120, 30 ) ); 
++    LinkStatus_TextLabel2->setGeometry( QRect( 40, 65, 130, 30 ) ); 
+     LinkStatus_TextLabel2->setText("Current Channel:");
+ 
+     LinkStatus_TextLabel_Channel = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel_Channel" );
+@@ -208,7 +208,7 @@
+     LinkStatus_TextLabel_Channel->setFrameShadow( QLabel::Sunken );
+ 
+     LinkStatus_TextLabel3 = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel3" );
+-    LinkStatus_TextLabel3->setGeometry( QRect( 50, 110, 130, 30 ) ); 
++    LinkStatus_TextLabel3->setGeometry( QRect( 40, 110, 130, 30 ) ); 
+     LinkStatus_TextLabel3->setText("Current Tx Rate:");
+ 
+     LinkStatus_TextLabel_TxRate = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel_TxRate" );
+@@ -218,7 +218,7 @@
+     LinkStatus_TextLabel_TxRate->setText("");
+ 
+     LinkStatus_TextLabel4 = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel4" );
+-    LinkStatus_TextLabel4->setGeometry( QRect( 50, 155, 150, 30 ) ); 
++    LinkStatus_TextLabel4->setGeometry( QRect( 40, 155, 180, 30 ) ); 
+     LinkStatus_TextLabel4->setText("Throughput (KBits/sec):");
+ 
+     LinkStatus_TextLabel5 = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel5" );
+@@ -242,26 +242,26 @@
+     LinkStatus_TextLabel_RxThroughput->setText("");
+ 
+     LinkStatus_TextLabel7 = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel7" );
+-    LinkStatus_TextLabel7->setGeometry( QRect( 50, 230, 120, 30 ) ); 
++    LinkStatus_TextLabel7->setGeometry( QRect( 40, 230, 120, 30 ) ); 
+     LinkStatus_TextLabel7->setText("Link Quality:");
+ 
+     LinkStatus_TextLabel_Link = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel_Link" );
+-    LinkStatus_TextLabel_Link->setGeometry( QRect( 230, 200, 80, 20 ) ); 
++    LinkStatus_TextLabel_Link->setGeometry( QRect( 230, 200, 100, 20 ) ); 
+     LinkStatus_TextLabel_Link->setText("");
+ 
+     LinkStatus_ProgressBar_Link = new QProgressBar( LinkStatusPage_tab, "LinkStatus_ProgressBar_Link" );
+     LinkStatus_ProgressBar_Link->setGeometry( QRect( 230, 230, 300, 30 ) ); 
+ 
+     LinkStatus_TextLabel8 = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel8" );
+-    LinkStatus_TextLabel8->setGeometry( QRect( 50, 305, 131, 31 ) ); 
++    LinkStatus_TextLabel8->setGeometry( QRect( 40, 305, 131, 31 ) ); 
+     LinkStatus_TextLabel8->setText("Signal Strength:");
+ 
+     LinkStatus_TextLabel_Signal = new QLabel( LinkStatusPage_tab, "LinkStatus_TextLabel_Signal" );
+-    LinkStatus_TextLabel_Signal->setGeometry( QRect( 230, 275, 80, 20 ) ); 
++    LinkStatus_TextLabel_Signal->setGeometry( QRect( 230, 275, 110, 20 ) ); 
+     LinkStatus_TextLabel_Signal->setText("");
+ 
+     LinkStatus_CheckBox_dbm = new QCheckBox( LinkStatusPage_tab, "LinkStatus_CheckBox_dbm" );
+-    LinkStatus_CheckBox_dbm->setGeometry( QRect( 325, 275, 110, 20 ) ); 
++    LinkStatus_CheckBox_dbm->setGeometry( QRect( 360, 275, 110, 20 ) ); 
+     LinkStatus_CheckBox_dbm->setText("dBm format");
+ 
+     LinkStatus_ProgressBar_Signal = new QProgressBar( LinkStatusPage_tab, "LinkStatus_ProgressBar_Signal" );
+@@ -303,6 +303,7 @@
+     SiteSurvey_PushButton_Connect->setEnabled( FALSE );
+ 
+     SiteSurvey_PushButton_AddProfile = new QPushButton( SiteSurvey_ButtonGroup, "SiteSurvey_PushButton_AddProfile" );
++    SiteSurvey_PushButton_AddProfile->setFont( QFont( font( ).family( ), 10, font( ).weight( ), font( ).italic( ) ) );
+     SiteSurvey_PushButton_AddProfile->setGeometry( QRect( 440, 375, 100, 30 ) ); 
+     SiteSurvey_PushButton_AddProfile->setText("&ADD PROFILE");
+     SiteSurvey_PushButton_AddProfile->setEnabled( FALSE );
+@@ -318,7 +319,7 @@
+     Statistics_ButtonGroup_Tx->setTitle("Transmit Statistics");
+ 
+     Statistics_TextLabel1 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel1" );
+-    Statistics_TextLabel1->setGeometry( QRect( 10, 20, 151, 30 ) ); 
++    Statistics_TextLabel1->setGeometry( QRect( 10, 20, 300, 30 ) ); 
+     Statistics_TextLabel1->setText("Frames Transmitted Successfully");
+ 
+     Statistics_TextLabel2 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel2" );
+@@ -331,7 +332,7 @@
+     Statistics_TextLabel_TxSuccess->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel3 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel3" );
+-    Statistics_TextLabel3->setGeometry( QRect( 10, 50, 218, 30 ) ); 
++    Statistics_TextLabel3->setGeometry( QRect( 10, 50, 400, 30 ) ); 
+     Statistics_TextLabel3->setText("Frames Transmitted Successfully Without Retry");
+ 
+     Statistics_TextLabel4 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel4" );
+@@ -344,7 +345,7 @@
+     Statistics_TextLabel_TxWithoutRetry->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel5 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel5" );
+-    Statistics_TextLabel5->setGeometry( QRect( 10, 80, 219, 30 ) ); 
++    Statistics_TextLabel5->setGeometry( QRect( 10, 80, 400, 30 ) ); 
+     Statistics_TextLabel5->setText("Frames Transmitted Successfully After Retry(s)");
+ 
+     Statistics_TextLabel6 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel6" );
+@@ -357,7 +358,7 @@
+     Statistics_TextLabel_TxAfterRetry->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel7 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel7" );
+-    Statistics_TextLabel7->setGeometry( QRect( 10, 110, 207, 30 ) ); 
++    Statistics_TextLabel7->setGeometry( QRect( 10, 110, 400, 30 ) ); 
+     Statistics_TextLabel7->setText("Frames Fail To Receive ACK After All Retries");
+ 
+     Statistics_TextLabel8 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel8" );
+@@ -370,7 +371,7 @@
+     Statistics_TextLabel_TxFailACK->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel9 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel9" );
+-    Statistics_TextLabel9->setGeometry( QRect( 10, 140, 172, 30 ) ); 
++    Statistics_TextLabel9->setGeometry( QRect( 10, 140, 400, 30 ) ); 
+     Statistics_TextLabel9->setText("RTS Frames Sucessfully Receive CTS");
+ 
+     Statistics_TextLabel10 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel10" );
+@@ -383,7 +384,7 @@
+     Statistics_TextLabel_RTSSuccess->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel11 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel11" );
+-    Statistics_TextLabel11->setGeometry( QRect( 10, 170, 151, 30 ) ); 
++    Statistics_TextLabel11->setGeometry( QRect( 10, 170, 300, 30 ) ); 
+     Statistics_TextLabel11->setText("RTS Frames Fail To Receive CTS");
+ 
+     Statistics_TextLabel12 = new QLabel( Statistics_ButtonGroup_Tx, "Statistics_TextLabel12" );
+@@ -400,7 +401,7 @@
+     Statistics_ButtonGroup_Rx->setTitle("Receive Statistics");
+ 
+     Statistics_TextLabel13 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel13" );
+-    Statistics_TextLabel13->setGeometry( QRect( 10, 20, 138, 30 ) ); 
++    Statistics_TextLabel13->setGeometry( QRect( 10, 20, 300, 30 ) ); 
+     Statistics_TextLabel13->setText("Frames Received Successfully");
+ 
+     Statistics_TextLabel14 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel14" );
+@@ -413,7 +414,7 @@
+     Statistics_TextLabel_RxSuccess->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel15 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel15" );
+-    Statistics_TextLabel15->setGeometry( QRect( 10, 50, 158, 30 ) ); 
++    Statistics_TextLabel15->setGeometry( QRect( 10, 50, 300, 30 ) ); 
+     Statistics_TextLabel15->setText("Frames Received With CRC Error");
+ 
+     Statistics_TextLabel16 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel16" );
+@@ -426,7 +427,7 @@
+     Statistics_TextLabel_RxCRC->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel17 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel17" );
+-    Statistics_TextLabel17->setGeometry( QRect( 10, 80, 195, 30 ) ); 
++    Statistics_TextLabel17->setGeometry( QRect( 10, 80, 400, 30 ) ); 
+     Statistics_TextLabel17->setText("Frames Dropped Due To Out-of-Resource");
+ 
+     Statistics_TextLabel18 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel18" );
+@@ -439,7 +440,7 @@
+     Statistics_TextLabel_RxDrop->setAlignment( int( QLabel::AlignVCenter | QLabel::AlignRight ) );
+ 
+     Statistics_TextLabel19 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel19" );
+-    Statistics_TextLabel19->setGeometry( QRect( 10, 110, 125, 30 ) ); 
++    Statistics_TextLabel19->setGeometry( QRect( 10, 110, 300, 30 ) ); 
+     Statistics_TextLabel19->setText("Duplicate Frames Received");
+ 
+     Statistics_TextLabel20 = new QLabel( Statistics_ButtonGroup_Rx, "Statistics_TextLabel20" );
+@@ -453,6 +454,7 @@
+ 
+     Statistics_PushButton_Reset = new QPushButton( StatisticsPage_tab, "Statistics_PushButton_Reset" );
+     Statistics_PushButton_Reset->setGeometry( QRect( 428, 388, 130, 30 ) ); 
++    Statistics_PushButton_Reset->setFont( QFont( font( ).family( ), 10, font( ).weight( ), font( ).italic( ) ) );
+     Statistics_PushButton_Reset->setText("&RESET COUNTERS");
+ 
+     TabWidgetRaConfig->insertTab( StatisticsPage_tab, "Statistics");
+@@ -462,34 +464,34 @@
+     AdvancePage_tab = new QWidget( TabWidgetRaConfig, "AdvancePage_tab" );
+ 
+     Advance_TextLabel1 = new QLabel( AdvancePage_tab, "Advance_TextLabel1" );
+-    Advance_TextLabel1->setGeometry( QRect( 30, 20, 110, 30 ) ); 
++    Advance_TextLabel1->setGeometry( QRect( 30, 20, 120, 30 ) ); 
+     Advance_TextLabel1->setText("Wireless Mode");
+ 
+     Advance_ComboBox_Mode = new QComboBox( FALSE, AdvancePage_tab, "Advance_ComboBox_Mode" );
+     Advance_ComboBox_Mode->insertItem("802.11 B/G mixed mode");
+     Advance_ComboBox_Mode->insertItem("802.11 B only");
+-    Advance_ComboBox_Mode->setGeometry( QRect( 160, 18, 201, 31 ) ); 
++    Advance_ComboBox_Mode->setGeometry( QRect( 160, 18, 211, 31 ) ); 
+ 
+     Advance_CheckBox_TxBurst = new QCheckBox( AdvancePage_tab, "Advance_CheckBox_TxBurst" );
+     Advance_CheckBox_TxBurst->setGeometry( QRect( 30, 70, 200, 30 ) ); 
+     Advance_CheckBox_TxBurst->setText("Enable TX Burst");
+ 
+     Advance_CheckBox_AdhocOfdm = new QCheckBox( AdvancePage_tab, "Advance_CheckBox_AdhocOfdm" );
+-    Advance_CheckBox_AdhocOfdm->setGeometry( QRect( 30, 110, 200, 30 ) ); 
++    Advance_CheckBox_AdhocOfdm->setGeometry( QRect( 30, 110, 250, 30 ) ); 
+     Advance_CheckBox_AdhocOfdm->setText("Ad Hoc mode use OFDM rate");
+ 
+     Advance_CheckBox_ShortSlot = new QCheckBox( AdvancePage_tab, "Advance_CheckBox_ShortSlot" );
+     Advance_CheckBox_ShortSlot->setEnabled( FALSE );
+-    Advance_CheckBox_ShortSlot->setGeometry( QRect( 30, 150, 200, 30 ) ); 
++    Advance_CheckBox_ShortSlot->setGeometry( QRect( 30, 150, 300, 30 ) ); 
+     Advance_CheckBox_ShortSlot->setText("Use Short Slot Time when applicable");
+ 
+     Advance_CheckBox_TurboRate = new QCheckBox( AdvancePage_tab, "Advance_CheckBox_TurboRate" );
+     Advance_CheckBox_TurboRate->setEnabled( FALSE );
+-    Advance_CheckBox_TurboRate->setGeometry( QRect( 30, 190, 200, 30 ) ); 
++    Advance_CheckBox_TurboRate->setGeometry( QRect( 30, 190, 400, 30 ) ); 
+     Advance_CheckBox_TurboRate->setText("Use Turbo rate (72/100Mbps) when applicable");
+ 
+     Advance_TextLabel2 = new QLabel( AdvancePage_tab, "Advance_TextLabel2" );
+-    Advance_TextLabel2->setGeometry( QRect( 300, 70, 120, 30 ) ); 
++    Advance_TextLabel2->setGeometry( QRect( 290, 70, 130, 30 ) ); 
+     Advance_TextLabel2->setText("11B/G Protection");
+ 
+     Advance_ComboBox_BGProtection = new QComboBox( FALSE, AdvancePage_tab, "Advance_ComboBox_BGProtection" );
+@@ -500,7 +502,7 @@
+     Advance_ComboBox_BGProtection->setGeometry( QRect( 430, 70, 120, 30 ) ); 
+ 
+     Advance_TextLabel3 = new QLabel( AdvancePage_tab, "Advance_TextLabel3" );
+-    Advance_TextLabel3->setGeometry( QRect( 300, 110, 120, 30 ) ); 
++    Advance_TextLabel3->setGeometry( QRect( 290, 110, 120, 30 ) ); 
+     Advance_TextLabel3->setText("TX Rate");
+ 
+     Advance_ComboBox_TxRate = new QComboBox( FALSE, AdvancePage_tab, "Advance_ComboBox_TxRate" );

Added: unstable/rt2500/debian/patches/002_clean.diff
===================================================================
--- unstable/rt2500/debian/patches/002_clean.diff	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/patches/002_clean.diff	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,11 @@
+--- Module/Makefile	2006-06-17 22:12:58.000000000 +0200
++++ Module/Makefile	2006-12-02 16:25:57.000000000 +0100
+@@ -113,7 +113,7 @@
+ clean:
+ 	@rm -f $(RESMAN_GLUE_OBJS) $(RESMAN_CORE_OBJS) .*.{cmd,flags}
+ 	@rm -f $(MODULE_NAME).{o,ko,mod.{o,c}} built-in.o $(VERSION_HEADER) *~
+-	@rm -fr .tmp_versions
++	@rm -fr .tmp_versions Module.symvers
+ 
+ modules_install:
+ ifeq ($(PATCHLEVEL),4)

Added: unstable/rt2500/debian/patches/2.6.19.diff
===================================================================
--- unstable/rt2500/debian/patches/2.6.19.diff	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/patches/2.6.19.diff	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,104 @@
+--- Module/rtmp.h	2006/11/28 08:00:02	1.41
++++ Module/rtmp.h	2006/11/30 23:18:16	1.42
+@@ -1112,10 +1112,16 @@
+ INT     RT2500_close(
+     IN  struct net_device *net_dev);
+ 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+ irqreturn_t RTMPIsr(
+     IN  INT             irq, 
+     IN  VOID            *dev_instance, 
+     IN  struct pt_regs  *rgs);
++#else
++irqreturn_t RTMPIsr(
++    IN  INT             irq, 
++    IN  VOID            *dev_instance);
++#endif
+ 
+ VOID    RT2500_timer(
+     IN  unsigned long data);
+--- Module/rtmp_info.c	2006/08/19 23:51:27	1.68
++++ Module/rtmp_info.c	2006/12/27 21:09:31	1.69
+@@ -1632,6 +1632,7 @@
+     USHORT                              subcmd;
+     BOOLEAN                             StateMachineTouched = FALSE;
+     int                                 i, chan = -1, index = 0, len = 0;
++    ULONG				Length;
+ 
+ 
+     switch(cmd) {
+@@ -1650,23 +1651,29 @@
+                     break;
+                 }
+ 
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
++		Length = erq->length - 1; // minux null character.
++#else
++		Length = erq->length;
++#endif
++
+ 		if(RTMP_TEST_FLAG(pAdapter, fRTMP_ADAPTER_INTERRUPT_IN_USE))
+ 		{
+-                	if (copy_from_user(Ssid.Ssid, erq->pointer, (erq->length - 1)))
++                	if (copy_from_user(Ssid.Ssid, erq->pointer, Length))
+                 	{
+                    	 Status = -EFAULT;
+                    	 break;
+                 	}
+-                	Ssid.SsidLength = erq->length - 1;  //minus null character.
++                	Ssid.SsidLength = Length;
+ 		}else{
+ 			// This SEEMS to be needed to actual work RobinC when iface
+ 			// is down
+-	                if (copy_from_user(pAdapter->PortCfg.Ssid, erq->pointer, (erq->length - 1)))
++	                if (copy_from_user(pAdapter->PortCfg.Ssid, erq->pointer, Length))
+ 	                {
+ 	                    Status = -EFAULT;
+ 	                    break;
+ 	                }
+-	                pAdapter->PortCfg.SsidLen = erq->length - 1;  //minus null character.
++	                pAdapter->PortCfg.SsidLen = Length;
+ 
+ 			memcpy(pAdapter->Mlme.CntlAux.Ssid, pAdapter->PortCfg.Ssid, pAdapter->PortCfg.SsidLen);	
+ 			pAdapter->Mlme.CntlAux.SsidLen = pAdapter->PortCfg.SsidLen; 
+--- Module/rtmp_main.c	2006/08/23 15:54:40	1.72
++++ Module/rtmp_main.c	2006/11/30 23:18:16	1.73
+@@ -217,8 +217,8 @@
+     csr_addr = (unsigned long) ioremap(pci_resource_start(pPci_Dev, 0), pci_resource_len(pPci_Dev, 0));
+     if (!csr_addr) 
+     {
+-        DBGPRINT(RT_DEBUG_TRACE, "ioremap failed for device %s, region 0x%X @ 0x%lX\n",
+-            print_name, (ULONG)pci_resource_len(pPci_Dev, 0), pci_resource_start(pPci_Dev, 0));
++        DBGPRINT(RT_DEBUG_TRACE, "ioremap failed for device %s, region 0x%X @ 0x%X\n",
++            print_name, (ULONG)pci_resource_len(pPci_Dev, 0), (ULONG)pci_resource_start(pPci_Dev, 0));
+         goto err_out_free_res;
+     }
+ 
+@@ -284,8 +284,8 @@
+     if (Status != NDIS_STATUS_SUCCESS)
+ 		goto err_out_unmap;
+ 
+-    DBGPRINT(RT_DEBUG_TRACE, "%s: at 0x%lx, VA 0x%lx, IRQ %d. \n", 
+-        net_dev->name, pci_resource_start(pPci_Dev, 0), (unsigned long)csr_addr, pPci_Dev->irq);
++    DBGPRINT(RT_DEBUG_TRACE, "%s: at 0x%x, VA 0x%lx, IRQ %d. \n", 
++        net_dev->name, (ULONG)pci_resource_start(pPci_Dev, 0), (unsigned long)csr_addr, pPci_Dev->irq);
+ 
+     // Set driver data
+     pci_set_drvdata(pPci_Dev, net_dev);
+@@ -514,10 +514,16 @@
+ 
+     ========================================================================
+ */
++#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)
+ irqreturn_t RTMPIsr(
+     IN  INT             irq, 
+     IN  VOID            *dev_instance, 
+     IN  struct pt_regs  *rgs)
++#else
++irqreturn_t RTMPIsr(
++    IN  INT             irq, 
++    IN  VOID            *dev_instance)
++#endif
+ {
+     struct net_device   *net_dev = dev_instance;
+     PRTMP_ADAPTER       pAdapter = net_dev->priv;

Added: unstable/rt2500/debian/patches/2.6.20.diff
===================================================================
--- unstable/rt2500/debian/patches/2.6.20.diff	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/patches/2.6.20.diff	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,44 @@
+--- Module/mlme.c	2006/11/28 08:00:02	1.34
++++ Module/mlme.c	2007/01/20 21:12:59	1.35
+@@ -357,9 +357,15 @@
+     schedule_work(&pAd->mlme_work);
+ }
+ 
++# if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
++VOID MlmeWork(struct work_struct *work)
++{
++    PRTMP_ADAPTER pAd = container_of(work, struct _RTMP_ADAPTER ,mlme_work);
++# else /* 2.6.20 patch "older kernels" */
+ VOID MlmeWork(void *vpAd)
+ {
+-    PRTMP_ADAPTER pAd = vpAd;
++      PRTMP_ADAPTER pAd = vpAd;
++#endif /* 2.6.20 patch */
+ #endif
+     MLME_QUEUE_ELEM        *Elem = NULL;
+     unsigned long flags;
+--- Module/rtmp_init.c	2006/06/16 07:07:25	1.30
++++ Module/rtmp_init.c	2007/01/20 21:12:59	1.31
+@@ -916,7 +916,11 @@
+ 	DBGPRINT(RT_DEBUG_TRACE, "<-- NICInitAsicFromEEPROM\n");
+ }
+ 
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
++extern VOID MlmeWork(struct work_struct *work);
++#else 
+ extern VOID MlmeWork(void *vpAd);
++#endif
+ 
+ void NICInitializeAdapter(IN    PRTMP_ADAPTER   pAdapter)
+ {
+@@ -974,7 +980,9 @@
+     // Initialze ASIC for TX & Rx operation
+     NICInitializeAsic(pAdapter);
+ 
+-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
++#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))
++    INIT_WORK(&pAdapter->mlme_work, MlmeWork);
++#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0))
+     INIT_WORK(&pAdapter->mlme_work, MlmeWork, (void*)pAdapter);
+ #endif
+     DBGPRINT(RT_DEBUG_TRACE, "<-- NICInitializeAdapter\n");

Added: unstable/rt2500/debian/patches/series
===================================================================
--- unstable/rt2500/debian/patches/series	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/patches/series	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,5 @@
+000_if_name.diff -p0
+001_gui.diff -p0
+002_clean.diff -p0
+2.6.19.diff -p0
+2.6.20.diff -p0

Added: unstable/rt2500/debian/rt2500-source.README.Debian
===================================================================
--- unstable/rt2500/debian/rt2500-source.README.Debian	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rt2500-source.README.Debian	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,66 @@
+README.Debian for rt2500-source
+Aurelien Jarno <aurel32 at debian.org>
+$Id: rt2500-source.README.Debian,v 1.0 2005/05/17 01:38:42 aurel32 Exp $
+
+1. Building rt2500 kernel modules
+=================================
+
+This package is a source package that can be used to build modules that 
+work with your custom built linux kernel. The source files are located 
+in /usr/src/rt2500.tar.bz2; unpacking that file in /usr/src will produce 
+a build tree in /usr/src/modules/rt2500/. (The tar file can also be 
+unpacked elsewhere)
+
+- The Debian way (with module-assistant): install the "module-assistant"
+  package and the kernel-headers-* package corresponding to the kernel 
+  version you want to use, then run the following commands:
+
+  # module-assistant prepare               # May not be needed
+  # module-assistant get rt2500
+  # module-assistant build rt2500
+
+  You should now have an rt2500-modules-<version>.deb file in /usr/src, 
+  which you can install with dpkg -i to get the modules installed.
+
+- The "by hand" way: if you prefer handling your kernel by hand, then
+  you're supposed to know what to do with rt2500-source and I won't 
+  bother you any longer.
+
+There also used to be a third way, using kernel-package.  It's been
+removed (module-assistant becoming the standard way to build modules
+/in Debian).  For reference, here's the text that used to be above
+(will probably be removed in some future version):
+,----
+| You probably want to use kernel-package for building these modules.
+| Install it and read /usr/share/kernel-package/README.modules. Having
+| built a kernel with kernel-package, it should suffice to be in the top
+| directory of your kernel source tree and run:
+|
+|	make-kpkg modules-image
+|
+| If you are using a prebuilt Debian kernel, the process is almost the 
+| same. Enter in the directory containing the kernel headers 
+| corresponding to your kernel and run make-kpkg:
+|
+|       cd /usr/src/kernel-headers-2.4.26-1-686
+|       make-kpkg modules-image
+`----
+
+
+2. Configuration
+================
+
+To configure your wireless network interface, you can use iwconfig from 
+the wireless-tools package. It is possible to include the configuration 
+into /etc/network/interfaces such as in the following example:
+
+auto eth1
+iface eth1 inet dhcp
+	wireless-mode managed
+	wireless-channel 6
+	wireless-essid my_wifi_network
+	wireless-rate 54M
+				
+Please look at the documentation of the wireless-tools package for more
+information.
+

Added: unstable/rt2500/debian/rt2500-source.dirs
===================================================================
--- unstable/rt2500/debian/rt2500-source.dirs	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rt2500-source.dirs	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,2 @@
+usr/src/modules
+usr/share/modass/overrides

Added: unstable/rt2500/debian/rt2500-source.docs
===================================================================
--- unstable/rt2500/debian/rt2500-source.docs	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rt2500-source.docs	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,3 @@
+FAQ
+THANKS
+Module/README

Added: unstable/rt2500/debian/rt2500.dirs
===================================================================
--- unstable/rt2500/debian/rt2500.dirs	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rt2500.dirs	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,3 @@
+etc/Wireless/RT2500STA/
+usr/bin
+usr/share/pixmaps

Added: unstable/rt2500/debian/rt2500.docs
===================================================================
--- unstable/rt2500/debian/rt2500.docs	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rt2500.docs	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,2 @@
+FAQ
+THANKS

Added: unstable/rt2500/debian/rt2500.manpages
===================================================================
--- unstable/rt2500/debian/rt2500.manpages	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rt2500.manpages	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1 @@
+debian/RaConfig2500.1

Added: unstable/rt2500/debian/rt2500.menu
===================================================================
--- unstable/rt2500/debian/rt2500.menu	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rt2500.menu	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,6 @@
+?package(rt2500):\
+       needs="X11" \
+       section="Apps/System" \
+       title="RT2500 configuration utility" \
+       command="su-to-root -X -c /usr/bin/RaConfig2500" \
+       icon="/usr/share/pixmaps/RaConfig2500.xpm"

Added: unstable/rt2500/debian/rules
===================================================================
--- unstable/rt2500/debian/rules	2007-03-05 23:27:36 UTC (rev 6)
+++ unstable/rt2500/debian/rules	2007-03-06 01:08:37 UTC (rev 7)
@@ -0,0 +1,218 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 by Joey Hess.
+#
+# This version is for a hypothetical package that builds an
+# architecture-dependant package, as well as an architecture-independent
+# package.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# prefix of the target package name
+PACKAGE=rt2500-modules
+# modifieable for experiments or debugging m-a
+MA_DIR ?= /usr/share/modass
+# load generic variable handling
+-include $(MA_DIR)/include/generic.make
+# load default rules
+-include $(MA_DIR)/include/common-rules.make
+
+ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -g
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+clean:
+	dh_testdir
+	dh_testroot
+	-$(MAKE) -C Module clean
+	-$(MAKE) -C Utilitys clean
+	-rm Utilitys/Makefile
+	-rm Utilitys/RaConfig2500
+	QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
+	dh_clean	
+	rm -rf debian/build
+	rm -f *-stamp
+
+patch: patch-stamp
+patch-stamp:
+	QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+	touch patch-stamp
+
+build-arch: build-arch-stamp
+build-arch-stamp: patch-stamp
+	dh_testdir
+	cd Utilitys/ \
+		&& qmake -o Makefile raconfig2500.pro \
+		&& $(MAKE)
+	
+	touch build-arch-stamp
+
+install-arch: build-arch install-arch-stamp
+install-arch-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -a
+	dh_installdirs -a
+
+	install -m 755 -o root -g root $(CURDIR)/Utilitys/RaConfig2500 $(CURDIR)/debian/rt2500/usr/bin
+	install -m 644 -o root -g root $(CURDIR)/Utilitys/ico/RaConfig2500.xpm $(CURDIR)/debian/rt2500/usr/share/pixmaps
+	install -m 644 -o root -g root $(CURDIR)/Module/RT2500STA.dat $(CURDIR)/debian/rt2500/etc/Wireless/RT2500STA/RT2500STA.dat
+
+	touch install-arch-stamp
+
+build-indep: build-indep-stamp
+build-indep-stamp: patch-stamp
+	dh_testdir
+
+	# Copy most of the source tree into the temp directory and clean it
+	cd $(CURDIR)/Module \
+		&& find . -path ./debian/\* -type d -prune -o -print \
+		| egrep -v 'RPM|CVS|debian'  \
+		| cpio -admp $(CURDIR)/debian/build/usr/src/modules/rt2500
+	cp -f $(CURDIR)/FAQ $(CURDIR)/debian/build/usr/src/modules/rt2500
+	cp -f $(CURDIR)/THANKS $(CURDIR)/debian/build/usr/src/modules/rt2500
+	cp -f $(CURDIR)/CHANGELOG $(CURDIR)/debian/build/usr/src/modules/rt2500
+	ln -s /usr/share/doc/rt2500-source/README.Debian $(CURDIR)/debian/build/usr/src/modules/rt2500/INSTALL.Debian
+
+	mkdir $(CURDIR)/debian/build/usr/src/modules/rt2500/debian
+	cp -f $(CURDIR)/debian/*.modules.in $(CURDIR)/debian/build/usr/src/modules/rt2500/debian
+	cp -f $(CURDIR)/debian/changelog $(CURDIR)/debian/build/usr/src/modules/rt2500/debian
+	cp -f $(CURDIR)/debian/compat $(CURDIR)/debian/build/usr/src/modules/rt2500/debian
+	cp -f $(CURDIR)/debian/copyright $(CURDIR)/debian/build/usr/src/modules/rt2500/debian
+	cp -f $(CURDIR)/debian/rt2500-source.docs $(CURDIR)/debian/build/usr/src/modules/rt2500/debian/docs
+	cp -f $(CURDIR)/debian/rules $(CURDIR)/debian/build/usr/src/modules/rt2500/debian
+
+	cd $(CURDIR)/debian/build/usr/src/modules/rt2500 \
+		&& make clean
+	
+	touch build-indep-stamp
+
+install-indep: build-indep install-indep-stamp
+install-indep-stamp:
+	dh_testdir
+	dh_testroot
+	dh_clean -i -k
+	dh_installdirs -i
+	
+	# Pack this up into a tarball
+	chown -R root.src debian/build/usr/src/modules
+	mkdir -p debian/rt2500-source/usr/src
+	cd debian/build/usr/src \
+		&& tar cf - modules | bzip2 -9 > $(CURDIR)/debian/rt2500-source/usr/src/rt2500.tar.bz2
+	ln -s ../packages/default.sh \
+		debian/rt2500-source/usr/share/modass/overrides/rt2500-source
+
+
+	touch install-indep-stamp
+
+# Build architecture-independent files here.
+binary-indep: build-indep install-indep
+	dh_testdir -i
+	dh_testroot -i
+#	dh_installdebconf -i
+	dh_installdocs -i
+#	dh_installexamples -i
+#	dh_installmenu -i
+#	dh_installlogrotate -i
+#	dh_installemacsen -i
+#	dh_installpam -i
+#	dh_installmime -i
+#	dh_installinit -i
+#	dh_installcron -i
+	dh_installman -i
+#	dh_installinfo -i
+	dh_installmodules -i
+	dh_installchangelogs -i CHANGELOG
+	dh_strip -i
+	dh_link -i
+	dh_compress -i
+	dh_fixperms -i
+	dh_installdeb -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install-arch
+	dh_testdir -a
+	dh_testroot -a
+#	dh_installdebconf -a
+	dh_installdocs -a
+#	dh_installexamples -a
+	dh_installmenu -a
+#	dh_installlogrotate -a
+#	dh_installemacsen -a
+#	dh_installpam -a
+#	dh_installmime -a
+#	dh_installinit -a
+#	dh_installcron -a
+	dh_installman -a
+#	dh_installinfo -a
+	dh_installmodules -a
+	dh_installchangelogs -a CHANGELOG
+	dh_strip -a
+	dh_link -a
+	dh_compress -a
+	dh_fixperms -a
+	dh_installdeb -a
+	dh_shlibdeps -a
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install
+
+PATCHLEVEL := $(shell echo $(KVERS) | cut -d. -f2)
+
+.PHONY: kdist_config
+kdist_config: prep-deb-files
+
+.PHONY: binary_modules binary-modules
+binary-modules: binary_modules
+binary_modules: kdist_config
+
+	# Install module
+	dh_installdirs lib/modules/$(KVERS)/kernel/drivers/net/wireless
+
+	# Build modules
+ifeq ($(PATCHLEVEL), 4)
+	@if ! [ -x "/usr/bin/gcc-3.3" ] ; then \
+		echo "gcc-3.3 does not appear to be installed on your. It is necessary to be" ; \
+		echo "able to build the module on a 2.4 kernel. Please install it by running:" ; \
+		echo "  apt-get install gcc-3.3" ; \
+		false ; \
+	fi
+
+	$(MAKE) KERNDIR=$(KSRC) PATCHLEVEL=$(PATCHLEVEL) CC=gcc-3.3
+	install -m 0644 rt2500.o $(CURDIR)/debian/rt2500-modules-$(KVERS)/lib/modules/$(KVERS)/kernel/drivers/net/wireless
+endif
+ifeq ($(PATCHLEVEL), 6)
+	$(MAKE) KERNDIR=$(KSRC) PATCHLEVEL=$(PATCHLEVEL)
+	install -m 0644 rt2500.ko $(CURDIR)/debian/rt2500-modules-$(KVERS)/lib/modules/$(KVERS)/kernel/drivers/net/wireless
+endif
+
+	dh_testdir
+	dh_testroot
+	dh_installdocs 
+	dh_installmodules
+	dh_installchangelogs CHANGELOG
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_gencontrol -- -v$(VERSION)
+	dh_md5sums
+	dh_builddeb --destdir=$(DEB_DESTDIR)
+
+.PHONY: kdist_clean
+kdist_clean:
+	touch config.mk \
+		&& $(MAKE) clean
+	-dh_clean


Property changes on: unstable/rt2500/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-ralink-commits mailing list