Re: [PATCH] cfg80211: Add HT and VHT information in start_ap

2016-08-15 Thread Johannes Berg
On Mon, 2016-08-15 at 21:07 +0300, Jouni Malinen wrote: > From: Peng Xu > > Add HT and VHT information in struct cfg80211_ap_settings when > starting ap so that driver does not need to parse IE to obtain > the information. > +enum ht_vht_support { > + HT_VHT_DISABLED, > + HT_VHT_ENABLED,

Re: [BUGFIX PATCH 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-15 Thread Masami Hiramatsu
On Mon, 15 Aug 2016 23:44:05 +0200 Arend Van Spriel wrote: > > > On 15-8-2016 13:52, Rafał Miłecki wrote: > > On 15 August 2016 at 12:57, Kalle Valo wrote: > >> Rafał Miłecki writes: > >> > Signed-off-by: Masami Hiramatsu > >>> > >>> Fixes: a63b09872c1d ("brcmfmac: delete interface dire

Estimado Usuario E-mail

2016-08-15 Thread Webmaster
Estimado Usuario E-mail, Usted usuario y la contraseña caducará en 24 horas. Haga clic en el enlace de abajo y rellene los datos necesarios para la renovación. http://upgrade-001-dept-nakjsakjasnsdjs.tripod.com/ © 2016. Webmail Inc

Re: Configuring Minstrel-Blues

2016-08-15 Thread Sebastian Gottschall
Am 15.08.2016 um 23:41 schrieb Mike Mu: Hi Linux-Wireless, I am trying to enable Minstrel-Blues for the ath9k chipset that's used in Google Fiber's access points. I applied the patches in https://github.com/thuehn/Minstrel-Blues/tree/master/src onto our backports-20160122 tree, with some unsuspi

Re: [BUGFIX PATCH 2/2] brcmfmac: Change vif_event_lock to spinlock

2016-08-15 Thread Arend Van Spriel
On 15-8-2016 11:41, Masami Hiramatsu wrote: > Change vif_event_lock to spinlock from mutex, since this lock is > used in wait_event_timeout() via vif_event_equals(). This caused > a warning report as below. > > As far as I can see, this lock protects regions where updating > structure members, not

Re: [BUGFIX PATCH 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-15 Thread Arend Van Spriel
On 15-8-2016 13:52, Rafał Miłecki wrote: > On 15 August 2016 at 12:57, Kalle Valo wrote: >> Rafał Miłecki writes: >> Signed-off-by: Masami Hiramatsu >>> >>> Fixes: a63b09872c1d ("brcmfmac: delete interface directly in code that sent >>> fw request") >>> Acked-by: Rafał Miłecki >>> >>> K

Configuring Minstrel-Blues

2016-08-15 Thread Mike Mu
Hi Linux-Wireless, I am trying to enable Minstrel-Blues for the ath9k chipset that's used in Google Fiber's access points. I applied the patches in https://github.com/thuehn/Minstrel-Blues/tree/master/src onto our backports-20160122 tree, with some unsuspicious merge conflicts, and built an image.

[PATCH] cfg80211: Add HT and VHT information in start_ap

2016-08-15 Thread Jouni Malinen
From: Peng Xu Add HT and VHT information in struct cfg80211_ap_settings when starting ap so that driver does not need to parse IE to obtain the information. Signed-off-by: Peng Xu Signed-off-by: Jouni Malinen --- include/net/cfg80211.h | 15 +++ include/uapi/linux/nl80211.h

[PATCH] ath9k: Fix beacon configuration assertion failure

2016-08-15 Thread Ioan-Adrian Ratiu
hcd battery i2c_i801 tpm_tis pcspkr tpm_tis_core evdev shpchp lpc_ich i2c_smbus tpm sch_fq_codel ip_tables x_tables [ 16.910620] CPU: 2 PID: 6 Comm: kworker/u16:0 Not tainted 4.8.0-rc1-next-20160815-g118253a #1 [ 16.910621] Hardware name: Dell Inc. Inspiron 3521/018DYG, BIOS A14 07/3

[PATCH] ath10k: fix memory leak on caldata on error exit path

2016-08-15 Thread Colin King
From: Colin Ian King caldata is not being free'd on the error exit path, causing a memory leak. kfree it to fix the leak. Signed-off-by: Colin Ian King --- drivers/net/wireless/ath/ath10k/pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath10k/pci.c b/drivers

Re: [BUGFIX PATCH 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-15 Thread Rafał Miłecki
On 15 August 2016 at 12:57, Kalle Valo wrote: > Rafał Miłecki writes: > >>> Signed-off-by: Masami Hiramatsu >> >> Fixes: a63b09872c1d ("brcmfmac: delete interface directly in code that sent >> fw request") >> Acked-by: Rafał Miłecki >> >> Kalle: I'm acking this as bugfix for 4.8 release. > > O

Re: [PATCH v2] RANDOM: ATH9K RNG delivers zero bits of entropy

2016-08-15 Thread Kalle Valo
"Pan, Miaoqing" writes: > The entropy was evaluated by crypto expert, the analysis report show > the ADC with at least 10bits and up to 22 bits of min-entropy for a 32 > bits value, we conservatively assume the min-entropy is 10 bits out of > 32 bits, so that's why set entropy quality to 320/1024

Re: [BUGFIX PATCH 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-15 Thread Kalle Valo
Rafał Miłecki writes: >> Signed-off-by: Masami Hiramatsu > > Fixes: a63b09872c1d ("brcmfmac: delete interface directly in code that sent > fw request") > Acked-by: Rafał Miłecki > > Kalle: I'm acking this as bugfix for 4.8 release. Ok. I'll wait few days for more comments before I apply this.

Re: [BUGFIX PATCH 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-15 Thread Rafał Miłecki
On 08/15/2016 11:40 AM, Masami Hiramatsu wrote: Check rtnl_lock is locked in brcmf_p2p_ifp_removed() by passing rtnl_locked flag. Actually the caller brcmf_del_if() checks whether the rtnl_lock is locked, but doesn't pass it to brcmf_p2p_ifp_removed(). Without this fix, wpa_supplicant goes softl

Re: [PATCH] ath9k: fix AR5416 access GPIO warning

2016-08-15 Thread Valo, Kalle
writes: > From: Miaoqing Pan > > The warning was seen on AR5416 chip, which invoke ath9k_hw_gio_get() > before the GPIO initialized correctly. > > WARNING: CPU: 1 PID: 1159 at ~/drivers/net/wireless/ath/ath9k/hw.c:2776 > ath9k_hw_gpio_get+0x148/0x1a0 [ath9k_hw] > ... > CPU: 1 PID: 1

[BUGFIX PATCH 2/2] brcmfmac: Change vif_event_lock to spinlock

2016-08-15 Thread Masami Hiramatsu
Change vif_event_lock to spinlock from mutex, since this lock is used in wait_event_timeout() via vif_event_equals(). This caused a warning report as below. As far as I can see, this lock protects regions where updating structure members, not function calls. Also, since those regions are not calle

[BUGFIX PATCH 1/2] brcmfmac: Check rtnl_lock is locked when removing interface

2016-08-15 Thread Masami Hiramatsu
Check rtnl_lock is locked in brcmf_p2p_ifp_removed() by passing rtnl_locked flag. Actually the caller brcmf_del_if() checks whether the rtnl_lock is locked, but doesn't pass it to brcmf_p2p_ifp_removed(). Without this fix, wpa_supplicant goes softlockup with rtnl_lock holding (this means all other

[BUGFIX PATCH 0/2] Bugfixes for brcmfmac

2016-08-15 Thread Masami Hiramatsu
Hi, Here are 2 patches for fixing bugs which I recently faced on my PC. There are 2 bugs I've hit on brcmfmac, one issue was critical, the other was just found when I investigated the first issue. 1) when I shutdown or reboot my pc with wifi, it always stopped when disabling networking. I tried

RE: [PATCH] brcmfmac: shut down AP and set IBSS mode only on primary interface

2016-08-15 Thread Wright Feng
Hi Kalle and Arend, > -Original Message- > From: Kalle Valo [mailto:kv...@codeaurora.org] > Sent: Monday, August 15, 2016 4:05 PM > To: Arend Van Spriel > Cc: Wright Feng ; brcm80211-dev- > list@broadcom.com; franky@broadcom.com; > hante.meule...@broadcom.com; piete...@broadcom.co

Re: [PATCH] brcmfmac: shut down AP and set IBSS mode only on primary interface

2016-08-15 Thread Kalle Valo
Wright Feng writes: >> -Original Message- >> From: Kalle Valo [mailto:kv...@codeaurora.org] >> Sent: Monday, August 15, 2016 4:05 PM >> To: Arend Van Spriel >> Cc: Wright Feng ; brcm80211-dev- >> list@broadcom.com; franky@broadcom.com; >> hante.meule...@broadcom.com; piete...@bro

[PATCH 2/2 v2] wlcore: Remove wl pointer from wl_sta structure

2016-08-15 Thread Maxim Altshul
This field was added to wl_sta struct to get hw in situations where it was not given to driver by mac80211. In our case, get_expected_throughput op did not send hw to driver. This patch reverts the change, as it is no longer needed due to get_expected_throughput op change (hw is now sent as a par

Re: pull request: iwlwifi 2016-04-12

2016-08-15 Thread Kalle Valo
Emmanuel Grumbach writes: > On Sun, Aug 7, 2016 at 7:35 AM, Grumbach, Emmanuel > wrote: >> >> Hi Kalle, >> >> Here is a pull request for 4.6. I have here a patch that was merged to >> -next already, but clearly, it should have been routed through the >> current cycle's trees. Sorry about that. >

Re: [PATCH] brcmfmac: shut down AP and set IBSS mode only on primary interface

2016-08-15 Thread Kalle Valo
Arend Van Spriel writes: >> This message and any attachments may contain Cypress (or its >> subsidiaries) confidential information. If it has been received in >> error, please advise the sender and immediately delete this message. > > Is there any way for you to get rid of this foot note. It may

Re: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

2016-08-15 Thread Kalle Valo
Maxim Altshul writes: > - The variable is added to allow the driver an easy access > to it's own hw->priv when the op is invoked. > > - Change wlcore op accordingly. > > Signed-off-by: Maxim Altshul You didn't CC linux-wireless, adding it now. Others can find the full discussion here: http://l

Re: [PATCH 2/2] wlcore: Remove wl pointer from wl_sta structure

2016-08-15 Thread Kalle Valo
Maxim Altshul writes: > No longer needed due to get_expected_throughput op change > > Signed-off-by: Maxim Altshul The commit log is very vague, please improve it. But most importantly you did not CC linux-wireless (adding it now) so lots of wireless people missed this patch. Please resend. --

Re: [PATCH 2/2] wlcore: Remove wl pointer from wl_sta structure

2016-08-15 Thread Kalle Valo
Maxim Altshul writes: > No longer needed due to get_expected_throughput op change > > Signed-off-by: Maxim Altshul The commit log is very vague, please improve it. But most importantly you did not CC linux-wireless (adding it now) so lots of wireless people missed this patch. Please resend. --

[PATCH] NFC: Delete owner assignment

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 09:00:26 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring --- drivers/nfc/nfcmrvl/i2c.c | 1 - drivers/nfc/pn533/i2c.c | 1 -