Hugh Davenport | 1 Feb 02:41 2011
Picon

ath5k: issues with AHB support on ubiquiti bullet 2 (AR2315)

Hey all,

I'm just letting you know that I have been having issues getting the the
AHB support with the ath5k driver working (from compat-wireless 2011-01-05).

I'm testing it on an ubiquiti bullet 2 device which internally is a
AR2315 WiSoC. I am using openwrt backfire with the mac80211 package
patched to use a later version of compat-wireless (ie one with AHB
support in ath5k). I had to modify some of the patches in openwrt so
they applied cleanly, but don't think any affected the ath5k (and would
cause the problem i have).

Basically the issue is this. When I try to load the module as is in the
source tree, the system hangs and module never loads (device restarts
itself).

I tried a bit of debugging (sorry about any newbie techniques here, im
new to kernel debugging) by just printing and returning errors after
every main function called. The problem seemed to be with the first time
it called ath5k_hw_reg_write, which from my tracing seemed to be in th
wisoc reset function in the following chain.

ath5k_hw_reg_write (ath5k.h)
ath5k_hw_wisoc_reset (reset.c)
ath5k_hw_nic_wakeup (reset.c)
ath5k_hw_init (attach.c)
ath5k_init_softc (base.c)
ath_ahb_probe (ahb.c)

I then tried out a few things in the vain attempt to get it to load the
(Continue reading)

Mohammed Shafi | 1 Feb 05:41 2011

Re: [PATCH] ath9k: Fix memory leak due to failed PAPRD frames

On Tuesday 01 February 2011 12:13 AM, Luis R. Rodriguez wrote:
> On Sun, Jan 30, 2011 at 11:55 PM, Mohammed Shafi Shajakhan
> <mshajakhan@...>  wrote:
>    
>> From: Mohammed Shafi Shajakhan<mshajakhan@...>
>>
>> free the skb's when the Tx of PAPRD frames fails and also add a debug
>> message indicating that.
>>
>> Signed-off-by: Mohammed Shafi Shajakhan<mshajakhan@...>
>>      
> Is this a stable fix?
>    
No Luis, this problem came from some recent changes in PAPRD before that 
it was Ok.
>   Luis
>    
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Kalle Valo | 1 Feb 07:39 2011

Re: [PATCH 00/18] wl1251: feature ports / monitor mode / packet injection

David Gnedt <david.gnedt@...> writes:

> One thing I haven't included in this patchset is the netlink
> interface from the fremantle code for NVS loading because I thought
> it wouldn't be accepted anyway.

Correct, it's definitely not for upstream. nl80211 now has testmode
interface which can be used for that, but as wl1251 hardware is so old
already I doubt anyone has any interest on.

I have now read and commented some of your patches, I will go through
the rest today. But 18 patches in a patchset is quite a lot. To make
it easier to review and manage the patches I would recommend to split
them to smaller and logical patchsets.

--

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Gery Kahn | 1 Feb 10:03 2011
Picon

[PATCH] wl12xx: update PLT initialization for new firmware

In revision > 6.1.3.0.0 the firmware expects memory configuration command
as part of boot. This was missing if driver boots in PLT mode.
The patch adds the memory configuration command, which fixes PLT commands
tx continuous and rx statistics.

Signed-off-by: Gery Kahn <geryk@...>
---
This patch depends on Eliad's new firmware patchseries

 drivers/net/wireless/wl12xx/main.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index f5ad55a..4580728 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
 <at>  <at>  -482,6 +482,10  <at>  <at>  static int wl1271_plt_init(struct wl1271 *wl)
 	if (ret < 0)
 		goto out_free_memmap;

+	ret = wl1271_acx_sta_mem_cfg(wl);
+	if (ret < 0)
+		goto out_free_memmap;
+
 	/* Default fragmentation threshold */
 	ret = wl1271_acx_frag_threshold(wl, wl->conf.tx.frag_threshold);
 	if (ret < 0)
--

-- 
1.7.0.4

(Continue reading)

Eric Fernandez | 1 Feb 10:26 2011
Picon

Ralink RT2501/RT2573 USB Wireless Adapter crashes kernel 2.6.37

Hi,

I reported this issue for two Linux distribution (Arch and Mandriva)
after upgrading to kernel 2.6.37 and is rather critical for users of
RT2573 Ralink USB Wireless adapters. This leads to complete system
crash, which is solved either by using a wired ethernet connection, or
by downgrading the kernel to 2.6.36 version. This happens in
particular when watching a streaming video (e.g. Youtube). I do not
see any entry in the log files. The sound goes to a loop, system is
completely blocked and only a hard reset will allow rebooting.

I feel this issue has been reported for other distributions too:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/673682
and this may be related:
http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/2011-January/002935.html

I tried to use the compat-wireless drivers (2011-01-30), which were
compiled correctly, but rt2x00 module loading segfaults when inserting
the USB adapter.

What can I do to help squashing this issue?

Many thanks in advance.
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Arend van Spriel | 1 Feb 11:02 2011

Re: [RFC] mac80211: deauthenticate STAs before suspend

>
> IOW, I'd rather leave it as is. It seems there isn't really a problem,
> but rather a perceived inconsistency that is being "fixed"?

Agree. It may be considered a fix from a particular user-space application
perspective (ie. NetworkManager) but from standards perspective there is
no reason to do this.

>
> johannes
>

Gr. AvS

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Arik Nemtsov | 1 Feb 12:23 2011

[PATCH] mac80211: pass up beacons from external BSS when operating as AP

Beacons from external BSSes are required for updating overlapping BSS
info (i.e. ERP protection). Pass them up unconditionally.

Signed-off-by: Arik Nemtsov <arik@...>
---
 net/mac80211/rx.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c
index f36d70f..42dbb6f 100644
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
 <at>  <at>  -2658,7 +2658,8  <at>  <at>  static int prepare_for_handlers(struct ieee80211_rx_data *rx,
 				return 0;
 		} else if (!ieee80211_bssid_match(bssid,
 					sdata->vif.addr)) {
-			if (!(status->rx_flags & IEEE80211_RX_IN_SCAN))
+			if (!(status->rx_flags & IEEE80211_RX_IN_SCAN) &&
+			    !ieee80211_is_beacon(hdr->frame_control))
 				return 0;
 			status->rx_flags &= ~IEEE80211_RX_RA_MATCH;
 		}
--

-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)

Johannes Stezenbach | 1 Feb 12:47 2011
Picon

Re: Ralink RT2501/RT2573 USB Wireless Adapter crashes kernel 2.6.37

Hi,

On Tue, Feb 01, 2011 at 09:26:25AM +0000, Eric Fernandez wrote:
> I reported this issue for two Linux distribution (Arch and Mandriva)
> after upgrading to kernel 2.6.37 and is rather critical for users of
> RT2573 Ralink USB Wireless adapters. This leads to complete system
> crash, which is solved either by using a wired ethernet connection, or
> by downgrading the kernel to 2.6.36 version. This happens in
> particular when watching a streaming video (e.g. Youtube). I do not
> see any entry in the log files. The sound goes to a loop, system is
> completely blocked and only a hard reset will allow rebooting.
> 
> I feel this issue has been reported for other distributions too:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/673682
> and this may be related:
> http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/2011-January/002935.html
> 
> I tried to use the compat-wireless drivers (2011-01-30), which were
> compiled correctly, but rt2x00 module loading segfaults when inserting
> the USB adapter.
> 
> What can I do to help squashing this issue?

I have no immediate idea about the cause of the crash, but
did you make sure you unloaded _all_ wireless modules
before plugging in the USB adapter after installing
compat-wireless?  "make unload" or a reboot should do the trick.

If it still crashes, can you check dmesg for the crash messages?

(Continue reading)

Wojciech Dubowik | 1 Feb 13:17 2011

Re: ath5k: issues with AHB support on ubiquiti bullet 2 (AR2315)

> From: "Hugh Davenport" <hugh@...>
> To: linville@...
> Cc: ath5k-devel@...,
linux-wireless@...,
lrodriguez@..., me@...,
> mickflemm@..., jirislaby@...
> Sent: Tuesday, February 1, 2011 2:41:42 AM
> Subject: ath5k: issues with AHB support on ubiquiti bullet 2 (AR2315)
> Hey all,
> 
> I'm just letting you know that I have been having issues getting the
> the
> AHB support with the ath5k driver working (from compat-wireless
> 2011-01-05).
> 
> I'm testing it on an ubiquiti bullet 2 device which internally is a
> AR2315 WiSoC. I am using openwrt backfire with the mac80211 package
> patched to use a later version of compat-wireless (ie one with AHB
> support in ath5k). I had to modify some of the patches in openwrt so
> they applied cleanly, but don't think any affected the ath5k (and
> would
> cause the problem i have).
> 
> Basically the issue is this. When I try to load the module as is in
> the
> source tree, the system hangs and module never loads (device restarts
> itself).
> 
> I tried a bit of debugging (sorry about any newbie techniques here, im
> new to kernel debugging) by just printing and returning errors after
(Continue reading)

Eric Fernandez | 1 Feb 13:29 2011
Picon

Re: Ralink RT2501/RT2573 USB Wireless Adapter crashes kernel 2.6.37

2011/2/1 Johannes Stezenbach <js@...>:

> I have no immediate idea about the cause of the crash, but
> did you make sure you unloaded _all_ wireless modules
> before plugging in the USB adapter after installing
> compat-wireless?  "make unload" or a reboot should do the trick.
>
> If it still crashes, can you check dmesg for the crash messages?
>
>
> Thanks,
> Johannes
>

Hi Johannes,

This happend on reboot, yes. I rebooted without the adapter plugged
in, then I left udev load the modules upon plugging the USB adapter.
I'll send you the error message in a few hours when I am back home.
Note that when the system freezes (the original bug, with the modules
from kernel 2.6.37), I get no log messages whatsoever.

Thanks,
Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@...
More majordomo info at  http://vger.kernel.org/majordomo-info.html

(Continue reading)


Gmane