ipw2200 driver updates

2006-08-20 Thread Zhu Yi

Hi,

Below are some ieee80211 patches I'd like to submit upstream. Please
apply.

[PATCH 1/7] ieee80211: Fix header-qos_ctl endian issue
[PATCH 2/7] ieee80211: remove ieee80211_tx() is_queue_full warning
[PATCH 3/7] ieee80211: TKIP and CCMP replay check rework
[PATCH 4/7] ieee80211: Add IEEE80211_API_VERSION macro
[PATCH 5/7] ieee80211: export symbol ieee80211_api_version
[PATCH 6/7] ieee80211: Fix TKIP and WEP decryption error on SMP machines
[PATCH 7/7] ieee80211: Workaround malformed 802.11 frames from AP

Thanks,
-yi
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


ipw2200 driver updates

2006-08-20 Thread Zhu Yi

Hi,

Here are some patches for ipw2100 and ipw2200 driver. Please apply.

[PATCH 01/14] ipw2200: always enable frequently used debugging code
[PATCH 02/14] ipw2200: SIOCGIWFREQ ioctl returns frequency rather than channel
[PATCH 03/14] ipw2200: ipw_wx_set_essid fix
[PATCH 04/14] ipw2200: Reassociate even if set the same essid.
[PATCH 05/14] ipw2200: remove unused struct ipw_rx_buffer
[PATCH 06/14] ipw2100: Make ipw2100 depends on known working platforms
[PATCH 07/14] ipw2200: Fix ipw2200 QOS parameters endian issue
[PATCH 08/14] ipw2200: remove the MAC timestamp present field from radiotap head
[PATCH 09/14] ipw2200: mark iwconfig retry 255 as invalid
[PATCH 10/14] ipw2200: Fix kernel Oops if cmdlog debug is enabled
[PATCH 11/14] ipw2200: Add pci .shutdown handler
[PATCH 12/14] ipw2100: Fix deadlock detected by lockdep
[PATCH 13/14] ipw2200: enable wireless extension passive scan
[PATCH 14/14] Update version ipw2200 stamp to 1.1.4

Thanks,
-yi
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: ipw2200 driver updates

2006-08-20 Thread Zhu Yi
On Mon, 2006-08-21 at 11:32 +0800, Zhu Yi wrote:

Mail subject error. Should be ieee80211 updates :(

Thanks,
-yi
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 00/18] ipw2200 driver updates

2006-04-13 Thread Zhu Yi
Hi,

The following patches are ipw2200 driver recently update. Please apply.


[PATCH 01/18] ipw2200: Exponential averaging for signal and noise Level
[PATCH 02/18] ipw2200: Fix TX QoS enabled frames problem
[PATCH 03/18] ipw2200: generates a scan event after a scan has completed
[PATCH 04/18] ipw2200: add module_param support for antenna selection
[PATCH 05/18] ipw2200: fix compile warning when !CONFIG_IPW2200_DEBUG
[PATCH 06/18] ipw2200: Do not continue loading the firmware if kmalloc fails
[PATCH 07/18] ipw2200: turn off signal debug log
[PATCH 08/18] ipw2200: Set the 'fixed' flags in wext get_rate
[PATCH 09/18] ipw2200: Fix endian issues with v3.0 fw image format
[PATCH 10/18] README.ipw2200: rename CONFIG_IPW_DEBUG to CONFIG_IPW2200_DEBUG
[PATCH 11/18] ipw2200: Enable rtap interface for RF promiscuous mode while 
associated
[PATCH 12/18] ipw2200: version string rework
[PATCH 13/18] ipw2200: update version stamp to 1.1.2
[PATCH 14/18] ipw2200: rename CONFIG_IPW_QOS to CONFIG_IPW2200_QOS
[PATCH 15/18] wireless Kconfig add IPW2200_RADIOTAP
[PATCH 16/18] ipw2200: rename CONFIG_IEEE80211_RADIOTAP to 
CONFIG_IPW2200_RADIOTAP
[PATCH 17/18] ipw2200: remove priv-last_noise reference
[PATCH 18/18] ipw2200: Fix wpa_supplicant association problem


Thanks,
-yi
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 00/16] ipw2200 driver updates

2006-03-07 Thread Zhu Yi

Hi,

Here are some patches for ipw2200 driver. Please apply.

Patches include:

[PATCH 01/16] ipw2200: print geography code upon module load
[PATCH 02/16] ipw2200: stop netdev queue if h/w doesn't have space for new 
packets
[PATCH 03/16] ipw2200: fix a potential NULL pointer dereference
[PATCH 04/16] ipw2200: use generic ieee80211_get_hdrlen() to get packet length
[PATCH 05/16] ipw2200: Add signal level to iwlist scan output
[PATCH 06/16] ipw2200: remove the WPA card associates to non-WPA AP checking
[PATCH 07/16] ipw2200: Fix rf_kill is activated after mode change with 
'disable=1'
[PATCH 08/16] ipw2200: Fix ipw_sw_reset() implementation inconsistent with 
comment
[PATCH 09/16] ipw2200: Filter unsupported channels out in ad-hoc mode
[PATCH 10/16] ipw2200: Change debug level for firmware error logging
[PATCH 11/16] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG
[PATCH 12/16] ipw2200: Set a meaningful silence threshold value
[PATCH 13/16] ipw2200: Enables the slow diversity algorithm
[PATCH 14/16] ipw2200: wireless extension sensitivity threshold support
[PATCH 15/16] ipw2200: switch to the new ipw2200-fw-3.0 image format
[PATCH 16/16] ipw2200: Update ipw2200 version stamp to 1.1.1

Thanks,
-yi
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 00/16] ipw2200 driver updates

2006-03-07 Thread Larry Finger

Zhu Yi wrote:

Hi,

Here are some patches for ipw2200 driver. Please apply.

Patches include:

[PATCH 01/16] ipw2200: print geography code upon module load
[PATCH 02/16] ipw2200: stop netdev queue if h/w doesn't have space for new 
packets
[PATCH 03/16] ipw2200: fix a potential NULL pointer dereference
[PATCH 04/16] ipw2200: use generic ieee80211_get_hdrlen() to get packet length
[PATCH 05/16] ipw2200: Add signal level to iwlist scan output
[PATCH 06/16] ipw2200: remove the WPA card associates to non-WPA AP checking
[PATCH 07/16] ipw2200: Fix rf_kill is activated after mode change with 
'disable=1'
[PATCH 08/16] ipw2200: Fix ipw_sw_reset() implementation inconsistent with 
comment
[PATCH 09/16] ipw2200: Filter unsupported channels out in ad-hoc mode
[PATCH 10/16] ipw2200: Change debug level for firmware error logging
[PATCH 11/16] ipw2200: export `debug' module param only if CONFIG_IPW2200_DEBUG
[PATCH 12/16] ipw2200: Set a meaningful silence threshold value
[PATCH 13/16] ipw2200: Enables the slow diversity algorithm
[PATCH 14/16] ipw2200: wireless extension sensitivity threshold support
[PATCH 15/16] ipw2200: switch to the new ipw2200-fw-3.0 image format
[PATCH 16/16] ipw2200: Update ipw2200 version stamp to 1.1.1


As long as you are making major changes to ipw2200.c, please consider the attached patch, which 
switches from using the module-specific routines that were borrowed from ieee80211 to using those 
in ieee80211.


Thanks,

Larry
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c
index ed37141..77932cf 100644
--- a/drivers/net/wireless/ipw2200.c
+++ b/drivers/net/wireless/ipw2200.c
@@ -153,12 +153,6 @@ static int init_supported_rates(struct i
 static void ipw_set_hwcrypto_keys(struct ipw_priv *);
 static void ipw_send_wep_keys(struct ipw_priv *, int);
 
-static int ipw_is_valid_channel(struct ieee80211_device *, u8);
-static int ipw_channel_to_index(struct ieee80211_device *, u8);
-static u8 ipw_freq_to_channel(struct ieee80211_device *, u32);
-static int ipw_set_geo(struct ieee80211_device *, const struct ieee80211_geo 
*);
-static const struct ieee80211_geo *ipw_get_geo(struct ieee80211_device *);
-
 static int snprint_line(char *buf, size_t count,
const u8 * data, u32 len, u32 ofs)
 {
@@ -1654,7 +1648,7 @@ static ssize_t store_speed_scan(struct d
break;
}
 
-   if (ipw_is_valid_channel(priv-ieee, channel))
+   if (ieee80211_is_valid_channel(priv-ieee, channel))
priv-speed_scan[pos++] = channel;
else
IPW_WARNING(Skipping invalid channel request: %d\n,
@@ -,7 +2216,7 @@ static int ipw_send_tx_power(struct ipw_
 
 static int ipw_set_tx_power(struct ipw_priv *priv)
 {
-   const struct ieee80211_geo *geo = ipw_get_geo(priv-ieee);
+   const struct ieee80211_geo *geo = ieee80211_get_geo(priv-ieee);
struct ipw_tx_power tx_power;
s8 max_power;
int i;
@@ -5562,7 +5556,7 @@ static int ipw_best_network(struct ipw_p
}
 
/* Filter out invalid channel in current GEO */
-   if (!ipw_is_valid_channel(priv-ieee, network-channel)) {
+   if (!ieee80211_is_valid_channel(priv-ieee, network-channel)) {
IPW_DEBUG_ASSOC(Network '%s ( MAC_FMT )' excluded 
because of invalid channel in current GEO\n,
escape_essid(network-ssid, network-ssid_len),
@@ -5607,7 +5601,7 @@ static int ipw_best_network(struct ipw_p
 static void ipw_adhoc_create(struct ipw_priv *priv,
 struct ieee80211_network *network)
 {
-   const struct ieee80211_geo *geo = ipw_get_geo(priv-ieee);
+   const struct ieee80211_geo *geo = ieee80211_get_geo(priv-ieee);
int i;
 
/*
@@ -5622,10 +5616,10 @@ static void ipw_adhoc_create(struct ipw_
 * FW fatal error.
 *
 */
-   switch (ipw_is_valid_channel(priv-ieee, priv-channel)) {
+   switch (ieee80211_is_valid_channel(priv-ieee, priv-channel)) {
case IEEE80211_52GHZ_BAND:
network-mode = IEEE_A;
-   i = ipw_channel_to_index(priv-ieee, priv-channel);
+   i = ieee80211_channel_to_index(priv-ieee, priv-channel);
if (i == -1)
BUG();
if (geo-a[i].flags  IEEE80211_CH_PASSIVE_ONLY) {
@@ -5639,7 +5633,7 @@ static void ipw_adhoc_create(struct ipw_
network-mode = IEEE_G;
else
network-mode = IEEE_B;
-   i = ipw_channel_to_index(priv-ieee, priv-channel);
+   i = ieee80211_channel_to_index(priv-ieee, priv-channel);
if (i == -1)
BUG();
if (geo-bg[i].flags  IEEE80211_CH_PASSIVE_ONLY) {
@@ -5963,7 +5957,7 @@ static void ipw_add_scan_channels(struct
const struct ieee80211_geo *geo;