Re: QCA6174 hw2.1 irq_mode=0 broken on 4.2-rc3, working on 4.1.2

2015-07-28 Thread Kalle Valo
Michal Kazior writes: >> This wont work for bisecting. I have to setup something else. Is >> it ok if I restrict the bisect on the ath10k tree? That has enough >> commit already to begin with, plus I'm going to be on the road in less >> than two weeks. > > As long as you establish a working and a

[PATCH] Staging : wilc1000: Remove braces for single statement blocks

2015-07-28 Thread Shraddha Barke
This patch fixes the following checkpatch.pl warning: WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Shraddha Barke --- drivers/staging/wilc1000/coreconfigurator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/core

Re: [PATCH 2/2] ath9k: export HW random number generator

2015-07-28 Thread Stephan Mueller
Am Dienstag, 28. Juli 2015, 13:41:57 schrieb Sandy Harris: Hi Sandy, > >> However, the hwrandom framework does not provide any conditioning logic. > >At first sight, this sounds like a blunder to me, but I have not >looked at hwrandom at all. Is there a rationale? I think hwrandom is solely a fra

Re: QCA6174 hw2.1 irq_mode=0 broken on 4.2-rc3, working on 4.1.2

2015-07-28 Thread Michal Kazior
On 28 July 2015 at 16:57, Enrico Tagliavini wrote: > I was testing the kernel from Fedora rawhide to test some issue > related to the sound card. So this is 4.2 rc3 as released by Linus > plus some Fedora patch. Nothing related to ath10k as far as I can see. > > Bisecting would require a lot of ti

Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227

2015-07-28 Thread Martin Blumenstingl
On Wed, Jul 29, 2015 at 1:37 AM, Adrian Chadd wrote: > Cool! Does it let you capture lots of samples over time and plot them? At least FFT_eval would allow capturing samples, but the device with the AR9227 is a small router -> no screen there, so I have to dump it on that device, copy it to my PC

Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227

2015-07-28 Thread Adrian Chadd
On 28 July 2015 at 15:33, Martin Blumenstingl wrote: > On Wed, Jul 29, 2015 at 12:22 AM, Adrian Chadd wrote: >> Hm, doesn't someone have a graphical frontend for this on linux? > Yep, I just found FFT_eval (screenshot: [0] and ath_spectral > (screenshot [1]) in the ath9k spectral scan wiki page.

Re: Driver for Mediatek MT7630E

2015-07-28 Thread Xose Vazquez Perez
Linus Walleij wrote: > Did anything ever happen to this? > > My daughter has this device in her laptop it seems, sigh. > > I might start fiddling with it unless someone else is already > doing it. Jakub Kicinski was working on it at: https://github.com/kuba-moo/mt7630e -- To unsubscribe from th

Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227

2015-07-28 Thread Martin Blumenstingl
On Wed, Jul 29, 2015 at 12:22 AM, Adrian Chadd wrote: > Hm, doesn't someone have a graphical frontend for this on linux? Yep, I just found FFT_eval (screenshot: [0] and ath_spectral (screenshot [1]) in the ath9k spectral scan wiki page. [0] http://abload.de/img/athscanfjsvv.png [1] http://abload

Re: Driver for Mediatek MT7630E

2015-07-28 Thread Linus Walleij
On 2014-06-11 Larry wrote: > I found such a device at a reasonable price on E-bay, and ordered > it. It should arrive next week. I also was able to find the firmware in an RPM > for SUSE SLE11, and a license allowing redistribution. Before I start > modifying > rt2800pci for this new device, I wa

Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227

2015-07-28 Thread Adrian Chadd
Hm, doesn't someone have a graphical frontend for this on linux? -a On 28 July 2015 at 15:07, Martin Blumenstingl wrote: > On Tue, Jul 28, 2015 at 7:25 PM, Adrian Chadd wrote: >> So the values aren't "bad" on the 1043nd - they're in 1/2 or 1/4dB, >> but there's no scalar quantity (ie, it's no

Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227

2015-07-28 Thread Martin Blumenstingl
On Tue, Jul 28, 2015 at 7:25 PM, Adrian Chadd wrote: > So the values aren't "bad" on the 1043nd - they're in 1/2 or 1/4dB, > but there's no scalar quantity (ie, it's not in dBm.) The 1043nd > calibrates down to around -95 or so, which "sounds" like it's in dBm > but it isn't, and any similarity is

ath9k get too few networks when scanning

2015-07-28 Thread Javi
Hi, I am working with a SR71 and R11E miniPCIe wifi cards on an embedded system running Debian wheezy (3.2.68-rt99). Something is wrong because when I scan with my laptop I get around 15 networks and when I do it on the system I just get only two or three. I have tried different kernel configs

Re: [RFC 02/10] mac80211: allow to transmit A-MSDU within A-MPDU

2015-07-28 Thread Grumbach, Emmanuel
On 07/28/2015 08:27 PM, Krishna Chaitanya wrote: > On Tue, Jul 28, 2015 at 10:42 PM, Grumbach, Emmanuel > wrote: >> >> On 07/28/2015 02:35 PM, Grumbach, Emmanuel wrote: On Tue, Jul 21, 2015 at 1:12 AM, Emmanuel Grumbach wrote: > diff --git a/net/mac80211/agg-tx.c b/net/mac80211/ag

Re: [PATCH 2/2] ath9k: export HW random number generator

2015-07-28 Thread Sandy Harris
On Mon, Jul 27, 2015 at 7:01 AM, Stephan Mueller wrote: > This one does not look good for a claim that the RNG produces white noise. An > RNG that is wired up to /dev/hwrng should produce white noise. Either by > having an appropriate noise source or by conditioning the output of the noise > sour

Re: [RFC 02/10] mac80211: allow to transmit A-MSDU within A-MPDU

2015-07-28 Thread Krishna Chaitanya
On Tue, Jul 28, 2015 at 10:42 PM, Grumbach, Emmanuel wrote: > > > On 07/28/2015 02:35 PM, Grumbach, Emmanuel wrote: >>> On Tue, Jul 21, 2015 at 1:12 AM, Emmanuel Grumbach >>> wrote: diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c index c8ba2e7..a758eb84 100644 --- a/net/

Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227

2015-07-28 Thread Adrian Chadd
So the values aren't "bad" on the 1043nd - they're in 1/2 or 1/4dB, but there's no scalar quantity (ie, it's not in dBm.) The 1043nd calibrates down to around -95 or so, which "sounds" like it's in dBm but it isn't, and any similarity is just coincidence. It does sound like your AR9227 sees noise.

Re: [RFC 02/10] mac80211: allow to transmit A-MSDU within A-MPDU

2015-07-28 Thread Grumbach, Emmanuel
On 07/28/2015 02:35 PM, Grumbach, Emmanuel wrote: >> On Tue, Jul 21, 2015 at 1:12 AM, Emmanuel Grumbach >> wrote: >>> diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c index >>> c8ba2e7..a758eb84 100644 >>> --- a/net/mac80211/agg-tx.c >>> +++ b/net/mac80211/agg-tx.c >>> @@ -97,7 +97,8 @

Re: [PATCH] ath10k: remove NULL ptr deref in variable init of ath10k_monitor_vdev_start

2015-07-28 Thread Kalle Valo
"John W. Linville" writes: > On Tue, Jul 28, 2015 at 10:41:11AM +0530, Vasanthakumar Thiagarajan wrote: >> On Tuesday 28 July 2015 12:52 AM, John W. Linville wrote: >> >In ath10k_monitor_vdev_start, chandef is initialized to NULL and then >> >channel is immediately thereafter initialized to chand

Re: [RFC 0/4] mac80211: define VHT rate mask logic

2015-07-28 Thread Lorenzo Bianconi
> Lorenzo Bianconi wrote: > >> [...] >> This patchset has been tested using mac80211/mt76 driver on >> Buffalo WHR-1166D router running OpenWrt trunk > > mt76 is an out of the tree driver, included only in OpenWrt. my router is a Buffalo WHR-1166D and AFAIK mt76 is the only open source driver for

Re: QCA6174 hw2.1 irq_mode=0 broken on 4.2-rc3, working on 4.1.2

2015-07-28 Thread Enrico Tagliavini
I was testing the kernel from Fedora rawhide to test some issue related to the sound card. So this is 4.2 rc3 as released by Linus plus some Fedora patch. Nothing related to ath10k as far as I can see. Bisecting would require a lot of time. I'm doing the full RPM package, including modules signatu

Re: [PATCH] ath10k: remove NULL ptr deref in variable init of ath10k_monitor_vdev_start

2015-07-28 Thread John W. Linville
On Tue, Jul 28, 2015 at 10:41:11AM +0530, Vasanthakumar Thiagarajan wrote: > On Tuesday 28 July 2015 12:52 AM, John W. Linville wrote: > >In ath10k_monitor_vdev_start, chandef is initialized to NULL and then > >channel is immediately thereafter initialized to chandef->chan (i.e. > >NULL->chan). Th

Re: [PATCH] ipw2x00: Adding active 11a wireless band support for Intel 2915abg (ZZJ:Japan)

2015-07-28 Thread John W. Linville
On Tue, Jul 28, 2015 at 10:12:38PM +0900, Kei Kishiro wrote: > Hi all, > > > Current ipw2200 driver cannot establish 11a wireless connection > using 2915abg device with countrycode ZZJ(for Japan), because of > mismatch of wireless band definition. > > Current wireless band definition at section

Re: [RFC 0/4] mac80211: define VHT rate mask logic

2015-07-28 Thread Xose Vazquez Perez
Lorenzo Bianconi wrote: > [...] > This patchset has been tested using mac80211/mt76 driver on > Buffalo WHR-1166D router running OpenWrt trunk mt76 is an out of the tree driver, included only in OpenWrt. Maybe OpenWrt people should begin sending code to upstream, because their tree [1] is full o

[PATCH] mwifiex: correct TDLS link delete failure message priority

2015-07-28 Thread Amitkumar Karwar
Commit d8d2f19feb16 ("mwifiex: silence TDLS link delete failure for nonexistent link") lowers the priority of error message when TDLS link is already deleted. But it had got increased by commit acebe8c10a6e ("mwifiex: change dbg print func to mwifiex_dbg") Reported-by: Nicholas Mc Guire Signed-of

[PATCH] net: rfkill-regulator: fix compiler warning

2015-07-28 Thread Robert ABEL
pdata char* name => const char* name Signed-off-by: Robert ABEL --- include/linux/rfkill-regulator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/rfkill-regulator.h b/include/linux/rfkill-regulator.h index aca36bc..594d8e7 100644 --- a/include/linux/rfkill-re

[PATCH] ipw2x00: Adding active 11a wireless band support for Intel 2915abg (ZZJ:Japan)

2015-07-28 Thread Kei Kishiro
Hi all, Current ipw2200 driver cannot establish 11a wireless connection using 2915abg device with countrycode ZZJ(for Japan), because of mismatch of wireless band definition. Current wireless band definition at section "ZZJ" in ipw2200.c (at /usr/src/linux-3.4/drivers/net/wireless/ipw2x00) is J5

RE: [RFC 02/10] mac80211: allow to transmit A-MSDU within A-MPDU

2015-07-28 Thread Grumbach, Emmanuel
> > On Tue, Jul 21, 2015 at 1:12 AM, Emmanuel Grumbach > wrote: > > > > diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c index > > c8ba2e7..a758eb84 100644 > > --- a/net/mac80211/agg-tx.c > > +++ b/net/mac80211/agg-tx.c > > @@ -97,7 +97,8 @@ static void ieee80211_send_addba_request(stru

Re: QCA6174 hw2.1 irq_mode=0 broken on 4.2-rc3, working on 4.1.2

2015-07-28 Thread Michal Kazior
On 28 July 2015 at 13:00, Enrico Tagliavini wrote: > Hi Michal, > > this is the dmesg output from a boot with kernel 4.1.2 with patch to > make the firmware load [1] > > Jul 26 10:07:42 alientux.saurisiamonoi.org kernel: ath10k_pci > :03:00.0: enabling device ( -> 0002) > Jul 26 10:07:42 a

Re: [RFC 02/10] mac80211: allow to transmit A-MSDU within A-MPDU

2015-07-28 Thread Krishna Chaitanya
On Tue, Jul 21, 2015 at 1:12 AM, Emmanuel Grumbach wrote: > > diff --git a/net/mac80211/agg-tx.c b/net/mac80211/agg-tx.c > index c8ba2e7..a758eb84 100644 > --- a/net/mac80211/agg-tx.c > +++ b/net/mac80211/agg-tx.c > @@ -97,7 +97,8 @@ static void ieee80211_send_addba_request(struct > ieee80211_sub

Re: QCA6174 hw2.1 irq_mode=0 broken on 4.2-rc3, working on 4.1.2

2015-07-28 Thread Enrico Tagliavini
Hi Michal, this is the dmesg output from a boot with kernel 4.1.2 with patch to make the firmware load [1] Jul 26 10:07:42 alientux.saurisiamonoi.org kernel: ath10k_pci :03:00.0: enabling device ( -> 0002) Jul 26 10:07:42 alientux.saurisiamonoi.org kernel: ath10k_pci :03:00.0: pci irq

Re: [PATCH 00/21] cover letter of Atmel WILC1000 patches

2015-07-28 Thread Dan Carpenter
Looks good. :) Reviewed-by: Dan Carpenter regards, dan carpenter -- 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 http://vger.kernel.org/majordomo-info.html

[PATCH 21/21] staging: wilc1000: update TODO list of WILC1000

2015-07-28 Thread Tony Cho
The TODO list is updated for the WILC1000 kernel driver. The TODO list contains many items listed in time sequence. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/TODO | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/TODO b/drivers/

[PATCH 20/21] staging: wilc1000: remove unnecessary spcae

2015-07-28 Thread Tony Cho
From: "Kim, Leo" This patch removes the warnings reported by checkpatch.pl on space prohibited between function name and open parenthesis '(' Signed-off-by: Kim, Leo Signed-off-by: Tony Cho --- drivers/staging/wilc1000/linux_wlan.c | 20 ++-- 1 file changed, 10 insertions(+),

[PATCH 17/21] staging: wilc1000: remove unnecessary blank lines

2015-07-28 Thread Tony Cho
This patch removes the following warnings reported by checkpatch.pl. - Blank lines aren't necessary after an open brace '{' - Blank lines aren't necessary before a close brace '}' Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 18/21] staging: wilc1000: remove braces {} for single statement blocks

2015-07-28 Thread Tony Cho
From: "Kim, Leo" This patch removes the warnings reported by checkpatch.pl on braces {} not necessary for the single statement blocks. Signed-off-by: Kim, Leo Signed-off-by: Tony Cho --- drivers/staging/wilc1000/linux_wlan.c | 78 --- 1 file changed, 26 inserti

[PATCH 19/21] staging: wilc1000: remove warnings on the multiple blank lines uses

2015-07-28 Thread Tony Cho
From: "Kim, Leo" This patch removes the warnings reported by checkpatch.pl for using multiple blank lines. Signed-off-by: Kim, Leo Signed-off-by: Tony Cho --- drivers/staging/wilc1000/linux_wlan.c | 69 --- 1 file changed, 69 deletions(-) diff --git a/drivers/

[PATCH 00/21] cover letter of Atmel WILC1000 patches

2015-07-28 Thread Tony Cho
Hi Greg, I am Tony from Atmel working together with Johnny in charge of Atmel wireless driver, especially ATWILC1000 single WLAM driver. I know WILC1000 driver is

[PATCH 13/21] staging: wilc1000: remove errors on required space

2015-07-28 Thread Tony Cho
This patch removes the errors reported by checkpatch.pl, which is the space required before the open parenthesis '('. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/d

[PATCH 10/21] staging: wilc1000: remove unused functions

2015-07-28 Thread Tony Cho
This patch removes the dead functions which are not used anymore. - sdio_check_bs - sdio_xfer_cnt Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 56 drivers/staging/wilc1000/wilc_wlan.c | 1 - 2 files changed, 57 deletions

[PATCH 11/21] staging: wilc1000: remove multiple blank lines

2015-07-28 Thread Tony Cho
From: "Jude.Lee" This patch removes the warnings reported by checkpatch.pl for using multiple blank lines. Signed-off-by: Jude.Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.h | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/wilc1000/coreco

[PATCH 14/21] staging: wilc1000: remove warnings on unnecessary braces

2015-07-28 Thread Tony Cho
This patch removes the warnings reported by checkpatch.pl on the braces {} not necessary for any arm of this statement. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c

[PATCH 15/21] staging: wilc1000: remove warnings on missing blank line

2015-07-28 Thread Tony Cho
This patch removes the warnings reported by checkpatch.pl on missing a blank line after declarations. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c

[PATCH 16/21] staging: wilc1000: remove unnecessary inner braces

2015-07-28 Thread Tony Cho
This patch removes unnecessary inner braces. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio.c index 29

[PATCH 12/21] staging: wilc1000: alignment should match open parenthesis

2015-07-28 Thread Tony Cho
From: "Jude.Lee" This patch fixes the checks reported by checkpatch.pl alignment should match open parenthesis Signed-off-by: Jude.Lee Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/sta

[PATCH 07/21] staging: wilc1000: remove preprocessor conditionals unused

2015-07-28 Thread Tony Cho
This patch removes unused preprocessor conditionals for the PLAT_AML8726_M3_BACKUP and PLAT_AML8726_M3 which are not used and so dead codes. They are also platform-dependent codes. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 174 +-- 1 file

[PATCH 06/21] staging: wilc1000: remove the warnings on unnecessary braces

2015-07-28 Thread Tony Cho
This patch removes the warnings reported by checkpatch.pl on {} not necessary for the single statement blocks. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 28 ++-- 1 file changed, 10 insertions(+), 18 deletions(-) diff --git a/drivers/staging/wilc1

[PATCH 04/21] staging: wilc1000: remove warnings on the multiple line uses

2015-07-28 Thread Tony Cho
This patch removes the warnings reported by checkpatch.pl for using multiple blank lines. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/wilc_sdio

[PATCH 03/21] staging: wilc1000: remove dead codes related to SIMULATION

2015-07-28 Thread Tony Cho
This patch removes preprocessor conditionals (#ifdef or #ifndef) related to SIMULATION definition from the codes becasue that SIMULATION feature is not used anymore. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/coreconfigurator.c | 86 --- drivers/staging/wilc10

[PATCH 09/21] staging: wilc1000: #ifdef conditionals cover entire functions

2015-07-28 Thread Tony Cho
This patch lets preprocessor conditionals (#ifdef) related to WILC_SDIO_IRQ_GPIO to compile out the entire functions. Compiling out the entire functions is preferred rather than portions of functions or expressions becausue doing so makes code harder to read. Signed-off-by: Tony Cho --- drivers/

[PATCH 05/21] staging: wilc1000: remove the warnings on missing blank line

2015-07-28 Thread Tony Cho
This patch removes the warnings reported by checkpatch.pl on missing a blank line after declaration. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_sdio.c b/drivers/staging/wilc1000/

[PATCH 01/21] staging: wilc1000: remove unnecessary files

2015-07-28 Thread Tony Cho
This patch removes the following files which are not used anymore. - fifo_buffer.c - fifo_buffer.h - coreconfigsimulator.h - wilc_wfi_netdevice.c Signed-off-by: Robin Hwang Signed-off-by: Tony Cho --- drivers/staging/wilc1000/Makefile | 4 +- drive

[PATCH 08/21] staging: wilc1000: remove a dead preprocessor conditionals

2015-07-28 Thread Tony Cho
This patch removes the preprocessor conditionals which are related to the WILC1000_SINGLE_TRANSFER definition becasue this is not used. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/wilc_sdio.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/drivers/staging/

[PATCH 02/21] staging: wilc1000: describe the config symbol fully

2015-07-28 Thread Tony Cho
This patch removes the warnings reported by checkpatch.pl on the short description for the config symbol in the Kconfig by adding more comments to describe the config symbol in more detail. Signed-off-by: Tony Cho --- drivers/staging/wilc1000/Kconfig | 28 1 file cha

[PATCH] mac80211: fix invalid read in minstrel_sort_best_tp_rates()

2015-07-28 Thread Adrien Schildknecht
At the last iteration of the loop, j may equal zero and thus tp_list[j - 1] causes an invalid read. Changed the logic of the loop so that j - 1 is always >= 0. Signed-off-by: Adrien Schildknecht --- net/mac80211/rc80211_minstrel.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-)

Re: [PATCH RESEND] ath9k: Fix NF CCA limits for AR9287 and AR9227

2015-07-28 Thread Martin Blumenstingl
On Tue, Jul 28, 2015 at 5:47 AM, Adrian Chadd wrote: > Those are some high values (eg from noise/spur somewhere) and the > driver is deciding to program in -110. So the radio thinks its deaf. That made me think... I have a second ath9k device, this time with an AR9300 (note, this is 3x3 instead of