Cleanup whitespace, fix indentation and coding style.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/mci.c | 213 ++
1 files changed, 59 insertions(+), 154 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/mci.c
b/drivers/net/wireless
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
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 362 +--
1 files changed, 68 insertions(+), 294 de
They are not needed since MCI will be enabled only for
AR9462 v2.0
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 34 ---
1 files changed, 10 insertions(+), 24 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mci.c
b/d
* Use a separate function to enable/disable
OneStepLookAhead.
* Remove unnecessary hardware SREV checks.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 91 ++-
1 files changed, 47 insertions(+), 44 deletions(-)
diff --git a/drivers
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
---
drivers/net/wireless/ath/ath9k/Kconfig | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/wireless
With the ability to remove BTCOEX support at compile time,
these checks are no longer needed.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 54 ---
drivers/net/wireless/ath/ath9k/gpio.c |2 +-
drivers/net/wireless/ath/ath9k/
Since BTCOEX code can be compiled out cleanly now,
remove these checks.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/btcoex.c | 21 -
drivers/net/wireless/ath/ath9k/gpio.c |9 -
drivers/net/wireless/ath/ath9k/htc_drv_gpio.c |
ath9k_htc can also make use of CONFIG_ATH9K_BTCOEX_SUPPORT
to be compiled without BTCOEX support.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/htc.h | 18 +++---
drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 10 +++---
2 files changed, 22 inse
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 31 deletio
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 12 deletions(-)
dif
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
---
drivers/net/wireless/ath/ath9k/Makefile |6 +-
drivers/net/wireless/ath/ath9k/ar9003_mci.h | 63 ---
drivers/net
This patch converts a few functions to static variants
and removes extraneous declarations.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 508 +-
drivers/net/wireless/ath/ath9k/ar9003_mci.h | 13 -
2 files changed, 254 insertions(+),
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
---
drivers/net/wireless/ath/ath9k/ar9003_mac.c |1 +
drivers/net/wireless/ath/ath9k/ar9003_mci.h | 195 +++
drivers/net/w
This patch moves all the MCI-specific code in the main reset
function to helper functions.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 142 +++
drivers/net/wireless/ath/ath9k/hw.c | 129 ++--
drivers/net/
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 38 deletions(-
Signed-off-by: Sujith Manoharan
---
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 deletions(-)
diff --git a/dr
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 27 deletions(-)
This patch uses CONFIG_ATH9K_BTCOEX_SUPPORT to conditionally
compile btcoex-related code in the driver core.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/Makefile |4 ++--
drivers/net/wireless/ath/ath9k/ath9k.h | 28
drivers/net/wireless/
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
---
drivers/net/wireless/ath/ath9k/btcoex.c | 34 +++
drivers/net/wireless/ath/ath9k/btcoex
Signed-off-by: Sujith Manoharan
---
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 --git a/drivers/net/wirele
Signed-off-by: Sujith Manoharan
---
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 a/drivers/net/wireless/ath/ath9k/at
Signed-off-by: Sujith Manoharan
---
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 deletions(-)
diff --git a
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 47 deletions(-)
di
Signed-off-by: Sujith Manoharan
---
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 deletions(-)
diff --git a/d
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()
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 AR9
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 store
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
https://lists.a
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 el
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 somet
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
_
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
Hi Sujith,
On Tue, Feb 21, 2012 at 20:23, Sujith Manoharan
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
> ---
> drivers/net/wireless/ath/ath9k/Makefile | 6 +-
> drivers/
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan
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 functions in
ar9003_mci.
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan
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.
we fixed it overnight. w
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan
wrote:
> Signed-off-by: Sujith Manoharan
> ---
> drivers/net/wireless/ath/ath9k/ar9003_calib.c | 42 ++---
> drivers/net/wireless/ath/ath9k/ar9003_mci.c | 48
> +
> drivers/net/wireless/ath/ath9k/hw.
On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan
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
> ---
> drivers/net/wireless/ath/ath9k/btcoex.c | 34
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan
wrote:
> Signed-off-by: Sujith Manoharan
> ---
> 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 +
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan
wrote:
> Signed-off-by: Sujith Manoharan
> ---
> 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
Hi Sujith,
On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan
wrote:
> Signed-off-by: Sujith Manoharan
> ---
> drivers/net/wireless/ath/ath9k/btcoex.c | 24
> drivers/net/wireless/ath/ath9k/btcoex.h | 1 +
> drivers/net/wireless/ath/ath9k/init.c | 23 ++--
Hi Sujith,
On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan
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.
>
> [ 1263.788267] WARNING: at
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
---
drivers/net/wireless/ath/ath9k/Kconfig | 16
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/net/wireless
With the ability to remove BTCOEX support at compile time,
these checks are no longer needed.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 54 ---
drivers/net/wireless/ath/ath9k/gpio.c |2 +-
drivers/net/wireless/ath/ath9k/
Since BTCOEX code can be compiled out cleanly now,
remove these checks.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/btcoex.c | 21 -
drivers/net/wireless/ath/ath9k/gpio.c |9 -
drivers/net/wireless/ath/ath9k/htc_drv_gpio.c |
ath9k_htc can also make use of CONFIG_ATH9K_BTCOEX_SUPPORT
to be compiled without BTCOEX support.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/htc.h | 18 +++---
drivers/net/wireless/ath/ath9k/htc_drv_gpio.c | 10 +++---
2 files changed, 22 inse
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 31 deletio
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 12 deletions(-)
dif
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
---
drivers/net/wireless/ath/ath9k/Makefile |6 +-
drivers/net/wireless/ath/ath9k/ar9003_mci.h | 63 ---
drivers/net
This patch converts a few functions to static variants
and removes extraneous declarations.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 508 +-
drivers/net/wireless/ath/ath9k/ar9003_mci.h | 13 -
2 files changed, 254 insertions(+),
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
---
drivers/net/wireless/ath/ath9k/ar9003_mac.c |1 +
drivers/net/wireless/ath/ath9k/ar9003_mci.h | 195 +++
drivers/net/w
This patch moves all the MCI-specific code in the main reset
function to helper functions.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 142 +++
drivers/net/wireless/ath/ath9k/hw.c | 129 ++--
drivers/net/
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 38 deletions(-
Signed-off-by: Sujith Manoharan
---
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 deletions(-)
diff --git a/dr
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 27 deletions(-)
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
---
drivers/net/wireless/ath/ath9k/btcoex.c | 34 +++
drivers/net/wireless/ath/ath9k/btcoex
This patch uses CONFIG_ATH9K_BTCOEX_SUPPORT to conditionally
compile btcoex-related code in the driver core.
Signed-off-by: Sujith Manoharan
---
drivers/net/wireless/ath/ath9k/Makefile |4 ++--
drivers/net/wireless/ath/ath9k/ath9k.h | 28
drivers/net/wireless/
Signed-off-by: Sujith Manoharan
---
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 --git a/drivers/net/wirele
Signed-off-by: Sujith Manoharan
---
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 a/drivers/net/wireless/ath/ath9k/at
Signed-off-by: Sujith Manoharan
---
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 deletions(-)
diff --git a
Signed-off-by: Sujith Manoharan
---
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 insertions(+), 47 deletions(-)
di
Signed-off-by: Sujith Manoharan
---
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 deletions(-)
diff --git a/d
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 AR9
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()
63 matches
Mail list logo