Re: [PATCH] brcmfmac: use direct data pointer in NVRAM parser struct

2015-05-28 Thread Arend van Spriel
On 05/28/15 14:34, Rafał Miłecki wrote: On 28 May 2015 at 13:54, Arend van Sprielar...@broadcom.com wrote: On 05/28/15 13:37, Rafał Miłecki wrote: As we plan to add support for platform NVRAM we should store direct data pointer without the extra struct firmware layer. This will allow us to

[PATCH 5/9] wl1251: drop unneeded goto

2015-05-28 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr Delete jump to a label on the next line, when that label is not used elsewhere. A simplified version of the semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // smpl @r@ identifier l; @@ -if (...) goto l; -l: // /smpl

[PATCH 0/9] drop unneeded goto

2015-05-28 Thread Julia Lawall
These patches drop gotos that jump to a label that is at the next instruction, in the case that the label is not used elsewhere in the function. The complete semantic patch that performs this transformation is as follows: // smpl @r@ position p; identifier l; @@ if (...) goto l@p; l:

Re: [PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Joe Perches
On Thu, 2015-05-28 at 18:27 +0530, Avinash Patil wrote: This patch adds more logging support for association failure - reason and states. [] diff --git a/drivers/net/wireless/mwifiex/fw.h b/drivers/net/wireless/mwifiex/fw.h [] @@ -419,8 +419,12 @@ enum P2P_MODES { #define

Re: [PATCH] brcmfmac: fix invalid access to struct acpi_device fields

2015-05-28 Thread Arend van Spriel
On 05/28/15 18:48, Jason Andryuk wrote: On Wed, May 27, 2015 at 1:31 PM, Arend van Sprielar...@broadcom.com wrote: diff --git a/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c b/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c index b0d0ff5..71779b9 100644 ---

[PATCH v2] ath10k: Debugfs entry to enable/disable WLANBlutooth Coexist feature

2015-05-28 Thread Yanbo Li
As some radio have no connection with BT modules, enable the WLAN/Bluetooth coexist(BTC) feature will has some side effect if the radio's GPIO connect with any other HW modules. Add the control switcher btc_feature at debugfs and set the feature as disable by default to avoid such case. To enable

[PATCH 1/2] ath10k: Add the adjacent wlan radio interference detecting interface

2015-05-28 Thread Yanbo Li
Some platforms integrate several radios together. When one radio wants to spectral scan the currently channel, the adjacent radio's activity will introduce some interference in the spectral scan result. To combat the problem, enable the FW to set a special mark within the spectral scan results.

[PATCH 2/2] ath10k: Ignore the adjacent radio's activity when surveying a channel

2015-05-28 Thread Yanbo Li
The overall goal for a scanning radio is to evaluate the outside radio environment. Some platforms integrate several radios together. When one radio wants to survey the current channel, the adjacent radio's activity will make this survey result inaccurate. the switcher can be used to enable the FW

Re: pull request: iwlmvm firmware -13.ucode

2015-05-28 Thread Grumbach, Emmanuel
and now with linux-wireless :) On Thu, 2015-05-28 at 20:53 +0300, Emmanuel Grumbach wrote: Signed this time. On Thu, 2015-05-28 at 20:53 +0300, Emmanuel Grumbach wrote: Hello, This is a pull request to include -13.ucode into mainline. This firmware can run on 7260, 3160, 7265,

Re: [PATCH v2] README: clarify redistribution requirements covering patents

2015-05-28 Thread Luis R. Rodriguez
On Tue, May 19, 2015 at 1:22 PM, Luis R. Rodriguez mcg...@do-not-panic.com wrote: This v2 just changes licence to license as requested by Arend. Please let me know if there is anything else needed. Luis -- To unsubscribe from this list: send the line unsubscribe linux-wireless in the body of a

Re: [PATCH 16/20] PKCS#7: Add an optional authenticated attribute to hold firmware name [ver #5]

2015-05-28 Thread Andy Lutomirski
[resending with further gmane screwups fixed] On 05/28/2015 08:48 AM, David Howells wrote: Modify the sign-file program to take a -F firmware name parameter. The name is a utf8 string that, if given, is inserted in a PKCS#7 authenticated attribute from where it can be extracted by the kernel.

Re: [PATCH] brcmfmac: use direct data pointer in NVRAM parser struct

2015-05-28 Thread Rafał Miłecki
On 28 May 2015 at 23:24, Arend van Spriel ar...@broadcom.com wrote: On 05/28/15 14:34, Rafał Miłecki wrote: On 28 May 2015 at 13:54, Arend van Sprielar...@broadcom.com wrote: On 05/28/15 13:37, Rafał Miłecki wrote: As we plan to add support for platform NVRAM we should store direct data

[PATCH] ath10k: fix possible ps sleep crash

2015-05-28 Thread Michal Kazior
If probing failed pci sleep timer could remain running and trigger after ath10k structures were freed causing invalid pointer dereference: BUG: unable to handle kernel paging request at c90001c80004 IP: [81354728] iowrite32+0x38/0x40 ... Call Trace: IRQ [a00da048] ?

Re: [PATCH] brcmfmac: simplify check stripping v2 NVRAM

2015-05-28 Thread Kalle Valo
Rafał Miłecki zaj...@gmail.com writes: Comparing NVRAM entry with a full filtering string is simpler than comparing it with a short prefix and then checking random chars at magic offsets. The cost of snprintf relatively low, we execute it just once. Tested on BCM43602 with NVRAM hacked to use

Re: [PATCH] mac80211: fix kernel-doc comments in mac80211.h

2015-05-28 Thread Johannes Berg
On Thu, 2015-05-28 at 00:30 +0100, Ben Hutchings wrote: On Wed, 2015-05-20 at 15:03 +0200, Johannes Berg wrote: On Mon, 2015-05-18 at 23:39 +0300, andrey.konova...@linaro.org wrote: Commits a818292 mac80211: convert rssi_callback() to event_callback() and a940909 mac80211: notify the

Re: kmalloc panic

2015-05-28 Thread pavani
Hi Cong , Thanks for the response. Where we need to fix the bug ?I mean in the driver or kernel source code or hardware level. Is there any possible cases in the driver to fix this issue. please reply me as soon as possible. Thanks pavani On 05/28/2015 10:45 AM, Cong Wang wrote:

Re: [PATCH] brcmfmac: simplify check finding NVRAM v1 device path

2015-05-28 Thread Kalle Valo
Rafał Miłecki zaj...@gmail.com writes: With a simple use of snprintf and small buffer we can compare NVRAM entry value with a full string. This way we avoid checking random chars at magic offsets. Tested on BCM43602 with NVRAM hacked to use v1 format. Signed-off-by: Rafał Miłecki

Re: brcmfmac: fix invalid access to struct acpi_device fields

2015-05-28 Thread Kalle Valo
The fields of struct acpi_device are only known when CONFIG_ACPI is defined. Fix this by using a helper function. This will resolve the issue found in linux-next: ../brcmfmac/bcmsdh.c: In function 'brcmf_ops_sdio_probe': ../brcmfmac/bcmsdh.c:1139:7: error: dereferencing pointer to

Re: [PATCHv4] add mt7601u driver

2015-05-28 Thread Kalle Valo
From: Jakub Kicinski kubak...@wp.pl Add support for the simplest of MediaTek Wi-Fi devices - MT7601U. It is a single stream bgn chip with no bells or whistles. This driver is partially based on Felix's mt76 but IMHO it doesn't make sense to merge the two right now because MT7601U is a

rtl8723be drops connection until reboot

2015-05-28 Thread Paweł Kowalik
One line summary of the problem: Realtek RTL8723BE drops connection until reboot Full description of the problem/report: Description from bug reported by me on Launchpad: (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1451233) I have a Lenovo B5400 laptop with RTL8723BE wireless

Re: [for-4.1] brcmfmac: avoid null pointer access whenbrcmf_msgbuf_get_pktid() fails

2015-05-28 Thread Kalle Valo
The function brcmf_msgbuf_get_pktid() may return a NULL pointer so the callers should check the return pointer before accessing it to avoid the crash below (see [1]): brcmfmac: brcmf_msgbuf_get_pktid: Invalid packet id 273 (not in use) BUG: unable to handle kernel NULL pointer dereference

[PATCH v2 1/2] nl80211: Add support to configure low ack threshold

2015-05-28 Thread Rajkumar Manoharan
Add a new nl80211 attribute to configure low ack threshold (number of consecutive frames) not being acked by station. This threshold is used to kickout station by driver through low ack event. This allows user to tune the parameter to improve robustness under noisy environment. Signed-off-by:

Re: [PATCH V4] brcmfmac: allow NVRAM values to contain spaces

2015-05-28 Thread Kalle Valo
Rafał Miłecki zaj...@gmail.com writes: Platform NVRAMs often contain values with spaces. Even if right now most firmware-supported entries are simple values, we shouldn't reject these with spaces. It was semi-confirmed by Broadcom in the early patch adding support for platform NVRAMs.

Re: [PATCH] brcmfmac: treat \0 as end of comment when parsing NVRAM

2015-05-28 Thread Kalle Valo
Rafał Miłecki zaj...@gmail.com writes: This fixes brcmfmac dealing with NVRAM coming from platform e.g. from a flash MTD partition. In such cases entries are separated by \0 instead of \n which caused ignoring whole content after the first comment. While platform NVRAM doesn't usually contain

Re: kmalloc panic

2015-05-28 Thread Johannes Berg
On Wed, 2015-05-27 at 22:15 -0700, Cong Wang wrote: rsi_client: module license 'Proprietary' taints kernel. Disabling lock debugging due to kernel taint RSI_Init called and registering the client driver If this is what I think it is - the redpine signals wifi driver, then I have no

Re: [for-4.1] brcmfmac: avoid null pointer access whenbrcmf_msgbuf_get_pktid() fails

2015-05-28 Thread Kalle Valo
Kalle Valo kv...@codeaurora.org writes: The function brcmf_msgbuf_get_pktid() may return a NULL pointer so the callers should check the return pointer before accessing it to avoid the crash below (see [1]): brcmfmac: brcmf_msgbuf_get_pktid: Invalid packet id 273 (not in use) BUG: unable to

RE: pull request: iwlwifi-next 2015-05-26

2015-05-28 Thread Grumbach, Emmanuel
Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: this is a pull request for 4.2. Nothing really stands out besides what I wrote in the tag. Even the diffstat hints what is the biggest part of this pull request :) I see there was a minor comment to one of the patches. Can I

[PATCH next 1/2] net: rfkill: gpio: make better use of gpiod API

2015-05-28 Thread Uwe Kleine-König
Since 39b2bbe3d715 (gpio: add flags argument to gpiod_get*() functions) which appeared in v3.17-rc1, the gpiod_get* functions take an additional parameter that allows to specify direction and initial value for output. Furthermore there is devm_gpiod_get_optional which is designed to get optional

[PATCH RFC next 2/2] net: rfkill: gpio: simplify code flow

2015-05-28 Thread Uwe Kleine-König
When assigning directly to the pointer contained in the driver data the local variable can be dropped together with the extra assignment to it. The downside is that davem doesn't like writing error pointers to dynamically allocated memory as this might result in bugs like: if

Re: pull request: iwlwifi-next 2015-05-26

2015-05-28 Thread Kalle Valo
Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: this is a pull request for 4.2. Nothing really stands out besides what I wrote in the tag. Even the diffstat hints what is the biggest part of this pull request :) I see there was a minor comment to one of the patches. Can I still pull

Re: pull request: iwlwifi-next 2015-05-26

2015-05-28 Thread Rafał Miłecki
On 28 May 2015 at 11:25, Grumbach, Emmanuel emmanuel.grumb...@intel.com wrote: Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: this is a pull request for 4.2. Nothing really stands out besides what I wrote in the tag. Even the diffstat hints what is the biggest part of this pull

[PATCH] brcmfmac: use direct data pointer in NVRAM parser struct

2015-05-28 Thread Rafał Miłecki
As we plan to add support for platform NVRAM we should store direct data pointer without the extra struct firmware layer. This will allow us to support other sources with the only requirement being u8 buffer. Signed-off-by: Rafał Miłecki zaj...@gmail.com Signed-off-by: Hante Meuleman

[PATCH next 0/2] net: rfkill: gpio: make better use of gpiod API

2015-05-28 Thread Uwe Kleine-König
Hello, this series adapts the rfkill-gpio driver to make use of the flags parameter of the gpiod_get* family of functions. Currently this is optional (with a crude cpp hack) but this should change. The second patch was split out because it probably makes davem break out in spots. Still I send it

RE: pull request: iwlwifi-next 2015-05-26

2015-05-28 Thread Grumbach, Emmanuel
Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: Note that there are fixes here that didn't make it to my previous pull request for 4.1. I tagged them for stable since the wording of your last pull request for 4.1 to Dave hinted me that you won't send any pull request for

pull request: iwlwifi-next 2015-05-28

2015-05-28 Thread Grumbach, Emmanuel
Hi Kalle, this is the same pull request for 4.2 with the typo fixed and without the patches that are now targeted to 4.1 Thanks The following changes since commit bbbe8c8c596b3784a2ed08772900e827f8ba72c5: mac80211: add missing documentation for rate_ctrl_lock (2015-05-06 16:00:32 +0200)

pull request: iwlwifi 2015-05-28

2015-05-28 Thread Grumbach, Emmanuel
Hi Kalle, as we talked, here is the pull request for 4.1. Thanks. The following changes since commit 292208914d8ca5a41cf68c2f1d2810a2ea2044e9: iwlwifi: mvm: avoid use-after-free on iwl_mvm_d0i3_enable_tx() (2015-05-21 22:36:46 +0300) are available in the git repository at:

Re: [PATCH] brcmfmac: use direct data pointer in NVRAM parser struct

2015-05-28 Thread Arend van Spriel
On 05/28/15 13:37, Rafał Miłecki wrote: As we plan to add support for platform NVRAM we should store direct data pointer without the extra struct firmware layer. This will allow us to support other sources with the only requirement being u8 buffer. Signed-off-by: Rafał Miłeckizaj...@gmail.com

Re: [PATCH] mac80211: fix kernel-doc comments in mac80211.h

2015-05-28 Thread Ben Hutchings
On Thu, 2015-05-28 at 09:00 +0200, Johannes Berg wrote: On Thu, 2015-05-28 at 00:30 +0100, Ben Hutchings wrote: On Wed, 2015-05-20 at 15:03 +0200, Johannes Berg wrote: On Mon, 2015-05-18 at 23:39 +0300, andrey.konova...@linaro.org wrote: Commits a818292 mac80211: convert rssi_callback()

pull-request: mac80211 2015-05-28

2015-05-28 Thread Johannes Berg
Hi Dave, Please excuse the quick succession with another pull request - Ben pointed out to me that a fix I'd applied on -next is actually needed on 4.1 - we'll have to live with it being in both I suppose. Sorry about that. johannes The following changes since commit

[PATCH 17/17] mwifiex: do not decrease tx_pending for AMSDU packet once more

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com Negative adapter-tx_pending is observed while running data traffic, because tx_pending is decreased once more for AMSDU packet. since tx_pending have been decreased for all the source MSDU packets, we don't need to update once more for AMSDU packet.

[PATCH 16/17] mwifiex: using right tid for addressing ra_list

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch fixes issue with the accessing correct ra_list by downgrading corresponding tid number. Alternatively, ra lists are created in mwifiex_wmm_add_buf_txqueue using downgraded tid number. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy

[PATCH 08/17] mwifiex: maintain station statistic in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch maintain statistic information for the stations associated to the mwifiex micro AP, include tx/rx bytes/packets, signal strength, tx bitrate. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by:

[PATCH 07/17] mwifiex: add cfg80211 get_channel handler

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 get_channel handler for mwifiex. The handler will be used to report current channel to upper layer utility. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil

[PATCH 12/17] mwifiex: support downloading IEs from tail

2015-05-28 Thread Avinash Patil
Earlier only RSN, WPA and channel switch IEs from tail buffer would be downloaded to FW. This patch adds support for downloading more IEs from tail buffer. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/ie.c | 102

[PATCH 13/17] mwifiex: drop block-ack action frames

2015-05-28 Thread Avinash Patil
We often see ADDBA request packets coming to driver because driver has registered for action frame subtype. We dont process BA action frames in host. Drop such frames. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Xinmin Hu h...@marvell.com Signed-off-by: Cathy Luo

[PATCH 06/17] mwifiex: disable CAC upon radar detection event

2015-05-28 Thread Avinash Patil
This patch adds support to disable ongoing CAC in FW upon detecting radar during CAC period. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11h.c | 30 ++ drivers/net/wireless/mwifiex/main.h | 2 ++ 2 files changed, 28

[PATCH 10/17] mwifiex: dump station support in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch extend cfg80211 dump_station handler, support for dump stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com ---

[PATCH 11/17] mwifiex: parse power constraint IE from Tail

2015-05-28 Thread Avinash Patil
This patch adds support to parse power constraint IEs from Tail buffer. This power constraint is then set to FW during bss_config download. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 +++

[PATCH 05/17] mwifiex: reset 11h active flag when chandef does not require dfs

2015-05-28 Thread Avinash Patil
This patch fixes an issue where we were still setting 11h_active flag to true for channel defs where DFS is not required. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 09/17] mwifiex: add sta_list firmware command

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add sta_list firmware command, which can be used to get power status and rssi for the stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo

[PATCH 04/17] mwifiex: enable 11d after bss reset

2015-05-28 Thread Avinash Patil
BSS reset would reset all state information in FW. Issue 11d config command after reset to enabled 11d in FW. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/uap_cmd.c | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH v2 1/2] nl80211: Add support to configure low ack threshold

2015-05-28 Thread Johannes Berg
On Thu, 2015-05-28 at 11:55 +0530, Rajkumar Manoharan wrote: @@ -837,6 +839,7 @@ struct station_parameters { u8 supported_oper_classes_len; u8 opmode_notif; bool opmode_notif_used; + u16 low_ack_threshold; This cannot work, it leaves no way to detect no change; you

[PATCH] brcmfmac: support NVRAMs containing pci devpaths (instead of pcie)

2015-05-28 Thread Rafał Miłecki
Recently Broadcom added support for NVRAMs with entries for multiple PCIe devices. One of the supported formats is based on prefixes defined like: devpath0=pcie/1/4/ and entries like 0:foo=bar 0:baz=qux etc. Unfortunately there are also a bit older devices using different way of defining

[PATCH 14/17] mwifiex: advertise PS ON by default support to cfg80211

2015-05-28 Thread Avinash Patil
This would enable driver to enter powersave as soon as connected. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 15/17] mwifiex: update AP WMM settings from BSS_START event

2015-05-28 Thread Avinash Patil
This was missing and would cause issue in WMM handling. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/uap_event.c | 63 1 file changed, 63 insertions(+) diff --git

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCHv2 08/17] mwifiex: maintain station statistic in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch maintain statistic information for the stations associated to the mwifiex micro AP, include tx/rx bytes/packets, signal strength, tx bitrate. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by:

[PATCHv2 09/17] mwifiex: add sta_list firmware command

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add sta_list firmware command, which can be used to get power status and rssi for the stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo

[PATCHv2 10/17] mwifiex: dump station support in uap mode

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch extend cfg80211 dump_station handler, support for dump stations associated to mwifiex micro AP. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com ---

Re: pull request: iwlwifi 2015-05-28

2015-05-28 Thread Kalle Valo
Grumbach, Emmanuel emmanuel.grumb...@intel.com writes: as we talked, here is the pull request for 4.1. Thanks. The following changes since commit 292208914d8ca5a41cf68c2f1d2810a2ea2044e9: iwlwifi: mvm: avoid use-after-free on iwl_mvm_d0i3_enable_tx() (2015-05-21 22:36:46 +0300) are

[PATCH 04/17] mwifiex: enable 11d after bss reset

2015-05-28 Thread Avinash Patil
BSS reset would reset all state information in FW. Issue 11d config command after reset to enabled 11d in FW. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/uap_cmd.c | 12 1 file changed, 12 insertions(+) diff --git

[PATCHv2 14/17] mwifiex: advertise PS ON by default support to cfg80211

2015-05-28 Thread Avinash Patil
This would enable driver to enter powersave as soon as connected. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40

[PATCHv2 06/17] mwifiex: disable CAC upon radar detection event

2015-05-28 Thread Avinash Patil
This patch adds support to disable ongoing CAC in FW upon detecting radar during CAC period. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/11h.c | 30 ++ drivers/net/wireless/mwifiex/main.h | 2 ++ 2 files changed, 28

[PATCHv2 07/17] mwifiex: add cfg80211 get_channel handler

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com This patch add cfg80211 get_channel handler for mwifiex. The handler will be used to report current channel to upper layer utility. Signed-off-by: Xinming Hu h...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com Signed-off-by: Avinash Patil

[PATCHv2 12/17] mwifiex: support downloading IEs from tail

2015-05-28 Thread Avinash Patil
Earlier only RSN, WPA and channel switch IEs from tail buffer would be downloaded to FW. This patch adds support for downloading more IEs from tail buffer. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/ie.c | 102

[PATCHv2 11/17] mwifiex: parse power constraint IE from Tail

2015-05-28 Thread Avinash Patil
This patch adds support to parse power constraint IEs from Tail buffer. This power constraint is then set to FW during bss_config download. Signed-off-by: Avinash Patil pat...@marvell.com Signed-off-by: Cathy Luo c...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 3 +++

[PATCHv2 17/17] mwifiex: do not decrease tx_pending for AMSDU packet once more

2015-05-28 Thread Avinash Patil
From: Xinming Hu h...@marvell.com Negative adapter-tx_pending is observed while running data traffic, because tx_pending is decreased once more for AMSDU packet. since tx_pending have been decreased for all the source MSDU packets, we don't need to update once more for AMSDU packet.

[PATCHv2 05/17] mwifiex: reset 11h active flag when chandef does not require dfs

2015-05-28 Thread Avinash Patil
This patch fixes an issue where we were still setting 11h_active flag to true for channel defs where DFS is not required. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40

[PATCH 03/17] mwifiex: support AP reset after bss_stop

2015-05-28 Thread Avinash Patil
This would enable clearing of FW bss data structures when AP operations are stopped. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c| 7 +++ drivers/net/wireless/mwifiex/cmdevt.c | 1 + drivers/net/wireless/mwifiex/fw.h | 1 +

[PATCH 03/17] mwifiex: support AP reset after bss_stop

2015-05-28 Thread Avinash Patil
This would enable clearing of FW bss data structures when AP operations are stopped. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c| 7 +++ drivers/net/wireless/mwifiex/cmdevt.c | 1 + drivers/net/wireless/mwifiex/fw.h | 1 +

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 03/17] mwifiex: support AP reset after bss_stop

2015-05-28 Thread Avinash Patil
Hi Kalle, Please ignore this series. Looks like some of the patches are duplicated because of email client issue. I will resend v2. Thanks, Avinash From: Avinash Patil pat...@marvell.com Sent: Thursday, May 28, 2015 6:22 PM To:

[PATCHv2 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCHv2 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40

[PATCHv2 00/17] mwifiex patches

2015-05-28 Thread Avinash Patil
This patch series mainly adds enhancements for mwifiex AP. With this series, we support verbose information in station dump command also inforamation about AP link. Another important enhancement is related to parsing IEs from Tail of beacon_data. Few issues seen during DFS testing are also fixed

Re: [PATCH] mac80211: fix kernel-doc comments in mac80211.h

2015-05-28 Thread Johannes Berg
On Thu, 2015-05-28 at 13:34 +0100, Ben Hutchings wrote: It's a build failure so it should go upstream now. Ok, I was under the impression it's a warning. I guess I'll just have to send a copy of the commit to 4.1 then - git will sort out getting it twice I suppose. johannes -- To unsubscribe

Re: [PATCH] brcmfmac: use direct data pointer in NVRAM parser struct

2015-05-28 Thread Rafał Miłecki
On 28 May 2015 at 13:54, Arend van Spriel ar...@broadcom.com wrote: On 05/28/15 13:37, Rafał Miłecki wrote: As we plan to add support for platform NVRAM we should store direct data pointer without the extra struct firmware layer. This will allow us to support other sources with the only

[PATCH 01/17] mwifiex: verbose logging for association failure messages

2015-05-28 Thread Avinash Patil
This patch adds more logging support for association failure - reason and states. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/fw.h | 15 +-- drivers/net/wireless/mwifiex/join.c | 30 +++--- 2 files changed, 40

[PATCH 00/17] mwifiex patches

2015-05-28 Thread Avinash Patil
This patch series mainly adds enhancements for mwifiex AP. With this series, we support verbose information in station dump command also inforamation about AP link. Another important enhancement is related to parsing IEs from Tail of beacon_data. Few issues seen during DFS testing are also fixed

[PATCH 02/17] mwifiex: correct bss_type assignment

2015-05-28 Thread Avinash Patil
Correct bss_type assignment in add_virtual_interface. This would ensure correct operation in multiple station scenarios. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 03/17] mwifiex: support AP reset after bss_stop

2015-05-28 Thread Avinash Patil
This would enable clearing of FW bss data structures when AP operations are stopped. Signed-off-by: Avinash Patil pat...@marvell.com --- drivers/net/wireless/mwifiex/cfg80211.c| 7 +++ drivers/net/wireless/mwifiex/cmdevt.c | 1 + drivers/net/wireless/mwifiex/fw.h | 1 +

Re: [PATCH 00/20] MODSIGN: Use PKCS#7 for module signatures [ver #5]

2015-05-28 Thread David Woodhouse
On Thu, 2015-05-28 at 16:46 +0100, David Howells wrote: Additionally, the last four patches are provisionally added to support firmware signing, but will need further modification (ie. registration of OIDs) before they can be committed, but are included for comment: I'd quite like to see a

[PATCH 05/20] MODSIGN: Use PKCS#7 messages as module signatures [ver #5]

2015-05-28 Thread David Howells
Move to using PKCS#7 messages as module signatures because: (1) We have to be able to support the use of X.509 certificates that don't have a subjKeyId set. We're currently relying on this to look up the X.509 certificate in the trusted keyring list. (2) PKCS#7 message signed

[PATCH 11/20] modsign: Allow signing key to be PKCS#11 [ver #5]

2015-05-28 Thread David Howells
From: David Woodhouse david.woodho...@intel.com This is only the key; the corresponding *cert* still needs to be in $(topdir)/signing_key.x509. And there's no way to actually use this from the build system yet. Signed-off-by: David Woodhouse david.woodho...@intel.com Signed-off-by: David Howells

[PATCH 08/20] MODSIGN: Extract the blob PKCS#7 signature verifier from module signing [ver #5]

2015-05-28 Thread David Howells
Extract the function that drives the PKCS#7 signature verification given a data blob and a PKCS#7 blob out from the module signing code and lump it with the system keyring code as it's generic. This makes it independent of module config options and opens it to use by the firmware loader.

[PATCH 07/20] system_keyring.c doesn't need to #include module-internal.h [ver #5]

2015-05-28 Thread David Howells
system_keyring.c doesn't need to #include module-internal.h as it doesn't use the one thing that exports. Remove the inclusion. Signed-off-by: David Howells dhowe...@redhat.com --- kernel/system_keyring.c |1 - 1 file changed, 1 deletion(-) diff --git a/kernel/system_keyring.c

[PATCH 04/20] MODSIGN: Provide a utility to append a PKCS#7 signature to a module [ver #5]

2015-05-28 Thread David Howells
Provide a utility that: (1) Digests a module using the specified hash algorithm (typically sha256). [The digest can be dumped into a file by passing the '-d' flag] (2) Generates a PKCS#7 message that: (a) Has detached data (ie. the module content). (b) Is signed with the

[PATCH 00/20] MODSIGN: Use PKCS#7 for module signatures [ver #5]

2015-05-28 Thread David Howells
Here's a set of patches that does the following: (1) Extracts both parts of an X.509 AuthorityKeyIdentifier (AKID) extension. We already extract the bit that can match the subjectKeyIdentifier (SKID) of the parent X.509 cert, but we currently ignore the bits that can match the

[PATCH 02/20] X.509: Support X.509 lookup by Issuer+Serial form AuthorityKeyIdentifier [ver #5]

2015-05-28 Thread David Howells
If an X.509 certificate has an AuthorityKeyIdentifier extension that provides an issuer and serialNumber, then make it so that these are used in preference to the keyIdentifier field also held therein for searching for the signing certificate. If both the issuer+serialNumber and the keyIdentifier

[PATCH 03/20] PKCS#7: Allow detached data to be supplied for signature checking purposes [ver #5]

2015-05-28 Thread David Howells
It is possible for a PKCS#7 message to have detached data. However, to verify the signatures on a PKCS#7 message, we have to be able to digest the data. Provide a function to supply that data. An error is given if the PKCS#7 message included embedded data. This is used in a subsequent patch to

[PATCH 06/20] sign-file: Add option to only create signature file [ver #5]

2015-05-28 Thread David Howells
From: Luis R. Rodriguez mcg...@suse.com Make the -d option (which currently isn't actually wired to anything) write out the PKCS#7 message as per the -p option and then exit without either modifying the source or writing out a compound file of the source, signature and metadata. This will be

[PATCH 10/20] modsign: Allow password to be specified for signing key [ver #5]

2015-05-28 Thread David Howells
From: David Woodhouse david.woodho...@intel.com We don't want this in the Kconfig since it might then get exposed in /proc/config.gz. So make it a parameter to Kbuild instead. This also means we don't have to jump through hoops to strip quotes from it, as we would if it was a config option.

[PATCH 01/20] X.509: Extract both parts of the AuthorityKeyIdentifier [ver #5]

2015-05-28 Thread David Howells
Extract both parts of the AuthorityKeyIdentifier, not just the keyIdentifier, as the second part can be used to match X.509 certificates by issuer and serialNumber. Signed-off-by: David Howells dhowe...@redhat.com Tested-by: Vivek Goyal vgo...@redhat.com --- crypto/asymmetric_keys/Makefile

[PATCH 09/20] modsign: Abort modules_install when signing fails [ver #5]

2015-05-28 Thread David Howells
From: David Woodhouse david.woodho...@intel.com Signed-off-by: David Woodhouse david.woodho...@intel.com Signed-off-by: David Howells dhowe...@redhat.com --- scripts/Makefile.modinst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Makefile.modinst

  1   2   >