Re: Change channel bandwidth without iw command

2014-10-24 Thread Michal Kazior
On 23 October 2014 08:57, Okhwan Lee oh...@mwnl.snu.ac.kr wrote: Hi, Thank you for your answer. The panic printout would be most helpful. My best guess is this crashes in ath10k_dbg() at the very beginning of ath10k_config_chan because ar-chandef.chan is NULL. This is probably the case

[patch] ipw2x00: shift wrap bugs setting -rt_tsf

2014-10-24 Thread Dan Carpenter
The -parent_tsf[] array holds u8 values. It type promoted to int for the shift operation so the 24 shift operation can wrap. The cast needs to be done before the shift instead of after. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Static checker work. Untested. diff --git

Re: [patch] ipw2x00: shift wrap bugs setting -rt_tsf

2014-10-24 Thread Joe Perches
On Fri, 2014-10-24 at 11:15 +0300, Dan Carpenter wrote: The -parent_tsf[] array holds u8 values. It type promoted to int for the shift operation so the 24 shift operation can wrap. The cast needs to be done before the shift instead of after. Signed-off-by: Dan Carpenter

Re: [PATCH] mac80211: don't flush when probing the AP

2014-10-24 Thread Johannes Berg
On Mon, 2014-10-20 at 15:57 +0300, Emmanuel Grumbach wrote: All the callers of ieee80211_mgd_probe_ap_send return right after they call the flush() callback. This means that calling flush() is uneeded since its meaning is to wait until the queues of the device are empty. Devices that know

Re: [PATCH v2 2/2] iw: add vendor send command

2014-10-24 Thread Johannes Berg
On Mon, 2014-09-15 at 12:47 +0200, Janusz Dziedzic wrote: This allow to send vendor data to the driver. This command required OUI and SUBCMD parameters. Also optional DATA parameter could be used: Applied, sorry for the delay. johannes -- To unsubscribe from this list: send the line

Re: iwlwifi: Reason 7 periodic disconnect

2014-10-24 Thread Emmanuel Grumbach
On Fri, Oct 24, 2014 at 11:34 AM, Laurențiu Nicola lnic...@dend.ro wrote: Okay, I've filed a bug [1]. At some point you mentioned about using another device to monitor traffic. I don't have another laptop running Linux (would Android count?), but DD-WRT has a wl monitor command [2] that

Re: [PATCH 7/7] ath10k: implement wmi-tlv backend

2014-10-24 Thread Michal Kazior
On 20 October 2014 14:58, Michal Kazior michal.kaz...@tieto.com wrote: Latest firmware revision introduced a new WMI ABI called wmi-tlv. It is not a tlv strictly speaking but something that resembles it because it is ordered and may have duplicate id entries. This will be used by new

Re: Change channel bandwidth without iw command

2014-10-24 Thread Okhwan Lee
 Hi,  This linked images are the printed error messages when the kernel is in panic.  http://www.mwnl.snu.ac.kr/~ohlee/1.jpg http://www.mwnl.snu.ac.kr/~ohlee/2.jpg Thank you for your help. Okhwan -- Okhwan Lee Sent with Airmail 켜짐 2014년 10월 24일 에서 오후 4:49:23, Michal Kazior

Re: Change channel bandwidth without iw command

2014-10-24 Thread Michal Kazior
On 24 October 2014 13:30, Okhwan Lee oh...@mwnl.snu.ac.kr wrote: Hi, This linked images are the printed error messages when the kernel is in panic. http://www.mwnl.snu.ac.kr/~ohlee/1.jpg http://www.mwnl.snu.ac.kr/~ohlee/2.jpg Thanks. Panic doesn't seem to include anything directly related

Pull request: ath 20141024

2014-10-24 Thread Kalle Valo
b25f32cb02155d68c690255ba846796a1c248fd3: ath10k: use ether_addr_copy() (2014-09-18 10:47:03 +0300) are available in the git repository at: git://github.com/kvalo/ath.git tags/for-linville-20141024 for you to fetch changes up to 84cbf3a7592879810f80cece6c7f736f099ab163: ath10k: split ce pipe init

Re: [PATCH v6] mac80211: minstrel_ht: add basic support for VHT rates = 3SS@80MHz

2014-10-24 Thread Karl Beldan
Hi, On Tue, Oct 21, 2014 at 10:38:38AM +0200, Karl Beldan wrote: From: Karl Beldan karl.bel...@rivierawaves.com @@ -1026,13 +1184,47 @@ minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband, sta-bandwidth IEEE80211_STA_RX_BW_40)

Re: [PATCH v6] mac80211: minstrel_ht: add basic support for VHT rates = 3SS@80MHz

2014-10-24 Thread Johannes Berg
On Fri, 2014-10-24 at 13:48 +0200, Karl Beldan wrote: Hi, On Tue, Oct 21, 2014 at 10:38:38AM +0200, Karl Beldan wrote: From: Karl Beldan karl.bel...@rivierawaves.com @@ -1026,13 +1184,47 @@ minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband,

Re: 3.18-rc0: iwlegacy failed after a while

2014-10-24 Thread Stanislaw Gruszka
On Thu, Oct 23, 2014 at 01:02:37PM +, Grumbach, Emmanuel wrote: [Changed subject] This is really iwlegacy and not iwlwifi. Hi! Full dmesg is in the attachment, I guess the troubles started with: iwl3945 :03:00.0: Queue 4 stuck for 2004 ms. iwl3945 :03:00.0: On

[PATCH] mac80211: minstrel_ht: do not always skip ht rates vht_only is true

2014-10-24 Thread Karl Beldan
From: Karl Beldan karl.bel...@rivierawaves.com When CONFIG_MAC80211_RC_MINSTREL_VHT is set, the module param minstrel_vht_only tells minstrel_ht whether to allow the mix of ht rates with vht rates. ATM, minstrel_ht skips ht rates when minstrel_vht_only is true, but it does that even if vht is not

Re: [PATCH] mac80211: minstrel_ht: do not always skip ht rates vht_only is true

2014-10-24 Thread Karl Beldan
On Fri, Oct 24, 2014 at 02:34:49PM +0200, Karl Beldan wrote: From: Karl Beldan karl.bel...@rivierawaves.com When CONFIG_MAC80211_RC_MINSTREL_VHT is set, the module param minstrel_vht_only tells minstrel_ht whether to allow the mix of ht rates with vht rates. ATM, minstrel_ht skips ht rates

Re: [PATCH v3 0/4] add VHT support to minstrel_ht

2014-10-24 Thread Karl Beldan
On Sat, Oct 18, 2014 at 11:11:48PM +0530, Krishna Chaitanya wrote: On Sat, Oct 18, 2014 at 10:43 PM, Karl Beldan karl.bel...@gmail.com wrote: From: Karl Beldan karl.bel...@rivierawaves.com Karl Beldan (4): mac80211: minstrel_ht: Increase the range of handled rate indexes

Re: [PATCH 0/9] ath10k: htt rx fixes and clean ups

2014-10-24 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: I've found a couple of issues while reworking rx path. Michal Kazior (9): ath10k: don't drop control and null func Rx ath10k: remove unused variable ath10k: use ieee80211 defines for crypto param lengths ath10k: fix rx buffer tracing

Re: [PATCH 0/2] ath10k: minor htt tracing fix

2014-10-24 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: I've just noticed that rx_desc tracing is somewhat wrong. This attempts to fix it and since the trace function prototype changes I re-use some tracing code as well. Michal Kazior (2): ath10k: remove tsf argument from rx_desc tracing

Re: [PATCH] ath10k: add SURVEY_INFO_IN_USE for current channel on survey

2014-10-24 Thread Kalle Valo
Felix Fietkau n...@openwrt.org writes: Signed-off-by: Felix Fietkau n...@openwrt.org Thanks, applied. -- Kalle Valo -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] ath10k: call correct function for frag threshold

2014-10-24 Thread Kalle Valo
Michal Kazior michal.kaz...@tieto.com writes: Rts threshold was being configured instead of fragmentation threshold. Keep in mind available firmware binaries don't seem to support fragmentation anyway so this doesn't fix fragmentation threshold per se. Signed-off-by: Michal Kazior

Re: [PATCH v3] Add the target register read/write and memory dump debugfs interface

2014-10-24 Thread Kalle Valo
Yanbo Li yan...@qti.qualcomm.com writes: The debugfs interface reg_addrreg_val used to read and write the target register. The interface mem_addrmem_val used to dump the targer memory and also can be used to assign value to target memory I think you got the mail from kbuild bot already, but

Re: [PATCH v3] Add the target register read/write and memory dump debugfs interface

2014-10-24 Thread YanBo
On Fri, Oct 24, 2014 at 9:57 PM, Kalle Valo kv...@qca.qualcomm.com wrote: Yanbo Li yan...@qti.qualcomm.com writes: The debugfs interface reg_addrreg_val used to read and write the target register. The interface mem_addrmem_val used to dump the targer memory and also can be used to

Re: [PATCH] mac80211: minstrel_ht: do not always skip ht rates vht_only is true

2014-10-24 Thread Johannes Berg
On Fri, 2014-10-24 at 14:34 +0200, Karl Beldan wrote: From: Karl Beldan karl.bel...@rivierawaves.com When CONFIG_MAC80211_RC_MINSTREL_VHT is set, the module param minstrel_vht_only tells minstrel_ht whether to allow the mix of ht rates with vht rates. ATM, minstrel_ht skips ht rates when

Re: [PATCH] mac80211: add support for driver tx power reporting

2014-10-24 Thread Johannes Berg
On Wed, 2014-10-22 at 17:57 +0200, Felix Fietkau wrote: The configured tx power is often limited by hardware capabilities, channel settings, antenna configuration, etc. Signed-off-by: Felix Fietkau n...@openwrt.org --- include/net/mac80211.h | 5 + net/mac80211/cfg.c | 3 +++ 2

Questions regarding ath9k and new EN 300 328 regulation

2014-10-24 Thread Adrien Decostre
Dear all, I am looking for information about the compliancy of the ath9k driver to the EN 300 328 ETSI regulation. Would someone know if ath9k has already been tested for this regulation? Is it needed to enable any specific flag in ath9k to guarantee compliancy to the adaptivity tests

[PATCH v2] iw: support setting vif MAC during creation

2014-10-24 Thread greearb
From: Ben Greear gree...@candelatech.com This saves an extra call to change it later, and will also keep udev from potentially messing with a vif it should not be messing with. Signed-off-by: Ben Greear gree...@candelatech.com --- v2: Removed header changes per request. info.c | 2 ++

strange MPDU loss pattern

2014-10-24 Thread Ali Abedi
Hello, We study the effects of 802.11n frame aggregation on throughput. We noticed a strange pattern in the MPDU loss within an aggregated frame. It seems that the second half of the MPDUs (those with higher sequence numbers) in an aggregated frame are more likely to be lost. Is this a known

Re: [PATCH V3.18] rtlwifi: Add check for get_btc_status callback

2014-10-24 Thread Larry Finger
On 10/23/2014 09:09 PM, Mike Galbraith wrote: On Thu, 2014-10-23 at 13:23 -0500, Larry Finger wrote: I know rtl8192se:rtl92se_get_desc(): ERR rxdesc :4 not process messages will be fixed by the attached patch. Please send the logs after this is applied. Both applied. [ 17.717226]

Question phy capabilities in 'iw'

2014-10-24 Thread Ben Greear
Here is the capabilities list from an mac80211_hwsim driver. I am curious what information this is actually trying to convey. For instance, why is AP in two different places, with different values (2048 in first section, 8 in second) ? valid interface combinations: * #{

[PATCH] mac80211-hwsim: support SGI-20

2014-10-24 Thread greearb
From: Ben Greear gree...@candelatech.com This lets hostapd start if you have SGI-20 configured as one of your HT capabilities. Signed-off-by: Ben Greear gree...@candelatech.com --- drivers/net/wireless/mac80211_hwsim.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [PATCH V3.18] rtlwifi: Add check for get_btc_status callback

2014-10-24 Thread Murilo Opsfelder Araujo
On 10/24/2014 02:39 PM, Larry Finger wrote: [...] Please try the attached patch. It replaces the second one I sent you. I will probably redo it before submitting the final copy, but this should work. Larry Hi, Larry. I've tried your patch on top of next-20141023 and it is still crashing on

Channel Estimation Question

2014-10-24 Thread jeremy lansman
Hi. I beg your pardon for asking a newbe question...but..here goes anyway. My problem is with an Intel Advanced 6230. I have noted over the year + I have used it under Ubuntu that it seems to have a problem when I move the laptop. This is consistent with a channel estimation (tap

[PATCH] ath6kl: remove incorrect reset_resume handler

2014-10-24 Thread Alexey Khoroshilov
Existing implementation of reset_resume handler just calls ath6kl_usb_remove() that deallocates all resources. It can lead to double free, etc. on disconnect. The patch removes reset_resume handler, so usb core could conservatively reset the driver. Found by Linux Driver Verification project

Re: Question phy capabilities in 'iw'

2014-10-24 Thread Johannes Berg
On Fri, 2014-10-24 at 09:42 -0700, Ben Greear wrote: Here is the capabilities list from an mac80211_hwsim driver. I am curious what information this is actually trying to convey. For instance, why is AP in two different places, with different values (2048 in first section, 8 in second) ?

Re: [ath9k-devel] strange MPDU loss pattern

2014-10-24 Thread Krishna Chaitanya
On Sat, Oct 25, 2014 at 12:53 AM, Kamran Nishat kamran.nis...@gmail.com wrote: But for this channel conditions should be changing at the scale of 100 micro secs consistently. On Sat, Oct 25, 2014 at 12:13 AM, Adrian Chadd adr...@freebsd.org wrote: It's not completely unsurprising - the

Re: strange MPDU loss pattern

2014-10-24 Thread Ali Abedi
We don't use a rate adaptation at this moment (i.e., fixed rate) and the setup is stationary. So we expect to see relatively stable channel conditions. Even if the channel conditions change during the aggregated frame. The first half of the MPDUs have the same chance of experiencing worse

[PATCH] Staging:rtl8723au:core brace issue

2014-10-24 Thread Paul McQuade
ERROR: that open brace { should be on the previous line Signed-off-by: Paul McQuade paulmcq...@gmail.com --- drivers/staging/rtl8723au/core/rtw_ap.c | 137 ++-- 1 file changed, 43 insertions(+), 94 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c

[PATCH] Staging:rtl8723au: open/closed brace issue

2014-10-24 Thread Paul McQuade
ERROR: that open brace { should be on the previous line Signed-off-by: Paul McQuade paulmcq...@gmail.com --- drivers/staging/rtl8723au/core/rtw_ap.c | 130 ++-- 1 file changed, 40 insertions(+), 90 deletions(-) diff --git a/drivers/staging/rtl8723au/core/rtw_ap.c

Re: [PATCH V3.18] rtlwifi: Add check for get_btc_status callback

2014-10-24 Thread Mike Galbraith
On Fri, 2014-10-24 at 17:09 -0200, Murilo Opsfelder Araujo wrote: On 10/24/2014 04:13 PM, Murilo Opsfelder Araujo wrote: On 10/24/2014 02:39 PM, Larry Finger wrote: [...] Please try the attached patch. It replaces the second one I sent you. I will probably redo it before submitting the