linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mac80211] UAPSD: WLAN_STA_PS flag  cleared prematurely?
@ 2012-03-16  9:26 Marco Porsch
  2012-03-16 12:44 ` Johannes Berg
  0 siblings, 1 reply; 6+ messages in thread
From: Marco Porsch @ 2012-03-16  9:26 UTC (permalink / raw)
  To: johannes; +Cc: linux-wireless

Hi all,

in sta_info.c : ieee80211_sta_ps_deliver_response the 
IEEE80211_TX_STATUS_EOSP is set for all to-be-sent frames, not only for 
the last. But only the last buffered frame actually gets the EOSP flag.


/* set EOSP for the frame */
if (reason == IEEE80211_FRAME_RELEASE_UAPSD &&
     qoshdr && skb_queue_empty(&frames))
	*qoshdr |= IEEE80211_QOS_CTL_EOSP;

info->flags |= IEEE80211_TX_STATUS_EOSP |
        IEEE80211_TX_CTL_REQ_TX_STATUS;


Consequence is, that the WLAN_STA_SP flag gets cleared (multiple times) 
in ieee80211_tx_status before the last frame with EOSP has been sent.
Is this correct?

Regards,
Marco

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-03-16 14:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16  9:26 [mac80211] UAPSD: WLAN_STA_PS flag cleared prematurely? Marco Porsch
2012-03-16 12:44 ` Johannes Berg
2012-03-16 13:38   ` Marco Porsch
2012-03-16 13:40     ` Johannes Berg
2012-03-16 13:58       ` Marco Porsch
2012-03-16 14:30       ` [PATCH] mac80211: end service period only after sending last buffered frame Marco Porsch

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).