This implements the Packet log feature for ath10k.
All tx and rx events and rx descriptor details are
posted to user space by tracepoints.
Rajkumar Manoharan (4):
ath10k: Add support to configure pktlog filter
ath10k: add tracing for ath10k_htt_pktlog
ath10k: add tracing for rx descriptor
/phy*/ath10k/pktlog_filter
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/core.h | 2 ++
drivers/net/wireless/ath/ath10k/debug.c | 63 -
drivers/net/wireless/ath/ath10k/debug.h | 9 +
drivers/net/wireless/ath
Upon the reception of frame, the descriptor status are reported
to user space by tracepoint. This is useful for collecting rx
statistics for pktlog.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/debug.c | 17 +
drivers/net
This is useful for collecting msdu statistics. For every msdu
entry in the pktlog message, corresponding msdu length is determined.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 48
drivers/net/wireless
On Thu, Oct 02, 2014 at 02:37:13PM +0200, Michal Kazior wrote:
On 2 October 2014 14:12, Rajkumar Manoharan rmano...@qti.qualcomm.com wrote:
Add support to configure packet log filters (tx, rx, rate control)
via debugfs. To disable htt pktlog events set the filters to 0.
[...]
+static
On Thu, Oct 02, 2014 at 02:58:43PM +0200, Michal Kazior wrote:
On 2 October 2014 14:53, Rajkumar Manoharan rmano...@qti.qualcomm.com wrote:
On Thu, Oct 02, 2014 at 02:37:13PM +0200, Michal Kazior wrote:
On 2 October 2014 14:12, Rajkumar Manoharan rmano...@qti.qualcomm.com
wrote:
Add
This implements the Packet log feature for ath10k.
All tx and rx events and rx descriptor details are
posted to user space by tracepoints.
v2: Addressed review comments and based on discussion with Michal
dropped tx_msdu_id patch and added tx info changes
Rajkumar Manoharan (4):
ath10k
/phy*/ath10k/pktlog_filter
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/core.h | 2 +
drivers/net/wireless/ath/ath10k/debug.c | 72 -
drivers/net/wireless/ath/ath10k/debug.h | 9 +
drivers/net/wireless/ath
This is useful for collecting pktlog statistics of tx, rx
and rate information, so add tracing for the API call.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/debug.h | 1 -
drivers/net/wireless/ath/ath10k/htt.h| 2 +-
drivers/net/wireless
The tx info such as msdu_id, frame len, vdev id and tid are reported
to user space by tracepoint. This is useful for collecting tx
statistics.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/htt_tx.c | 1 +
drivers/net/wireless/ath/ath10k/trace.h
From: Michal Kazior michal.kaz...@tieto.com
Although frame contents were printed via dbg_dump
already it was not possible to easily filter them
out for processing.
Signed-off-by: Michal Kazior michal.kaz...@tieto.com
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 3 +++
On Tue, Oct 07, 2014 at 05:32:30PM +0300, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
Add tracing support to forward management and data frames to
user space for packet inspection.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
! [ 80
On Tue, Oct 07, 2014 at 07:19:05PM +0300, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
Add tracing support to forward management and data frames to
user space for packet inspection.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
...@tieto.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/mac.c | 32 +++-
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/mac.c
b/drivers/net/wireless/ath/ath10k/mac.c
On Wed, Oct 08, 2014 at 11:45:38AM +0200, Michal Kazior wrote:
On 8 October 2014 11:16, Rajkumar Manoharan rmano...@qti.qualcomm.com wrote:
The commit ath10k: workaround fw beaconing bug is freeing
DMA-coherent memory in irq context which is hitting BUG ON
in ARM platforms. Fix
On Wed, Oct 08, 2014 at 12:52:04PM +0300, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
The commit ath10k: workaround fw beaconing bug is freeing
DMA-coherent memory in irq context which is hitting BUG ON
in ARM platforms. Fix this by moving dma_free out of spin
On Wed, Oct 08, 2014 at 12:50:28PM +0200, Michal Kazior wrote:
On 8 October 2014 12:33, Rajkumar Manoharan rmano...@qti.qualcomm.com wrote:
On Wed, Oct 08, 2014 at 11:45:38AM +0200, Michal Kazior wrote:
On 8 October 2014 11:16, Rajkumar Manoharan rmano...@qti.qualcomm.com
wrote
On Wed, Oct 08, 2014 at 04:38:44PM +0530, Rajkumar Manoharan wrote:
On Wed, Oct 08, 2014 at 12:50:28PM +0200, Michal Kazior wrote:
On 8 October 2014 12:33, Rajkumar Manoharan rmano...@qti.qualcomm.com
wrote:
On Wed, Oct 08, 2014 at 11:45:38AM +0200, Michal Kazior wrote:
On 8 October
. Fix this by changing GFP flag to atomic.
Cc: Michal Kazior michal.kaz...@tieto.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
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
For packet log, the transmitted frame 802.11 header alone is sufficient.
Recording entire packet is also consuming lot of disk space. To
optimize, add tracepoints for sending tx-ed 802.11 headers alone.
Cc: Michal Kazior michal.kaz...@tieto.com
Signed-off-by: Rajkumar Manoharan rmano
On Tue, Oct 28, 2014 at 05:59:39PM +0100, Johannes Berg wrote:
On Tue, 2014-10-28 at 22:18 +0530, Rajkumar Manoharan wrote:
For packet log, the transmitted frame 802.11 header alone is sufficient.
Recording entire packet is also consuming lot of disk space. To
optimize, add tracepoints
ath10k_tx_hdr
To record complete packets
trace-cmd record -e ath10k_tx_hdr -e ath10k_tx_payload
Cc: Michal Kazior michal.kaz...@tieto.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/htt_rx.c | 5 +++--
drivers/net/wireless/ath/ath10k/htt_tx.c | 4
On Wed, Oct 29, 2014 at 04:05:44PM +0100, Johannes Berg wrote:
On Wed, 2014-10-29 at 19:39 +0530, Rajkumar Manoharan wrote:
+ u32 hdr_len = ieee80211_hdrlen(hdr-frame_control);
+ trace_ath10k_rx_hdr(ar, hdr, hdr_len);
+ trace_ath10k_rx_payload(ar, skb-data + hdr_len, skb-len
On Tue, Nov 04, 2014 at 01:34:37AM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
For packet log, the transmitted frame 802.11 header alone is sufficient.
Recording entire packet is also consuming lot of disk space. To optimize
this, tx and rx data
On Wed, Nov 05, 2014 at 03:29:13AM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
On Tue, Nov 04, 2014 at 01:34:37AM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
-DECLARE_EVENT_CLASS(ath10k_data_event,
+#define
On Wed, Nov 05, 2014 at 11:12:01AM +0100, Johannes Berg wrote:
On Wed, 2014-11-05 at 15:14 +0530, Rajkumar Manoharan wrote:
The macro is defined to ease readability and reduce # of line changes.
I originally thought of naming the macro as IEEE80211_HDR_LEN. But such
definition does
ath10k_tx_hdr
To record complete packets
trace-cmd record -e ath10k_tx_hdr -e ath10k_tx_payload
Cc: Michal Kazior michal.kaz...@tieto.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
v2: Move header len processing inside trace
v3: Replace ATH10K_FRM_HDR_LEN by inline function
This patch would help bring up wifi interface with default board
data in case of failures in otp download. It is useful for initial
caliberation.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/core.c | 5 -
1 file changed, 4 insertions(+), 1
This will enable AP mode to change channel width dynamically
based on 20/40 intolerance report sent by associated client.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/mac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless
temperature is available from 10.2.4 firmware
onwards. The firmware can be downloaded from
https://github.com/kvalo/ath10k-firmware/tree/master/10.2.4/untested
Rajkumar Manoharan (5):
ath10k: add 10.2.4 firmware support
ath10k: add wmi support for pdev_set_quiet_mode
ath10k: add thermal cooling
-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/core.c | 8 +++-
drivers/net/wireless/ath/ath10k/core.h | 5 +
drivers/net/wireless/ath/ath10k/hw.h | 1 +
drivers/net/wireless/ath/ath10k/wmi.c | 1 +
drivers/net/wireless/ath/ath10k/wmi.h | 7 ++-
5 files
Add WMI support to send pdev_set_quiet_mode command to target.
This will be used for thermal mitigation purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 22 ++
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1
be found under /sys/class/thermal/cooling_deviceX/.
Corresponding soft link to this device can be found under phy folder.
/sys/class/ieee80211/phy*/device/cooling_device.
To set duty cycle as 40%,
echo 40 /sys/class/ieee80211/phy*/device/cooling_device/cur_state
Signed-off-by: Rajkumar Manoharan
Add WMI command support for reading temperature from the target and
corresponding WMI temperature event handler. The pdev_get_temperature
command is currently supported in 10.2 firmware alone.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi
WMI
command and wait for response. For reading temperature,
cat /sys/class/ieee80211/phy*/device/hwmon/hwmon2/temp1_input
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/core.c| 2 +
drivers/net/wireless/ath/ath10k/thermal.c | 83
/
stations/XX:XX:XX:XX:XX:XX/addba_resp
And for delba,
echo 0 1 37 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/delba
Rajkumar Manoharan (8):
ath10k: add wmi support for addba_clear_resp
ath10k: add wmi support for addba_send
ath10k: add wmi support
Add WMI support for clearing addba response before switching aggregation
mode (auto/manual) for debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 18 ++
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1
Add WMI support for sending addba request. This command is meant
for debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 +
drivers/net/wireless/ath
/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/aggr_mode
For manual mode,
echo 1 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/aggr_mode
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath
Add WMI support for sending addba response manually. This command
is used for debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 20
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 +
drivers/net
Add WMI support for sending delba request. This command is used for
debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 21 +
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 +
drivers/net/wireless/ath
This per-station debugfs entry helps to send addba request in manual
mode. Need to pass two configuration parameters (tid, buffer size)
as input.
To send addba,
echo 1 32 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/addba
Signed-off-by: Rajkumar Manoharan
This per-station debugfs entry helps to send delba in manual mode
for debugging purpose. It accepts tid, initiator and reason code
as inputs.
To send delba,
echo 0 1 37 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/delba
Signed-off-by: Rajkumar Manoharan
This per-station debugfs entry helps to send delba in manual mode
for debugging purpose. It accepts tid, initiator and reason code
as inputs.
To send delba,
echo 0 1 37 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/delba
Signed-off-by: Rajkumar Manoharan
/
stations/XX:XX:XX:XX:XX:XX/addba_resp
And for delba,
echo 0 1 37 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/delba
v2: Rebased on top of 10.2.4 WMI ops support
Rajkumar Manoharan (8):
ath10k: add wmi support for addba_clear_resp
ath10k: add wmi
Add WMI support for clearing addba response before switching aggregation
mode (auto/manual) for debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 18 ++
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1
Add WMI support for sending addba request. This command is meant
for debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 +
drivers/net/wireless/ath
This per-station debugfs entry helps to send addba request in manual
mode. Need to pass two configuration parameters (tid, buffer size)
as input.
To send addba,
echo 1 32 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/addba
Signed-off-by: Rajkumar Manoharan
Add WMI support for sending delba request. This command is used for
debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 21 +
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 +
drivers/net/wireless/ath
/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/aggr_mode
For manual mode,
echo 1 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/aggr_mode
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath
Add WMI support for sending addba response manually. This command
is used for debugging purpose.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/wmi-ops.h | 20
drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 +
drivers/net
-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/debugfs_sta.c | 55 +++
1 file changed, 55 insertions(+)
diff --git a/drivers/net/wireless/ath/ath10k/debugfs_sta.c
b/drivers/net/wireless/ath/ath10k/debugfs_sta.c
index 89e5e5a..95eb5a1 100644
This per-station debugfs entry helps to send delba in manual mode
for debugging purpose. It accepts tid, initiator and reason code
as inputs.
To send delba,
echo 0 1 37 /sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/delba
Signed-off-by: Rajkumar Manoharan
Place hwmon APIs inside CONFIG_HWMON switch to fix undefined
errors when hwmon is not enabled.
ERROR: devm_hwmon_device_register_with_groups
[drivers/net/wireless/ath/ath10k/ath10k_core.ko] undefined!
Reported-by: Kalle Valo kv...@qca.qualcomm.com
Signed-off-by: Rajkumar Manoharan rmano
. With this
changes, able to complete power down/up 100 iterations without
any issues.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/pci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k/pci.h
b
. Since 10.2.4
firmware is having this ROM patch, applying skip_clock_init only
for 10.2.4 firmware versions.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/core.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/net
due to lower ring entries.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index e6972b0
due to lower ring entries.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/pci.c
b/drivers/net/wireless/ath/ath10k/pci.c
index e6972b0
Allow user to configure the duty cycle upto 100%. Since thermal
mitigation algorithm is running in user space, remove the driver
level limitation and let the user to control the temperature.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/thermal.h
Duty cycle is nothing but percentage of one period in which a
signal is active. But it is wrongly interpreted as ratio of quiet
duration. So fix the quiet duration to the remaining percentage
of duty cycle (active ratio).
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers
To be compliant with the hwmon interface the unit needs to be
millidegree Celsius. Fix that.
Reported-by: Matthias Kaehlcke m...@google.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/thermal.c | 3 ++-
1 file changed, 2 insertions(+), 1
To be compliant with the hwmon interface the unit needs to be
millidegree Celsius. Fix that.
Reported-by: Matthias Kaehlcke m...@google.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
v2: added new line for better readability.
drivers/net/wireless/ath/ath10k/thermal.c | 3
Because of wrong macro check in config_enabled, hwmon never be
enabled. Fix that.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/thermal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath10k
The duty cycle (% of quiet duration) is used to put the device
in quiet mode for the given period. Currently the quiet duration
is wrongly calculated which results in not enabling quiet mode.
Fix the calculation as below
duration = (period * duty cycle) / 100
Signed-off-by: Rajkumar
Add support to configure quiet period (in milliseconds) via debugfs.
This is useful to experiment different quiet period values along with
different throttle ratio.
echo 100 /sys/kernel/debug/ieee80211/phyX/ath10k/quiet_period
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
, returning error
status is confusing and misleading the user application. Hence
moving the driver state check before sending wmi command to target.
Reported-by: Matthias Kaehlcke m...@google.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/thermal.c
On Thu, Mar 05, 2015 at 02:41:16PM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
Some of of qca988x solutions are having global reset issue
during target initialization. Bypassing PLL setting before
downloading firmware and letting the SoC run on REF_CLK
On Thu, Mar 12, 2015 at 03:00:32PM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
Wrong symlink name is used on error path of thermal registration
and also correcting the error message.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
Thanks
, returning error
status is confusing and misleading the user application. Hence
moving the driver state check before sending wmi command to target.
Reported-by: Matthias Kaehlcke m...@google.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/thermal.c
Kaehlcke m...@google.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/thermal.c | 35 +--
drivers/net/wireless/ath/ath10k/thermal.h | 4 ++--
2 files changed, 21 insertions(+), 18 deletions(-)
diff --git a/drivers/net
Thermal throttling is not handled in software restart and device
bootup. Also it needs to be configured whenever quiet period got
updated. Fix that.
Reported-by: Matthias Kaehlcke m...@google.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k
Recently thermal mitigation is validated in station mode as well.
Hence allowing thermal throttling for all interfaces. This enables
user to validate thermal mitigation with different modes.
Reported-by: Matthias Kaehlcke m...@google.com
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/thermal.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/thermal.c
b/drivers/net/wireless/ath/ath10k/thermal.c
index 7aef064..3720c86 100644
On Thu, Mar 12, 2015 at 03:20:33PM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
On Tue, Mar 10, 2015 at 05:39:46PM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
Add symbloic link thermal_sensors for hwmon devices
On Thu, Mar 12, 2015 at 03:21:34PM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
On Tue, Mar 10, 2015 at 05:43:58PM +0200, Kalle Valo wrote:
Rajkumar Manoharan rmano...@qti.qualcomm.com writes:
Add support to configure quiet period via sysfs entry
Target to host HTT messages are conflicting between 10.x and other
firmware revisions. By maintaining separate HTT T2H tables for each
firmware revisions (main, 10x and tlv) similar to WMI abstraction,
solves the conflicts.
Cc: Michal Kazior michal.kaz...@tieto.com
Signed-off-by: Rajkumar
Since the station kickout threshold is also counting software
reries (Default sw count in firmware is 16), increasing the threshold
to try with already 20 data frames before kicking out the station.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k
associated, this will impact the
robustness. Also enabling RTS protection only for second rateset will
not impact performance on clear environment. Fix that.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/mac.c | 6 --
1 file changed, 4 insertions(+), 2
-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
include/net/cfg80211.h | 3 +++
include/uapi/linux/nl80211.h | 8 +++-
net/wireless/nl80211.c | 6 ++
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 64e09e1
Store the low ack threshold configured by user in BSS config.
This will be used by driver for triggering low ack event whenever
the station is not ACKing the number of frames mentioned in
threshold.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
include/net/mac80211.h | 3
associated, this will impact the
robustness. Also enabling RTS protection only for second rateset will
not impact performance on clear environment. Fix that.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k/mac.c | 6 --
1 file changed, 4 insertions(+), 2
Since the station kickout threshold is also counting software
reries (Default sw count in firmware is 16), increasing the threshold
to try with atleast 20 data frames before kicking out the station.
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath/ath10k
On Thu, Feb 19, 2015 at 11:25:06PM +0530, Rajkumar Manoharan wrote:
Duty cycle is nothing but percentage of one period in which a
signal is active. But it is wrongly interpreted as ratio of quiet
duration. So fix the quiet duration to the remaining percentage
of duty cycle (active ratio
On Tue, Apr 21, 2015 at 07:02:05PM +0530, Rajkumar Manoharan wrote:
The commit mac80211: don't defer scans in case of radar detection
drops scan requests when interface is running on radar channel.
Once the AP interface is brought up on DFS channel,
sdata-radar_required never be cleared
.
By default, staggered mode is selected.
To select bursted mode
echo 1 /sys/kernel/debug/ieee80211/phyX/ath10k/beacon_tx_mode
For staggered mode,
echo 0 /sys/kernel/debug/ieee80211/phyX/ath10k/beacon_tx_mode
Signed-off-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
drivers/net/wireless/ath
On Tue, May 19, 2015 at 09:29:39AM +0200, Johannes Berg wrote:
On Thu, 2015-05-14 at 16:17 +0530, Rajkumar Manoharan wrote:
Add a new nl80211 attribute to configure low ack threshold (number of
consecutive frames) not being acked by station. This threshold is used
to kickout station
-by: Rajkumar Manoharan rmano...@qti.qualcomm.com
---
include/net/cfg80211.h | 3 +++
include/uapi/linux/nl80211.h | 9 +
net/wireless/nl80211.c | 13 +
3 files changed, 25 insertions(+)
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index f8d6813..4e42b09
descriptors. This will also reduce driver memory
consumption by 33KB during on device probing.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/ce.c | 22 --
drivers/net/wireless/ath/ath10k/ce.h | 6 --
drivers/net/wi
CE diag window access is serialized (it has to be by design) so
there's no way to get a different send completion. so there's no
need for post completion validation.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/pci.
and make a one-shot copy into the "uncached"
descriptor.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
v2:
* Since ce_send is not using shadow, fix send completion as well.
drivers/net/wireless/ath/ath10k/ce.c | 13 ++---
1 file changed, 6 insertions
from CE send completion. This change is needed before removing
the shadow copy of copy engine (CE) descriptors in follow up patch.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/ce.c | 24 +++-
drivers/net/wireless/ath/
Below series remove shadow copy of CE descriptors for source ring.
Removing the shadow copy should reduce d-cache pressure and memory
usage of the driver.
v2:
* Since ce_send is not using shadow, fix send completion as well.
Rajkumar Manoharan (4):
ath10k: use local memory instead of shadow
Removing supported chainmask fields as it can be always derived
from num_rf_chains.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/core.h | 2 --
drivers/net/wireless/ath/ath10k/mac.c | 17 +
drivers/net/wireless/ath/
Move HT and VHT capabiltity setup static functions to avoid
forward declaration.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/mac.c | 280 +-
1 file changed, 140 insertions(+), 140 deletions(-)
diff
Below series remove shadow copy of CE descriptors for source ring.
Removing the shadow copy should reduce d-cache pressure and memory
usage of the driver.
Rajkumar Manoharan (4):
ath10k: use local memory instead of shadow descriptor in ce_send
ath10k: remove send completion validation in diag
CE diag window access is serialized (it has to be by design) so
there's no way to get a different send completion. so there's no
need for post completion validation.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/pci.
and make a one-shot copy into the "uncached"
descriptor.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/ce.c | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/ce.c
b/drivers/
from CE send completion. This change is needed before removing
the shadow copy of copy engine (CE) descriptors in follow up patch.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/ce.c | 24 +++-
drivers/net/wireless/ath/
descriptors. This will also reduce driver memory
consumption by 33KB during on device probing.
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/ce.c | 22 --
drivers/net/wireless/ath/ath10k/ce.h | 6 --
drivers/net/wi
led to
transmit packet, dropping: -105" errors. Fix this by processing send
completion from CE 1 service routine instead of CE 5.
Tested-by: Ryan Hsu <ryan...@qca.qualcomm.com>
Signed-off-by: Rajkumar Manoharan <rmano...@qti.qualcomm.com>
---
drivers/net/wireless/ath/ath10k/pci.c |
1 - 100 of 266 matches
Mail list logo