[PATCH] offchannel: Cancel the pending_action TX wait, before starting new one.

2015-11-02 Thread Chaitanya T K
From: tkc <chaitanya.m...@gmail.com> From: Chaitanya T K <chaitanya.m...@gmail.com> Before the tx_status is received for the action frame, if we get another request, we respond to that by freeing the memory for pending_action_tx, but we don't cancel the TX wait, so in the ke

[PATCH] mac80211: Handle sleep requirements for channel context ops.

2015-10-30 Thread Chaitanya T K
From: Chaitanya T K <chaitanya.m...@gmail.com> Channel context OPs can sleep, so add might_sleep() and also document sleep requirements for those OPs. Signed-off-by: Chaitanya T K <chaitanya.m...@gmail.com> --- include/net/mac80211.h| 6 ++ net/mac80211/driver-ops.c

[PATCH V4] mac80211: minstrel_ht: Handle Dynamic SMPS state of the peer.

2015-06-11 Thread Chaitanya T K
In case of Dynamic SMPS enable RTS/CTS for all rates. Signed-off-by: Chaitanya T K chaitanya.m...@gmail.com --- V4: Updated commit log and fixed indent. V3: Moved the check to set_rate. V2:Fix indent and add signoff. --- net/mac80211/rc80211_minstrel_ht.c | 8 +++- 1 file changed, 7

[PATCH V3] mac80211: wowlan: suspend: Fix power save state stuck in ACTIVE caused by race between suspend and Tx packet.

2015-06-10 Thread Chaitanya T K
From: Chaitanya T K chaitanya.m...@gmail.com Background: When wowlan is enabled, the chipset stays in low power state maintaining the connection as per the mac80211 power save state. If suspended during TX in progress, there can be race where the driver is put of of power-save due to TX

[PATCH V3] mac80211: minstrel_ht: Handle Dynamic SMPS state of the peer.

2015-06-03 Thread Chaitanya T K
In case of Dynamic SMPS enable RTS/CTS for all rates. Signed-off-by: Chaitanya T K chaitanya.m...@gmail.com --- V3: Moved the check to set_rate. V2: Fix indent and add signoff. --- net/mac80211/rc80211_minstrel_ht.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

[PATCH] mac80211: Minstrel HT: Handle all SMPS states of the peer STA.

2015-06-02 Thread Chaitanya T K
From: Chaitanya Tata chaitanya.m...@gmail.com In case of Dynamic SMPS enable RTS/CTS for all rates. In case of Static SMPS mark the Nss 1 rates as not supported. --- net/mac80211/rc80211_minstrel_ht.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git

[PATCH V2] mac80211: Minstrel HT: Handle all SMPS states of the peer STA.

2015-06-02 Thread Chaitanya T K
From: Chaitanya Tata chaitanya.m...@gmail.com In case of Dynamic SMPS enable RTS/CTS for all rates. In case of Static SMPS mark the Nss 1 rates as not supported. Signed-off-by: Chaitanya T K chaitanya.m...@gmail.com --- V2: Fix the Indent and Sign off missing. --- net/mac80211

[PATCH V2] mac80211: Fix power save state stuck in ACTIVE caused by race between suspend and Tx packet.

2015-06-01 Thread Chaitanya T K
From: Chaitanya T K chaitanya.m...@gmail.com If suspended during TX in progress, there can be race where the driver is put of of power-save due to TX and during suspend dynamic_ps_time is cancelled and TX packet is flushed, leaving the driver in ACTIVE even after resuming until dynamic_ps_time

[PATCH] mac80211: Fix power save state stuck in ACTIVE caused by race between suspend and Tx packet.

2015-05-31 Thread Chaitanya T K
From: Chaitanya T K chaitanya.m...@gmail.com If we receive suspend after TX path has executed dynamic ps disable work, the driver will be in ACTIVE state during suspend and even after it resumes. As before suspend all data packets are flushed it is safe to put the driver in to sleep

[PATCH] cfg80211: Don't re-use the skb for larger NL messages.

2015-05-30 Thread Chaitanya T K
This improves the time to get the DUMP response across to user space. Signed-off-by: Chaitanya T K chaitanya.m...@gmail.com --- net/wireless/nl80211.c | 4 1 file changed, 4 insertions(+) diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c index c264eff..152bd0c 100644 --- a/net