[PATCH] ath10k: Add new debug_mask for sta related logs

2021-02-04 Thread Tamizh chelvam
From: Tamizh Chelvam Add new enum ATH10K_DBG_STA debug_mask for printing sta related logs. This will be useful to check the debug logs of connection and changes related to station. Tested-on: QCA9984 hw1.0 PCI 10.4-3.9.0.2-00021 Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath

[PATCH] ath10k: fix compilation warning

2020-11-04 Thread Tamizh chelvam
From: Tamizh Chelvam This change fixes below compilation warning. smatch warnings: drivers/net/wireless/ath/ath10k/mac.c:9125 ath10k_mac_op_set_tid_config() error: uninitialized symbol 'ret'. No functional changes. Compile tested only. Reported-by: kernel test robot Reported-by: Dan

Re: [PATCHv2 3/4] ath10k: Add new api to support TID specific configuration

2020-08-18 Thread Tamizh Chelvam
-00021 Signed-off-by: Tamizh Chelvam Signed-off-by: Kalle Valo There few checkpatch warnings which I fixed and also I did some whitespace changes to improve readability. Others were trivial but please check carefully this change and let me know if it's ok: Thanks for the cleanup. Change looks

[PATCHv2 3/4] ath10k: Add new api to support TID specific configuration

2020-07-04 Thread Tamizh Chelvam
-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/core.c | 4 + drivers/net/wireless/ath/ath10k/core.h | 19 ++ drivers/net/wireless/ath/ath10k/mac.c | 575 - drivers/net/wireless/ath/ath10k/txrx.c | 11 +- drivers/net/wireless/ath/ath10k/wmi.c | 9

[PATCHv2 0/4] ath10k: Add support for TID specific configuration

2020-07-04 Thread Tamizh Chelvam
Add TID specific configuration for noack, retry count, aggregation, Tx rate and RTS_CTS control. Here if noack is enabled for the TID then aggregation should be disabled and Tx rate should be and retry count will be 0. Also add support for reset TID configuration. Tamizh Chelvam (4): ath10k

[PATCHv2 2/4] ath10k: Move rate mask validation function up in the file

2020-07-04 Thread Tamizh Chelvam
This patch does not have any functional changes. Tested-on: QCA9984 hw1.0 PCI 10.4-3.9.0.2-00021 Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/mac.c | 174 +- 1 file changed, 87 insertions(+), 87 deletions(-) diff --git a/drivers/net

[PATCHv2 1/4] ath10k: Add wmi command support for station specific TID config

2020-07-04 Thread Tamizh Chelvam
this support. Tested-on: QCA9984 hw1.0 PCI 10.4-3.9.0.2-00021 Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 +++ drivers/net/wireless/ath/ath10k/wmi.h | 52 +++ 3

[PATCHv2 4/4] ath10k: Add new api to support reset TID config

2020-07-04 Thread Tamizh Chelvam
Add ops for reset_tid_config to support reset TID configuration. This send default configuration to the target for the TIDs and stores default value in the host. Tested-on: QCA9984 hw1.0 PCI 10.4-3.9.0.2-00021 Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/core.h | 1

[PATCH 2/4] ath10k: Move rate mask validation function up in the file

2020-06-28 Thread Tamizh Chelvam
This patch does not have any functional changes. Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/mac.c | 174 +- 1 file changed, 87 insertions(+), 87 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath

[PATCH 1/4] ath10k: Add wmi command support for station specific TID config

2020-06-28 Thread Tamizh Chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 +++ drivers/net/wireless/ath/ath10k/wmi.h | 52

[PATCH 4/4] ath10k: Add new api to support reset TID config

2020-06-28 Thread Tamizh Chelvam
Add ops for reset_tid_config to support reset TID configuration. This send default configuration to the target for the TIDs and stores default value in the host. Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/mac.c | 88

[PATCH 3/4] ath10k: Add new api to support TID specific configuration

2020-06-28 Thread Tamizh Chelvam
: 10.4-3.9.0.2-00021 Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath/ath10k/core.c | 4 + drivers/net/wireless/ath/ath10k/core.h | 19 ++ drivers/net/wireless/ath/ath10k/mac.c | 577 - drivers/net/wireless/ath/ath10k/txrx.c | 11 +- drivers/net/wireless

[PATCH 0/4] ath10k: Add support for TID specific configuration

2020-06-28 Thread Tamizh Chelvam
Add TID specific configuration for noack, retry count, aggregation, Tx rate and RTS_CTS control. Here if noack is enabled for the TID then aggregation should be disabled and Tx rate should be and retry count will be 0. Also add support for reset TID configuration. Tamizh Chelvam (4): ath10k

[PATCHv2 2/2] ath10k: Add support to read btcoex related data from DT

2020-01-27 Thread Tamizh Chelvam
and wlan priority gpio pin number from DT. Depends on the btcoex_support flag value host will expose BTCOEX support and wlan priority gpio pin number to target. Testing: * Tested HW : QCA4019 * Tested FW : 10.4-3.2.1.1-00017 Signed-off-by: Tamizh Chelvam --- v2: * Changed

[PATCHv2 1/2] dt-bindings: ath10k: Add new dt entries to identify coex support

2020-01-27 Thread Tamizh Chelvam
This adds new dt entries qcom,coexist-support and qcom,coexist-gpio-pin which will be used by ath10k driver to identify coex support of a hardware and notify wifi firmware the gpio pin number. This pin number information is needed for the hardware QCA4019. Signed-off-by: Tamizh Chelvam

[PATCH 1/2] dt-bindings: ath10k: Add new dt entries to identify coex support

2019-12-16 Thread Tamizh Chelvam
This adds new dt entries qcom,coexist-support and qcom,coexist-gpio-pin which will be used by ath10k driver to identify coex support of a hardware and notify wifi firmware the gpio pin number. This pin number information is needed for the hardware QCA4019. Signed-off-by: Tamizh Chelvam

[PATCH 2/2] ath10k: Add support to read btcoex related data from DT

2019-12-16 Thread Tamizh Chelvam
and wlan priority gpio pin number from DT. Depends on the btcoex_support flag value host will expose BTCOEX support and wlan priority gpio pin number to target. Testing: * Tested HW : QCA4019 * Tested FW : 10.4-3.2.1.1-00017 Signed-off-by: Tamizh Chelvam --- drivers/net/wireless/ath

Re: [PATCHv6 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-08-10 Thread Tamizh chelvam
On 2019-07-31 14:58, Johannes Berg wrote: On Tue, 2019-06-18 at 10:57 +0530, Tamizh chelvam wrote: + if (!wiphy_ext_feature_isset(>wiphy, + NL80211_EXT_FEATURE_PER_TID_AMPDU_CTRL)) { + NL_SET_ERR_MSG_ATTR(ext

Re: [PATCHv6 1/9] nl80211: New netlink command for TID specific configuration

2019-08-10 Thread Tamizh chelvam
On 2019-07-31 14:55, Johannes Berg wrote: On Tue, 2019-06-18 at 10:57 +0530, Tamizh chelvam wrote: /** + * enum nl80211_tid_config - TID config state + * @NL80211_TID_CONFIG_DEFAULT: Default config for the TID + * @NL80211_TID_CONFIG_ENABLE: Enable config for the TID

Re: [PATCHv6 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-08-10 Thread Tamizh chelvam
On 2019-07-31 14:54, Johannes Berg wrote: ^^ there's a typo in the subject I will fix it in next version. @@ -3951,6 +3957,7 @@ enum wiphy_flags { WIPHY_FLAG_SUPPORTS_5_10_MHZ= BIT(22), WIPHY_FLAG_HAS_CHANNEL_SWITCH = BIT(23),

Re: [PATCHv6 1/9] nl80211: New netlink command for TID specific configuration

2019-07-31 Thread Tamizh chelvam
+ * @NL80211_ATTR_TID_CONFIG: TID specific configuration in a + * nested attribute with %NL80211_TID_ATTR_* sub-attributes. Please use NL80211_TID_CONFIG_ATTR_* throughout, also for +/* enum nl80211_tid_attr_config - TID specific configuration. the enum name +enum

Re: [PATCHv6 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-07-31 Thread Tamizh chelvam
-by: Tamizh chelvam ... if (info->attrs[NL80211_ATTR_TX_RATES]) { - err = nl80211_parse_tx_bitrate_mask(info, _rate); + err = nl80211_parse_tx_bitrate_mask(info, info->attrs, + NL80211_ATTR_TX

Re: [PATCHv6 1/9] nl80211: New netlink command for TID specific configuration

2019-07-31 Thread Tamizh chelvam
TID noack policy configuration should be advertise through NL80211_EXT_FEATURE_PER_STA_NOACK_CONFIG Signed-off-by: Tamizh chelvam ... +static int parse_tid_conf(struct cfg80211_registered_device *rdev, + struct nlattr *attrs[], + struct

[PATCHv6 7/9] ath10k: Add wmi command support for station specific TID config

2019-06-17 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 ++ drivers/net/wireless/ath/ath10k/wmi.h | 52

[PATCHv6 8/9] ath10k: Add new api to support TID specific configuration

2019-06-17 Thread Tamizh chelvam
with the same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net

[PATCHv6 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-06-17 Thread Tamizh chelvam
limit. Driver supporting TID specific retry configuration should advertise NL80211_EXT_FEATURE_PER_TID_RETRY_CONFIG and per STA specific data TID retry configuration should advertise NL80211_EXT_FEATURE_PER_STA_RETRY_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 11

[PATCHv6 4/9] nl80211: Add netlink attribute to enable/disable RTS_CTS

2019-06-17 Thread Tamizh chelvam
TID RTS_CTS configuration should advertise NL80211_EXT_FEATURE_PER_STA_RTSCTS_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 27 +++ 3 files

[PATCHv6 6/9] mac80211: Add api to support configuring TID specific configuration

2019-06-17 Thread Tamizh chelvam
Implement drv_set_tid_config api to allow TID specific configuration. This per-TID configuration will be applied for all the connected stations when MAC is NULL. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 38 ++ net/mac80211/cfg.c

[PATCHv6 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-06-17 Thread Tamizh chelvam
per-STA data TID ampdu configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 25 + 3 files

[PATCHv6 0/9] cfg80211/mac80211: Add support for TID specific configuration

2019-06-17 Thread Tamizh chelvam
multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute

[PATCHv6 1/9] nl80211: New netlink command for TID specific configuration

2019-06-17 Thread Tamizh chelvam
through NL80211_EXT_FEATURE_PER_STA_NOACK_CONFIG Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 + include/uapi/linux/nl80211.h | 57 + net/wireless/nl80211.c | 113 ++ net/wireless/rdev-ops.h

Re: [PATCHv5 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-04-30 Thread Tamizh chelvam
On 2019-04-26 15:07, Johannes Berg wrote: @@ -13354,6 +13367,42 @@ static int parse_tid_conf(struct cfg80211_registered_device *rdev, nla_get_u8(attrs[NL80211_ATTR_TID_CONFIG_RTSCTS_CTRL]); } + if (attrs[NL80211_ATTR_TID_CONFIG_TX_RATES_TYPE]) { +

Re: [PATCHv5 1/9] nl80211: New netlink command for TID specific configuration

2019-04-30 Thread Tamizh chelvam
+enum ieee80211_tid_conf_mask { + IEEE80211_TID_CONF_NOACK= BIT(0), +}; + +/** + * struct ieee80211_tid_cfg - TID specific configuration + * @tid: TID number + * @tid_conf_mask: bitmap indicating which parameter changed + * see %enum ieee80211_tid_conf_mask + * @noack: noack

[PATCHv5 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-03-26 Thread Tamizh chelvam
limit. Driver supporting TID specific retry configuration should advertise NL80211_EXT_FEATURE_PER_TID_RETRY_CONFIG and per STA specific data TID retry configuration should advertise NL80211_EXT_FEATURE_PER_STA_RETRY_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 11

[PATCHv5 7/9] ath10k: Add wmi command support for station specific TID config

2019-03-26 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 ++ drivers/net/wireless/ath/ath10k/wmi.h | 52

[PATCHv5 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-03-26 Thread Tamizh chelvam
in NL80211_ATTR_MAC attribute. Driver supporting this feature should advertise NL80211_EXT_FEATURE_PER_TID_TX_BITRATE_MASK and supporting per-STA data TID TX bitrate configuration should advertise NL80211_EXT_FEATURE_PER_STA_TX_BITRATE_MASK. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h

[PATCHv5 0/9] cfg80211/mac80211: Add support for TID specific configuration

2019-03-26 Thread Tamizh chelvam
accept multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute

[PATCHv5 8/9] ath10k: Add new api to support TID specific configuration

2019-03-26 Thread Tamizh chelvam
with the same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net

[PATCHv5 6/9] mac80211: Add api to support configuring TID specific configuration

2019-03-26 Thread Tamizh chelvam
Implement drv_set_tid_config api to allow TID specific configuration. This per-TID configuration will be applied for all the connected stations when MAC is NULL. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 38 ++ net/mac80211/cfg.c

[PATCHv5 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-03-26 Thread Tamizh chelvam
per-STA data TID ampdu configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 15 +++ 3 files changed

[PATCHv4 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-03-11 Thread Tamizh chelvam
in NL80211_ATTR_MAC attribute. Driver supporting this feature should advertise NL80211_EXT_FEATURE_PER_TID_TX_BITRATE_MASK and supporting per-STA data TID TX bitrate configuration should advertise NL80211_EXT_FEATURE_PER_STA_TX_BITRATE_MASK. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h

[PATCHv4 7/9] ath10k: Add wmi command support for station specific TID config

2019-03-11 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 ++ drivers/net/wireless/ath/ath10k/wmi.h | 52

[PATCHv4 8/9] ath10k: Add new api to support TID specific configuration

2019-03-11 Thread Tamizh chelvam
with the same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net

[PATCHv4 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-03-11 Thread Tamizh chelvam
per-STA data TID ampdu configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 15 +++ 3 files changed

[PATCHv4 9/9] ath10k: Add extended TID configuration support

2019-03-11 Thread Tamizh chelvam
extended configuration parameter has modified(here RTS_CTS). WMI_10_4_SERVICE_EXT_PEER_TID_CONFIGS_SUPPORT service flag introduced to advertise this support. Testing: * Tested HW: QCA9984 * Tested FW: 10.4-3.9.0.2-00021 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath

[PATCHv4 4/9] nl80211: Add netlink attribute to enable/disable RTS_CTS

2019-03-11 Thread Tamizh chelvam
TID RTS_CTS configuration should advertise NL80211_EXT_FEATURE_PER_STA_RTSCTS_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 17 + 3 files changed, 42

[PATCHv4 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-03-11 Thread Tamizh chelvam
limit. Driver supporting TID specific retry configuration should advertise NL80211_EXT_FEATURE_PER_TID_RETRY_CONFIG and per STA specific data TID retry configuration should advertise NL80211_EXT_FEATURE_PER_STA_RETRY_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 11

[PATCHv4 0/9] cfg80211/mac80211: Add support for TID specific configuration

2019-03-11 Thread Tamizh chelvam
accept multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute

[PATCHv4 6/9] mac80211: Add api to support configuring TID specific configuration

2019-03-11 Thread Tamizh chelvam
Implement drv_set_tid_config api to allow TID specific configuration. This per-TID configuration will be applied for all the connected stations when MAC is NULL. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 38 ++ net/mac80211/cfg.c

[PATCHv4 1/9] nl80211: New netlink command for TID specific configuration

2019-03-11 Thread Tamizh chelvam
through NL80211_EXT_FEATURE_PER_STA_NOACK_CONFIG Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 +++ include/uapi/linux/nl80211.h | 51 + net/wireless/nl80211.c | 102 ++ net/wireless/rdev

[PATCHv3 8/9] ath10k: Add new api to support TID specific configuration

2019-03-06 Thread Tamizh chelvam
with the same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net

[PATCHv3 9/9] ath10k: Add extended TID configuration support

2019-03-06 Thread Tamizh chelvam
extended configuration parameter has modified(here RTS_CTS). WMI_10_4_SERVICE_EXT_PEER_TID_CONFIGS_SUPPORT service flag introduced to advertise this support. Testing: * Tested HW: QCA9984 * Tested FW: 10.4-3.9.0.2-00021 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath

[PATCHv3 7/9] ath10k: Add wmi command support for station specific TID config

2019-03-06 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 +++ drivers/net/wireless/ath/ath10k/wmi.h | 52

[PATCHv3 6/9] mac80211: Add api to support configuring TID specific configuration

2019-03-06 Thread Tamizh chelvam
Implement drv_set_tid_config api to allow TID specific configuration. This per-TID configuration will be applied for all the connected stations when MAC is NULL. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 35 +++ net/mac80211/cfg.c| 28

[PATCHv3 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-03-06 Thread Tamizh chelvam
in NL80211_ATTR_MAC attribute. Driver supporting this feature should advertise NL80211_EXT_FEATURE_PER_TID_TX_BITRATE_MASK and supporting per-STA data TID TX bitrate configuration should advertise NL80211_EXT_FEATURE_PER_STA_TX_BITRATE_MASK. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h

[PATCHv3 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-03-06 Thread Tamizh chelvam
per-STA data TID ampdu configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 15 +++ 3 files changed, 40

[PATCHv3 4/9] nl80211: Add netlink attribute to enable/disable RTS_CTS

2019-03-06 Thread Tamizh chelvam
TID RTS_CTS configuration should advertise NL80211_EXT_FEATURE_PER_STA_RTSCTS_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 17 + 3 files changed, 42 insertions

[PATCHv3 1/9] nl80211: New netlink command for TID specific configuration

2019-03-06 Thread Tamizh chelvam
through NL80211_EXT_FEATURE_PER_STA_NOACK_CONFIG Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 +++ include/uapi/linux/nl80211.h | 51 ++ net/wireless/nl80211.c | 102 +++ net/wireless/rdev

[PATCHv3 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-03-06 Thread Tamizh chelvam
limit. Driver supporting TID specific retry configuration should advertise NL80211_EXT_FEATURE_PER_TID_RETRY_CONFIG and per STA specific data TID retry configuration should advertise NL80211_EXT_FEATURE_PER_STA_RETRY_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 11

[PATCHv3 0/9] cfg80211/mac80211: Add support for TID specific configuration

2019-03-06 Thread Tamizh chelvam
accept multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute

[PATCH] ath: DFS JP domain W56 fixed pulse type 3 RADAR detection

2019-03-06 Thread Tamizh chelvam
-3.2.1.1-00017) * QCA9984(10.4-3.6-00104) * QCA988X(10.2.4-1.0-00041) Tested ath9k hw: AR9300 Tested-by: Tamizh chelvam Signed-off-by: Tamizh chelvam Signed-off-by: Anilkumar Kolli --- drivers/net/wireless/ath/dfs_pattern_detector.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCHv2 8/9] ath10k: Add new api to support TID specific configuration

2019-02-27 Thread Tamizh chelvam
applied with the same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam

Re: [PATCHv2 1/9] nl80211: New netlink command for TID specific configuration

2019-02-26 Thread Tamizh chelvam
Hi Sergey, Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 +++ include/uapi/linux/nl80211.h | 51 ++ net/wireless/nl80211.c | 102 +++ net/wireless/rdev-ops.h | 11 + net/wireless

[PATCHv2 6/9] mac80211: Add api to support configuring TID specific configuration

2019-02-21 Thread Tamizh chelvam
Implement drv_set_tid_config api to allow TID specific configuration. This per-TID configuration will be applied for all the connected stations when MAC is NULL. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 35 +++ net/mac80211/cfg.c| 28

[PATCHv2 9/9] ath10k: Add extended TID configuration support

2019-02-21 Thread Tamizh chelvam
extended configuration parameter has modified(here RTS_CTS). WMI_10_4_SERVICE_EXT_PEER_TID_CONFIGS_SUPPORT service flag introduced to advertise this support. Testing: * Tested HW: QCA9984 * Tested FW: 10.4-3.9.0.2-00021 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath

[PATCHv2 7/9] ath10k: Add wmi command support for station specific TID config

2019-02-21 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 +++ drivers/net/wireless/ath/ath10k/wmi.c | 32 +++ drivers/net/wireless/ath/ath10k/wmi.h | 52

[PATCHv2 2/9] nl80211: Add new netlink attribute for TID speicific retry count

2019-02-21 Thread Tamizh chelvam
limit. Driver supporting TID specific retry configuration should advertise NL80211_EXT_FEATURE_PER_TID_RETRY_CONFIG and per STA specific data TID retry configuration should advertise NL80211_EXT_FEATURE_PER_STA_RETRY_CONFIG. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 11

[PATCHv2 0/9] cfg80211/mac80211: Add support for TID specific configuration

2019-02-21 Thread Tamizh chelvam
multiple number of data TID specific configuration in a single command, enum ieee80211_tid_conf_mask used to notify the driver that which configuration got modified for the TID. Tamizh chelvam (9): nl80211: New netlink command for TID specific configuration nl80211: Add new netlink attribute

[PATCHv2 8/9] ath10k: Add new api to support TID specific configuration

2019-02-21 Thread Tamizh chelvam
with the same configuration for the TID through station specific command. Newly connecting stations will be applied with vif TID configuration which will be stored in ieee80211_vif. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net

[PATCHv2 4/9] nl80211: Add netlink attribute to enable/disable RTS_CTS

2019-02-21 Thread Tamizh chelvam
TID RTS_CTS configuration should advertise NL80211_EXT_FEATURE_PER_STA_RTSCTS_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 17 + 3 files changed, 42 insertions

[PATCHv2 5/9] nl80211: Add netlink attribute to configure TID specific tx rate

2019-02-21 Thread Tamizh chelvam
should advertise NL80211_EXT_FEATURE_PER_STA_TX_BITRATE_MASK. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 5 + include/uapi/linux/nl80211.h | 38 ++ net/wireless/nl80211.c | 41 +++-- 3 files

[PATCHv2 1/9] nl80211: New netlink command for TID specific configuration

2019-02-21 Thread Tamizh chelvam
through NL80211_EXT_FEATURE_PER_STA_NOACK_CONFIG Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 35 +++ include/uapi/linux/nl80211.h | 51 ++ net/wireless/nl80211.c | 102 +++ net/wireless/rdev

[PATCHv2 3/9] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2019-02-21 Thread Tamizh chelvam
per-STA data TID ampdu configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 3 +++ include/uapi/linux/nl80211.h | 22 ++ net/wireless/nl80211.c | 15 +++ 3 files changed, 40

Re: [PATCH 0/4] cfg80211/mac80211: Add support for TID specific configuration

2019-02-13 Thread Tamizh chelvam
to make the configuration station specific rather than applying to all the connected stations to the netdev. Tamizh chelvam (3): nl80211: Add netlink attribute for AMPDU aggregation enable/disable tid conf 3 ath10k: Add support to configure TID specific configuration Vasanthakumar

Re: [PATCH 1/4] New netlink command for TID specific configuration

2018-11-12 Thread Tamizh chelvam
On 2018-11-09 17:54, Johannes Berg wrote: On Fri, 2018-11-09 at 09:40 +, Sergey Matyukevich wrote: Ok. So if driver receives retry value (-1), it should reset to some default value known to driver or firmware. IMHO it worth making it more explicit: in its current form this convention will

Re: [PATCH 1/4] New netlink command for TID specific configuration

2018-11-08 Thread Tamizh chelvam
Hello Tamizh, Co-Developed-by: Tamizh Chelvam Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 14 +++ include/uapi/linux/nl80211.h | 69 + net/wireless/nl80211.c | 86

Re: [PATCH 1/4] New netlink command for TID specific configuration

2018-11-08 Thread Tamizh chelvam
On 2018-11-06 15:46, Sergey Matyukevich wrote: Hello Tamizh, Co-Developed-by: Tamizh Chelvam Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 14 +++ include/uapi/linux/nl80211.h | 69 + net

Re: [PATCH 3/4] mac80211: Add api to support configuring TID specific configuration

2018-11-08 Thread Tamizh chelvam
On 2018-11-06 16:03, Sergey Matyukevich wrote: Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 40 + net/mac80211/cfg.c| 71 + net/mac80211/driver-ops.h | 16 ++ net/mac80211/trace.h

Re: [PATCH 2/4] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2018-11-08 Thread Tamizh chelvam
Hi Sergey, Hello Tamizh, Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |6 ++ include/uapi/linux/nl80211.h | 21 + net/wireless/nl80211.c | 17 + net/wireless/rdev-ops.h | 15 +++ net/wireless/trace.h

[PATCH 2/4] nl80211: Add netlink attribute for AMPDU aggregation enable/disable

2018-10-22 Thread Tamizh chelvam
aggregation configuration should advertise NL80211_EXT_FEATURE_PER_STA_AMPDU_AGGR_CTRL. Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h |6 ++ include/uapi/linux/nl80211.h | 21 + net/wireless/nl80211.c | 17 + net/wireless/rdev

[PATCH 3/4] mac80211: Add api to support configuring TID specific configuration

2018-10-22 Thread Tamizh chelvam
the connected stations when MAC is NULL. enum ieee80211_tid_conf_change introduced to notify the the driver about which configuration parameter got changed in ieee80211_tid_conf structure. Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 40 + net/mac80211/cfg.c

[PATCH 0/4] cfg80211/mac80211: Add support for TID specific configuration

2018-10-22 Thread Tamizh chelvam
station specific rather than applying to all the connected stations to the netdev. Tamizh chelvam (3): nl80211: Add netlink attribute for AMPDU aggregation enable/disable tid conf 3 ath10k: Add support to configure TID specific configuration Vasanthakumar Thiagarajan (1): New netlink command

[PATCH 6/6] ath10k: Add support for station specific noack TID policy

2018-10-16 Thread Tamizh chelvam
flag in the tx completion. WMI_SERVICE_PEER_TID_CONFIGS_SUPPORT flag is added to advertise this command support Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/core.h | 11 +++ drivers/net/wireless/ath

[PATCH 1/6] mac80211: Add NoAck policy functionality offload infrastructure

2018-10-16 Thread Tamizh chelvam
-off-by: Tamizh chelvam --- include/net/mac80211.h|7 +++ net/mac80211/cfg.c| 10 -- net/mac80211/driver-ops.h | 21 + net/mac80211/iface.c |4 net/mac80211/trace.h | 25 + net/mac80211/tx.c

[PATCH 0/6] wireless: Per-sta NoAck and offload support

2018-10-16 Thread Tamizh chelvam
of the station. Tamizh chelvam (2): ath10k: Add wmi command support for station specific TID config ath10k: Add support for station specific noack TID policy Vasanthakumar Thiagarajan (4): mac80211: Add NoAck policy functionality offload infrastructure nl80211/mac80211: Extend NoAck policy

[PATCH 5/6] ath10k: Add wmi command support for station specific TID config

2018-10-16 Thread Tamizh chelvam
this support. Testing: * Tested HW: QCA9888 * Tested FW: 10.4-3.5.1-00052 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/wmi-ops.h | 19 drivers/net/wireless/ath/ath10k/wmi.c | 29 ++ drivers/net/wireless/ath/ath10k/wmi.h | 50

[PATCH 2/6] nl80211/mac80211: Extend NoAck policy command with peer MAC address

2018-10-16 Thread Tamizh chelvam
, redefine noack_map as int from u16. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/cfg80211.h | 12 ++-- include/net/mac80211.h |2 +- include/uapi/linux/nl80211.h | 16 +++- net/mac80211/cfg.c |3 ++- net

[PATCH 3/6] mac80211: Apply per-peer NoAck tid bitmap configuration

2018-10-16 Thread Tamizh chelvam
modifies callback set_noack_tid_bitmap() with the provision to send per-peer NoAck policy configuration to the drivers. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- include/net/mac80211.h| 14 ++ net/mac80211/cfg.c| 43

[PATCH 4/6] mac80211: Advertise per-peer NoAck policy support

2018-10-16 Thread Tamizh chelvam
From: Vasanthakumar Thiagarajan This enables per-peer NoAck handling in mac80211 when the functionality is not offloaded to the drivers. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Tamizh chelvam --- net/mac80211/main.c |4 1 file changed, 4 insertions(+) diff --git

[PATCH] ath: fix frequent flase radar detection

2018-10-14 Thread Tamizh chelvam
in the noisy environment. Tested ath10k hw and fw: * QCA9888(10.4-3.5.1-00052) * QCA4019(10.4-3.2.1.1-00017) * QCA9984(10.4-3.6-00104) * QCA988X(10.2.4-1.0-00041) Tested ath9k hw: AR9300 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath.h | 2

[PATCH] ath10k: fix kernel panic by moving pci flush after napi_disable

2018-07-30 Thread Tamizh chelvam
__do_softirq irq_exit+0x84/0xe0 irq_exit __handle_domain_irq+0x80/0xa0 __handle_domain_irq gic_handle_irq+0x38/0x5c gic_handle_irq __irq_usr+0x44/0x60 Tested on QCA4019 and firmware version 10.4.3.2.1.1-00010 Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/ahb.c | 4 ++-- drivers/

Re: [PATCHv2] ath10k: fix kernel panic while reading tpc_stats

2018-03-27 Thread Tamizh chelvam
On 2018-03-26 21:19, Kalle Valo wrote: Tamizh chelvam <tami...@codeaurora.org> writes: When attempt to read tpc_stats for the chipsets which support more than 3 tx chain will trigger kernel panic(kernel stack is corrupted) due to writing values on rate_code array out of range. This

[PATCHv2] ath10k: fix kernel panic while reading tpc_stats

2018-03-22 Thread Tamizh chelvam
+0xa4/0x108) [ 323.900690] [] (cpu_startup_entry) from [<422085a4>] (0x422085a4) Signed-off-by: Tamizh chelvam <tami...@codeaurora.org> --- v2: * Removed unnecessary '\n' in the beginning of the format string drivers/net/wireless/ath/ath10k/debug.c | 8 +++- drivers/net/wireles

[PATCH] ath10k: fix kernel panic while reading tpc_stats

2018-03-22 Thread Tamizh chelvam
+0xa4/0x108) [ 323.900690] [] (cpu_startup_entry) from [<422085a4>] (0x422085a4) Signed-off-by: Tamizh chelvam <tami...@codeaurora.org> --- drivers/net/wireless/ath/ath10k/debug.c | 12 +--- drivers/net/wireless/ath/ath10k/wmi.c | 10 +- drivers/net/wireless/ath/ath10k/

RE: [PATCHv4 0/2] cfg80211: mac80211: BTCOEX feature support

2017-04-12 Thread Tamizh Chelvam Raja
> + linux-bluetooth, Marcel > > On 11-4-2017 12:15, c_tr...@qti.qualcomm.com wrote: > > From: Tamizh chelvam <c_tr...@qti.qualcomm.com> > > > > This patchset add support for BTCOEX feature to enable/disable and > > modifying btcoex priority value via nl80211

RE: [PATCHv2 3/4] cfg80211: Add Support set btcoex priority value

2017-03-02 Thread Raja, Tamizh Chelvam
> > > > I think you need to define the bits somewhere in an enum - i.e. > > > which one is VO, > > > VI, ... > > > > > > > [Tamizh] ok sure. Is this for documentation purpose or do you want me > > to use that  enum for something else? > > Well I think you should check in cfg80211 that no bits

RE: [PATCHv2 1/4] cfg80211: Add support to enable or disable btcoex

2017-03-02 Thread Raja, Tamizh Chelvam
Hi Johannes, Thanks for the comments. > You need to fix the build-bot warning, it's legitimate (though hard to > spot): > > > + TP_printk(WIPHY_PR_FMT, ", enabled=%d", > > +   WIPHY_PR_ARG, __entry->enabled) > > +); > > You have a stray comma there after WIPHY_PR_FMT. > [Tamizh]

RE: [PATCHv2 3/4] cfg80211: Add Support set btcoex priority value

2017-03-02 Thread Raja, Tamizh Chelvam
> Is there much point in having 4 rather than just 2 patches? > [Tamizh] Yes, I agree to it. > > > + int (*set_btcoex)(struct wiphy *wiphy, bool enabled, > > +   int btcoex_priority); > > Shouldn't that be u32 as a bitmap? > [Tamizh] Yes. > > + bool

RE: [PATCHv2 0/4] cfg80211: mac80211: BTCOEX feature support

2017-02-27 Thread Raja, Tamizh Chelvam
Hi Arend, > > > > This patchset add support for BTCOEX feature to enable/disable and > > modifying btcoex priority value via nl80211 > > > > Tamizh chelvam (4): > > ath10k: Add support to enable or disable btcoex via nl80211 > > ath10k: Add support t

RE: [PATCHv2] ath10k: Update available channel list for 5G radio

2017-02-19 Thread Raja, Tamizh Chelvam
Please ignore this patch:( > -Original Message- > From: Raja, Tamizh Chelvam > Sent: Monday, February 20, 2017 10:37 AM > To: ath10k@lists.infradead.org > Cc: linux-wirel...@vger.kernel.org; Raja, Tamizh Chelvam > <c_tr...@qti.qualcomm.com> > Subject: [PATCHv

  1   2   >