Re: [ipw3945-devel] [PATCH 4/5] iwlwifi: iwl3945 eliminate sleepable task queue from context

2008-01-10 Thread Zhu Yi
On Fri, 2008-01-11 at 10:38 +0900, Joonwoo Park wrote: > I should have checked code base, it's my fault. > it's seems very similar, but I could not made build unfortunately. > Can you introduce to me how to build it please? > > my build error is here: > [EMAIL PROTECTED] ~/SRC/DRIVERS/iwlwifi $ >

Re: [ipw3945-devel] [PATCH 4/5] iwlwifi: iwl3945 eliminate sleepable task queue from context

2008-01-10 Thread Zhu Yi
Hi Joonwoo, We already did something similiar in our code base. Could you please take a look at this patch? http://intellinuxwireless.org/repos/?p=iwlwifi.git;a=commitdiff;h=57aa02255e9d7be5e2494683fc2793bd1d0707e2 Thanks, -yi On Wed, 2008-01-09 at 20:02 +0900, Joonwoo Park wrote: > Eleminiate t

Re: [ipw3945-devel] 2.6.24-rc5-mm1 -- INFO: possible circular locking dependency detected -- pm-suspend/5800 is trying to acquire lock

2007-12-18 Thread Zhu Yi
On Tue, 2007-12-18 at 15:57 +0100, Johannes Berg wrote: > Thanks. This is a bug in iwlwifi. > > The problem is actually another case where my workqueue debugging with > lockdep is triggering a warning :)) > > Here's the thing: > > iwl3945_cancel_deferred_work does > > cancel_delayed_work_sync

Re: Please pull 'upstream-jgarzik' branch of wireless-2.6

2007-12-17 Thread Zhu Yi
On Mon, 2007-12-17 at 18:40 -0500, Jeff Garzik wrote: > drivers/net/wireless/iwlwifi/iwl3945-base.c: In function > ‘iwl3945_alive_start’: > drivers/net/wireless/iwlwifi/iwl3945-base.c:6285: error: implicit > declaration of function ‘iwl_rate_control_unregister’ > make[4]: *** [drivers/net/wirele

Re: [PATCH 1/2] [net/wireless/iwlwifi] : iwlwifi 3945 Fix race conditional panic.

2007-11-28 Thread Zhu Yi
On Wed, 2007-11-28 at 19:41 +0900, Joonwoo Park wrote: > [net/wireless/iwlwifi] : iwlwifi 3945 Fix race conditional panic. > > Signed-off-by: Joonwoo Park <[EMAIL PROTECTED]> > --- > diff --git a/drivers/net/wireless/iwlwifi/iwl3945-base.c > b/drivers/net/wireless/iwlwifi/iwl3945-base.c > index 4

Re: [PATCH]iwlwifi not correctly dealing with hotunplug

2007-11-13 Thread Zhu Yi
On Tue, 2007-11-13 at 19:26 +0100, Oliver Neukum wrote: > It makes no sense to enable interrupts if a device has been unplugged. > In addition if in doubt IRQ_HANDLED should be returned. > > Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> ACK. Could you also do the same for iwl4965? Or John, do

Re: Please pull 'iwlwifi' branch of wireless-2.6

2007-09-20 Thread Zhu Yi
On Wed, 2007-09-19 at 11:13 +0100, Christoph Hellwig wrote: > it really needs to be moved into a directory of it's own. It used to be... John? > The useless per-file CFLAGS need to go most places can trivially > be made unconditional anyway. OK. > The depends on m for CONFIG_IWL4965 and CONFIG_

Re: Please pull 'upstream-jgarzik' branch of wireless-2.6

2007-09-17 Thread Zhu Yi
On Sat, 2007-09-15 at 09:21 -0400, John W. Linville wrote: > Jeff, > > A few more for 2.6.24... Hi John, how is the iwlwifi driver going? Would you like to push it to Jeff for .24? Or you'd like me to create a patch against this branch? Thanks, -yi - To unsubscribe from this list: send the line

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 soun

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

2007-06-19 Thread Zhu Yi
On Tue, 2007-06-19 at 12:04 -0400, jamal wrote: > In the case of wireless, pick two numbers XHH and XHL with XHL < XHH. > The timers would be similar in nature (THH > THL). All these variables > are only valid if you shutdown the ring. > So in the case HL shuts down the ring, you fire THL. If eith

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"

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 wp

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 i

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 gener

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 beh

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

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 devic

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 defaul

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-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

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

[PATCH] ipw2200: add channels sysfs entry

2007-02-14 Thread Zhu Yi
Add 'channels' sysfs entry for ipw2200. The entry exports channels information for the user space. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> -- diff -urp a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c --- a/drivers/net/wireless/ipw2200.c2007-02-05 17:40:23

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

2007-02-08 Thread Zhu Yi
On Tue, 2007-02-06 at 21:44 +, Matthew Garrett wrote: > I'm reluctant to drop the IRQ because PCMCIA seems to have > a nasty habit of grabbing free looking IRQs and setting them to be > edge triggered, which would obviously be bad. Can you provide more details for this problem and why we sho

[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

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 qu

[PATCH] ipw2200: add iwconfig rts/frag auto support

2007-01-11 Thread Zhu Yi
This patch add ipw2200 support for iwconfig rts/frag auto. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- ipw2200.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -urp a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c --- a/drivers/net/wireless/ipw

[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

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 PROTECTE

[PATCH] ieee80211: WLAN_GET_SEQ_SEQ fix

2006-12-18 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index e6af381..e02d85f 100644 --- a/include/net/ieee80211.h +++ b/include/net/ieee80211.h @@ -218,7 +218,7 @@ struct ieee80211_snap_hdr { #define WLAN_FC_GET_STYPE(fc

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

2006-12-18 Thread Zhu Yi
On Thu, 2006-12-14 at 21:49 -0800, Simon Barber wrote: > None of this should be in the kernel. See wpa_supplicant. Do you mean wpa_supplicant or hostap? Were the function already there or will be there? Thanks, -yi - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of

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 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 be

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 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

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 lo

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.. > > > --- > >

[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/ieee802

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

2006-12-13 Thread Zhu Yi
802.11 MAC header DA, SA and BSS fields to reflect the direct link setup. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/d80211/ieee80211.c | 19 +- net/d80211/ieee80211_i.h | 17 ++ net/d80211/ieee80211_sta.c | 450 3 files changed

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

2006-12-13 Thread Zhu Yi
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

[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(+

[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

[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 del

[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 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 +++ b/drivers/ne

[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/

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

2006-12-04 Thread Zhu Yi
ith 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/wireles

[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 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

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] ipw22

[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/ieee8021

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: s

[PATCH] ipw2200: Fix compile error when CONFIG_IPW2200_DEBUG is not selected

2006-08-22 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |4 1 files changed, 0 insertions(+), 4 deletions(-) e2037ce8584be3c909339a6156235628fb82f26a diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 750c25d..fa245f1 100644

Re: [PATCH 06/14] ipw2100: Make ipw2100 depends on known working platforms

2006-08-21 Thread Zhu Yi
On Mon, 2006-08-21 at 10:52 +0100, Christoph Hellwig wrote: > There's a lot more little endian platforms than just the intel ones, > aswell. > > It seems you're totally unsuitable as a driver or subsystem maintainer > if you favour you own employer so much. I'm not saying I'm not going to support

Re: [PATCH 4/7] ieee80211: Add IEEE80211_API_VERSION macro

2006-08-21 Thread Zhu Yi
On Mon, 2006-08-21 at 06:39 -0400, Dan Williams wrote: > Per my other mail, what exactly has changed and must be checked? The > SIOCGIWFREQ stuff? The prototype of ieee80211_tx_frame() changed. It used to have 3 parameters. Now it has 5. Thanks, -yi - To unsubscribe from this list: send the line

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 08/14] ipw2200: remove the MAC timestamp present field from radiotap head

2006-08-20 Thread Zhu Yi
esent flag. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) 715b4e6d66a77e89d3dfd51c167bf4cbef4c7bce diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 04efe69..0e55

[PATCH 09/14] ipw2200: mark "iwconfig retry 255" as invalid

2006-08-20 Thread Zhu Yi
The ipw2200 firmware/ucode only support values from 0 to 254. So mark 255 as invalid. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 3ac6f33083c5f2e8900b06a29b124afd7b6e064f diff --git a/drive

[PATCH 13/14] ipw2200: enable wireless extension passive scan

2006-08-20 Thread Zhu Yi
ipw_request_passive_scan that is similiar to the ipw_request_scan function to perform passive scans. Last but not least, I added a field (in fact it is a work_struct struct) called request_passive_scan to the ipw_priv struct. Signed-off-by: Thomas King <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL

[PATCH 12/14] ipw2100: Fix deadlock detected by lockdep

2006-08-20 Thread Zhu Yi
Fix by removing dependency between priv->action_sem and rtnl semaphore. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2100.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) fcf4f163e01e6c5128e578fdbe1e778bc16fa1c0 diff --git a/drivers/net

[PATCH 14/14] Update version ipw2200 stamp to 1.1.4

2006-08-20 Thread Zhu Yi
--- drivers/net/wireless/ipw2200.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) d93ef0e734bdd43b02b9dbd0f030aa622ed69583 diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index ea14b55..750c25d 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/ne

[PATCH 11/14] ipw2200: Add pci .shutdown handler

2006-08-20 Thread Zhu Yi
If we don't disable the card in the pci .shutdown method, there might be pending interrupts still in the interrupt line after a reboot on some platform. This patch fixes the problem by disable the hardware in the pci .shutdown method. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> ---

[PATCH 10/14] ipw2200: Fix kernel Oops if cmdlog debug is enabled

2006-08-20 Thread Zhu Yi
When command error log debug is enabled, we write every host command and parameters into a buffer. But we didn't alloc the parameter buffer for this case. The patch adds struct cmdlog_host_cmd so that the buffer is allocated from the stack. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --

[PATCH 07/14] ipw2200: Fix ipw2200 QOS parameters endian issue

2006-08-20 Thread Zhu Yi
Signed-off-by: Jackie Wu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c | 52 1 files changed, 31 insertions(+), 21 deletions(-) fc32e5f014ca92fd000ffefc02326e2ed3890e11 diff --git a

[PATCH 06/14] ipw2100: Make ipw2100 depends on known working platforms

2006-08-20 Thread Zhu Yi
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(-) 97b35942893f7999dadcd18d8801ac460f65

[PATCH 03/14] ipw2200: ipw_wx_set_essid fix

2006-08-20 Thread Zhu Yi
" is not mentioned in the iwconfig man page. Signed-off-by: Bill Moss <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c | 39 +-- 1 files changed, 17 insertions(+), 22 deletions(-) f56340f0647db8f3c8f

[PATCH 5/7] ieee80211: export symbol ieee80211_api_version

2006-08-20 Thread Zhu Yi
Export this symbol so that wireless drivers can check the running IEEE80211 API version dynamically. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- include/net/ieee80211.h |2 ++ net/ieee80211/ieee80211_module.c |3 +++ 2 files changed, 5 insertions(+), 0 del

[PATCH 04/14] ipw2200: Reassociate even if set the same essid.

2006-08-20 Thread Zhu Yi
AIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) 17e85d1ad3dd9c8dc48d63dcc6cd531b3b8fb685 diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 27e8

[PATCH 01/14] ipw2200: always enable frequently used debugging code

2006-08-20 Thread Zhu Yi
paths. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/Kconfig | 23 ++- drivers/net/wireless/ipw2200.c | 18 -- drivers/net/wireless/ipw2200.h | 40 ++-- 3 files changed, 28 insertions(

[PATCH 02/14] ipw2200: SIOCGIWFREQ ioctl returns frequency rather than channel

2006-08-20 Thread Zhu Yi
(e.g. kwlaninfo) don't. According to the comment in the iwconfig source the driver is supposed to return the frequency, not the channel number. Signed-off-by: Ingo van Lil <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c | 23

[PATCH 7/7] ieee80211: Workaround malformed 802.11 frames from AP

2006-08-20 Thread Zhu Yi
-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_rx.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) b3d142a90dbe64140e390af28117983498def99d diff --git a/net/ieee80211/ieee80211_rx.c b/net/ieee80211/ieee80211_rx.c index d60358d..7707041 100644 ---

[PATCH 05/14] ipw2200: remove unused struct ipw_rx_buffer

2006-08-20 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |1 - drivers/net/wireless/ipw2200.h |1 - 2 files changed, 0 insertions(+), 2 deletions(-) 03c243ef92ce7b04edb74b8a97bd112d06dafd86 diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw

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: Reassociat

[PATCH 4/7] ieee80211: Add IEEE80211_API_VERSION macro

2006-08-20 Thread Zhu Yi
Add IEEE80211_API_VERSION macro so that drivers are able to check it during compile time. This feature is useful to make backward IEEE80211 compatibilities for wireless drivers. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- include/net/ieee80211.h | 12 +++- 1 files chang

[PATCH 6/7] ieee80211: Fix TKIP and WEP decryption error on SMP machines

2006-08-20 Thread Zhu Yi
MIC error. This only likely to happen on SMP box with heavy traffic both on Tx and Rx. The patch use two sets of crypto_tfms to avoid this problem. Signed-off-by: Hong Liu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_crypt_t

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

[PATCH 2/7] ieee80211: remove ieee80211_tx() is_queue_full warning

2006-08-20 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_tx.c |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) 2890239696cb57c3fbf6b948042cfeac70de561e diff --git a/net/ieee80211/ieee80211_tx.c b/net/ieee80211/ieee80211_tx.c index f2e6131..ae25449 100644 ---

[PATCH 1/7] ieee80211: Fix header->qos_ctl endian issue

2006-08-20 Thread Zhu Yi
Signed-off-by: Jackie Wu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_crypt_tkip.c |2 +- net/ieee80211/ieee80211_tx.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 5f71dc4d20e5be8004f547d32012fec28d38cff6 diff

[PATCH 3/7] ieee80211: TKIP and CCMP replay check rework

2006-08-20 Thread Zhu Yi
Use time_after() to handle jiffies wrapping. Signed-off-by: Hong Liu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- net/ieee80211/ieee80211_crypt_ccmp.c | 23 ++- net/ieee80211/ieee80211_crypt_tkip.c | 16 ++-- 2 files

Re: ipw2200: Driver lockup

2006-07-19 Thread Zhu Yi
st remove the ieee80211 warning now. [PATCH] ieee80211: remove ieee80211_tx() is_queue_full warning Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- --- a/net/ieee80211/ieee80211_tx.c +++ b/net/ieee80211/ieee80211_tx.c @@ -533,13 +533,6 @@ int ieee80211_xmit(struct sk_buff *skb,

Re: [patch] do not allow IPW_2100=Y or IPW_2200=Y

2006-07-11 Thread Zhu Yi
On Tue, 2006-07-11 at 15:32 +0200, Pavel Machek wrote: > Probably not. This (very dirty) hack implements that (with some level > of success -- ifconfig down/ifconfig up is enough to get wireless > working). You just need to $ iwpriv ethX reset Thanks, -yi - To unsubscribe from this list: send th

Re: [PATCH] ipw2100: wraps the debug module param within #ifdefs

2006-04-16 Thread Zhu Yi
On Fri, 2006-04-14 at 09:33 -0700, Stephen Hemminger wrote: > I meant get rid of CONFIG_IPW2200_DEBUG completely. Having the debug code > isn't > bad, and there is no reason not to have it always there. There are lots of IPW_DEBUG_XXX in the driver, even in TX and RX paths. It cause extra cycles

Re: [PATCH] ipw2100: wraps the debug module param within #ifdefs

2006-04-13 Thread Zhu Yi
On Thu, 2006-04-13 at 10:30 -0700, Stephen Hemminger wrote: > Please get rid of the debug config option. Make the debug code, default > off and be low enough impact that everyone can ship with it. This patch is exactly doing so. There won't be the debug module param if CONFIG_IPW2200_DEBUG is not

[PATCH 11/18] ipw2200: Enable rtap interface for RF promiscuous mode while associated

2006-04-13 Thread Zhu Yi
only send headers (0x7), don't report Tx'd frames (0x10), and don't report data frames (0x100): % echo 0x117 > /sys/bus/pci/drivers/ipw2200/*/rtap_filter All your packets are belong to us: % tethereal -n -i rtap0 Signed-off-by: James Ketrenos <[EMAIL PROTECT

[PATCH 17/18] ipw2200: remove priv->last_noise reference

2006-04-13 Thread Zhu Yi
priv->last_noise is not used with the exponential averaging algorithm Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) 56992321cbe73f5dbdf93464d6cbe75b83a1e37d diff --git a/drivers/net/wireless/

[PATCH 12/18] ipw2200: version string rework

2006-04-13 Thread Zhu Yi
Added version string fields so the version string indicates what is configured (ie, you'll see 1.1.1kpmd if you are using a GIT snapshot (Kernel.. previously -git), promiscuous (p), monitor (m), debug (d) build. Signed-off-by: James Ketrenos <[EMAIL PROTECTED]> Signed-off-by: Zhu

[PATCH 18/18] ipw2200: Fix wpa_supplicant association problem

2006-04-13 Thread Zhu Yi
The new ipw2200 scan completion event feature will cause a potential event race condition in wpa_supplicant. The patch fixes this problem by move the ipw_disassociate() to the IW_AUTH_WPA_ENABLED event handling code. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw

[PATCH 16/18] ipw2200: rename CONFIG_IEEE80211_RADIOTAP to CONFIG_IPW2200_RADIOTAP

2006-04-13 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c | 12 ++-- drivers/net/wireless/ipw2200.h |2 +- 2 files changed, 7 insertions(+), 7 deletions(-) 70646d6a1c055a3bbd5b29f471ca49d43c534267 diff --git a/drivers/net/wireless/ipw2200.c b/drive

[PATCH 14/18] ipw2200: rename CONFIG_IPW_QOS to CONFIG_IPW2200_QOS

2006-04-13 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/Kconfig |2 +- drivers/net/wireless/ipw2200.c | 42 2 files changed, 22 insertions(+), 22 deletions(-) b483305435de6baed1194ddaff5b437e0810a4c1 diff --git a/drivers/net/wi

[PATCH 15/18] wireless Kconfig add IPW2200_RADIOTAP

2006-04-13 Thread Zhu Yi
Makefile both IPW2200_RADIOTAP and IPW2200_PROMISCUOUS depend on IPW2200_MONITOR. Let IPW2200_PROMISCUOUS select IPW2200_RADIOTAP. Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/Kconfig | 52 +++--- 1 files changed, 28 insertions(

[PATCH 13/18] ipw2200: update version stamp to 1.1.2

2006-04-13 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- Documentation/networking/README.ipw2200 |6 +++--- drivers/net/wireless/ipw2200.c |2 +- 2 files changed, 4 insertions(+), 4 deletions(-) dd0f5de1aff491fb0358b7eaf7d22e907fa1e5ee diff --git a/Documentation/networking/README.i

[PATCH 07/18] ipw2200: turn off signal debug log

2006-04-13 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) c4613fd635d134e567b64de4d89fe54a7b0f88b2 diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index febee43..057faa0 100644

[PATCH 6/6] ieee80211: update version stamp to 1.1.13

2006-04-13 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- include/net/ieee80211.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ad81572a2505f80d22a1ceae5c055966e92df09f diff --git a/include/net/ieee80211.h b/include/net/ieee80211.h index bc6bdd6..4087dfc 100644 --- a/include/net/ieee8

[PATCH 01/18] ipw2200: Exponential averaging for signal and noise Level

2006-04-13 Thread Zhu Yi
This patch replaces sliding averaging by exponential averaging for reporting the wireless statistics for signal and noise level for ipw2200. See details from: http://www.ces.clemson.edu/linux/ipw2200_averages.shtml Signed-off-by: Bill Moss <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi &

[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] ipw2

[PATCH 02/18] ipw2200: Fix TX QoS enabled frames problem

2006-04-13 Thread Zhu Yi
This patch works with the ieee80211 stack to set the correct QoS bit to the ipw2200 card. It fixed the TX failure problem for using WPA with QoS. Signed-off-by: Hong Liu <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2

[PATCH 04/18] ipw2200: add module_param support for antenna selection

2006-04-13 Thread Zhu Yi
Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) cfcb7bc915320b44d0d2825a8554211249c7bbcd diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 536af9f..6b8c47b

[PATCH 08/18] ipw2200: Set the 'fixed' flags in wext get_rate

2006-04-13 Thread Zhu Yi
Signed-off-by: Jean Tourrilhes <[EMAIL PROTECTED]> Signed-off-by: Zhu Yi <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) 773cfa85e3c221a9d8284da73ff9e087e98dea12 diff --git a/drivers/net/wireless/ipw2200.c b/drivers/

[PATCH 03/18] ipw2200: generates a scan event after a scan has completed

2006-04-13 Thread Zhu Yi
The patch make ipw2200 generate the scan event every time a scan has completed, so that user space know when to get fresh results. Dan Williams would like to go towards this model in Network Manager rather than having to poll. Signed-off-by: Jean Tourrilhes <[EMAIL PROTECTED]> Signed-off-b

[PATCH 06/18] ipw2200: Do not continue loading the firmware if kmalloc fails

2006-04-13 Thread Zhu Yi
Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]> Cc: "Zhu, Yi" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> --- drivers/net/wireless/ipw2200.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) bb9de6f2888b04991bc634e9700114d3b415c

  1   2   >