Re: linux-next: build warning after merge of the mac80211-next tree

2018-05-11 Thread Stephen Rothwell
Hi all, Just cc'ing the wireless list at Kalle's suggestion. On Wed, 9 May 2018 14:56:24 +1000 Stephen Rothwell wrote: > > Hi Johannes, > > After merging the mac80211-next tree, today's linux-next build (arm_multi > v7_defconfig) produced this warning: > >

[PATCH] ath10k: Add support to configure channel dwell time

2018-05-11 Thread Pradeep Kumar Chitrapu
Configure channel dwell time from duration of the scan request received from mac80211 when the duration is non-zero. When the scan request does not have duration value, use the default ones, the current implementation. Corresponding flag NL80211_EXT_FEATURE_SET_SCAN_DWELL is advertized.

Re: [PATCH 1/3] ath10k: Add ath10k-ct firmware feature flags and descriptions.

2018-05-11 Thread Jeff Johnson
On 2018-05-11 14:42, gree...@candelatech.com wrote: From: Ben Greear These feature flags are used by ath10k-ct firmware. Add these so we can use them in future patches and so there are no warings typo: warings => warnings

Re: [PATCH 3/6] firmware: differentiate between signed regulatory.db and other firmware

2018-05-11 Thread Luis R. Rodriguez
On Fri, May 11, 2018 at 01:00:26AM -0400, Mimi Zohar wrote: > On Thu, 2018-05-10 at 23:26 +, Luis R. Rodriguez wrote: > > On Wed, May 09, 2018 at 10:00:58PM -0400, Mimi Zohar wrote: > > > On Wed, 2018-05-09 at 23:48 +, Luis R. Rodriguez wrote: > > > > On Wed, May 09, 2018 at 06:06:57PM

[PATCH 2/3] ath10k: Don't try un-supported idle_ps_config command.

2018-05-11 Thread greearb
From: Ben Greear The warning the the logs does not give user a clue as to what command is failing, so it is worth it to check for un-supported command before trying the call. And add return-code to survey error message. Signed-off-by: Ben Greear

[PATCH 1/3] ath10k: Add ath10k-ct firmware feature flags and descriptions.

2018-05-11 Thread greearb
From: Ben Greear These feature flags are used by ath10k-ct firmware. Add these so we can use them in future patches and so there are no warings about feature flags on loading ath10k-ct firmware. Signed-off-by: Ben Greear ---

[PATCH 3/3] ath10k: Support survey dump for ath10k-ct 10.1 firmware.

2018-05-11 Thread greearb
From: Ben Greear Recent ath10k-ct 10.1 firmware supports survey results, and advertises the appropriate service flags. This confuses the ath10k driver because the 10.1 wmi commands are not set up for survey information. So, this patch adds support for handling survey

Re: [PATCH 11/12] ath10k: Add wlan mode on/off qmi message

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:41 PDT 2018, Govind Singh wrote: > Add qmi message required for enabling and disabling > target to qmi server running in Q6. > > Signed-off-by: Govind Singh > --- > drivers/net/wireless/ath/ath10k/qmi.c | 226 > +- >

Re: [PATCH 10/12] ath10k: add bdf/cal indication support

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:41 PDT 2018, Govind Singh wrote: > Add support for bdf download and cold boot > calibration trigger qmi message support. > > Signed-off-by: Govind Singh > --- > drivers/net/wireless/ath/ath10k/qmi.c | 195 > ++ >

Re: [PATCH 09/12] ath10k: Add QMI HOST CAP request support

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:41 PDT 2018, Govind Singh wrote: > Add support for host capablity request > qmi message for wcn3990 target. > > Signed-off-by: Govind Singh > --- > drivers/net/wireless/ath/ath10k/qmi.c | 65 > +++ > 1 file changed, 65

Re: [PATCH 08/12] ath10k: Add QMI CAP request support

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:40 PDT 2018, Govind Singh wrote: > Add support for target capablity request > qmi message for wcn3990 target. > > Signed-off-by: Govind Singh > --- > drivers/net/wireless/ath/ath10k/qmi.c | 91 > +++ >

Re: [PATCH 07/12] ath10k: Add MSA handshake QMI mgs support

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:40 PDT 2018, Govind Singh wrote: > HOST allocates 2mb of region for modem and WCN3990 > secure access and provides the address and access > control to target for secure access. > Add MSA handshake request/response messages. > > Signed-off-by: Govind Singh

Re: [PATCH 05/12] ath10k: Add support of QMI indication message

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:40 PDT 2018, Govind Singh wrote: > Add support of indication qmi message to communicate > with wlan qmi server. Indication message request > describes client capability and in response client > gets the state of wlan qmi service. > > Signed-off-by: Govind Singh

Re: [PATCH 04/12] ath10k: add support to start and stop qmi service

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:39 PDT 2018, Govind Singh wrote: > Add support to start qmi service to configure the wlan > firmware component and register event notifier to communicate > with the WLAN firmware over qmi communication interface. > > Signed-off-by: Govind Singh > --- >

Re: [PATCH 03/12] ath10k: Add ath10k QMI client driver

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:39 PDT 2018, Govind Singh wrote: > Add QMI client driver for Q6 integrated WLAN connectivity > subsystem. This module is responsible for communicating WLAN > control messages to FW over QUALCOMM MSM Interface (QMI). > > Signed-off-by: Govind Singh > ---

Re: [PATCH 02/12] dt: bindings: add bindings for ath10k qmi client

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:39 PDT 2018, Govind Singh wrote: > Add device tree binding documentation details for ath10k > qmi client for SDM845/APQ8098 SoC into "qcom,ath10k.txt". > > Signed-off-by: Govind Singh > --- >

Re: [PATCH 01/12] ath10k: Add qmi service for wlan qmi client

2018-05-11 Thread Bjorn Andersson
On Sun 25 Mar 22:38 PDT 2018, Govind Singh wrote: > WLAN qmi server running in Q6 dsp exposes host > to target cold boot qmi handshake. > Add WLAN QMI service helpers for WLAN serivice. > > Signed-off-by: Govind Singh > --- >

[PATCH] cfg80211: Fix support for flushing old scan results

2018-05-11 Thread Tim Kourt
__cfg80211_bss_expire function was incorrectly used to flush the BSS entries from the previous scan results, causing NL80211_SCAN_FLAG_FLUSH flag to have no effect. This patch is addressing the described issue by changing the semantics of the function (__cfg80211_bss_expire) parameter from a

[PATCH 3/3] rsi: Set wowlan flag while writing wowlan config parameters

2018-05-11 Thread Sushant Kumar Mishra
From: Siva Rebbagondla As wowlan enable flag did not set, while writing wowlan parameters to card using rsi_send_vap_dynamic_update, which results firmware is unable to set wowlan configurations. Hence, setting wowlan flag before sending parameters.

[no subject]

2018-05-11 Thread Sushant Kumar Mishra
From: Sushant Kumar Mishra Date: Fri, 11 May 2018 19:27:48 +0530 Subject: [PATCH 0/3] rsi: wowlan fixes This patch series will fix wowlan issues found in verification. Sanjay Kumar Konduri (1): rsi: Add null check for virtual interfaces in wowlan config

[PATCH 2/3] rsi: reset hibernate_resume flag to work hibernate resume in coex mode.

2018-05-11 Thread Sushant Kumar Mishra
From: Siva Rebbagondla In coex mode, observed hibernate resume is not working properly, as the hibernate_resume flag is not getting reset in rsi_coex_recv_pkt(), when common card ready indication received from firmware. Hence resetting hibernate_resume flag

[PATCH 1/3] rsi: Add null check for virtual interfaces in wowlan config

2018-05-11 Thread Sushant Kumar Mishra
From: Sanjay Kumar Konduri When the "poweroff" command is executed after wowlan enabled, we have observed a system crash. In the system "poweroff" sequence, network-manager is sent to inactive state by cleaning up the network interfaces, using

[PATCH] cfg80211: fix spelling mistake: "uknown" -> "unknown"

2018-05-11 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in pr_debug message text Signed-off-by: Colin Ian King --- net/wireless/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/wireless/reg.c b/net/wireless/reg.c

Re: [PATCH V2 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-11 Thread Larry Finger
On 05/11/2018 05:13 AM, Kalle Valo wrote: Rafał Miłecki writes: On 11 May 2018 at 11:17, Rafał Miłecki wrote: From: Rafał Miłecki This reverts commit 882164a4a928bcaa53280940436ca476e6b1db8e. Above commit added "SSB = y" dependency to

Re: [PATCH V2 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-11 Thread Rafał Miłecki
On 11 May 2018 at 12:13, Kalle Valo wrote: > Rafał Miłecki writes: > >> On 11 May 2018 at 11:17, Rafał Miłecki wrote: >>> From: Rafał Miłecki >>> >>> This reverts commit 882164a4a928bcaa53280940436ca476e6b1db8e. >>>

Re: [PATCH 4.17 2/2] ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y

2018-05-11 Thread Kalle Valo
Larry Finger writes: > On 05/10/2018 06:14 AM, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> SSB_PCICORE_HOSTMODE protects MIPS specific code that calls not exported >> symbols pcibios_enable_device and register_pci_controller. This code is >>

Re: ssb: Fix regression caused by disabling PCI cores on non-MIPS architecture

2018-05-11 Thread Kalle Valo
Larry Finger wrote: > Some MPIS-based SoCs use chips driven by b43 for wireless capability. > When ssb is configured as a module, build errors happen on these > platforms as described in the commit 882164a4a928 ("ssb: Prevent build > of PCI host features in module").

[PATCH] brcmfmac: add debugfs entry for reading firmware capabilities

2018-05-11 Thread Rafał Miłecki
From: Rafał Miłecki This allows reading all capabilities as reported by a firmware. They are printed using native (raw) names, just like developers like it the most. It's how firmware reports support for various features, e.g. supported modes, supported standards, power saving

Re: [PATCH v2] drivers/net/wireless/broadcom/b43: fix transmit failure when VT is switched

2018-05-11 Thread Kalle Valo
Taketo Kabe writes: > From: Taketo Kabe > > Fix for b43 wireless card stopping transmission when switching VTs. The title is wrong, it should be: b43: fix transmit failure when VT is switched I can fix that during commit.

Re: [PATCH V2 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-11 Thread Kalle Valo
Rafał Miłecki writes: > On 11 May 2018 at 11:17, Rafał Miłecki wrote: >> From: Rafał Miłecki >> >> This reverts commit 882164a4a928bcaa53280940436ca476e6b1db8e. >> >> Above commit added "SSB = y" dependency to the wrong symbol >>

Re: [PATCH V2 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-11 Thread Rafał Miłecki
On 11 May 2018 at 11:17, Rafał Miłecki wrote: > From: Rafał Miłecki > > This reverts commit 882164a4a928bcaa53280940436ca476e6b1db8e. > > Above commit added "SSB = y" dependency to the wrong symbol > SSB_DRIVER_PCICORE_POSSIBLE and prevented SSB_DRIVER_PCICORE

[PATCH V2 2/2] ssb: make SSB_PCICORE_HOSTMODE depend on SSB = y

2018-05-11 Thread Rafał Miłecki
From: Rafał Miłecki SSB_PCICORE_HOSTMODE protects MIPS specific code that calls not exported symbols pcibios_enable_device and register_pci_controller. This code is supposed to be compiled only with ssb builtin. This fixes: ERROR: "pcibios_enable_device" [drivers/ssb/ssb.ko]

[PATCH V2 1/2] Revert "ssb: Prevent build of PCI host features in module"

2018-05-11 Thread Rafał Miłecki
From: Rafał Miłecki This reverts commit 882164a4a928bcaa53280940436ca476e6b1db8e. Above commit added "SSB = y" dependency to the wrong symbol SSB_DRIVER_PCICORE_POSSIBLE and prevented SSB_DRIVER_PCICORE from being selected when needed. PCI core driver for core running in

[PATCH v2 15/30] staging: wilc1000: fix line over 80 charas in wilc_wfi_remain_on_channel_expired()

2018-05-11 Thread Ajay Singh
Refactor wilc_wfi_remain_on_channel_expired() to avoid line over 80 character issue reported by checkpatch.pl script. Also assigned value in the variable at the time of declaration. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 16

[PATCH v2 29/30] staging: wilc1000: remove s8idxarray to avoid datatype in variable name

2018-05-11 Thread Ajay Singh
Cleanup patch to have variable names as per linux coding style. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c

[PATCH v2 27/30] staging: wilc1000: added comments for mutex and spinlock_t

2018-05-11 Thread Ajay Singh
Added comments for mutex and spinlock_t to avoid checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.h | 2 +- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff

[PATCH v2 26/30] staging: wilc1000: remove 'flag' argument from wilc_mac_indicate()

2018-05-11 Thread Ajay Singh
Remove 'flag' function parameter in wilc_mac_indicate() as only one condition was handled using that parameter. Also removed unnecessary call to wilc_mac_indicate() as no operation was performed in that function call. After above changes below macros are not required anymore.

[PATCH v2 30/30] staging: wilc1000: refactor host_int_parse_assoc_resp_info() to remove unused code

2018-05-11 Thread Ajay Singh
Remove 'connect_resp_info' structure as most of its elements are not used. Modified wilc_parse_assoc_resp_info() to directly parse and fill value in connect_info structure variable. Remove use of 'assoc_resp_len' variable. get_assoc_resp_cap_info() & get_asoc_id() functions are remove as its not

[PATCH v2 28/30] staging: wilc1000: remove unused 'lock' varible in 'wilc_priv' structure

2018-05-11 Thread Ajay Singh
Cleanup patch to remove the unused variable from 'wilc_priv' structure. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h

[PATCH v2 22/30] staging: wilc1000: rename u8security to avoid datatype in variable name

2018-05-11 Thread Ajay Singh
Cleanup patch to avoid use of datatype in variable name to follow as per linux coding style. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH v2 20/30] staging: wilc1000: fix line over 80 chars in scan()

2018-05-11 Thread Ajay Singh
Fix line over 80 characters issues found by checkpatch.pl script with the help of local variable. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[PATCH v2 21/30] staging: wilc1000: fix line over 80 chars issue in connect()

2018-05-11 Thread Ajay Singh
Fix line over 80 characters in connect() by using temporary variables. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 29 +-- 1 file changed, 17 insertions(+), 12 deletions(-) diff --git

[PATCH v2 23/30] staging: wilc1000: refactor del_station() to avoid parenthesis misalignment

2018-05-11 Thread Ajay Singh
Refactor the code to fix open parenthesis alignment issue reported by checkpatch.pl script in del_station(). Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff

[PATCH v2 25/30] staging: wilc1000: added #define for setting radiotap header

2018-05-11 Thread Ajay Singh
Added new macro to resolve below checkpatch issues in linux_mon. "Lines should not end with a '('" Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/linux_mon.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

[PATCH v2 24/30] staging: wilc1000: fix line over 80 chars in wilc_sdio struct

2018-05-11 Thread Ajay Singh
Fix line over 80 chars issue found by checkpatch.pl script by placing the comment message above the macro preprocessor. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_sdio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH v2 19/30] staging: wilc1000: fix line over 80 characters in add_key()

2018-05-11 Thread Ajay Singh
Fix line over 80 character issue found by checkpatch.pl script in add_key(). Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git

[PATCH v2 10/30] staging: wilc1000: use sizeof(*wdev) to allocate memory in wilc_wfi_cfg_alloc()

2018-05-11 Thread Ajay Singh
Fix below reported checkpatch issues in wilc_wfi_cfg_alloc(). kzalloc(sizeof(*wdev)...) over kzalloc(sizeof(struct wireless_dev) Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 11/30] staging: wilc1000: use kmalloc(sizeof(*mgmt_tx)...) in mgmt_tx()

2018-05-11 Thread Ajay Singh
Fix below checkpatch issue found in mgmt_tx() Prefer kmalloc(sizeof(*mgmt_tx)...) over kmalloc(sizeof(struct p2p_mgmt_data)...) Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 07/30] staging: wilc1000: fix line over 80 chars in host_int_parse_assoc_resp_info()

2018-05-11 Thread Ajay Singh
Fix line over 80 characters issue in host_int_parse_assoc_resp_info() by using shorter name for the local variable. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH v2 08/30] staging: wilc1000: replace kmalloc with kmemdup() in handle_connect_timeout()

2018-05-11 Thread Ajay Singh
Instead of kmalloc and memcpy use kmemdup in handle_connect_timeout(). Also return -ENOMEM incase of failure to allocate the memory. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-)

[PATCH v2 04/30] staging: wilc1000: fix line over 80 characters issue in handle_connect()

2018-05-11 Thread Ajay Singh
Fix line over 80 character issue found by checkpatch.pl script by aligning the input argument in function call. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v2 00/30] staging: wilc1000: checkpatch fixes and code cleanup

2018-05-11 Thread Ajay Singh
This patch series contains modification to remove checkpatch related issues, mainly related to 'line over 80 chars'. Also code cleanup related change to follow as per linux coding style are included in this patch series. changes from v1: - Dropped patch#5 and add a new patch #30 to address its

[PATCH v2 02/30] staging: wilc1000: remove 'ret' variable in handle_key()

2018-05-11 Thread Ajay Singh
Remove the use of unnecessary 'ret' variable and use existing 'result' variable to hold the status. Also changed type of 'result' from s32 to int to confirm with the function return type. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 17

[PATCH v2 05/30] staging: wilc1000: fix line over 80 chars issue in host_int_handle_disconnect()

2018-05-11 Thread Ajay Singh
Fix line over 80 char issue in host_int_handle_disconnect() by using temp variable to hold the 'wilc_connect_result' function pointer. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 8 1 file changed, 4 insertions(+), 4 deletions(-)

[PATCH v2 06/30] staging: wilc1000: fix line over 80 characters in host_int_parse_join_bss_param()

2018-05-11 Thread Ajay Singh
Split host_int_parse_join_bss_param() to avoid the line over 80 character issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 247 -- 1 file changed, 131 insertions(+), 116

[PATCH v2 09/30] staging: wilc1000: fix line over 80 chars in linux_mon

2018-05-11 Thread Ajay Singh
Fix line over 80 char issue reported by checkpatch.pl script. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/linux_mon.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.c

[PATCH v2 01/30] staging: wilc1000: added complete() call for error scenario in handle_key()

2018-05-11 Thread Ajay Singh
During memory allocation failure in handle_key() the complete() was not called for comp_test_key_block event. So now added the code to call complete() for event during error scenario. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 19

[PATCH v2 03/30] staging: wilc1000: fix line over 80 chars in handle_key()

2018-05-11 Thread Ajay Singh
Fix checkpatch reported issue of line over 80 char in handle_key(). Introduced new functions by spliting existing function to address the checkpatch issue. Signed-off-by: Ajay Singh --- drivers/staging/wilc1000/host_interface.c | 59 +++ 1