[PATCH v2 18/21] ath10k: Note limitation on beaconing vdevs.

2016-05-11 Thread greearb
From: Ben Greear This only pertains to CT firmware, as standard firmware can't do anywhere near this many vdevs anyway. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/mac.c | 16 1 file changed, 16 insertions(+)

Re: [1/2] ath10k: suppress warnings when getting wmi peer_rate_code_listevent

2016-05-11 Thread Kalle Valo
Vasanthakumar Thiagarajan wrote: > In 10.4, fw sends WMI PEER_RATECODE_LIST_EVENTID after successful > peer_assoc cmd. As of now this event is not of much use and not > implemented. Change the debug level and messsage as appropriate > to suppress "Unknown eventid:

[PATCH v2 08/21] ath10k: make firmware text debug messages more verbose.

2016-05-11 Thread greearb
From: Ben Greear There are not many of these messages producted by the firmware, but they are generally fairly useful, so print them at info level. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/wmi.c | 2 +- 1 file changed, 1

[PATCH v2 06/21] ath10k: save firmware stacks upon firmware crash

2016-05-11 Thread greearb
From: Ben Greear Should help debug firmware crashes, and give users a way to provide some useful debug reports to firmware developers. Signed-off-by: Ben Greear Signed-off-by: Kalle Valo ---

[PATCH v2 16/21] ath10k: Support 32+ stations.

2016-05-11 Thread greearb
From: Ben Greear Support up to 32 stations when using CT firmware. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/core.c | 14 +++ drivers/net/wireless/ath/ath10k/hw.h | 6 + drivers/net/wireless/ath/ath10k/mac.c

[PATCH v2 02/21] ath10k: fix typo in logging message

2016-05-11 Thread greearb
From: Ben Greear Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index

[PATCH v2 11/21] ath10k: add fw-powerup-fail to ethtool stats.

2016-05-11 Thread greearb
From: Ben Greear This gives user-space a normal-ish way to detect that firmware has failed to start and that a reboot is probably required. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/core.h | 1 +

[PATCH v2 10/21] ath10k: support logging ath10k_info as KERN_DEBUG

2016-05-11 Thread greearb
From: Ben Greear Helps keep messages off of (serial) console when that is desired. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/debug.c | 5 - drivers/net/wireless/ath/ath10k/debug.h | 6 ++ 2 files changed, 10

[PATCH v2 15/21] ath10k: support CT firmware flag.

2016-05-11 Thread greearb
From: Ben Greear Add placeholder so CT firmware can more easily co-exist with upstream kernel. CT firmware should be backwards compatible with existing kernels, but it also has many new features. Subsequent patches, if acceptable for upstream, can enable and further

[PATCH v2 01/21] ath10k: Fix crash related to printing features.

2016-05-11 Thread greearb
From: Ben Greear This looks like a regression from c4cdf753 (move fw_features to struct ath10k_fw_file) Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 17/21] ath10k: Enable detecting failure to install key in firmware (CT).

2016-05-11 Thread greearb
From: Ben Greear CT firmware has been modified so that it will always return a response message when user requests to add a key, even if the key could not actually be added. Upstream firmware may assert or just not respond in a failure case. This change should be

[PATCH v2 05/21] ath10k: save firmware debug log messages.

2016-05-11 Thread greearb
From: Ben Greear They may be dumped through the firmware dump debugfs file. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/core.h | 18 ++ drivers/net/wireless/ath/ath10k/debug.c | 97 +++-

[PATCH v2 19/21] ath10k: Enable adhoc mode for CT firmware.

2016-05-11 Thread greearb
From: Ben Greear CT firmware can support IBSS mode, so allow users to configure this. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/mac.c | 5 + 1 file changed, 5 insertions(+) diff --git

[PATCH v2 12/21] ath10k: Support up to 64 vdevs.

2016-05-11 Thread greearb
From: Ben Greear The (1 << x) - 1 trick won't work when you are trying to fill up all 64 bits, so add special case for that. And, move the limits to the per-nic structure instead of per-driver to allow better dynamic use of the limits. Signed-off-by: Ben Greear

[PATCH v2 13/21] ath10k: Document cycle count related counters.

2016-05-11 Thread greearb
From: Ben Greear They are not necessarily named in an intuitive manner, so at least add some comments to help the next person. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/core.h | 8

[PATCH v2 09/21] ath10k: print fw debug messages in hex.

2016-05-11 Thread greearb
From: Ben Greear This allows user-space tools to decode debug-log messages by parsing dmesg or /var/log/messages. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/debug.c | 72 +

[PATCH v2 03/21] ath10k: Allow changing ath10k debug mask at runtime.

2016-05-11 Thread greearb
From: Ben Greear Using debugfs. More convenient than module options in some cases. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/debug.c | 62 + 1 file changed, 62 insertions(+) diff --git

[PATCH v2 04/21] ath10k: rate-limit packet tx errors

2016-05-11 Thread greearb
From: Ben Greear When firmware crashes, stack can continue to send packets for a bit, and existing code was spamming logs. So, rate-limit the error message for tx failures. Signed-off-by: Ben Greear --- drivers/net/wireless/ath/ath10k/mac.c |

Re: Setting per-frame tx rate for frames injected in raw tx mode

2016-05-11 Thread Ben Greear
On 05/10/2016 11:41 PM, Raj Joshi wrote: Thanks Ben for the info. Sorry about my ignorance; but I do not know the link to your kernel tree. Could you kindly share? Scroll down this page a bit: http://www.candelatech.com/ath10k-10.1.php Let me explain why I need this functionality in first

Re: [PATCH 03/21] ath10k: Support setting debug mask from driver code.

2016-05-11 Thread Michal Kazior
On 10 May 2016 at 01:10, wrote: > From: Ben Greear > > Might want to turn off verbose debug as soon as you > see a firmware crash, for instance. Helps keep dmesg > output from over-running the stuff you care about. > > Signed-off-by: Ben Greear

Re: [PATCH 4/4] ath10k: Enable support for QCA9984

2016-05-11 Thread Thiagarajan, Vasanthakumar
On Wednesday 11 May 2016 12:23 PM, Archisman Maitra wrote: > Hi, > > Thank you for providing me the binaries. > > I have started working on the mac80211 driver and have some questions:- > > a) I am working with OpenWRT framework, which uses mac80211 driver dated > 1-10-2016. I have noticed that

Re: Setting per-frame tx rate for frames injected in raw tx mode

2016-05-11 Thread Raj Joshi
Thanks Ben for the info. Sorry about my ignorance; but I do not know the link to your kernel tree. Could you kindly share? Let me explain why I need this functionality in first place - I want to use a custom rate-adaptation (RA) scheme instead of the default. With ath9k, it was straight-ward to

[PATCH v1] ath10k: Fix 10.4 extended peer stats update

2016-05-11 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan 10.4 'extended peer stats' will be not be appended with normal peer stats data and they shall be coming in separate chunks. Fix this by maintaining a separate linked list 'extender peer stats' for 10.4 and update rx_duration for per