[PATCH] staging: wilc1000: Fix lines ending with parentheses

2017-12-15 Thread Aditya Shankar
This patch fixes the "Lines should not end with a '('" problem reported by checkpatch Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/linux_mon.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/linux_mon.

[PATCH v2] staging: wilc1000: Fix problems reported by checkpatch

2017-12-15 Thread Aditya Shankar
This commit fixes below style problems in multiple lines Fix checkpatch WARNING: line over 80 characters Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/linux_mon.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000

[PATCH] staging: wilc1000: Fix problems reported by checkpatch

2017-12-01 Thread Aditya Shankar
This commit fixes below style problems in multiple lines Fix checkpatch WARNING: line over 80 characters Fix CHECK: Lines should not end with a '(' Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/linux_mon.c | 30 ++ 1 file changed, 18 inserti

Re: [PATCH 2/9] staging: wilc1000: add SPDX identifiers to all wilc100 files

2017-11-09 Thread Aditya Shankar
nse text in the file itself. The SPDX identifier is a > legally binding shorthand, which can be used instead of the full boiler > plate text. > > This work is based on a script and data from Thomas Gleixner, Philippe > Ombredanne, and Kate Stewart. > > Cc: Aditya Shankar &g

[PATCH] staging: wilc1000: Fix bssid buffer offset in Txq

2017-11-03 Thread Aditya Shankar
connection problems after associating to an AP. This fix adds the proper offset of the bssid value in the Tx queue buffer to fix the connection issues. Fixes: Commit 46949b48568b ("staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler") Cc: sta...@vger.kernel.org S

[PATCH v2 4/8] staging: wilc1000: Add function to balance packet count

2017-06-26 Thread Aditya Shankar
Add a new function to track the cound of packets and determine the ratio of current number of packets to maximum count of packets. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/staging

[PATCH v2 6/8] staging: wilc1000: Get packet count from firmware

2017-06-26 Thread Aditya Shankar
Add a new function to get packet count from the firmware. 31:25 24 23:17 16 15:98 7:2 1 0 VO CNT VO ACM VI CNT VI ACM BE CNT BE ACM BK CNT BK ACM VMM ready Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 8 1

[PATCH v2 8/8] staging: wilc1000: Update ACM bit status

2017-06-26 Thread Aditya Shankar
Add a new function to update ACM bit status for a queue for all access categories. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c

[PATCH v2 7/8] staging: wilc1000: Change ac based on acm status

2017-06-26 Thread Aditya Shankar
Add a new function to check and alter the ac if needed based on the acm status for a particular queue. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging

[PATCH v2 3/8] staging: wilc1000: WMM classification of data

2017-06-26 Thread Aditya Shankar
This patch adds a new function to classify data to available WMM access categories based on the DSCP value in the header. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers

[PATCH v2 1/8] staging: wilc1000: Add support for AC classification.

2017-06-26 Thread Aditya Shankar
This patch adds new variables and defines for adding access category classification Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.h | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.h b/drivers/staging

[PATCH v2 5/8] staging: wilc1000: Add new variable for ac queue management

2017-06-26 Thread Aditya Shankar
This patch adds a new variable in the wilc struct to manage ac queues. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/drivers/staging/wilc1000

[PATCH v2 2/8] staging: wilc1000: Add function to calculate ac queue limit

2017-06-26 Thread Aditya Shankar
This patch adds a function which calculates the queue limit for a given access category queue. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 42 1 file changed, 42 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b

[PATCH v2 0/8] Enable access category classification on Tx path

2017-06-26 Thread Aditya Shankar
This patch series adds changes made to implement access category based data classification and manages buffers allocation between different access categories on the Tx path. Aditya Shankar (8): staging: wilc1000: Add support for AC classification. staging: wilc1000: Add function to calculate

[PATCH 7/7] staging: wilc1000: Update ACM bit status

2017-06-26 Thread Aditya Shankar
Add a new function to update ACM bit status for a queue for all access categories. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging/wilc1000/wilc_wlan.c

[PATCH 3/7] staging: wilc1000: WMM classification of data

2017-06-26 Thread Aditya Shankar
This patch adds a new function to classify data to available WMM access categories based on the DSCP value in the header. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers

[PATCH 5/7] staging: wilc1000: Get packet count from firmware

2017-06-26 Thread Aditya Shankar
Add a new function to get packet count from the firmware. 31:25 24 23:17 16 15:98 7:2 1 0 VO CNT VO ACM VI CNT VI ACM BE CNT BE ACM BK CNT BK ACM VMM ready Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 8 1

[PATCH 2/7] staging: wilc1000: Add function to calculate ac queue limit

2017-06-26 Thread Aditya Shankar
This patch adds a function which calculates the queue limit for a given access category queue. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 42 1 file changed, 42 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b

[PATCH 6/7] staging: wilc1000: Change ac based on acm status

2017-06-26 Thread Aditya Shankar
Add a new function to check and alter the ac if needed based on the acm status for a particular queue. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/drivers/staging

[PATCH 1/7] staging: wilc1000: Add support for AC classification.

2017-06-26 Thread Aditya Shankar
This patch adds new variables and defines for adding access category classification Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.h | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.h b/drivers/staging

[PATCH 0/7] Enable access category classification on Tx path

2017-06-26 Thread Aditya Shankar
This patch series adds changes made to implement access category based data classification and manages buffers allocation between different access categories on the Tx path. Aditya Shankar (7): staging: wilc1000: Add support for AC classification. staging: wilc1000: Add function to calculate

[PATCH 4/7] staging: wilc1000: Add function to balance packet count

2017-06-26 Thread Aditya Shankar
Add a new function to track the cound of packets and determine the ratio of current number of packets to maximum count of packets. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/staging

Re: [PATCH v3] staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler

2017-04-12 Thread Aditya Shankar
On Tue, 11 Apr 2017 19:35:46 +0200 Greg KH wrote: > On Tue, Apr 11, 2017 at 10:11:43PM +0530, Aditya Shankar wrote: > > Change the config packet format used in handle_set_wfi_drv_handler() > > to align the host driver with the new format used in the wilc firmware. > &g

[PATCH v3] staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler

2017-04-11 Thread Aditya Shankar
and 'name" in the config packet along with this index to directly provide details about the interface and its mode to the firmware instead of having multiple if-else statements in the host driver to decide which interface to configure. Signed-off-by: Aditya Shankar Reviewed-by: Arend Va

[PATCH v2] staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler

2017-04-09 Thread Aditya Shankar
and 'name" in the config packet along with this index to directly provide details about the interface and its mode to the firmware instead of having multiple if-else statements in the host driver to decide which interface to configure. Change in v2: Fixed build warning Signed-of

[PATCH] staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler

2017-04-09 Thread Aditya Shankar
and 'name" in the config packet along with this index to directly provide details about the interface and its mode to the firmware instead of having multiple if-else statements in the host driver to decide which interface to configure. Signed-off-by: Aditya Shankar --- driv

Re: [PATCH] staging: wilc1000: Update handler assignment logic

2017-04-09 Thread Aditya Shankar
On Sat, 8 Apr 2017 13:00:15 +0200 Greg KH wrote: > On Fri, Apr 07, 2017 at 05:24:05PM +0530, Aditya Shankar wrote: > > With this update, the host driver is consistent with the > > implementation on the firmware side with respect to obtaining > > the driver handler for all

[PATCH] staging: wilc1000: Update handler assignment logic

2017-04-07 Thread Aditya Shankar
With this update, the host driver is consistent with the implementation on the firmware side with respect to obtaining the driver handler for all modes. With this new format, the calls to set the wilc operation mode is simplified. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000

[PATCH] staging: wilc1000: Use new format for configuring firmware

2017-04-07 Thread Aditya Shankar
The configuration packet format has changed in the newer wilc firmware versions 14.2 and up. This update ensures that the firmware is initialized correctly by the host and configured in the required mode. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wlan_cfg.c | 59

[PATCH] staging: wilc1000: Fix problem with wrong vif index

2017-04-07 Thread Aditya Shankar
tch moves the assignment to vif->idx from the beginning of the block to after wl->vif_num is updated with latest value of i. Fixes: commit 735bb39ca3be ("staging: wilc1000: simplify vif[i]->ndev accesses") Cc: Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/linux_wlan

[PATCH v2] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-08 Thread Aditya Shankar
decision is made based on BSSID, there is only one match in the table and corresponding index is used. changes in v2: initialize sel_bssi_idx to UINT_MAX. Combine two checks for identifying sel_bssi_idx value for a SSID. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000

Re: [PATCH] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-08 Thread Aditya Shankar
On Thu, 5 Jan 2017 15:14:50 +0300 Dan Carpenter wrote: > On Thu, Jan 05, 2017 at 01:03:41PM +0530, Aditya Shankar wrote: > > Connect to the highest rssi with the required SSID in the shadow > > table if the connection criteria is based only on the SSID. > > For the first ma

[PATCH] staging: wilc1000: Connect to highest RSSI value for required SSID

2017-01-04 Thread Aditya Shankar
decision is made based on BSSID, there is only one match in the table and corresponding index is used. Signed-off-by: Aditya Shankar --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000

Re: [PATCH 2/2] Revert "staging: wilc1000: Replace kthread with workqueue for host interface"

2016-10-06 Thread Aditya Shankar
On Fri, 30 Sep 2016 15:22:15 +0200 Greg KH wrote: > On Fri, Sep 30, 2016 at 03:43:18PM +0530, Aditya Shankar wrote: > > This reverts commit 2518ac59eb27 ("staging: wilc1000: Replace kthread > > with workqueue for host interface") > > > > This commit breaks w