Re: mac80211 IPv6 problems

2007-08-17 Thread Johannes Berg
On Mon, 2007-08-06 at 13:05 -0400, John W. Linville wrote: --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c @@ -3030,9 +3030,10 @@ ieee80211_rx_h_data(struct ieee80211_txrx_data *rx) memcpy(dst, hdr-addr1, ETH_ALEN); memcpy(src, hdr-addr3, ETH_ALEN);

Re: mac80211 IPv6 problems

2007-08-17 Thread John W. Linville
On Fri, Aug 17, 2007 at 02:52:56AM +0200, Johannes Berg wrote: On Mon, 2007-08-06 at 13:05 -0400, John W. Linville wrote: --- a/net/mac80211/ieee80211.c +++ b/net/mac80211/ieee80211.c @@ -3030,9 +3030,10 @@ ieee80211_rx_h_data(struct ieee80211_txrx_data *rx) memcpy(dst,

Re: mac80211 IPv6 problems

2007-08-06 Thread John W. Linville
On Fri, Aug 03, 2007 at 01:02:12AM -0700, Michael Wu wrote: This doesn't seem quite right. I think ieee80211_rx_h_data is a safer place for this check (inside the IEEE80211_FCTL_FROMDS case), and allows various statistics to be updated. ieee80211_rx_h_sta_process is another function that

Re: mac80211 IPv6 problems

2007-08-03 Thread David Woodhouse
On Thu, 2007-08-02 at 20:55 -0400, John W. Linville wrote: I hacked-up the (untested) patch below -- thoughts? I tried to test it. Today, I get no connectivity with bcm43xx-mac80211 (from Fedora 7 + your patch). It does manage to associate, but tcpdump shows it doesn't seem to receive any

Re: mac80211 IPv6 problems

2007-08-02 Thread Michael Buesch
On Friday 03 August 2007, Daniel Drake wrote: David Woodhouse wrote: My experience is that mac80211 is broken w.r.t IPv6 -- it receives its own packets. It would be suboptimal for me if the softmac version of bcm43xx were to go away before that got fixed. This may be a stack-level issue.

Re: mac80211 IPv6 problems

2007-08-02 Thread David Woodhouse
On Thu, 2007-08-02 at 18:30 -0400, Daniel Drake wrote: This may be a stack-level issue. This is one of the issues holding back zd1211rw-mac80211 going into mainline: we have a report that zd1211rw-softmac works fine with IPv6 but mac80211 only works occasionally with the same device on the

mac80211 IPv6 problems

2007-08-02 Thread Daniel Drake
David Woodhouse wrote: My experience is that mac80211 is broken w.r.t IPv6 -- it receives its own packets. It would be suboptimal for me if the softmac version of bcm43xx were to go away before that got fixed. This may be a stack-level issue. This is one of the issues holding back

Re: mac80211 IPv6 problems

2007-08-02 Thread John W. Linville
On Thu, Aug 02, 2007 at 11:46:18PM +0100, David Woodhouse wrote: On Thu, 2007-08-02 at 18:30 -0400, Daniel Drake wrote: This may be a stack-level issue. This is one of the issues holding back zd1211rw-mac80211 going into mainline: we have a report that zd1211rw-softmac works fine with