Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c848d0af authored by James Ketrenos's avatar James Ketrenos
Browse files

Catch ipw2200 up to equivelancy with v1.0.3



* Fix #616 problem with OOPS on module load (thanks to Yi Zhu)
* Fixed problem with led module parameter being described as
  'auto_create'
* Added support to merge between adhoc networks (thanks to Mohamed Abbas)
* Added semaphore lock at the driver's entry points to protect against
  re-entry (thanks to Mohamed Abbas)
* Added semaphore lock to background scheduled driver actions (thanks to
  Mohamed Abbas)
* Changed how signal quality is reported for scan output (thanks to
  Peter Jones)
* Fixed how high/low clamp values of signal quality are reported so a
  more consistent ramp is provided (thanks to Bill Moss)
* Fix #624 problem with duplicate addresses (again)  (thanks to Bernard
  Blackham)
* Fix #385 problem with fragmentation and certain sized packets (thanks
  to Mohamed Abbas)
* Modified iwconfig network name if RF kill is enabled to say 'radio off'
* Fix #382 problem with driver not responding to probe requests in Ad-Hoc
  mode (thanks to Mohamed Abbas)

Signed-off-by: default avatarJames Ketrenos <jketreno@linux.intel.com>
parent a613bffd
Loading
Loading
Loading
Loading
+664 −177

File changed.

Preview size limit exceeded, changes collapsed.

+4 −1
Original line number Original line Diff line number Diff line
@@ -936,8 +936,8 @@ struct ipw_priv {
	struct ieee80211_device *ieee;
	struct ieee80211_device *ieee;
	struct ieee80211_security sec;
	struct ieee80211_security sec;


	/* spinlock */
	spinlock_t lock;
	spinlock_t lock;
	struct semaphore sem;


	/* basic pci-network driver stuff */
	/* basic pci-network driver stuff */
	struct pci_dev *pci_dev;
	struct pci_dev *pci_dev;
@@ -1068,6 +1068,7 @@ struct ipw_priv {
	struct work_struct led_link_on;
	struct work_struct led_link_on;
	struct work_struct led_link_off;
	struct work_struct led_link_off;
	struct work_struct led_act_off;
	struct work_struct led_act_off;
	struct work_struct merge_networks;


#define IPW_2200BG  1
#define IPW_2200BG  1
#define IPW_2915ABG 2
#define IPW_2915ABG 2
@@ -1160,6 +1161,7 @@ do { if (ipw_debug_level & (level)) \
#define IPW_DL_TRACE         (1<<28)
#define IPW_DL_TRACE         (1<<28)


#define IPW_DL_STATS         (1<<29)
#define IPW_DL_STATS         (1<<29)
#define IPW_DL_MERGE         (1<<30)


#define IPW_ERROR(f, a...) printk(KERN_ERR DRV_NAME ": " f, ## a)
#define IPW_ERROR(f, a...) printk(KERN_ERR DRV_NAME ": " f, ## a)
#define IPW_WARNING(f, a...) printk(KERN_WARNING DRV_NAME ": " f, ## a)
#define IPW_WARNING(f, a...) printk(KERN_WARNING DRV_NAME ": " f, ## a)
@@ -1187,6 +1189,7 @@ do { if (ipw_debug_level & (level)) \
#define IPW_DEBUG_STATE(f, a...) IPW_DEBUG(IPW_DL_STATE | IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)
#define IPW_DEBUG_STATE(f, a...) IPW_DEBUG(IPW_DL_STATE | IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)
#define IPW_DEBUG_ASSOC(f, a...) IPW_DEBUG(IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)
#define IPW_DEBUG_ASSOC(f, a...) IPW_DEBUG(IPW_DL_ASSOC | IPW_DL_INFO, f, ## a)
#define IPW_DEBUG_STATS(f, a...) IPW_DEBUG(IPW_DL_STATS, f, ## a)
#define IPW_DEBUG_STATS(f, a...) IPW_DEBUG(IPW_DL_STATS, f, ## a)
#define IPW_DEBUG_MERGE(f, a...) IPW_DEBUG(IPW_DL_MERGE, f, ## a)


#include <linux/ctype.h>
#include <linux/ctype.h>