[PATCH 0/2 linux-stable-4.4] ath10k: rebuild crypto header in rx data frames

2018-04-29 Thread Sriram R
merge. Sriram R (2): ath10k: Add new hw param to identify alignment for different chipsets ath10k: rebuild crypto header in rx data frames drivers/net/wireless/ath/ath10k/core.c| 8 +++ drivers/net/wireless/ath/ath10k/core.h| 4 ++ drivers/net/wireless/ath/ath10k/htt_rx.c | 108

[PATCH 1/2 linux-stable-4.4] ath10k: Add new hw param to identify alignment for different chipsets

2018-04-29 Thread Sriram R
: Sriram R --- drivers/net/wireless/ath/ath10k/core.c | 8 drivers/net/wireless/ath/ath10k/core.h | 4 2 files changed, 12 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/ath/ath10k/core.c index ee638cb..0c23768 100644 --- a/drivers/net

[PATCH 2/2 - linux-stable-4.4] ath10k: rebuild crypto header in rx data frames

2018-04-29 Thread Sriram R
attack. [Upstream Commit : 7eccb738fce57cbe53ed903ccf43f9ab257b15b3] Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Sriram R --- drivers/net/wireless/ath/ath10k/htt_rx.c | 98 ++-- 1 file changed, 82 insertions(+), 16 deletions(-) diff --git a/drivers/net

[PATCH 0/2] ath/ath10k: DFS Host Confirmation

2018-04-30 Thread Sriram R
This feature adds support for the ath10k host to send information about the specifications of the detected radar to the firmware for validation. A New WMI interface is added for enabling this communication of this information between the host and the firmware. Sriram R (2): ath: Add support to

[PATCH 1/2] ath: Add support to get the detected radar specifications

2018-04-30 Thread Sriram R
additional processing/validation. Note: 'radar_detector_specs' data containing the specifications of different radar types which was private within dfs_pattern_detector/ dfs_pri_detector is now shared with drivers as well for making use of this information. Signed-off-by: Sriram R --

[PATCH 2/2] ath10k: DFS Host Confirmation

2018-04-30 Thread Sriram R
ion. Supported Chipsets : QCA9984/QCA9888/QCA4019 Firmware Version : 10.4-3.6-00104 Signed-off-by: Sriram R --- drivers/net/wireless/ath/ath10k/core.h| 21 drivers/net/wireless/ath/ath10k/mac.c | 12 ++ drivers/net/wireless/ath/ath10k/wmi-ops.h | 32 ++ drivers/net/wireless/a

Re: [PATCH 2/2 - linux-stable-4.4] ath10k: rebuild crypto header in rx data frames

2018-04-30 Thread Sriram R
On 2018-05-01 00:39, Greg KH wrote: On Mon, Apr 30, 2018 at 11:56:27AM +0530, Sriram R wrote: Rx data frames notified through HTT_T2H_MSG_TYPE_RX_IND and HTT_T2H_MSG_TYPE_RX_FRAG_IND expect PN/TSC check to be done on host (mac80211) rather than firmware. Rebuild cipher header in every received

Re: [PATCH 2/2 - linux-stable-4.4] ath10k: rebuild crypto header in rx data frames

2018-04-30 Thread Sriram R
On 2018-05-01 05:14, Sriram R wrote: On 2018-05-01 00:39, Greg KH wrote: On Mon, Apr 30, 2018 at 11:56:27AM +0530, Sriram R wrote: Rx data frames notified through HTT_T2H_MSG_TYPE_RX_IND and HTT_T2H_MSG_TYPE_RX_FRAG_IND expect PN/TSC check to be done on host (mac80211) rather than firmware

Re: [PATCH 2/2 - linux-stable-4.4] ath10k: rebuild crypto header in rx data frames

2018-05-01 Thread Sriram R
On 2018-05-01 20:30, Greg KH wrote: On Tue, May 01, 2018 at 05:44:19AM +0530, Sriram R wrote: On 2018-05-01 05:14, Sriram R wrote: > On 2018-05-01 00:39, Greg KH wrote: > > On Mon, Apr 30, 2018 at 11:56:27AM +0530, Sriram R wrote: > > > Rx data frames notified through HTT_T

Re: [PATCH 2/2] ath10k: DFS Host Confirmation

2018-05-09 Thread Sriram R
On 2018-05-01 01:20, Peter Oh wrote: On 04/30/2018 10:45 AM, Sriram R wrote: In the 10.4-3.6 firmware branch there's a new DFS Host confirmation feature which is advertised using WMI_SERVICE_HOST_DFS_CHECK_SUPPORT flag. This new features enables the ath10k host to send information t

[PATCHv2 0/2] ath/ath10k: DFS Host Confirmation

2018-05-15 Thread Sriram R
confirmation timeout value to less than 200ms * Updated PATCH 2/2 commit log. Sriram R (2): ath: Add support to get the detected radar specifications ath10k: DFS Host Confirmation drivers/net/wireless/ath/ath10k/core.h | 21 +++ drivers/net/wireless/ath/ath10k/mac.c | 12

[PATCHv2 1/2] ath: Add support to get the detected radar specifications

2018-05-15 Thread Sriram R
additional processing/validation. Note: 'radar_detector_specs' data containing the specifications of different radar types which was private within dfs_pattern_detector/ dfs_pri_detector is now shared with drivers as well for making use of this information. Signed-off-by: Sriram R --

[PATCHv2 2/2] ath10k: DFS Host Confirmation

2018-05-15 Thread Sriram R
on. Hence this patch is mandatory when using a firmware from 10.4-3.6 branch. Else, DFS channels on FCC regions cannot be used. Supported Chipsets : QCA9984/QCA9888/QCA4019 Firmware Version : 10.4-3.6-00104 Signed-off-by: Sriram R --- drivers/net/wireless/ath/ath10k/core.h| 21 drive

[PATCHv2 1/2] ath: Add support to get the detected radar specifications

2018-05-15 Thread Sriram R
additional processing/validation. Note: 'radar_detector_specs' data containing the specifications of different radar types which was private within dfs_pattern_detector/ dfs_pri_detector is now shared with drivers as well for making use of this information. Signed-off-by: Sriram R --

[PATCHv2 2/2] ath10k: DFS Host Confirmation

2018-05-15 Thread Sriram R
on. Hence this patch is mandatory when using a firmware from 10.4-3.6 branch. Else, DFS channels on FCC regions cannot be used. Supported Chipsets : QCA9984/QCA9888/QCA4019 Firmware Version : 10.4-3.6-00104 Signed-off-by: Sriram R --- drivers/net/wireless/ath/ath10k/core.h| 21 drive

[PATCHv2 0/2] ath/ath10k: DFS Host Confirmation

2018-05-15 Thread Sriram R
confirmation timeout value to less than 200ms * Updated PATCH 2/2 commit log. Sriram R (2): ath: Add support to get the detected radar specifications ath10k: DFS Host Confirmation drivers/net/wireless/ath/ath10k/core.h | 21 +++ drivers/net/wireless/ath/ath10k/mac.c | 12

Re: [PATCHv2 0/2] ath/ath10k: DFS Host Confirmation

2018-05-15 Thread Sriram R
On 2018-05-15 14:37, Sriram R wrote: This feature adds support for the ath10k host to send information about the specifications of the detected radar to the firmware for validation. A New WMI interface is added for enabling this communication of this information between the host and the

[PATCH] ath10k: Add support for configuring management packet rate

2018-09-09 Thread Sriram R
WMI_VDEV_PARAM_MGMT_RATE param for configuring the management packets rate to the firmware. Chipsets Tested : QCA988X, QCA9887, QCA9984 FW Tested : 10.2.4-1.0-41, 10.4-3.6.104 Signed-off-by: Sriram R --- drivers/net/wireless/ath/ath10k/mac.c | 45 +-- 1 file changed, 43

[PATCH v2] ath10k: Add support for configuring management packet rate

2018-09-24 Thread Sriram R
WMI_VDEV_PARAM_MGMT_RATE param for configuring the management packets rate to the firmware. Chipsets Tested : QCA988X, QCA9887, QCA9984 FW Tested : 10.2.4-1.0-41, 10.4-3.6.104 Signed-off-by: Sriram R --- v2: * Correction to ath10k_rates array indexing. * Usage of appropriate indent

Re: [ath6kl:pending 39/55] drivers/net/wireless/ath/ath10k/mac.c:169 ath10k_mac_get_rate_hw_value() error: buffer overflow 'ath10k_rates' 12 <= 143

2018-09-24 Thread Sriram R
9c5d64e vim +/ath10k_rates +169 drivers/net/wireless/ath/ath10k/mac.c 01cebe1c Michal Kazior 2015-03-30 159 0c737c78 Sriram R 2018-09-10 160 static int ath10k_mac_get_rate_hw_value(int bitrate) 0c737c78 Sriram R 2018-09-10 161 { 0c737c78 Sriram R 2018-09-10 162

[PATCH] ath10k: Fix possible out of bound access of ath10k_rates array

2018-10-02 Thread Sriram R
2 ("ath10k: add support for configuring management packet rate") (Also correction made to some indents used in the above commit) Signed-off-by: Sriram R --- drivers/net/wireless/ath/ath10k/mac.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff

Re: [PATCH v2] ath10k: Add support for configuring management packet rate

2018-10-02 Thread Sriram R
On 2018-10-01 20:18, Kalle Valo wrote: Sriram R wrote: By default the firmware uses 1Mbps and 6Mbps rate for management packets in 2G and 5G bands respectively. But when the user selects different basic rates from the userspace, we need to send the management packets at the lowest basic rate