[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/linux_mon.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/linux_mon.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff

[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 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 <aditya.shan...@microchip.com> --- drivers/staging/wi

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/wi

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 51 1 file changed, 51 inse

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/d

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wfi_netdevice.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/wilc_wfi_netdevice.h b/d

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 42 1 file changed, 42 insertions(+) diff --git a/d

[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 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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 17 + 1 file changed, 17 insertions(+)

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.h | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/staging/wi

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/staging/wilc1000/wilc_wlan.c b/d

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/wi

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.h | 25 + 1 file changed, 25 insertions(+) diff --git a/drivers/staging/wi

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 17 + 1 file changed, 17 insertions(+)

[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 <aditya.shan...@microchip.com> --- drivers/staging/wi

[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 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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 51 1 file changed, 51 inse

[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 <aditya.shan...@microchip.com> --- drivers/staging/wilc1000/wilc_wlan.c | 42 1 file changed, 42 insertions(+) diff --git a/d

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

2017-06-13 Thread Aditya Shankar
On Tue, 13 Jun 2017 15:38:27 +0530 Aditya Shankar <aditya.shan...@microchip.com> 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. > > The change updates the format in whi

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

2017-06-13 Thread Aditya Shankar
ion of the wilc firmware(14.02 or higher) available on the vendor tree on github or on the linux-firmware project. Signed-off-by: Aditya Shankar <aditya.shan...@microchip.com> Reviewed-by: Arend Van Spriel <arend.vanspr...@broadcom.com> --- Change in v2: Fix build warning Change in v3: Addr

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

2017-06-07 Thread Aditya Shankar
ion of the wilc firmware(14.02 or higher) available on the vendor tree on github or on the linux-firmware project. The existing firmware files on the linux-firmware project are very old and best not used. Signed-off-by: Aditya Shankar <aditya.shan...@microchip.com> Reviewed-by: Arend Van

[PATCH] linux-firmware: wilc1000: Add unified firmware for wilc1000 WLAN

2017-06-03 Thread Aditya Shankar
This commit adds a new unified firmware for the wilc1000 staging driver with below items addressed. - Single firmware supports STA, AP and P2P modes. - Support suspend/resume on WILC1000. - Verify PS stability for WILC1000. - Bug fixes Version of FW: v14.04 Signed-off-by: Aditya Shankar

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 <gre...@linuxfoundation.org> 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

[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 <aditya.shan...@micro

[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-off-by:

[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 <aditya.shan...@microchip

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 <gre...@linuxfoundation.org> 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 &

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

2017-04-07 Thread Aditya Shankar
patch 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: <sta...@vger.kernel.org> Signed-off-by: Aditya Shankar <adit

[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 <aditya.shan...@microchip.

[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 <aditya.shan...@microchip.com> --- drivers/staging/wi

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

2017-01-08 Thread Aditya Shankar
if 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 <aditya.shan...@microchip.com> --- drivers/s

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 <dan.carpen...@oracle.com> 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 b

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

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

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 <gre...@linuxfoundation.org> 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") >