Re: [PATCH] NET: Multiqueue network device support.

2007-06-12 Thread Zhu Yi
On Tue, 2007-06-12 at 23:17 +0200, Patrick McHardy wrote: I've hacked up a small multiqueue simulator device and to my big surprise my testing showed that Jamal's suggestion of using a single queue state seems to work better than I expected. But I've been doing mostly testing of the device

Re: [PATCH] NET: Multiqueue network device support.

2007-06-13 Thread Zhu Yi
On Wed, 2007-06-13 at 13:34 +0200, Patrick McHardy wrote: The key argument for Jamal's solution is the NIC will send out 32 packets in the full PHL in a reasonably short time (a few microsecs per Jamal's calculation). But for wireless, the PHL hardware has low probability to seize the

Re: [PATCH] NET: Multiqueue network device support.

2007-06-13 Thread Zhu Yi
On Wed, 2007-06-13 at 08:32 -0400, jamal wrote: The key arguement i make (from day one actually) is to leave the majority of the work to the driver. But it seems not feasible the Qdisc needs to know nothing about the hardware rings. My view of wireless WMM etc is it is a different media

Re: [PATCH] NET: Multiqueue network device support.

2007-06-14 Thread Zhu Yi
On Thu, 2007-06-14 at 07:48 -0400, jamal wrote: I dont have much time to followup for sometime to come. I have left my answer above. To clarify, incase i wasnt clear, I am saying: a) It is better to have the driver change via some strategy of when to open the tx path than trying to be generic.

Re: [PATCH] NET: Multiqueue network device support.

2007-06-17 Thread Zhu Yi
On Fri, 2007-06-15 at 06:49 -0400, jamal wrote: Hello Yi, On Fri, 2007-15-06 at 09:27 +0800, Zhu Yi wrote: 1. driver becomes complicated (as it is too elaborate in the queue wakeup strategies design) I am not sure i see the complexity in the wireless driver's wakeup strategy. I just

Re: wireless userspace MLME and generic netlink vs. multicast (was: Re: [Take 2] mac80211 IEEE802.11e/WMM code cleanup)

2007-06-17 Thread Zhu Yi
On Sun, 2007-06-17 at 14:03 +0200, Johannes Berg wrote: It sounds to me like you're proposing that wpa_supplicant is the only supported userspace MLME and that wpa_cli is the only way to configure it, basically. I sure hope that isn't so. OK. This is the key of the discussion. Do we take

Re: [PATCH] NET: Multiqueue network device support.

2007-06-18 Thread Zhu Yi
On Mon, 2007-06-18 at 11:16 -0400, jamal wrote: in your model how to define the queue wakeup strategy in the driver to deal with the PHL full situation? Consider about 1) both high prio and low prio packets could come (you cannot predict it beforehand) I am assuming by come you mean

Re: [PATCH] NET: Multiqueue network device support.

2007-06-21 Thread Zhu Yi
On Thu, 2007-06-21 at 11:39 -0400, jamal wrote: I gave you two opportunities to bail out of this discussion, i am gonna take that your rejection to that offer implies you my friend wants to get to the bottom of this i.e you are on a mission to find the truth. So lets continue this. It sounds

[PATCH 0/6] d80211: add more IEEE802.11e/WMM support

2006-12-13 Thread Zhu Yi
Hi, The following patches add more advanced IEEE802.11e/WMM features for d80211. Your comments are welcome. [PATCH 1/6] d80211: add IEEE802.11e/WMM MLMEs, Status Code and Reason Code [PATCH 2/6] d80211: create wifi.h to define WIFI OUIs [PATCH 3/6] d80211: fix classify_1d() priority selection

[PATCH 1/6] d80211: add IEEE802.11e/WMM MLMEs, Status Code and Reason Code

2006-12-13 Thread Zhu Yi
Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- include/net/d80211_mgmt.h | 148 + 1 files changed, 148 insertions(+), 0 deletions(-) d83f6236e756f5f0bb1484d99188f06704de diff --git a/include/net/d80211_mgmt.h b/include/net/d80211_mgmt.h index

[PATCH 2/6] d80211: create wifi.h to define WIFI OUIs

2006-12-13 Thread Zhu Yi
Replace hard coded WIFI OUIs and parse TSPEC information element. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/d80211/ieee80211_sta.c | 36 net/d80211/wifi.h | 28 2 files changed, 60 insertions(+), 4 deletions

[PATCH 3/6] d80211: fix classify_1d() priority selection

2006-12-13 Thread Zhu Yi
I don't see any reason why packets with DSCP=0x40 should have lower IEEE 802.1D priority than packets with DSCP=0x20. Spare Background. No? Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/d80211/wme.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[PATCH 4/6] d80211: add IEEE802.11e/WMM Traffic Stream (TS) Management support

2006-12-13 Thread Zhu Yi
in the next period. Otherwise the stack will reduce the admitted time until the TS has been throttled. Finally both the AP and STA are able to delete the TS by sending a DELTS MLME. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/d80211/ieee80211.c |4 net/d80211/ieee80211_i.h | 49

[PATCH 6/6] d80211: add sysfs interface for QoS functions

2006-12-13 Thread Zhu Yi
The sysfs interface here is only a proof of concept. It provides a way for the userspace applications to use the advanced QoS features supported by d80211 stack. The finial solution should be switched to cfg80211. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/d80211/ieee80211_i.h | 13

Re: [PATCH 1/6] d80211: add IEEE802.11e/WMM MLMEs, Status Code and Reason Code

2006-12-13 Thread Zhu Yi
On Wed, 2006-12-13 at 23:38 -0500, Michael Wu wrote: On Wednesday 13 December 2006 23:02, Zhu Yi wrote: Signed-off-by: Zhu Yi [EMAIL PROTECTED] You should probably have more in the description.. --- include/net/d80211_mgmt.h | 148 + 1

Re: [PATCH 1/6] d80211: add IEEE802.11e/WMM MLMEs, Status Code and Reason Code

2006-12-14 Thread Zhu Yi
On Thu, 2006-12-14 at 11:27 +0100, Jiri Benc wrote: On Thu, 14 Dec 2006 12:02:04 +0800, Zhu Yi wrote: Signed-off-by: Zhu Yi [EMAIL PROTECTED] Please Cc: me and John Linville on d80211 patches otherwise your chances of review (and inclusion) are much lower. In addition to comments from

Re: [PATCH 2/6] d80211: create wifi.h to define WIFI OUIs

2006-12-14 Thread Zhu Yi
On Thu, 2006-12-14 at 11:31 +0100, Jiri Benc wrote: AFAIK wifi is a trademark and we want to avoid using it. wlan seems to be a better alternative for the prefixes. Also, I don't see a reason for a separate header file here. WI-FI(r) is a trademark, but wifi and WIFI_XXX are not. I'm OK with

Re: [PATCH 6/6] d80211: add sysfs interface for QoS functions

2006-12-14 Thread Zhu Yi
On Thu, 2006-12-14 at 12:23 +0100, Jiri Benc wrote: So... what about implementing that into cfg80211? :-) I'm not inclined towards this patch (even if you address Stephen's comment). OK. This is only for my testing (or maybe someone else wants to try the code). I'm not asking to merge it.

RE: [PATCH 6/6] d80211: add sysfs interface for QoS functions

2006-12-18 Thread Zhu Yi
On Thu, 2006-12-14 at 21:35 -0800, Simon Barber wrote: This is all part of the client MLME - it would be much better to add this functionality to wpa_supplicant, rather than adding it to the kernel. Nothing here needs to be in the kernel for any reason. Theoretically, the whole network stack

RE: [PATCH 4/6] d80211: add IEEE802.11e/WMM Traffic Stream (TS) Management support

2006-12-18 Thread Zhu Yi
On Thu, 2006-12-14 at 21:45 -0800, Simon Barber wrote: This policing of media time must be done in the qdisc - and made to work per DA (Destination Address) - in order that AP mode will work as well as STA mode. In addition the count of used time should be updated AFTER the frame has been

RE: [PATCH 5/6] d80211: add IEEE 802.11e Direct Link Setup (DLS) support

2006-12-18 Thread Zhu Yi
On Thu, 2006-12-14 at 21:48 -0800, Simon Barber wrote: Again - this DLS management frame processing code should not be in the kernel - it should be in wpa_supplicant. Only the frame processing code should be in the kernel. OK. The DLS management process code needs the decision making from

Re: [PATCH] ieee80211: WLAN_GET_SEQ_SEQ fix

2006-12-18 Thread Zhu Yi
On Mon, 2006-12-18 at 10:50 -0600, Larry Finger wrote: Shouldn't this fix have some commit message like The WLAN_GET_SEQ_SEQ(seq) macro in ieee80211 is selecting the wrong region.? That said, the fix conforms with the IEEE802.11 specs. Signed-off-by: Larry Finger [EMAIL PROTECTED] OK.

[PATCH] ipw2100: Fix dropping fragmented small packet problem

2006-12-20 Thread Zhu Yi
trailing packets. And they will be lost for ever. Signed-off-by: Zhu Yi [EMAIL PROTECTED] diff -urp ipw2100-1.2.1/ipw2100.c ipw2100-1.2.1-frag/ipw2100.c --- ipw2100-1.2.1/ipw2100.c 2006-02-22 02:46:17.0 +0800 +++ ipw2100-1.2.1-frag/ipw2100.c2006-12-15 17:16:15.0 +0800

Re: [Ipw2100-devel] [RFC] Runtime power management on ipw2100

2007-01-31 Thread Zhu Yi
On Wed, 2007-01-31 at 07:52 +, Matthew Garrett wrote: Based on previous discussions, I've implemented a rough attempt at providing some level of basic runtime power management on the ipw2100 chipset. This patch does the following: 1) On load, it initialises the hardware and then

[PATCH] d80211: Fix WMM ACI to UP mapping

2007-02-02 Thread Zhu Yi
Fix WMM ACI to UP mapping according to IEEE 802.1d spec. Table 7-2. Signed-off-by: Zhu Yi [EMAIL PROTECTED] diff --git a/net/d80211/ieee80211_sta.c b/net/d80211/ieee80211_sta.c index 393a294..fabdef5 100644 --- a/net/d80211/ieee80211_sta.c +++ b/net/d80211/ieee80211_sta.c @@ -289,7 +289,7

[PATCH] ieee80211 TKIP crypt-build_iv

2006-01-18 Thread Zhu Yi
a memory leak problem in CCMP build_iv(). Signed-off-by: Zhu Yi [EMAIL PROTECTED] -- diff --git a/include/net/ieee80211_crypt.h b/include/net/ieee80211_crypt.h index cd82c3e..eb47641 100644 --- a/include/net/ieee80211_crypt.h +++ b/include/net/ieee80211_crypt.h @@ -47,7 +47,8 @@ struct

[PATCH 0/13] ieee80211 updated patches

2006-01-19 Thread Zhu Yi
Hi, Here is a series of patches for ieee80211 subsystem. Patches include: [PATCH 1/13] ieee80211: Fix problem with not decrypting broadcast packets [PATCH 2/13] ieee80211: Log to wireless network stats if netif_rx() drops the packet [PATCH 3/13] ieee80211: Fix iwlist scan can only show about

[PATCH 2/13] ieee80211: Log to wireless network stats if netif_rx() drops the packet

2006-01-19 Thread Zhu Yi
ieee80211: Log to wireless network stats if netif_rx() drops the packet (also trailing whitespace and Lindent cleanups as part of patch-apply process) Signed-off-by: James Ketrenos [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_crypt.c | 11

[PATCH 3/13] ieee80211: Fix iwlist scan can only show about 20 APs

2006-01-19 Thread Zhu Yi
ieee80211: Fix iwlist scan can only show about 20 APs. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_wx.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- diff --git a/net/ieee80211/ieee80211_wx.c b/net

[PATCH 4/13] ieee80211: Add LEAP authentication type

2006-01-19 Thread Zhu Yi
ieee80211: Add LEAP authentication type Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- include/net/ieee80211.h |1 + 1 file changed, 1 insertion(+) --- diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index cde2f4f..32804a0 100644

[PATCH 1/13] ieee80211: Fix problem with not decrypting broadcast packets

2006-01-19 Thread Zhu Yi
PROTECTED] Signed-off-by: James Ketrenos [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_rx.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) --- diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index

[PATCH 5/13] ieee80211: Fix A band min and max channel definitions

2006-01-19 Thread Zhu Yi
ieee80211: Fix A band min and max channel definitions. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- include/net/ieee80211.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h

[PATCH 7/13] ieee80211: Add ieee80211_network_reset()

2006-01-19 Thread Zhu Yi
ieee80211: add ieee80211_network_reset() Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_module.c | 18 ++ 1 file changed, 18 insertions(+) --- diff --git a/net/ieee80211/ieee80211_module.c b/net/ieee80211/ieee80211_module.c index 321287b..34f7170 100644

[PATCH 6/13] ieee80211: Add 802.11h data type and structures

2006-01-19 Thread Zhu Yi
ieee80211: Add 802.11h data type and structures. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- include/net/ieee80211.h | 168 ++- net/ieee80211/ieee80211_rx.c |2 2 files changed, 166 insertions(+), 4

[PATCH 11/13] ieee80211: Added 802.11h information element parsing and some cleanup

2006-01-19 Thread Zhu Yi
. Added code to reset network IBSS DFS information when appropriate. Added code to invoke driver callback for 802.11h ACTION STYPE Changed a few printk's to IEEE80211_DEBUG_MGMT Signed-off-by: James Ketrenos [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_rx.c

[PATCH 12/13] ieee80211: Added partial support of TIM information element parsing

2006-01-19 Thread Zhu Yi
ieee80211: Added partial support of TIM information element parsing Signed-off-by: James Ketrenos [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_rx.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- diff --git a/net/ieee80211/ieee80211_rx.c

[PATCH 13/13] ieee80211: Add TKIP crypt-build_iv

2006-01-19 Thread Zhu Yi
by TKIP). Signed-off-by: Zhu Yi [EMAIL PROTECTED] -- diff --git a/include/net/ieee80211_crypt.h b/include/net/ieee80211_crypt.h index cd82c3e..eb47641 100644 --- a/include/net/ieee80211_crypt.h +++ b/include/net/ieee80211_crypt.h @@ -47,7 +47,8 @@ struct ieee80211_crypto_ops { /* deinitialize

[PATCH 10/13] ieee80211: kmalloc+memset - kzalloc cleanups in ieee80211_crypt_tkip

2006-01-19 Thread Zhu Yi
ieee80211: kmalloc+memset - kzalloc cleanups in ieee80211_crypt_tkip Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_crypt_tkip.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- diff --git a/net/ieee80211/ieee80211_crypt_tkip.c b/net/ieee80211

[PATCH 9/13] ieee80211: Add spectrum management information

2006-01-19 Thread Zhu Yi
ieee80211: Add spectrum management information and use stat.signal to provide signal level information. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_wx.c | 31 +-- 1 file changed, 29 insertions(+), 2 deletions(-) --- diff --git

Re: [PATCH 0/13] ieee80211 updated patches

2006-01-19 Thread Zhu Yi
On Thu, 2006-01-19 at 23:34 -0500, John W. Linville wrote: [PATCH 6/13] ieee80211: Add 802.11h data type and structures [PATCH 7/13] ieee80211: Add ieee80211_network_reset() To support IEEE 802.11h in IBSS, an ibss_dfs field is added to struct ieee80211_network. In IBSS, if one STA sends a

[PATCH 1/6] ipw2100: Add LEAP authentication algorithm support

2006-01-23 Thread Zhu Yi
ipw2100: Add LEAP authentication algorithm support. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -5363,9 +5363,12 @@ static int ipw2100_configure_security(st

[PATCH 2/6] ipw2100: Make iwconfig txpower setting consistent with user input

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: Make iwconfig txpower setting consistent with user input Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -5105,12 +5105,13 @@ static int ipw2100_set_tx_power

[PATCH 0/6] ipw2100 driver updated

2006-01-23 Thread Zhu Yi
Hi, Here is a series of patches for ipw2100 driver. It brings ipw2100 to version 1.1.4 as released in ipw2100.sf.net. Patches include: [PATCH 1/6] ipw2100: Add LEAP authentication algorithm support [PATCH 2/6] ipw2100: Make iwconfig txpower setting consistent with user input [PATCH 3/6]

[PATCH 6/6] ipw2100: Fix setting txpower failed problem

2006-01-23 Thread Zhu Yi
. And the tool will display Tx Power off when disabled=1. Now, in managed mode, iwconfig will not show TX Power if the radio is not switched off. It will only display Tx Power off only if the radio is killed. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers

[PATCH 5/6] ipw2100: Fix a gcc compile warning

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: Fix a gcc compile warning drivers/net/wireless/ipw2100.c:2236: warning: `ipw2100_match_buf' defined but not used Cc: Yi Zhu [EMAIL PROTECTED] Cc: James Ketrenos [EMAIL PROTECTED] Cc: Jeff Garzik [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] Signed-off-by: Zhu

[PATCH 4/6] ipw2100: remove white space and better format the code

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: remove white space and better format the code Signed-off-by: James Ketrenos [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -3767,7 +3767,7 @@ static ssize_t store_memory(struct devic struct net_device *dev =

[PATCH 3/6] ipw2100: Add generic geo information

2006-01-23 Thread Zhu Yi
[PATCH] ipw2100: Add generic geo information This patch fixes a BUG_ON for the latest ieee80211 change. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -1672,6 +1672,18 @@ static

[PATCH] increase ipw2100 driver version to git-1.1.4

2006-01-24 Thread Zhu Yi
[PATCH] ipw2100: increase ipw2100 driver version to git-1.1.4 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -167,7 +167,7 @@ that only one external action is invoked #include ipw2100.h -#define IPW2100_VERSION 1.1.3 +#define IPW2100_VERSION git-1.1.4

[PATCH 00/18] ipw2200 driver updated

2006-01-24 Thread Zhu Yi
Hi, Here is a series of patches for ipw2200 driver. It brings ipw2200 up to date (version 1.0.10 from ipw2200.sf.net and with more recent patches from my queue and others). Patches include: [PATCH 01/18] ipw2200: Fix NETDEV_TX_BUSY erroneous returned [PATCH 02/18] ipw2200: Fix iwspy ethx off

[PATCH 07/18] ipw2200: Bluetooth coexistence support

2006-01-24 Thread Zhu Yi
on (whether or not the BT h/w was out there). Signed-off-by: Ben M Cahill [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -55,6 +55,7 @@ static int associate = 1; static int auto_create = 1; static int

[PATCH 06/18] ipw2200: Add LEAP authentication algorithm support

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: Add LEAP authentication algorithm support Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -6254,6 +6254,9 @@ static int ipw_wpa_set_auth_algs(struct

[PATCH 04/18] ipw2200: Fix indirect SRAM/register 8/16-bit write routines

2006-01-24 Thread Zhu Yi
, anyway. The attached patch also adds comments for all direct/indirect I/O routine variations. Signed-off-by: Ben M Cahill [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -227,12 +227,15 @@ static int

[PATCH 03/18] ipw2200: Fix sw_reset doesn't clear the static essid problem

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: Fix sw_reset doesn't clear the static essid problem Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -8012,6 +8015,10 @@ static int ipw_sw_reset(struct ipw_priv else IPW_DEBUG_INFO

[PATCH 11/18] ipw2200: Scale firmware loading watchdog with the firmware size

2006-01-24 Thread Zhu Yi
-by: Peter Jones [EMAIL PROTECTED] Signed-off-by: Ben M Cahill [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -2770,22 +2770,25 @@ static int ipw_fw_dma_add_buffer(struct static int ipw_fw_dma_wait(struct

[PATCH 10/18] ipw2200: add module parameter to enable/disable roaming

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: add module parameter to enable/disable roaming Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -57,6 +57,7 @@ static int led = 0; static int disable = 0; static int bt_coexist = 0; static int hwcrypto

[PATCH 12/18] ipw2200: stack reduction

2006-01-24 Thread Zhu Yi
bss dec hex filename 613632488 44 63895f997 drivers/net/wireless/ipw2200.ko So about a ~18% reduction in module size. Signed-off-by: Jens Axboe [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless

[PATCH 14/18] ipw2200: Fix a variable referenced after kfree() bug

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: Fix a variable referenced after kfree() bug. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -11144,8 +11150,8 @@ static void ipw_pci_remove(struct pci_de /* Free MAC hash list for ADHOC

[PATCH 15/18] ipw2200: increase ipw2200 driver version

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: increase ipw2200 driver version to git-1.0.10 Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -33,7 +33,7 @@ #include ipw2200.h #include linux/version.h -#define IPW2200_VERSION git-1.0.8 +#define

[PATCH 13/18] ipw2200: Fix qos_cmd param switch bug

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: Fix qos_cmd param switch bug The patch fixes a couple of errors regarding QoS, which results in compile warnings and malfunction of the driver. Signed-off-by: Henrik Brix Andersen [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200

[PATCH 09/18] ipw2200: Make LED blinking frequency independ of HZ

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: Make LED blinking frequency independ of HZ Signed-off-by: Clemens Buchacher [EMAIL PROTECTED]. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -776,9 +776,9 @@ u32 ipw_register_toggle(u32 reg

[PATCH 16/18] ipw2200: remove white space and better format the code

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: remove white space and better format the code Signed-off-by: James Ketrenos [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -272,7 +272,6 @@ static inline void ipw_write_reg32(struc

[PATCH 18/18] ipw2200: Disable hwcrypto by default

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: Disable hwcrypto by default After looking at the mailing list (and experiencing permanent driver lockups while using hwcrypto=1) I think that disabling this option by default would be better than otherwise. Signed-off-by: Andreas Happe [EMAIL PROTECTED] ---

Re: [PATCH] ipw2200: fix -eeprom[EEPROM_VERSION] check

2006-01-24 Thread Zhu Yi
Acked. Thanks, -yi On Wed, 2006-01-25 at 03:44 +0300, Alexey Dobriyan wrote: priv-eeprom is a pointer. Signed-off-by: Alexey Dobriyan [EMAIL PROTECTED] --- drivers/net/wireless/ipw2200.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/wireless/ipw2200.c

Re: NAK: [PATCH 01/18] ipw2200: Fix NETDEV_TX_BUSY erroneous returned

2006-01-24 Thread Zhu Yi
On Tue, 2006-01-24 at 23:09 +0100, Stefan Rompf wrote: This interface is totally broken. Actually this happens in ipw2200 since version 1.0.8: -dev-hard_start_xmit() calls ieee80211_xmit() -ieee80211_xmit() calls into ieee-is_queue_full() which is ipw_net_is_queue_full() for the ipw2200

[PATCH] ipw2200: support WEXT-18 enc_capa v3

2006-01-24 Thread Zhu Yi
[PATCH] ipw2200: support WEXT-18 enc_capa v3 Dan Williams added a corresponding patch to IPW2100. This patch does the same thing for ipw2200. Signed-off-by: Miles Lane [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless

[Fwd: Re: [ipw2200] add monitor and qos entries to Kconfig]

2006-02-05 Thread Zhu Yi
Below patch is still not in upstream. Please apply. Acked-by: Zhu Yi [EMAIL PROTECTED] Thanks, -yi Forwarded Message From: Andreas Happe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], linux-kernel@vger.kernel.org Subject: Re: [ipw2200] add monitor and qos

Re: [2.6 patch] wrong firmware location in IPW2100 Kconfig entry

2006-02-05 Thread Zhu Yi
On Tue, 2006-01-31 at 17:11 +0100, Adrian Bunk wrote: From: Jesper Juhl [EMAIL PROTECTED] Firmware should go into /lib/firmware, not /etc/firmware. Found by Alejandro Bonilla. Signed-off-by: Jesper Juhl [EMAIL PROTECTED] Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Zhu Yi

Re: [2.6 patch] let IPW2{1,2}00 select IEEE80211

2006-02-05 Thread Zhu Yi
with the driver internals. The suggestion for this change was made by Alejandro Bonilla Beeche. Signed-off-by: Jan Niehusmann [EMAIL PROTECTED] Signed-off-by: Adrian Bunk [EMAIL PROTECTED] Acked-by: Zhu Yi [EMAIL PROTECTED] Thanks, -yi - To unsubscribe from this list: send the line

Re: ipw3945?

2006-10-30 Thread Zhu Yi
On Mon, 2006-10-30 at 19:54 +0100, dragoran wrote: Can this be used to make the driver work without the daemon? Yup. And we have already successfully put the daemon's work into the firmware/ucode. The new firmware will be released soon. Stay tuned. Thanks, -yi - To unsubscribe from this list:

[PATCH] ieee80211: Fix kernel panic when QoS is enabled

2006-11-12 Thread Zhu Yi
The 802.11 header length is affected by the wireless mode (WDS or not) and type (QoS or not). We should use the variable hdr_len instead of the hard coded IEEE80211_3ADDR_LEN, otherwise we may touch invalid memory. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- net/ieee80211/ieee80211_tx.c |4

ipw2100/2200 driver updates

2006-12-04 Thread Zhu Yi
Hi, Here are some small updates for ipw2100/2200 drivers. [PATCH 1/5] ipw2100: Make ipw2100 depends on known working platforms [PATCH 2/5] ipw2200: Add IEEE80211_RADIOTAP_TSFT for promiscuous mode [PATCH 3/5] Update version ipw2200 stamp to 1.2.0 [PATCH 4/5] ipw2200: Fix a typo [PATCH 5/5]

[PATCH 1/5] ipw2100: Make ipw2100 depends on known working platforms

2006-12-04 Thread Zhu Yi
[ Resubmit, if you still don't like it, I'll drop. ] ipw2100 driver doesn't support big endian by now. Signed-off-by: Karol Lewandowski [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- drivers/net/wireless/Kconfig |2 +- 1 files changed, 1 insertions(+), 1 deletions

[PATCH 5/5] ipw2200: Fix debug output endian issue

2006-12-04 Thread Zhu Yi
Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- drivers/net/wireless/ipw2200.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 7c609b56727b70a61fd28f51a445c0e032d47ef0 diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 2b29396..5de7ee7 100644

[PATCH 2/5] ipw2200: Add IEEE80211_RADIOTAP_TSFT for promiscuous mode

2006-12-04 Thread Zhu Yi
with a monitor mode interface. But this is the expected behaviour. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- drivers/net/wireless/ipw2200.c | 17 + 1 files changed, 13 insertions(+), 4 deletions(-) 25bc0563ab6d6c5f64b92d944b85a08af1c84beb diff --git a/drivers/net/wireless/ipw2200.c b

[PATCH 4/5] ipw2200: Fix a typo

2006-12-04 Thread Zhu Yi
Signed-off-by: Pascal Terjan [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- drivers/net/wireless/ipw2100.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) e4968a3ae9ab96f144c0cc7103699b6ecddd1be0 diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless

[PATCH 3/5] Update version ipw2200 stamp to 1.2.0

2006-12-04 Thread Zhu Yi
--- drivers/net/wireless/ipw2200.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 3bce796189a9c6f3e73a06b59817923013b38f44 diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 980758c..2b29396 100644 --- a/drivers/net/wireless/ipw2200.c +++

Re: [PATCH] NET: [UPDATED] Multiqueue network device support implementation.

2007-04-11 Thread Zhu Yi
On Wed, 2007-04-11 at 19:03 +0200, Patrick McHardy wrote: You bring up a good point, it would be good to hear the opinion from one of the wireless people on this since they have their own multiqueue scheduler in the wireless-dev tree. The one in the wireless-dev is pretty much like this

RE: [PATCH] IPROUTE: Modify tc for new PRIO multiqueue behavior

2007-05-08 Thread Zhu Yi
On Fri, 2007-05-04 at 23:22 +0200, Johannes Berg wrote: On Fri, 2007-05-04 at 13:43 -0700, Waskiewicz Jr, Peter P wrote: If hardware exists that wants the granularity to start/stop queues independent of each other and continue to have traffic flow, I really think it should be able to do

RE: [PATCH] IPROUTE: Modify tc for new PRIO multiqueue behavior

2007-05-09 Thread Zhu Yi
On Tue, 2007-05-08 at 19:28 -0400, jamal wrote: Wireless with CSMA/CA is a slightly different beast due to the shared channels; its worse but not very different in nature than the case where you have a shared ethernet hub (CSMA/CD) and you keep adding hosts to it The difference is the hub

RE: [PATCH] IPROUTE: Modify tc for new PRIO multiqueue behavior

2007-05-10 Thread Zhu Yi
On Thu, 2007-05-10 at 08:35 -0400, jamal wrote: So we may be agreeing then? In other words, if you had both low prio and high prio in WMM scheduler (in wireless hardware) then the station favors a higher priority packet over at low priority packet at ALL times. IOW: Given the default

[PATCH] ieee80211: Use IWEVGENIE to set WPA IE

2006-02-12 Thread Zhu Yi
Hessing [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c --- a/net/ieee80211/ieee80211_wx.c +++ b/net/ieee80211/ieee80211_wx.c @@ -193,33 +193,21 @@ static char *ipw2100_translate_scan(stru

[PATCH] ipw2200: Fix WPA network selection problem

2006-02-12 Thread Zhu Yi
, this breaks legit WEP to WPA migration scenarious. We add a checking to prohibite WPA configured STA trying to associate with non-WPA supported APs. Signed-off-by: Stefan Rompf [EMAIL PROTECTED] Signed-off-by: James Ketrenos [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers

Re: ipw2200 firmware bug?

2006-02-16 Thread Zhu Yi
On Wed, 2006-02-15 at 23:21 +0100, Michael Buesch wrote: but it seems like it is still missing packets. I do not receive a beacon every second (interval is one sec, here) and the 80211 sequence number is interrupted. The mode monitor is usually in frequency hopping. You can try to set the

[PATCH] ieee80211: Fix CCMP decryption problem when QoS is enabled

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Tue, 28 Feb 2006 07:06:43 + (+0800) [PATCH] ieee80211: Fix CCMP decryption problem when QoS is enabled Use the correct STYPE for Qos data. Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/net/ieee80211/ieee80211_crypt_ccmp.c +++ b/net/ieee80211

[PATCH] ieee80211: Fix QoS is not active problem

2006-03-07 Thread Zhu Yi
/ipw_handle_probe_response, thus the ieee80211_network-qos_data.active will not be set, causing the driver not sending QoS frames at all. Signed-off-by: Hong Liu [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/net/ieee80211/ieee80211_rx.c +++ b/net/ieee80211/ieee80211_rx.c @@ -1521,10 +1521,10

[PATCH 1/6] ipw2x00: expend Copyright to 2006

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Wed, 15 Feb 2006 07:17:56 + (+0800) [PATCH 1/6] ipw2x00: expend Copyright to 2006 Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/Documentation/networking/README.ipw2100 +++ b/Documentation/networking/README.ipw2100 @@ -3,18 +3,18 @@ Intel(R) PRO

[PATCH 6/6] ipw2100: Update version ipw2100 stamp to 1.2.2

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Tue, 21 Feb 2006 18:46:15 + (+0800) [PATCH 6/6] ipw2100: Update version ipw2100 stamp to 1.2.2 --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -167,7 +167,7 @@ that only one external action is invoked #include ipw2100

[PATCH 5/6] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Tue, 28 Feb 2006 08:38:07 + (+0800) [PATCH 5/6] ipw2100: move mutex.h include from ipw2100.c to ipw2100.h Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -194,7 +194,6 @@ static

[PATCH 3/6] ipw2100: Fix radiotap code gcc warning

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Tue, 21 Feb 2006 18:41:14 + (+0800) [PATCH 3/6] ipw2100: Fix radiotap code gcc warning Fix gcc warning: ipw2100.c:2460: ISO C90 forbids mixed declarations and code Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b

[PATCH 4/6] ipw2100: semaphore to mutexes conversion

2006-03-07 Thread Zhu Yi
. Signed-off-by: Ingo Molnar [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c @@ -194,6 +194,7 @@ static struct ipw2100_fw ipw2100_firmwar #endif #include linux/moduleparam.h +#include linux/mutex.h module_param

[PATCH 2/6] ipw2100: add radiotap headers to packtes captured in monitor mode

2006-03-07 Thread Zhu Yi
From: Stefan Rompf [EMAIL PROTECTED] Date: Tue, 21 Feb 2006 18:36:17 + (+0800) [PATCH 2/6] ipw2100: add radiotap headers to packtes captured in monitor mode Signed-off-by: Stefan Rompf [EMAIL PROTECTED] Signed-off-by: Andrea Merello andreamrl at tiscali it Signed-off-by: Zhu Yi [EMAIL

[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

[PATCH 01/16] ipw2200: print geography code upon module load

2006-03-07 Thread Zhu Yi
no matter the debug level. I've also added a section to the README.ipw2200 file listing the geography codes and their meaning. Signed-off-by: Henrik Brix Andersen [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/Documentation/networking/README.ipw2200 +++ b/Documentation

[PATCH 02/16] ipw2200: stop netdev queue if h/w doesn't have space for new packets

2006-03-07 Thread Zhu Yi
netif_queue_stop back in ipw_tx_skb. This effectively disables multiple priority based transmit queues for 802.11e, but given that its broken anyway... Signed-off-by: James Ketrenos [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless

[PATCH 03/16] ipw2200: fix a potential NULL pointer dereference

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Tue, 14 Feb 2006 16:02:22 + (+0800) [PATCH 03/16] ipw2200: fix a potential NULL pointer dereference Only on CONFIG_IPW2200_DEBUG is not defined Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless

[PATCH 04/16] ipw2200: use generic ieee80211_get_hdrlen() to get packet length

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Wed, 15 Feb 2006 06:18:19 + (+0800) [PATCH 04/16] ipw2200: use generic ieee80211_get_hdrlen() to get packet length replace ipw2200 specific frame_hdr_len() with generic ieee80211 routine ieee80211_get_hdrlen() Signed-off-by: Zhu Yi [EMAIL PROTECTED

[PATCH 05/16] ipw2200: Add signal level to iwlist scan output

2006-03-07 Thread Zhu Yi
tools. It also defines the signal level as an unsigned integer so that the signal level will be reported by iwlist iface scan. Signed-off-by: Bill Moss [EMAIL PROTECTED] Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c

[PATCH 06/16] ipw2200: remove the WPA card associates to non-WPA AP checking

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Fri, 17 Feb 2006 07:46:16 + (+0800) [PATCH 06/16] ipw2200: remove the WPA card associates to non-WPA AP checking wpa_supplicant needs to set wpa_enabled unconditionally, with this check it hasn't been possible to connect to non-WPA networks using

[PATCH 07/16] ipw2200: Fix rf_kill is activated after mode change with 'disable=1'

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Thu, 16 Feb 2006 16:21:09 + (+0800) [PATCH 07/16] ipw2200: Fix rf_kill is activated after mode change with 'disable=1' When loading the ipw2200 module with disabled=1, rf_kill is activated after every mode change. This is caused by ipw_sw_reset

[PATCH 08/16] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment

2006-03-07 Thread Zhu Yi
From: Zhu Yi [EMAIL PROTECTED] Date: Fri, 17 Feb 2006 08:25:12 + (+0800) [PATCH 08/16] ipw2200: Fix ipw_sw_reset() implementation inconsistent with comment Signed-off-by: Zhu Yi [EMAIL PROTECTED] --- --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c @@ -8070,7

  1   2   >