Re: Question about debugging mac80211 without printk

2014-09-25 Thread Michal Kazior
On 25 September 2014 18:54, Pink wrote: > Hi, > > actually if have the following problem, if have a lot of debug messages > using printk inside the mac layer but if there is a > critical bug in the source code of the mac80211 module > the system goes into kernel panic state during execution. Unfor

how can we fast roaming between multi-aps

2014-09-25 Thread jammy
Hi all, I have build a multi-aps network,and there are wifi clients roaming in the network. Now I use the standard ath9k driver,and I found that the time of handoff is as long as 3 to 4 seconds,it is too long to process the Voip service and so on. I think the problem can be solved by modify th

Re: compile Failed in openwrt for [PATCH] “add support for ack timeout estimation in ath9k driver ”

2014-09-25 Thread jammy
I have patch the file successful. I have not test it. The further question is: The wifi card in my two boards are communicated with ad hoc mode,does the patches are useful for that? from jammy's iPhone 在 2014年9月22日,20:59,Lorenzo Bianconi 写道: >> Hi, all, > > Hi, > >> I have read the http://w

Re: compile Failed in openwrt for [PATCH] “add support for ack timeout estimation in ath9k driver ”

2014-09-25 Thread jammy
Hi Lorenzo, I see,I will try it later,thank you very much~ from jammy's iPhone 在 2014年9月22日,20:59,Lorenzo Bianconi 写道: >> Hi, all, > > Hi, > >> I have read the http://www.spinics.net/lists/linux-wireless/msg124980.html >> for patching the ath9k driver in compat-wireless-2014-05-22 in openwr

[PATCH 2/2] mac-sim: support creating radios with specific name.

2014-09-25 Thread greearb
From: Ben Greear Otherwise, it can be very difficult to know which is which if you are trying to do detailed testing. Signed-off-by: Ben Greear --- NOTE: This depends on the earlier patch that added the radio-name attribute. drivers/net/wireless/mac80211_hwsim.c | 16 +--- 1

[PATCH 1/2] wireless: expose set-wiphy-name method to other modules.

2014-09-25 Thread greearb
From: Ben Greear This will let hw-sim create wiphy objects with a specific name. Signed-off-by: Ben Greear --- include/net/cfg80211.h | 6 ++ net/wireless/core.c| 9 + 2 files changed, 15 insertions(+) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 3a13aab.

[PATCH v2] mac-hwsim: support destroying radio by name.

2014-09-25 Thread greearb
From: Ben Greear It is not always convenient to have to know the device-id, so allow deleting by name as well. Signed-off-by: Ben Greear --- v2: Protect against bad input. drivers/net/wireless/mac80211_hwsim.c | 22 +- drivers/net/wireless/mac80211_hwsim.h | 2 ++ 2 fil

[PATCH] mac-hwsim: support destroying radio by name.

2014-09-25 Thread greearb
From: Ben Greear It is not always convenient to have to know the device-id, so allow deleting by name as well. Signed-off-by: Ben Greear --- drivers/net/wireless/mac80211_hwsim.c | 21 - drivers/net/wireless/mac80211_hwsim.h | 2 ++ 2 files changed, 18 insertions(+), 5 del

[PATCH v6] bcma: register bcma as device tree driver

2014-09-25 Thread Hauke Mehrtens
This driver is used by the bcm53xx ARM SoC code. Now it is possible to give the address of the chipcommon core in device tree and bcma will search for all the other cores. Signed-off-by: Hauke Mehrtens --- Documentation/devicetree/bindings/bus/bcma.txt | 20 +++ drivers/bcma/bcma_private.h

[PATCH 1/3] mac-hwsim: don't leak memory on tx failure.

2014-09-25 Thread greearb
From: Ben Greear It seems previous code did not properly clean up memory if the packet could not be delivered to user-space. Signed-off-by: Ben Greear --- I don't have a good way to test this, but hopefully it is correct. drivers/net/wireless/mac80211_hwsim.c | 3 ++- 1 file changed, 2 inser

[PATCH 3/3] mac-hwsim: fix typo, remove un-needed goto.

2014-09-25 Thread greearb
From: Ben Greear Trivial cleanups. Signed-off-by: Ben Greear --- drivers/net/wireless/mac80211_hwsim.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index ae90438..43435c0 100644 --- a/driver

[PATCH 2/3] mac-hwsim: add ethtool stats support.

2014-09-25 Thread greearb
From: Ben Greear This gives a view into packet activity at the virtual radio level. Signed-off-by: Ben Greear --- drivers/net/wireless/mac80211_hwsim.c | 75 ++- 1 file changed, 74 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/mac80211_hwsim.c

Memory leak in mac80211_hwsim?

2014-09-25 Thread Ben Greear
While perusing the code in mac80211_hwsim, I notice what I think is a memory leak: Shouldn't there be an skb_free on the return result of skb_dequeue?? static void mac80211_hwsim_tx_frame_nl(struct ieee80211_hw *hw, struct sk_buff *my_skb,

Ubuntu 14.04 and the Intel® Centrino® Advanced-N 6200

2014-09-25 Thread Keno Brüggemann
Hello, i switched from an Intel® Centrino® Wireless-N 1000 to the Intel® Centrino® Advanced-N 6200 Wireless Card Adapter. My System. Dell xps l701x, ubuntu 14.04 The Problem is, this Adpater won't work under Ubuntu 14.04. I've installed both versions of this Firmware. Nothing. Seems to be dea

Re: [PATCH 00/27] add pm_runtime_last_busy_and_autosuspend() helper

2014-09-25 Thread Rafael J. Wysocki
On Thursday, September 25, 2014 04:27:58 PM Wolfram Sang wrote: > > --Bn2rw/3z4jIqBvZU > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Thu, Sep 25, 2014 at 09:22:01AM -0500, Felipe Balbi wrote: > > On Thu, Sep 25, 201

FIXMEs in rt2800lib.c

2014-09-25 Thread nick
I seem to be hitting to fix mes in the file I listed in the subject. Would someone tell me if it's Ok to remove the lines that over write certain registers. Nick -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majord...@vger.kernel.org More

Re: Question about debugging mac80211 without printk

2014-09-25 Thread Ben Greear
On 09/25/2014 09:54 AM, Pink wrote: > Hi, > > actually if have the following problem, if have a lot of debug messages using > printk inside the mac layer but if there is a > critical bug in the source code of the mac80211 module > the system goes into kernel panic state during execution. Unfortun

Question about debugging mac80211 without printk

2014-09-25 Thread Pink
Hi, actually if have the following problem, if have a lot of debug messages using printk inside the mac layer but if there is a critical bug in the source code of the mac80211 module the system goes into kernel panic state during execution. Unfortunately so far i now, it isn't possible after a

Re: [RFC 2/2] ath10k: re-config ht_caps when chainmask is modified.

2014-09-25 Thread Ben Greear
On 09/24/2014 11:23 PM, Michal Kazior wrote: On 24 September 2014 18:30, Ben Greear wrote: On 09/24/2014 08:05 AM, Michal Kazior wrote: On 24 September 2014 16:35, Ben Greear wrote: On 09/24/2014 12:51 AM, Michal Kazior wrote: On 24 September 2014 02:26, wrote: [...] +static struct ie

Re: [PATCH] ath10k: use configured nss instead of max nss.

2014-09-25 Thread Ben Greear
On 09/24/2014 11:16 PM, Michal Kazior wrote: On 24 September 2014 18:09, Ben Greear wrote: On 09/24/2014 12:09 AM, Michal Kazior wrote: On 23 September 2014 18:48, Ben Greear wrote: On 09/23/2014 01:59 AM, Michal Kazior wrote: On 23 September 2014 01:00, wrote: From: Ben Greear [...]

pull request: bluetooth-next 2014-09-25

2014-09-25 Thread Johan Hedberg
Hi John, This 3.18 pull request replaces the one I did on Monday ("bluetooth-next 2014-09-22", which hasn't been pulled yet). The additions since the last request are: - SCO connection fix for devices not supporting eSCO - Cleanups regarding the SCO establishment logic - Remove unnecessary ret

Re: [PATCH v5 2/2] bcma: get IRQ numbers from dt

2014-09-25 Thread Arnd Bergmann
On Thursday 25 September 2014 00:17:28 Hauke Mehrtens wrote: > It is not possible to auto detect the irq numbers used by the cores on > an arm SoC. If bcma was registered with device tree it will search for > some device tree nodes with the irq number and add it to the core > configuration. > > Si

Development-Tools for compat wireless stack

2014-09-25 Thread Pink
Hi, what tools are you use for the development and testing of the ath wireless driver as well as the complete wireless stack including mac80211. Is it user mode linux or something else? If user mode linux is used, is there any howto available to forward the ath card to the vm. Thank Mario -

[PATCH 2/4] ath10k: rename fw_stats related stuff

2014-09-25 Thread Michal Kazior
The naming was a bit inconsistent. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/core.h | 11 +-- drivers/net/wireless/ath/ath10k/debug.c | 18 +- drivers/net/wireless/ath/ath10k/debug.h | 6 +++--- drivers/net/wireless/ath/ath10k/wmi.c | 12 ++-

[PATCH 4/4] ath10k: fix fw stats processing

2014-09-25 Thread Michal Kazior
If stat data exceeds wmi-htc buffer limits firmware splits it into many wmi stats update events which are delivered in a ping-pong fashion triggered by wmi stats request command. Since there's only an implicit start-of-data and no end-of-data indications the driver has to perform some trickery to

[PATCH 0/4] ath10k: fix/cleanup fw stats

2014-09-25 Thread Michal Kazior
Hi, This cleans up and fixes fw stats aggregation. Michal Kazior (4): ath10k: split wmi stats parsing ath10k: rename fw_stats related stuff ath10k: request fw_stats once on open ath10k: fix fw stats processing drivers/net/wireless/ath/ath10k/core.h | 26 +- drivers/net/wireless/ath/a

[PATCH 1/4] ath10k: split wmi stats parsing

2014-09-25 Thread Michal Kazior
The parsing function was rather complex. Simplify by splitting it up into firmware branch specific implementations. While at it move the parsing code into wmi.c where it belongs. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/debug.c | 127 ++-- drivers/net

[PATCH 3/4] ath10k: request fw_stats once on open

2014-09-25 Thread Michal Kazior
Stats were requested and processed for each read call. This caused inconsistent readings. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/debug.c | 110 +++- 1 file changed, 79 insertions(+), 31 deletions(-) diff --git a/drivers/net/wireless/ath/ath1

Re: dmesg output for iwlegacy

2014-09-25 Thread Stanislaw Gruszka
On Mon, Sep 22, 2014 at 01:02:54AM +0100, Plinio Moreno wrote: > I have a Debian Wheezy (Kernel 3.2), pae 3.2 is very old version, check if issue is not fixed already on updated kernel. Stanislaw -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message

Re: [PATCH 00/27] add pm_runtime_last_busy_and_autosuspend() helper

2014-09-25 Thread Vinod Koul
On Wed, Sep 24, 2014 at 10:28:07PM +0200, Rafael J. Wysocki wrote: > > OK, I guess this is as good as it gets. > > What tree would you like it go through? Since rest of the patches are dependent upon 1st patch which should go thru your tree, we should merge this thru your tree Thanks -- ~Vinod