On Fri, 2006-08-18 at 09:45 -0700, Simon Barber wrote:
> I did mean RSSI - just about anything that when interpreted as an 8 bit
> unsigned int and goes up with increasing signal fits the bill as an RSSI
> measure. RCPI requires a certain minimum accuracy and linearity (the
> accuracy required is n
Another thing that crossed my mind: Should we have a netlink call for
adding virtual interfaces as well? Because then, the ipw2x00 drivers can
have their monitor interface(s) added the same way.
johannes
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message t
Jiri,
> thanks a lot for your work on nl80211! New netlink interface is
> one of the most important things regarding 802.11 stack now.
Wait till you see my weekend patch series ;)
> Seems ineffective to me. Couldn't you require users of nl80211 to fill
> ieee80211_ptr field in all of their net_d
Hi Jeff:
In IP100A, phy address is 0. Because IP100A is a single chip, the in
chip phy address is 0. so, we must search phy address for 0.
Jesse
- Original Message -
From: "Jeff Garzik" <[EMAIL PROTECTED]>
To: "Jesse Huang" <[EMAIL PROTECTED]>
Cc: ; ;
<[EMAIL PROTECTED]>
Sent: Friday, Au
Hi,
if I add an additional IPv4 address of the same subnet ("IP aliasing",
used for virtual hosting), it's added after the first one and also get
the flag "secondary":
# ip -4 addr show dev eth0 | grep -w inet
inet 192.0.2.11/24 brd 192.0.2.255 scope global eth0
# ip -4 addr add 192.0.2.253/
Hi Jeff:
I will follow those suggestions. Thanks.
Jesse
- Original Message -
From: "Jeff Garzik" <[EMAIL PROTECTED]>
To: "Jesse Huang" <[EMAIL PROTECTED]>
Cc: ; ;
<[EMAIL PROTECTED]>
Sent: Friday, August 18, 2006 7:17 PM
Subject: Re: [PATCH 6/6] IP100A Solve host error problem when i
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
IEEE80211_RADIOTAP_TSFT is defined as the Value in microseconds of the
MAC's 64-bit 802.11 Time Synchronization Function timer when the first bit
of the MPDU arrived at the MAC. Since ipw2200 hardware doesn't provide this
value, we disable this feature from the radiotap header present flag.
Signed
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/drivers/net/wirel
This patch enables the ipw2200 driver to support passive scanning as
offered by the wireless extensions. For this, I enhanced the ipw_wx_set_scan
function in such a way that it differentiates between a passive and an
active scan request. Additionally, I added a new function called
ipw_request_passi
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/wireless/ipw2100
---
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
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]>
---
drivers/net/wi
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]>
---
drivers/
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/drivers/net/wireles
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(-)
97b35942893f7999dadcd18d8801ac460f65ce67
diff --git a/dr
This patch cleanups the ipw_wx_set_essid code and forces a reassociation
when setting the essid to "any". I have tested this patch with iwconfig. It
makes ipw2200 compliant with all the cases mentioned in the iwconfig man
page. The commands
iwconfig iface essid any
iwconfig iface essid -- any
iwco
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 deletions(-)
81634e488
This patch traps the case when the essid is being set to its
current value. If the essid is being set again and we are already
associated, chances are some other parameters have also been altered.
I think it is safer to do the re-association for this case.
Signed-off-by: Bill Moss <[EMAIL PROTECTE
Moving part of the debugging code from IPW_DEBUG to IPW_LL_DEBUG (low level
debugging) and make IPW_DEBUG be always enabled. IPW_LL_DEBUG still needs
to be enabled by selecting CONFIG_IPW2200_DEBUG. But it is highly
deprecated for normal users since it adds higher debug verbosity in driver
hot path
Hi Jeff:
(3)Yes, This is a bug, I will correct it. Thanks.
(4)This will halt TxDMA and RxDMA, after that will let reseting safely.
Should I add description in source code or in change log?
Thanks!
Jesse
- Original Message -
From: "Jeff Garzik" <[EMAIL PROTECTED]>
To: "Jesse Huang" <[E
The SIOCGIWFREQ ioctl fills the request structure's freq field by setting
the exponent to 0 and the mantissa to the current channel number. The
iwconfig tool works around this behaviour by looking up the frequency
from the channel table if a frequency below 1kHz is returned, other tools
(e.g. kwlan
Stop processing further but return success when we receive a malformed
packet from the AP. We need this patch to workaround some AP bugs. For
example, the beacon frames from the Orinoco AP1000 contains an IE (value
= 128) with length equals to 8 but the actual frame length is only 7.
Signed-off-by
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/ipw2200.c
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
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 changed, 11 insert
The IEEE80211 TKIP and WEP Tx and Rx paths use the same crypto_tfm to encrypt
and decrypt data. During the encrypt and decrypt process, both of them will
set a new key to crypto_tfm. If they happen on the same time, it will
corrupt the crypto_tfm. Thus users will receive an ICV error or Michael MIC
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
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
--- a/net/i
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 --git a/net/i
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 changed, 36 insertion
Hi Jeff:
Ok, I see. I will resend all of the patches after I finish modify. Thanks.
Jesse
- Original Message -
From: "Jeff Garzik" <[EMAIL PROTECTED]>
To: "Jesse Huang" <[EMAIL PROTECTED]>
Cc: ; ;
<[EMAIL PROTECTED]>
Sent: Friday, August 18, 2006 7:09 PM
Subject: Re: [PATCH 1/6] IP100A,
Hi :
Ok, I will remove the Mixed case variables. Thanks.
Jesse
- Original Message -
From: "Francois Romieu" <[EMAIL PROTECTED]>
To: "Jesse Huang" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
; ;
<[EMAIL PROTECTED]>
Sent: Saturday, August 19, 2006
Hi, All
When I tested Linux kernel 2.6.17.7 about statistics
"ipv6IfStatsInAddrErrors", found that this counter couldn't increase
correctly. The criteria is RFC2465:
ipv6IfStatsInAddrErrors OBJECT-TYPE
SYNTAX Counter32
MAX-ACCESS read-only
STATUS current
DESC
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
---
include/linux/in.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/in.h
+++ b/include/linux/in.h
@@ -177,7 +177,7 @@ struct in_pktinfo
#define __SOCK_SIZE__ 16 /* sizeof(struct sockaddr) */
s
There will be relatively small increase in sparse endian warnings, but
this (and sin_port) patch is a first step to make networking code endian
clean.
Signed-off-by: Alexey Dobriyan <[EMAIL PROTECTED]>
---
include/linux/in.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include
This patch adds proper prototypes in net/atm/mpc.h for two global
functions in net/atm/mpoa_proc.c
Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
---
net/atm/mpc.c |5 -
net/atm/mpc.h |3 +++
2 files changed, 3 insertions(+), 5 deletions(-)
--- linux-2.6.18-rc4-mm2/net/atm/mpc.h.o
Lennert Buytenhek <[EMAIL PROTECTED]> :
[...]
> The hack patch below makes it work. There's two issues here:
>
> 1. Writing zero to the upper part of the TxDescStartAddr register (via
>the MMIO region) somehow also clears the lower part, and writing the
>upper and lower halves the other w
> We're not assuming they're broken. When some code is maintained by many people
> and when conventions differ between similar functions (eg: setsockopt does
> the check at top level and getsockopt in the leaves),
thats not something you want to fix in 2.4 though ;)
it may be worth considering f
From: Joerg Ahrens <[EMAIL PROTECTED]>
I am using a Xircom CEM33 pcmcia NIC which has occasional hardware problems.
If the netdev watchdog detects a transmit timeout, do_reset is called which
msleeps - this is illegal in atomic context.
This patch schedules the timeout handling as a workqueue ite
Hi David,
On Sun, Aug 20, 2006 at 12:44:27PM -0700, David Miller wrote:
> From: Willy Tarreau <[EMAIL PROTECTED]>
> Date: Sun, 20 Aug 2006 02:43:07 +0200
>
> > On Sun, Aug 20, 2006 at 02:05:20AM +0200, Michael Buesch wrote:
> > > Not to me. It heavily violates codingstyle and screws brains
> >
On Sun, Aug 20, 2006 at 08:38:34PM +0200, Andi Kleen wrote:
> On Sunday 20 August 2006 18:16, Solar Designer wrote:
> > On Sun, Aug 20, 2006 at 10:34:43AM +0200, Andi Kleen wrote:
> > > In general I don't think it makes sense to submit stuff for 2.4
> > > that isn't in 2.6.
> >
> > In general I a
From: Willy Tarreau <[EMAIL PROTECTED]>
Date: Sun, 20 Aug 2006 12:15:28 +0200
> Others will consider it totally useless because it does not cover
> all cases, but I think it is against the general principle of
> precaution we try to apply in security.
Reading in a value from userspace twice for q
From: Arjan van de Ven <[EMAIL PROTECTED]>
Date: Sun, 20 Aug 2006 18:30:51 +0200
> this reasoning goes out the window with kernel preemption of course ;)
Yes and even though this thing is for 2.4.x, it just shows
that this is a hack and we shouldn't eat two userspace
accesses for a hack.
Instead
From: Andi Kleen <[EMAIL PROTECTED]>
Date: Sun, 20 Aug 2006 10:34:43 +0200
> Doing a check that is inherently racy everywhere doesn't seem like a
> security improvement to me. If there is really a length checking bug
> somewhere it needs to be fixed in a race-free way. If not then there
> is no ne
From: Willy Tarreau <[EMAIL PROTECTED]>
Date: Sun, 20 Aug 2006 02:43:07 +0200
> On Sun, Aug 20, 2006 at 02:05:20AM +0200, Michael Buesch wrote:
> > Not to me. It heavily violates codingstyle and screws brains
> ^^^
> little exageration detected here.
>
> > with the non-indente
This fixes my issue. Thanks.
On Tuesday 15 August 2006 02:09, you wrote:
> From: Jay Vosburgh <[EMAIL PROTECTED]>
> Date: Thu, 03 Aug 2006 18:01:35 -0700
>
> > In this case (bond0.555 above bond0 above eth0,eth1,etc),
> > skb_bond doesn't suppress duplicates because skb_bond is called with the
Johannes,
thanks a lot for your work on nl80211! New netlink interface is
one of the most important things regarding 802.11 stack now.
Fri, 18 Aug 2006 16:49:25 +0200, Johannes Berg wrote:
> [...]
> +/**
> + * struct nl80211_driver - backend description for wireless configuration
> + *
> + * This
On Sunday 20 August 2006 18:16, Solar Designer wrote:
> On Sun, Aug 20, 2006 at 10:34:43AM +0200, Andi Kleen wrote:
> > In general I don't think it makes sense to submit stuff for 2.4
> > that isn't in 2.6.
>
> In general I agree, however right now I had the choice between
> submitting these chan
Ar Sul, 2006-08-20 am 03:05 +0400, ysgrifennodd Solar Designer:
> The patch makes getsockopt(2) sanity-check the value pointed to by
> the optlen argument early on. This is a security hardening measure
> intended to prevent exploitation of certain potential vulnerabilities in
> socket type specifi
A recent discussion about the spidernet driver resulted in the dicovery
that network drivers are supposed to use NAPI for both their receive and
transmit paths, but this is documented nowhere.
In order to help the next person writing a NAPI based driver, I wrote
down what I found missing about thi
Hi,
include/net/pkt_act.h plays a game of inlines
which are kind of "templatized", like this:
act_ipt.c:
/* ovewrride the defaults */
#define tcf_st tcf_ipt
#define tcf_t_lock ipt_lock
#define tcf_ht tcf_ipt_ht
#define CONFIG_NET_ACT_INIT
#include
This results in code du
> We're on UP. sys_getsockopt() does get_user() (due to the patch) and
> makes sure that the passed *optlen is sane. Even if this get_user()
> sleeps, the value it returns in "len" is what's currently in memory at
> the time of the get_user() return (correct?) Then an underlying
> *getsockopt()
On Sun, Aug 20, 2006 at 10:34:43AM +0200, Andi Kleen wrote:
> In general I don't think it makes sense to submit stuff for 2.4
> that isn't in 2.6.
In general I agree, however right now I had the choice between
submitting these changes for 2.4 first and not submitting them at all
(at least for som
Hello.
In article <[EMAIL PROTECTED]> (at Sun, 20 Aug 2006 12:15:28 +0200), Willy
Tarreau <[EMAIL PROTECTED]> says:
> But I don't want to induce such large changes in this kernel. The goal of
> this test is a preventive measure to catch easily exploitable errors that
> might have remained undete
On Sun, Aug 20, 2006 at 10:34:43AM +0200, Andi Kleen wrote:
> On Sunday 20 August 2006 01:05, Solar Designer wrote:
> > I propose the attached patch (extracted from 2.4.33-ow1) for inclusion
> > into 2.4.34-pre.
> >
> > (2.6 kernels could benefit from the same change, too, but at the moment
> > I
On Sunday 20 August 2006 08:31, Benjamin Herrenschmidt wrote:
> > card->low_watermark->next->dmac_cmd_status |= SPIDER_NET_DESCR_TXDESFLG;
> > mb();
> > card->low_watermark->dmac_cmd_status &= ~SPIDER_NET_DESCR_TXDESFLG;
> > card->low_watermark = card->low_watermark->next;
> >
> > when we queue an
On Sunday 20 August 2006 01:05, Solar Designer wrote:
> I propose the attached patch (extracted from 2.4.33-ow1) for inclusion
> into 2.4.34-pre.
>
> (2.6 kernels could benefit from the same change, too, but at the moment
> I am dealing with proper submission of generic changes like this that
> ar
this patch fixes resources cleanup in e1000_probe()
Signed-off-by: Vasily Averin <[EMAIL PROTECTED]>
Thank you,
Vasily Averin
SWsoft Virtuozzo/OpenVZ Linux kernel team
--- linux-2.6.18-rc4/drivers/net/e1000/e1000_main.c.eprcln 2006-08-19
23:02:45.0 +0400
+++ linux-2.6.18-r
59 matches
Mail list logo