[RESEND PATCH] NFC: added the sysfs entry for nfcsim workqueue delay

2015-12-13 Thread Saurabh Sengar
added the sysfs entry for nfcsim workqueue delay, as tx_delay Signed-off-by: Saurabh Sengar --- In case this TODO is not expected to be done, please let me know. I wonder after my repeated attempts since last 50 days, I am not able to get a single response. Resending this patch in hope to get so

[PATCH] mac80211: Recalc min chandef when station is associated

2015-12-13 Thread Emmanuel Grumbach
From: Ilan Peer The minimum chandef bandwidth calculation was done only in case a new station was inserted (or when an existing station was removed). However, it is possible that stations are inserted before they are associated, e.g., when FULL_AP_CLIENT_STATE is supported and user space adds sta

Re: [PATCH 1/2] mac80211: pass block ack session timeout to to driver

2015-12-13 Thread Emmanuel Grumbach
On Tue, Dec 8, 2015 at 7:09 PM, Emmanuel Grumbach wrote: > From: Sara Sharon > > Currently mac80211 does not inform the driver of the session > block ack timeout when starting a rx aggregation session. > Drivers that manage the reorder buffer need to know this > parameter. > Seeing that there are

[PATCH v2] mac80211: limit the A-MSDU Tx based on peer's capabilities

2015-12-13 Thread Emmanuel Grumbach
In VHT, the specification allows to limit the number of MSDUs in an A-MSDU in the Extended Capabilities IE. There is also a limitation on the byte size in the VHT IE. In HT, the only limitation is on the byte size. Parse the capabilities from the peer and make them available to the driver. In HT,

[PATCH] nl80211: Potential memory leaks in reg.c

2015-12-13 Thread Ola Olsson
The first leak occurs when entering the default case in the switch for the initiator in set_regdom. The second leaks a platform_device struct if the platform registration in regulatory_init succeeds but the sub sequent regulatory hint fails due to no memory. Signed-off-by: Ola Olsson --- net/wir

Re: iwlwifi - L1 Enabled - LTR Enabled loop

2015-12-13 Thread Arend van Spriel
On 12/12/2015 12:32 AM, Johannes Berg wrote: On Fri, 2015-12-11 at 15:17 -0800, Luis R. Rodriguez wrote: I just tried a base config from opensuse, then localmodconfig, then 'make xenconfig' (which I need) and that worked. I can't debug further but I think this config might help debug this furth

Re: rtl8xxxu driver status

2015-12-13 Thread Jes Sorensen
Bob Marcan writes: > Hi All. > Probably in the interest of all of us, question to > Jes Sorensen, Jakub Sitnicki and of course Larry Finger. > In which kernel version the rtl8xxxu driver will be included? > The rtl8192eu chipset are mentioned in some paches. > Are or will be this chipset suppor

Re: iwlwifi - L1 Enabled - LTR Enabled loop

2015-12-13 Thread Grumbach, Emmanuel
On 12/14/2015 01:04 AM, Arend van Spriel wrote: > On 12/12/2015 12:32 AM, Johannes Berg wrote: >> On Fri, 2015-12-11 at 15:17 -0800, Luis R. Rodriguez wrote: >>> I just tried a base config from opensuse, then localmodconfig, then >>> 'make xenconfig' (which I need) and that worked. I can't debug

[PATCH 01/12] staging: wilc1000: pass vif to hostIFthread

2015-12-13 Thread Glen Lee
We will pass vif, which is currently being used as net_device, instead of hif_dev. This is the first step to use index of vif to pass to the driver. Add new argument vif to all the functions that send message to hostIFthread and set vif to msg.vif. As a result, hostIfthread will get vif. In later p

[PATCH 00/12] Use index of interface to communicate with wilc device

2015-12-13 Thread Glen Lee
Wilc device now use index of wfidrv_list which is list of host_if_drv pointers. Each host_if_drv correspond with each wilc_vif interface, so we can use index of vif. Therefore, so no need to make another list, wfidrv_list, to lookup which interface the device is communicating. Here are brief steps

[PATCH 08/12] staging: wilc1000: remove used functions

2015-12-13 Thread Glen Lee
This patch remove unused functions add_handler_in_list and remove_handler_in_list, and it's related global variable wfidrv_list and codes. label fail_timer_2 and it's codes are removed since label is not used anymore. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 44 ---

[PATCH 07/12] staging: wilc1000: change join_req_drv type and it's name

2015-12-13 Thread Glen Lee
To use wilc_get_vif_idx instead of the last get_id_from_handler, join_req_drv needs to be changed it's type with wilc_vif and name as well. As a result, get_id_from_handler is not used anymore, so remove it. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 33 +

[PATCH 09/12] staging: wilc1000: remove drv of struct host_if_msg

2015-12-13 Thread Glen Lee
This patch remove drv of struct host_if msg and it's related codes. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 50 ++- 1 file changed, 3 insertions(+), 47 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/stag

[PATCH 06/12] staging: wilc1000: wilc_set_wfi_drv_handler: pass vif index

2015-12-13 Thread Glen Lee
Pass index of vif instead of hif_drv. wilc_get_vif_idx is used to get correct index of vif. In the handler function handle_set_wfi_drv_handler, use vif instead of hif_drv, and use hif_drv_handler->handler instead of hif_drv when deinitialize wilc device. Signed-off-by: Glen Lee --- drivers/stagi

[PATCH 03/12] staging: wilc1000: take vif instead of drv in hostIFthread

2015-12-13 Thread Glen Lee
In the first patch, we sent vif to hostIFthread. we can use vif instead of drv in the all functions which handle the commands from cfg operations. Change first argument host_if_drv with wilc_vif and use hif_drv of wilc_vif. Pass vif to the functions as well. In case of timer callback functions, set

[PATCH 02/12] staging: wilc1000: remove argument hif_drv

2015-12-13 Thread Glen Lee
In previous patch we add new argument vif which has hif_drv in it's member. Therefore, no need to pass hif_drv in those functions. Remove argument struct host_if_drv and use hif_drv of vif. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 176 - dri

[PATCH 04/12] staging: wilc1000: pass struct wilc

2015-12-13 Thread Glen Lee
Pass struct wilc to the following functions. The functions need wilc to get proper vif using id from wilc device. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/coreconfigurator.h | 11 ++- drivers/staging/wilc1000/host_interface.c | 9 ++--- drivers/staging/wilc1000/wilc_wl

[PATCH 05/12] staging: wilc1000: use vif index to communicate with wilc device

2015-12-13 Thread Glen Lee
We now have vif index in all functions related with host interface thread. wilc_get_vif_idx and wilc_get_vif_from_idx are added to get id and vif respectively. Relace get_id_from_handler with wilc_get_vif_idx and get_handler_from_id with wilc_get_vif_from_idx. Remove unused function get_handler_fro

[PATCH 11/12] staging: wilc1000: set hif_drv before it is used

2015-12-13 Thread Glen Lee
We are using hif_drv of vif, so it needs to be set before it is used. Set hif_drv to vif->hifdrv soon after it is allocated. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 6 ++ drivers/staging/wilc1000/linux_wlan.c | 1 - 2 files changed, 6 insertions(+), 1 dele

[PATCH 10/12] staging: wilc1000: remove wilc of struct host_if_drv

2015-12-13 Thread Glen Lee
vif has wilc in it's members so no need to have wilc in host_if_drv. It is redundant so just remove it and use wilc of vif. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/host_interface.c | 100 -- drivers/staging/wilc1000/host_interface.h | 1 - 2 files chang

[PATCH 12/12] staging: wilc1000: bug fix on memory free

2015-12-13 Thread Glen Lee
Set tx_buffer to NULL not to free again the memory that is already freed, which could cause system crash when device is failed. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/wilc_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/sta