Re: [PATCH] ath10k: remove NULL ptr deref in variable init of ath10k_monitor_vdev_start

2015-07-27 Thread Vasanthakumar Thiagarajan
On Tuesday 28 July 2015 12:52 AM, John W. Linville wrote: In ath10k_monitor_vdev_start, chandef is initialized to NULL and then channel is immediately thereafter initialized to chandef->chan (i.e. NULL->chan). This appears to be some sort of cut-n-paste error, since the same assignment is done l

Re: [PATCH] ath10k: Add QCA99X0 to supported device list

2015-08-06 Thread Vasanthakumar Thiagarajan
On Wednesday 05 August 2015 05:51 PM, Felix Fietkau wrote: On 2015-07-21 13:36, Vasanthakumar Thiagarajan wrote: Add vendor/device id of QCA99X0 V2.0 to pci id table and QCA99X0_HW_2_0_CHIP_ID_REV to ath10k_pci_supp_chips[] for QCA99X0 to get detected by the driver. Signed-off-by

[PATCH] ath10k: Add sta rx packet stats per tid

2018-01-31 Thread Vasanthakumar Thiagarajan
[05] 0 [06] 0 Signed-off-by: Vasanthakumar Thiagarajan --- drivers/net/wireless/ath/ath10k/core.h| 45 drivers/net/wireless/ath/ath10k/debug.c | 48 + drivers/net/wireless/ath/ath10k/debug.h | 31 +++ drivers/net/wireless/ath/ath10k/debugfs

Re: [PATCH] ath10k: Add sta rx packet stats per tid

2018-03-02 Thread Vasanthakumar Thiagarajan
On Wednesday 28 February 2018 06:47 PM, Kalle Valo wrote: > Vasanthakumar Thiagarajan writes: > >> Added per tid sta counters for the following >> >> - Total number MSDUs received from firmware >> - Number of MSDUs received with errors like decryption, crc, mic ,etc

[RFC 3/4] mac80211: Apply per-peer NoAck tid bitmap configuration

2018-03-27 Thread Vasanthakumar Thiagarajan
drivers supporting the NoAck offload functionality (IEEE80211_HW_SUPPORTS_NOACK_POLICY). Signed-off-by: Vasanthakumar Thiagarajan --- include/net/mac80211.h| 7 +-- net/mac80211/cfg.c| 42 +- net/mac80211/driver-ops.h | 5 +++-- net/mac80211

[RFC 1/4] mac80211: Add NoAck policy functionality offload infrastructure

2018-03-27 Thread Vasanthakumar Thiagarajan
skb. Signed-off-by: Vasanthakumar Thiagarajan --- include/net/mac80211.h| 15 +++ net/mac80211/cfg.c| 10 -- net/mac80211/debugfs.c| 1 + net/mac80211/driver-ops.h | 21 + net/mac80211/iface.c | 4 net/mac80211/main.c | 4

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

2018-03-27 Thread Vasanthakumar Thiagarajan
This enables per-peer NoAck handling in mac80211 when the functionality is not offloaded to the drivers. Signed-off-by: Vasanthakumar Thiagarajan --- net/mac80211/main.c | 4 1 file changed, 4 insertions(+) diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 78f2574..2b136fb

[RFC 0/4] wireless: Per-sta NoAck and offload support

2018-03-27 Thread Vasanthakumar Thiagarajan
the station. Vasanthakumar Thiagarajan (4): mac80211: Add NoAck policy functionality offload infrastructure nl80211/mac80211: Extend NoAck policy command with peer MAC address mac80211: Apply per-peer NoAck tid bitmap configuration mac80211: Advertise per-peer NoAck policy support include

[RFC 2/4] nl80211/mac80211: Extend NoAck policy command with peer MAC address

2018-03-27 Thread Vasanthakumar Thiagarajan
specific configuration takes precedence over netdev level configuration when both are set by the user. Drivers supporting per-sta NoAck policy must advertise the support through the extended flag index NL80211_EXT_FEATURE_PER_STA_NOACK_MAP. Signed-off-by: Vasanthakumar Thiagarajan --- include/net

Re: [PATCH V2 3/3] cfg80211: Share Channel DFS state across wiphys of same DFS domain

2017-04-18 Thread Vasanthakumar Thiagarajan
On Tuesday 18 April 2017 04:20 PM, Johannes Berg wrote: > >> +void regulatory_propagate_dfs_state(struct wiphy *wiphy, >> +struct cfg80211_chan_def >> *chandef, >> +enum nl80211_dfs_state >> dfs_state, >> +

[PATCH] cfg80211: Fix dfs state propagation for non-DFS center channel

2017-04-18 Thread Vasanthakumar Thiagarajan
propagation for non-DFS center freq which has DFS channels in it's bandwidth, should also fix unnecessary WARN_ON() spam in regulatory_propagate_dfs_state(). Fixes: 8976672736d6 ("cfg80211: Share Channel DFS state across wiphys of same DFS domain") Reported-by: Johannes Berg Signed-off-by

Re: [PATCH] ath10k: rebuild crypto header in RX data frames

2017-10-23 Thread Vasanthakumar Thiagarajan
On Saturday 21 October 2017 01:41 AM, Sebastian Gottschall wrote: > i suggest the following patch on top of yours. please tell me if my thoughts > are correct here. its mainly a guess I agree we need to take care of this for newly added ciphers as well. How about making it as a separate patch t

[PATCH] ath10k: Fix data rx for CCMP-256, GCMP and GCMP-256 in raw mode

2017-10-26 Thread Vasanthakumar Thiagarajan
lengh for the cipher to make it clean. Fixes: 2ea9f12cefe4 ("ath10k: add new cipher suite support") Signed-off-by: Vasanthakumar Thiagarajan --- This patch depends on https://patchwork.kernel.org/patch/10028621/ drivers/net/wireless/ath/ath10k/htt_rx.c | 51 -

Re: [v3] ath10k: rebuild crypto header in rx data frames

2017-10-31 Thread Vasanthakumar Thiagarajan
follow up patch https://patchwork.kernel.org/patch/10029099/. Vasanth From: Sebastian Gottschall Sent: Tuesday, October 31, 2017 8:24 PM To: Kalle Valo Cc: ath...@lists.infradead.org; linux-wireless@vger.kernel.org; Vasanthakumar Thiagarajan Subject: Re: [v3

[RFC 0/3] Pre-CAC and sharing DFS state across multiple radios

2017-01-25 Thread Vasanthakumar Thiagarajan
current behaviour of pre-CAC for non-ETSI domain by giving 2 seconds grace period for dfs master interface to start operating on the CAC completed channel. This patch set also adds support to share dfs channel state across multiple radios of the same regulatory configuration. Vasanthakumar Thiagarajan

[RFC 1/3] cfg80211: Make pre-CAC results valid only for ETSI domain

2017-01-25 Thread Vasanthakumar Thiagarajan
ADAR_PRE_CAC_EXPIRED, reported when DFS channel is moved from available to usable state after the grace period. Also make sure the DFS channel state is reset to usable once the beaconing operation on that channel is brought down (like stop_ap, leave_ibss and leave_mesh) in non-ETSI domain. Signed-off

[RFC 3/3] cfg80211: Share Channel DFS state across wiphys of same DFS domain

2017-01-25 Thread Vasanthakumar Thiagarajan
channel associated to a particular wiphy the the same state change is propagated to other wiphys having the same DFS reg domain configuration. Also when a new wiphy is created the DFS channel state of other existing wiphys of same DFS domain is copied. Signed-off-by: Vasanthakumar Thiagarajan

[RFC 2/3] cfg80211: Disallow moving out of operating DFS channel in non-ETSI

2017-01-25 Thread Vasanthakumar Thiagarajan
link. Better do not allow any off-channel switch from a DFS operating channel in non-ETSI domain. Signed-off-by: Vasanthakumar Thiagarajan --- net/wireless/nl80211.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/net/wireless/nl80211.c b/net/wireless

[RFC V2 0/3] Pre-CAC and sharing DFS state across multiple radios

2017-02-16 Thread Vasanthakumar Thiagarajan
current behaviour of pre-CAC for non-ETSI domain by giving 2 seconds grace period for dfs master interface to start operating on the CAC completed channel. This patch set also adds support to share dfs channel state across multiple radios of the same regulatory configuration. Vasanthakumar Thiagarajan

[RFC V2 2/3] cfg80211: Disallow moving out of operating DFS channel in non-ETSI

2017-02-16 Thread Vasanthakumar Thiagarajan
link. Better do not allow any off-channel switch from a DFS operating channel in non-ETSI domain. Signed-off-by: Vasanthakumar Thiagarajan --- V2: Addressing below comments from Johannes - Add locking assertion to cfg80211_off_channel_oper_allowed() - Protect wdev->chan

[RFC V2 1/3] cfg80211: Make pre-CAC results valid only for ETSI domain

2017-02-16 Thread Vasanthakumar Thiagarajan
ADAR_PRE_CAC_EXPIRED, reported when DFS channel is moved from available to usable state after the grace period. Also make sure the DFS channel state is reset to usable once the beaconing operation on that channel is brought down (like stop_ap, leave_ibss and leave_mesh) in non-ETSI domain. Signed-off

[RFC V2 3/3] cfg80211: Share Channel DFS state across wiphys of same DFS domain

2017-02-16 Thread Vasanthakumar Thiagarajan
channel associated to a particular wiphy the the same state change is propagated to other wiphys having the same DFS reg domain configuration. Also when a new wiphy is created the dfs channel state of other existing wiphys of same DFS domain is copied. Signed-off-by: Vasanthakumar Thiagarajan

[PATCH 1/3] cfg80211: Make pre-CAC results valid only for ETSI domain

2017-02-20 Thread Vasanthakumar Thiagarajan
ADAR_PRE_CAC_EXPIRED, reported when DFS channel is moved from available to usable state after the grace period. Also make sure the DFS channel state is reset to usable once the beaconing operation on that channel is brought down (like stop_ap, leave_ibss and leave_mesh) in non-ETSI domain. Signed-off

[PATCH 2/3] cfg80211: Disallow moving out of operating DFS channel in non-ETSI

2017-02-20 Thread Vasanthakumar Thiagarajan
link. Better do not allow any off-channel switch from a DFS operating channel in non-ETSI domain. Signed-off-by: Vasanthakumar Thiagarajan --- net/wireless/nl80211.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/net/wireless/nl80211.c b/net

[PATCH 0/3] Pre-CAC and sharing DFS state across multiple radios

2017-02-20 Thread Vasanthakumar Thiagarajan
current behaviour of pre-CAC for non-ETSI domain by giving 2 seconds grace period for dfs master interface to start operating on the CAC completed channel. This patch set also adds support to share dfs channel state across multiple radios of the same regulatory configuration. Vasanthakumar Thiagarajan

[PATCH 3/3] cfg80211: Share Channel DFS state across wiphys of same DFS domain

2017-02-20 Thread Vasanthakumar Thiagarajan
channel associated to a particular wiphy the the same state change is propagated to other wiphys having the same DFS reg domain configuration. Also when a new wiphy is created the dfs channel state of other existing wiphys of same DFS domain is copied. Signed-off-by: Vasanthakumar Thiagarajan

[PATCH V2 0/3] Pre-CAC and sharing DFS state across multiple radios

2017-02-27 Thread Vasanthakumar Thiagarajan
current behaviour of pre-CAC for non-ETSI domain by giving 2 seconds grace period for dfs master interface to start operating on the CAC completed channel. This patch set also adds support to share dfs channel state across multiple radios of the same regulatory configuration. Vasanthakumar Thiagarajan

[PATCH V2 1/3] cfg80211: Make pre-CAC results valid only for ETSI domain

2017-02-27 Thread Vasanthakumar Thiagarajan
ADAR_PRE_CAC_EXPIRED, reported when DFS channel is moved from available to usable state after the grace period. Also make sure the DFS channel state is reset to usable once the beaconing operation on that channel is brought down (like stop_ap, leave_ibss and leave_mesh) in non-ETSI domain. Signed-off

[PATCH V2 3/3] cfg80211: Share Channel DFS state across wiphys of same DFS domain

2017-02-27 Thread Vasanthakumar Thiagarajan
channel associated to a particular wiphy the the same state change is propagated to other wiphys having the same DFS reg domain configuration. Also when a new wiphy is created the dfs channel state of other existing wiphys of same DFS domain is copied. Signed-off-by: Vasanthakumar Thiagarajan

[PATCH V2 2/3] cfg80211: Disallow moving out of operating DFS channel in non-ETSI

2017-02-27 Thread Vasanthakumar Thiagarajan
link. Better do not allow any off-channel switch from a DFS operating channel in non-ETSI domain. Signed-off-by: Vasanthakumar Thiagarajan --- net/wireless/nl80211.c | 52 ++ 1 file changed, 52 insertions(+) diff --git a/net/wireless/nl80211.c b/net

<    1   2