* [PATCH] mac80211: Use IEEE80211_TX_CTL_REQ_TX_STATUS on nullframes
@ 2013-06-04 10:44 Pontus Fuchs
2013-06-04 10:53 ` Johannes Berg
0 siblings, 1 reply; 2+ messages in thread
From: Pontus Fuchs @ 2013-06-04 10:44 UTC (permalink / raw)
To: johannes; +Cc: linux-wireless
The connection monitor needs to know the tx status of
nullframes to work properly.
Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
---
net/mac80211/mlme.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 118540b..005fea5 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -880,6 +880,10 @@ void ieee80211_send_nullfunc(struct ieee80211_local *local,
IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_INTFL_DONT_ENCRYPT |
IEEE80211_TX_INTFL_OFFCHAN_TX_OK;
+
+ if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
+ IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_CTL_REQ_TX_STATUS;
+
if (ifmgd->flags & (IEEE80211_STA_BEACON_POLL |
IEEE80211_STA_CONNECTION_POLL))
IEEE80211_SKB_CB(skb)->flags |= IEEE80211_TX_CTL_USE_MINRATE;
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mac80211: Use IEEE80211_TX_CTL_REQ_TX_STATUS on nullframes
2013-06-04 10:44 [PATCH] mac80211: Use IEEE80211_TX_CTL_REQ_TX_STATUS on nullframes Pontus Fuchs
@ 2013-06-04 10:53 ` Johannes Berg
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Berg @ 2013-06-04 10:53 UTC (permalink / raw)
To: Pontus Fuchs; +Cc: linux-wireless
On Tue, 2013-06-04 at 12:44 +0200, Pontus Fuchs wrote:
> The connection monitor needs to know the tx status of
> nullframes to work properly.
Applied.
johannes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-04 10:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-04 10:44 [PATCH] mac80211: Use IEEE80211_TX_CTL_REQ_TX_STATUS on nullframes Pontus Fuchs
2013-06-04 10:53 ` Johannes Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).