[ath9k-devel] [RFC/WIP 00/22] ath9k/ath9k_htc BTCOEX cleanup

2012-02-21 Thread Sujith Manoharan
This patch series cleans up the existing BTCOEX code in ath9k/ath9k_htc. Proper abstraction is added and a facility (CONFIG_ATH9K_BTCOEX_SUPPORT) to optionally disable BTCOEX support at compile time is properly used. Both ath9k and ath9k_htc make use of the same config option. MCI, which is an

[ath9k-devel] [RFC/WIP 03/22] ath9k: Initialize MCI params using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/btcoex.c | 24 drivers/net/wireless/ath/ath9k/btcoex.h |1 + drivers/net/wireless/ath/ath9k/init.c | 23 ++- 3 files changed, 27 insertions(+), 21

[ath9k-devel] [RFC/WIP 04/22] ath9k: Move BTCOEX init/deinit functions to gpio.c

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |2 + drivers/net/wireless/ath/ath9k/gpio.c | 51 drivers/net/wireless/ath/ath9k/init.c | 48 +- 3 files changed, 54

[ath9k-devel] [RFC/WIP 05/22] ath9k: Use proper start/stop routines for BTCOEX

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |3 ++- drivers/net/wireless/ath/ath9k/gpio.c | 31 ++- drivers/net/wireless/ath/ath9k/main.c | 19 ++- 3 files changed, 34 insertions(+), 19

[ath9k-devel] [RFC/WIP 06/22] ath9k: Process BTCOEX interrupts using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |1 + drivers/net/wireless/ath/ath9k/gpio.c | 12 drivers/net/wireless/ath/ath9k/main.c |7 +-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git

[ath9k-devel] [RFC/WIP 07/22] ath9k: Calculate ampdu limit using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |1 + drivers/net/wireless/ath/ath9k/gpio.c | 14 ++ drivers/net/wireless/ath/ath9k/xmit.c | 19 +-- 3 files changed, 24 insertions(+), 10 deletions(-) diff

[ath9k-devel] [RFC/WIP 08/22] ath9k: Use CONFIG_ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
This patch uses CONFIG_ATH9K_BTCOEX_SUPPORT to conditionally compile btcoex-related code in the driver core. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/Makefile |4 ++-- drivers/net/wireless/ath/ath9k/ath9k.h | 28

[ath9k-devel] [RFC/WIP 09/22] ath9k: Initialize BTCOEX scheme using a helper

2012-02-21 Thread Sujith Manoharan
Setting up the required scheme can be done as part of the BTCOEX initialization path and it doesn't belong in ath9k_hw_fill_cap_info() anyway. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/btcoex.c | 34 +++

[ath9k-devel] [RFC/WIP 10/22] ath9k_hw: Use a helper function to get MCI ISR

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mac.c | 29 +- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 25 +++ drivers/net/wireless/ath/ath9k/hw.h |1 + 3 files changed, 28

[ath9k-devel] [RFC/WIP 11/22] ath9k_hw: Handle MCI power state using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 17 + drivers/net/wireless/ath/ath9k/hw.c | 17 ++--- drivers/net/wireless/ath/ath9k/hw.h |1 + 3 files changed, 20 insertions(+), 15

[ath9k-devel] [RFC/WIP 12/22] ath9k_hw: Setup MCI calibration using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_calib.c | 42 ++--- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 48 + drivers/net/wireless/ath/ath9k/hw.h |2 + 3 files changed, 54

[ath9k-devel] [RFC/WIP 13/22] ath9k_hw: Cleanup MCI bits from ath9k_hw_reset()

2012-02-21 Thread Sujith Manoharan
This patch moves all the MCI-specific code in the main reset function to helper functions. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 142 +++ drivers/net/wireless/ath/ath9k/hw.c | 129

[ath9k-devel] [RFC/WIP 14/22] ath9k_hw: Cleanup MCI bits from hw.h

2012-02-21 Thread Sujith Manoharan
This patch moves all the MCI-specific declarations that have been dumped unceremoniously in hw.h to ar9003_mci.h Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mac.c |1 + drivers/net/wireless/ath/ath9k/ar9003_mci.h | 195

[ath9k-devel] [RFC/WIP 15/22] ath9k_hw: Cleanup MCI function declarations

2012-02-21 Thread Sujith Manoharan
This patch converts a few functions to static variants and removes extraneous declarations. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 508 +- drivers/net/wireless/ath/ath9k/ar9003_mci.h | 13 - 2 files

[ath9k-devel] [RFC/WIP 16/22] ath9k_hw: Use CONFIG_ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
Make use of CONFIG_ATH9K_BTCOEX_SUPPORT in ath9k_hw to provide a clean way of compilation without BTCOEX support. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/Makefile |6 +- drivers/net/wireless/ath/ath9k/ar9003_mci.h | 63

[ath9k-devel] [RFC/WIP 17/22] ath9k_htc: Start/stop btcoex using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/htc.h |2 ++ drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 24 drivers/net/wireless/ath/ath9k/htc_drv_main.c | 15 +++ 3 files changed, 29

[ath9k-devel] [RFC/WIP 18/22] ath9k_htc: Init BTCOEX inside htc_drv_gpio.c

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/htc.h |1 + drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 32 + drivers/net/wireless/ath/ath9k/htc_drv_init.c | 32 + 3 files changed, 34

[ath9k-devel] [RFC/WIP 19/22] ath9k_htc: Use CONFIG_ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
ath9k_htc can also make use of CONFIG_ATH9K_BTCOEX_SUPPORT to be compiled without BTCOEX support. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/htc.h | 18 +++--- drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 10 +++---

[ath9k-devel] [RFC/WIP 20/22] ath9k: Remove ATH_BTCOEX_CFG_NONE checks

2012-02-21 Thread Sujith Manoharan
Since BTCOEX code can be compiled out cleanly now, remove these checks. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/btcoex.c | 21 - drivers/net/wireless/ath/ath9k/gpio.c |9 -

[ath9k-devel] [RFC/WIP 21/22] ath9k: Remove ATH9K_HW_CAP_MCI checks

2012-02-21 Thread Sujith Manoharan
With the ability to remove BTCOEX support at compile time, these checks are no longer needed. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 54 --- drivers/net/wireless/ath/ath9k/gpio.c |2 +-

[ath9k-devel] [RFC/WIP 22/22] ath9k: Modify ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
ATH9K_BTCOEX_SUPPORT is now used by both ath9k and ath9k_htc to enable BT coexistence. Fix Kbuild to allow this. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/Kconfig | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff

Re: [ath9k-devel] [RFC/WIP 02/22] ath9k: Cleanup MCI init/deinit routines

2012-02-21 Thread Mohammed Shafi
Hi Sujith, On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: This patch simplifies the buffer allocation functions for MCI and removes unneeded memset calls. Also, a couple of unused variables are removed and a memory leak in DMA allocation is fixed. [

Re: [ath9k-devel] [RFC/WIP 03/22] ath9k: Initialize MCI params using a helper

2012-02-21 Thread Mohammed Shafi
Hi Sujith, On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/btcoex.c |   24  drivers/net/wireless/ath/ath9k/btcoex.h |    1 +  

Re: [ath9k-devel] [RFC/WIP 10/22] ath9k_hw: Use a helper function to get MCI ISR

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/ar9003_mac.c |   29 +-  drivers/net/wireless/ath/ath9k/ar9003_mci.c |   25

Re: [ath9k-devel] [RFC/WIP 11/22] ath9k_hw: Handle MCI power state using a helper

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/ar9003_mci.c |   17 +  drivers/net/wireless/ath/ath9k/hw.c         |   17 ++---  

Re: [ath9k-devel] [RFC/WIP 09/22] ath9k: Initialize BTCOEX scheme using a helper

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Setting up the required scheme can be done as part of the BTCOEX initialization path and it doesn't belong in ath9k_hw_fill_cap_info() anyway. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  

Re: [ath9k-devel] [RFC/WIP 12/22] ath9k_hw: Setup MCI calibration using a helper

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/ar9003_calib.c |   42 ++---  drivers/net/wireless/ath/ath9k/ar9003_mci.c   |   48

Re: [ath9k-devel] [RFC/WIP 14/22] ath9k_hw: Cleanup MCI bits from hw.h

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: This patch moves all the MCI-specific declarations that have been dumped unceremoniously in hw.h to ar9003_mci.h Sujith, we did put all those stuff in ar9003_mci.h, but then it caused lot of compilation errors.

Re: [ath9k-devel] [RFC/WIP 15/22] ath9k_hw: Cleanup MCI function declarations

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: This patch converts a few functions to static variants and removes extraneous declarations. thanks, with the help of new functions which you had introduced in your previous patchs, which take care of calling few

Re: [ath9k-devel] [RFC/WIP 16/22] ath9k_hw: Use CONFIG_ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Julian Calaby
Hi Sujith, On Tue, Feb 21, 2012 at 20:23, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Make use of CONFIG_ATH9K_BTCOEX_SUPPORT in ath9k_hw to provide a clean way of compilation without BTCOEX support. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  

Re: [ath9k-devel] [RFC/WIP 01/22] ath9k: Remove AR9462 v1.0 support

2012-02-21 Thread Peter Stuge
Sujith Manoharan wrote: v1.0 chips are not available in the market. Maybe delete the macro as well then. //Peter ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] [RFC/WIP 09/22] ath9k: Initialize BTCOEX scheme using a helper

2012-02-21 Thread Sujith Manoharan
Mohammed Shafi wrote: is it possible to move it to gpio.c, except we are initializing btcoex related GPIO pins so logically gpio.c could be a good idea. pls let me know if i had missed something The coex parameters in ath_hw are initialized, so btcoex.c is okay. Sujith

Re: [ath9k-devel] [RFC/WIP 14/22] ath9k_hw: Cleanup MCI bits from hw.h

2012-02-21 Thread Sujith Manoharan
Mohammed Shafi wrote: we did put all those stuff in ar9003_mci.h, but then it caused lot of compilation errors. we fixed it overnight. would including ar9003_mci.h in mci.h won't be a problem. i thought mci.h is part of ath9k(non-hw related stuff). please let me know if i had missed

Re: [ath9k-devel] [RFC/WIP 16/22] ath9k_hw: Use CONFIG_ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
Julian Calaby wrote: If I recall correctly, the recommended form here is to create a inline function that returns false, rather than the #define - this way the type checking of the function's arguments still happens when CONFIG_ATH9K_BTCOEX_SUPPORT is disabled. Right, that would be more

Re: [ath9k-devel] [RFC/WIP 01/22] ath9k: Remove AR9462 v1.0 support

2012-02-21 Thread Sujith Manoharan
Peter Stuge wrote: Sujith Manoharan wrote: v1.0 chips are not available in the market. Maybe delete the macro as well then. Thanks for catching this, I'll fix it. Sujith ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

[ath9k-devel] limited interface of mac80211 to drivers

2012-02-21 Thread abhinav narain
hi, I am working on ath9k device driver. I want to pass some driver data to the userspace the most crucial point is transferring skbuff from ath_rx_tasklet() to ieee80211_rx() using struct ath_hw. But there is no way to pass any extra information ... is there any void * variable where I can

[ath9k-devel] [PATCH 00/26] ath9k/ath9k_htc BTCOEX cleanup

2012-02-21 Thread Sujith Manoharan
This patch series cleans up the existing BTCOEX code in ath9k/ath9k_htc. Proper abstraction is added and a facility (CONFIG_ATH9K_BTCOEX_SUPPORT) to optionally disable BTCOEX support at compile time is properly used. Both ath9k and ath9k_htc make use of the same config option. MCI, which is an

[ath9k-devel] [PATCH 02/26] ath9k: Cleanup MCI init/deinit routines

2012-02-21 Thread Sujith Manoharan
This patch simplifies the buffer allocation functions for MCI and removes unneeded memset calls. Also, a couple of unused variables are removed and a memory leak in DMA allocation is fixed. [ 1263.788267] WARNING: at /home/sujith/dev/wireless-testing/lib/dma-debug.c:875 check_unmap+0x173/0x7e0()

[ath9k-devel] [PATCH 03/26] ath9k: Initialize MCI params using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/btcoex.c | 24 drivers/net/wireless/ath/ath9k/btcoex.h |1 + drivers/net/wireless/ath/ath9k/init.c | 23 ++- 3 files changed, 27 insertions(+), 21

[ath9k-devel] [PATCH 04/26] ath9k: Move BTCOEX init/deinit functions to gpio.c

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |2 + drivers/net/wireless/ath/ath9k/gpio.c | 51 drivers/net/wireless/ath/ath9k/init.c | 48 +- 3 files changed, 54

[ath9k-devel] [PATCH 05/26] ath9k: Use proper start/stop routines for BTCOEX

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |3 ++- drivers/net/wireless/ath/ath9k/gpio.c | 31 ++- drivers/net/wireless/ath/ath9k/main.c | 19 ++- 3 files changed, 34 insertions(+), 19

[ath9k-devel] [PATCH 06/26] ath9k: Process BTCOEX interrupts using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |1 + drivers/net/wireless/ath/ath9k/gpio.c | 12 drivers/net/wireless/ath/ath9k/main.c |7 +-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git

[ath9k-devel] [PATCH 07/26] ath9k: Calculate ampdu limit using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |1 + drivers/net/wireless/ath/ath9k/gpio.c | 14 ++ drivers/net/wireless/ath/ath9k/xmit.c | 19 +-- 3 files changed, 24 insertions(+), 10 deletions(-) diff

[ath9k-devel] [PATCH 09/26] ath9k: Initialize BTCOEX scheme using a helper

2012-02-21 Thread Sujith Manoharan
Setting up the required scheme can be done as part of the BTCOEX initialization path and it doesn't belong in ath9k_hw_fill_cap_info() anyway. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/btcoex.c | 34 +++

[ath9k-devel] [PATCH 11/26] ath9k_hw: Handle MCI power state using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 17 + drivers/net/wireless/ath/ath9k/hw.c | 17 ++--- drivers/net/wireless/ath/ath9k/hw.h |1 + 3 files changed, 20 insertions(+), 15

[ath9k-devel] [PATCH 12/26] ath9k_hw: Setup MCI calibration using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_calib.c | 42 ++--- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 48 + drivers/net/wireless/ath/ath9k/hw.h |2 + 3 files changed, 54

[ath9k-devel] [PATCH 13/26] ath9k_hw: Cleanup MCI bits from ath9k_hw_reset()

2012-02-21 Thread Sujith Manoharan
This patch moves all the MCI-specific code in the main reset function to helper functions. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 142 +++ drivers/net/wireless/ath/ath9k/hw.c | 129

[ath9k-devel] [PATCH 14/26] ath9k_hw: Cleanup MCI bits from hw.h

2012-02-21 Thread Sujith Manoharan
This patch moves all the MCI-specific declarations that have been dumped unceremoniously in hw.h to ar9003_mci.h Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mac.c |1 + drivers/net/wireless/ath/ath9k/ar9003_mci.h | 195

[ath9k-devel] [PATCH 15/26] ath9k_hw: Cleanup MCI function declarations

2012-02-21 Thread Sujith Manoharan
This patch converts a few functions to static variants and removes extraneous declarations. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 508 +- drivers/net/wireless/ath/ath9k/ar9003_mci.h | 13 - 2 files

[ath9k-devel] [PATCH 16/26] ath9k_hw: Use CONFIG_ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
Make use of CONFIG_ATH9K_BTCOEX_SUPPORT in ath9k_hw to provide a clean way of compilation without BTCOEX support. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/Makefile |6 +- drivers/net/wireless/ath/ath9k/ar9003_mci.h | 63

[ath9k-devel] [PATCH 17/26] ath9k_htc: Start/stop btcoex using a helper

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/htc.h |2 ++ drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 24 drivers/net/wireless/ath/ath9k/htc_drv_main.c | 15 +++ 3 files changed, 29

[ath9k-devel] [PATCH 18/26] ath9k_htc: Init BTCOEX inside htc_drv_gpio.c

2012-02-21 Thread Sujith Manoharan
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/htc.h |1 + drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 32 + drivers/net/wireless/ath/ath9k/htc_drv_init.c | 32 + 3 files changed, 34

[ath9k-devel] [PATCH 19/26] ath9k_htc: Use CONFIG_ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
ath9k_htc can also make use of CONFIG_ATH9K_BTCOEX_SUPPORT to be compiled without BTCOEX support. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/htc.h | 18 +++--- drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 10 +++---

[ath9k-devel] [PATCH 20/26] ath9k: Remove ATH_BTCOEX_CFG_NONE checks

2012-02-21 Thread Sujith Manoharan
Since BTCOEX code can be compiled out cleanly now, remove these checks. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/btcoex.c | 21 - drivers/net/wireless/ath/ath9k/gpio.c |9 -

[ath9k-devel] [PATCH 21/26] ath9k: Remove ATH9K_HW_CAP_MCI checks

2012-02-21 Thread Sujith Manoharan
With the ability to remove BTCOEX support at compile time, these checks are no longer needed. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 54 --- drivers/net/wireless/ath/ath9k/gpio.c |2 +-

[ath9k-devel] [PATCH 22/26] ath9k: Modify ATH9K_BTCOEX_SUPPORT

2012-02-21 Thread Sujith Manoharan
ATH9K_BTCOEX_SUPPORT is now used by both ath9k and ath9k_htc to enable BT coexistence. Fix Kbuild to allow this. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/Kconfig | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff

[ath9k-devel] [PATCH 23/26] ath9k_hw: Cleanup MCI reset routine

2012-02-21 Thread Sujith Manoharan
* Use a separate function to enable/disable OneStepLookAhead. * Remove unnecessary hardware SREV checks. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 91 ++- 1 files changed, 47 insertions(+), 44

[ath9k-devel] [PATCH 24/26] ath9k_hw: Remove HW revision checks

2012-02-21 Thread Sujith Manoharan
They are not needed since MCI will be enabled only for AR9462 v2.0 Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 34 --- 1 files changed, 10 insertions(+), 24 deletions(-) diff --git

[ath9k-devel] [PATCH 25/26] ath9k_hw: MCI whitespace/debug cleanup

2012-02-21 Thread Sujith Manoharan
This patch fixes indentation and the general coding style in ar9003_mci.c. Also, minimize the amount of debug log output generated by MCI. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_mci.c | 362 +-- 1 files

[ath9k-devel] [PATCH 26/26] ath9k: Cleanup mci.c

2012-02-21 Thread Sujith Manoharan
Cleanup whitespace, fix indentation and coding style. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/mci.c | 213 ++ 1 files changed, 59 insertions(+), 154 deletions(-) diff --git