Larry Vaden va...@texoma.net wrote:
71 2011-01-01T00:00:12+00:00 jv-2400-ap1 kernel - - - ieee80211
phy0: Selected rate control algorithm 'minstrel_ht'
Is there a run time option to set rate control algorithm or must we
compile (certainly not a problem)?
Currently, there is no runtime
David Purdy wrote:
Any idea what the cause and/or solution is for this ath9k_htc: RX memory
allocation error swap problem?
The most probable explanation is a memory leak in the driver.
I'm running Debian armel on a Dockstation/Kirkwood:
Linux AirDisk2 3.1.0-1-kirkwood #1 Tue Nov 15
李刚 wrote:
From wireshark, I noticed that when send an data frame , the
duration of frame control is fixed at 60 , no matter the frame length is 100
bytes or 1000 bytes.
It seems this value is calculated in firmware and should be correct.
But I don't know why. And this value can
Mulong Chen wrote:
I am using ath9k_htc with my TL-WN821N. The problem is when it transfers with
max speed (should be 300Mbps but not with ath9k_htc, this could be another
story) for some while (eg. 10 mins), the dongle gets really hot and it hangs
with no blinked LED. At this time, there is
This patch modifies ath9k_htc to load the needed
firmware in an asynchronous manner, fixing timeouts
that were introduced with the new udev changes.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/hif_usb.c | 154
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/init.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/init.c
b/drivers/net/wireless/ath/ath9k/init.c
index 53a005d..a625c9a 100644
--- a/drivers
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug.c
b/drivers/net/wireless/ath/ath9k/debug.c
index 68d972b..dc45cf9 100644
in
a subsequent patch (in a new debugfs file).
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c | 224 +---
1 files changed, 64 insertions(+), 160 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug.c
b/drivers/net
Location: debugfs_path/ieee80211/phy#/ath9k/reset
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c | 41
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug.c
Dumping the RSSI information in the middle of error
statistics is a bit misleading. Move them to the end.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c | 97 +++-
1 files changed, 45 insertions(+), 52 deletions
Validate the phyerr value against the max. size of the
statistics array properly.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
.../net/wireless/ath/ath9k/ar9462_1p0_initvals.h | 394 -
.../net/wireless/ath/ath9k/ar9462_2p0_initvals.h | 465
2 files changed, 0 insertions(+), 859 deletions(-)
diff --git a/drivers/net
Felix Fietkau wrote:
I think AR9462 is also matched by AR_SREV_9300_20_OR_LATER(ah), so that
one may not be redundant.
Ah, nice catch.
John, can you please drop this patch ?
Sujith
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
Ben Greear wrote:
It is nice to be able to see what the driver/NIC thinks
it is set to as well. It is always possible that the
stack and the NIC are out of sync for some reason.
I'd rather those values be left in the debugfs unless
there is a good reason for getting rid of them.
The 'wiphy'
Ben Greear wrote:
What if there is some bug that causes the NIC to be in a
state different than mac80211 thinks it is? If you leave
this in, then maybe someone will notice.
Well, if we are not operating in the channel that mac80211
tells us, then we are screwed in a major, non-obvious way. :)
Peter Stuge wrote:
It is not very wise for ath9k to reduce debug output with the
motivation that some users leave it enabled even if they deploy
into limited systems and they would actually prefer to have less
debugging.
If ath9k users have an issue with debugging being too big then THEY
Using AR_SREV_* macros for setting up the chip-specific NF
values will make adding support for new chips hard. Use separate
macros for each chip. Currently, AR9462 has the same value for
all NF limits.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k
The LONG_SHIFT_SELECT offset is different for AR9462 from
the other chip families. Fix this.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ar9003_phy.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless
This improves sensitivity for CCK at specific channels.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ar9003_phy.c |9 -
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
b
The TX descriptor length is 24 for AR9462. Fix this.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ar9003_mac.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_mac.c
b/drivers/net
Mohammed Shafi wrote:
i saw this some time back ,the check will not take care of this logic
if (AR_SREV_9462(ah) (i == 0 || i == 3))
continue;
Yep, looks like this is already handled. Thanks for catching this.
Sujith
___
Change the descriptor length to 24 and explicitly
set the control field 23 to zero. Not doing so would
result in dropping of frames.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ar9003_mac.c |6 +-
drivers/net/wireless/ath/ath9k
Ben Greear wrote:
I was thinking about adding a method that grabbed as many registers
as I have info for and dumping them with printk when DMA errors
hit. This would make kernel splats more useful.
And also have a debugfs file called 'registers' or similar that one
could cat out and get
Sujith Manoharan wrote:
Ben Greear wrote:
I was thinking about adding a method that grabbed as many registers
as I have info for and dumping them with printk when DMA errors
hit. This would make kernel splats more useful.
And also have a debugfs file called 'registers' or similar
John,
Here is a consolidated set of all the pending patches for ath9k,
rebased over current -wl. A couple of patches from the last series
have been dropped.
Sujith
Sujith Manoharan (9):
ath9k: Remove unnecessary variable initialization
ath9k: Merge wiphy and misc debugfs files
ath9k: Add
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c |5 -
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug.c
b/drivers/net/wireless/ath/ath9k/debug.c
index 68d972b..dc45cf9 100644
in
a subsequent patch (in a new debugfs file).
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c | 224 +---
1 files changed, 64 insertions(+), 160 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug.c
b/drivers/net
Location: debugfs_path/ieee80211/phy#/ath9k/reset
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c | 41
1 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug.c
Dumping the RSSI information in the middle of error
statistics is a bit misleading. Move them to the end.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c | 97 +++-
1 files changed, 45 insertions(+), 52 deletions
Validate the phyerr value against the max. size of the
statistics array properly.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/debug.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
.../net/wireless/ath/ath9k/ar9462_1p0_initvals.h | 394 -
.../net/wireless/ath/ath9k/ar9462_2p0_initvals.h | 465
2 files changed, 0 insertions(+), 859 deletions(-)
diff --git a/drivers/net
Using AR_SREV_* macros for setting up the chip-specific NF
values will make adding support for new chips hard. Use separate
macros for each chip. Currently, AR9462 has the same value for
all NF limits.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k
The LONG_SHIFT_SELECT offset is different for AR9462 from
the other chip families. Fix this.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ar9003_phy.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless
Change the descriptor length to 24 and explicitly
set the control field 23 to zero. Not doing so would
result in dropping of frames.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ar9003_mac.c |6 +-
drivers/net/wireless/ath/ath9k
Sujith Manoharan (22):
ath9k: Remove AR9462 v1.0 support
ath9k: Cleanup MCI init/deinit routines
ath9k: Initialize MCI params using a helper
ath9k: Move BTCOEX init/deinit functions to gpio.c
ath9k: Use proper start/stop routines for BTCOEX
ath9k: Process BTCOEX interrupts using a helper
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
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
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
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 a/drivers
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
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
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 +++
drivers/net
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
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
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
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
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
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
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
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
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_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
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 -
drivers/net/wireless
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_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
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
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
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
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
over the last RFC series cleaning up MCI in
the driver core.
If you would like a single mbox file of all the pending patches,
please use: http://sujith.github.com/patches/wl/wl-ath9k-Feb-22-2012.patch
Sujith
Sujith Manoharan (26):
ath9k: Remove AR9462 v1.0 support
ath9k: Cleanup MCI init
] [81436edd] ? retint_swapgs+0x13/0x1b
[ 1263.788446] [812483be] ? trace_hardirqs_on_thunk+0x3a/0x3f
[ 1263.788450] [814378e9] system_call_fastpath+0x16/0x1b
[ 1263.788453] ---[ end trace 3ab4d030ffde40d4 ]---
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
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
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
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
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 a/drivers
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
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 +++
drivers/net
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
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
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
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
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
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
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
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_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
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 -
drivers/net/wireless
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_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
* 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
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 a/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 c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ar9003_mci.c | 362 +--
1 files changed
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 a/drivers/net/wireless/ath/ath9k
Cleanup whitespace, fix indentation and coding style.
Also remove debug messages that were flooding the log.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
v2 - Mention debug message cleanup in commit log.
drivers/net/wireless/ath/ath9k/mci.c | 213
Joe Perches wrote:
A for loop with a test/continue would reduce indentation.
Might fix a bug too if timeout is ever negative.
for (; timeout 0; udelay(10), timeout -= 10) {
if (!(REG_READ(ah, address) bit_position))
continue;
etc...
Julian Calaby wrote:
-static inline bool ar9003_mci_is_ready(struct ath_hw *ah)
+#else
+
+#define ar9003_mci_is_ready(...) false
You missed one =)
Heh, I did fix this, but messed up the git-rebase foo. :)
Sujith
___
ath9k-devel mailing list
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
---
v2 : Fix ar9003_mci_is_ready()
drivers/net/wireless/ath/ath9k/Makefile |6 +-
drivers/net/wireless/ath/ath9k
abhinav narain wrote:
hi,
I am working on openwrt main trunk (frozen in ~aug) I am trying to get the
stats about number of retransmissions at mac layer from ath9k drivers but I
can't get where to look for.. The information is not given by debugfs. I
looked at iw code which uses netlink
Peter Stuge wrote:
I think you may be misunderstanding what I write.
I don't think anyone is misunderstanding anything about you, or
what you write.
Sujith
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
There is no need to mask out SWBA/BMISS from the
interrupt mask in start().
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/main.c |3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/net/wireless/ath/ath9k/main.c
b/drivers/net/wireless
It is not needed and will not be used anyway since
unsupported interfaces are not allowed to be created.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ath9k.h |1 -
drivers/net/wireless/ath/ath9k/debug.c |4 ++--
drivers/net/wireless/ath
The logic to determine whether to use FCC is a bit convoluted.
Use a small helper function to decide whether FCC is to be
used.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/hw.c | 104 +++--
drivers/net/wireless/ath
SC_OP_TXAGGR and SC_OP_RXAGGR are not really needed.
The HT capabilities of the station and HW can be used instead.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net/wireless/ath/ath9k/ath9k.h | 24 +++-
drivers/net/wireless/ath/ath9k/init.c |9
mac80211 provides short preamble information and ERP protection
information on a per-BSS basis, which can be used. Remove flags
stored in the driver, which was incorrect since they were being used
in a global manner.
Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com
---
drivers/net
Please keep the mailing list in CC.
Ryan Roper wrote:
And here is the output of modinfo ath9k_htc:
filename:
/lib/modules/3.2.9-1-ARCH/kernel/drivers/net/wireless/ath/ath9k/ath9k_htc.ko.gz
You probably failed to do a 'make install'.
modinfo -n ath9k_htc should show:
Ryan Roper wrote:
I installed using the Arch User Repository
(https://aur.archlinux.org/packages.php?ID=16829) and modified the
PKGBUILD as needed.
modinfo -n ath9k_htc does show:
/lib/modules/3.2.9-1-ARCH/updates/drivers/net/wireless/ath/ath9k/ath9k_htc.ko
Ok.
So what does dmesg show
Oleksandr Yeremko wrote:
Hi Everyone,
I have TP-Link TP-WN821NC v3.
When I insert it into my USB I get the next message in dmesg:
[ 1134.704223] usb 2-2: new high speed USB device using ehci_hcd and address 7
[ 1134.823707] usb 2-2: New USB device found, idVendor=0cf3, idProduct=7015
[
Oleksandr Yeremko wrote:
Sujith,
thank you very much for your answer. It helped - I am happy with new
compat drivers now.
Great. :)
Sujith
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
Adrian Chadd wrote:
I believe it's under active development and debugging at the present
moment. That's what all of the recent btcoex MCI work is for.
AR9485 is supported by ath9k. The MCI stuff is for AR9462.
Sujith
___
ath9k-devel mailing list
Adrian Chadd wrote:
On 26 March 2012 20:32, Sujith Manoharan c_man...@qca.qualcomm.com wrote:
Adrian Chadd wrote:
I believe it's under active development and debugging at the present
moment. That's what all of the recent btcoex MCI work is for.
AR9485 is supported by ath9k. The MCI
1 - 100 of 475 matches
Mail list logo