From: Felix Fietkau <nbd@openwrt.org>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com
Subject: Re: [PATCH] mac80211: add a function for setting the TIM bit for a specific station
Date: Mon, 18 Apr 2011 11:11:02 +0200 [thread overview]
Message-ID: <4DAC0026.5020905@openwrt.org> (raw)
In-Reply-To: <1303114525.3588.2.camel@jlt3.sipsolutions.net>
On 2011-04-18 10:15 AM, Johannes Berg wrote:
> On Sun, 2011-04-17 at 17:45 +0200, Felix Fietkau wrote:
>> This allows a driver to buffer frames for a PS station and tell mac80211
>> to wake it up even though mac80211 does not have any buffered frames for
>> it.
>> This is necessary for properly handling aggregation related buffering,
>> in ath9k, because the driver needs to keep its frames in order to keep
>> track of the Block-ACK window.
>
> Indeed, I thought I'd solved these cases with the WLAN_STA_PS_DRIVER
> thing but that's not true of course because it blocks wakeup until all
> frames have been filtered, which will never happen here. I think I'll
> probably need to implement using this in iwlwifi as well.
>
> The only question I have is how will PS-Poll be handled while an
> aggregation session is active?? Is it even allowed to poll a-MPDUs?
Not sure - polling A-MPDUs may not be allowed, the standard only
mentions polling MSDU and A-MSDU. We could add a driver callback later
that mac80211 calls upon receiving a PS-Poll when WLAN_STA_PS_DRIVER_BUF
is set, which will trigger the release of a single packet and indicate
in the return status whether it was the last one (from the driver's
point of view).
- Felix
next prev parent reply other threads:[~2011-04-18 9:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-17 15:45 [PATCH] mac80211: add a function for setting the TIM bit for a specific station Felix Fietkau
2011-04-18 8:15 ` Johannes Berg
2011-04-18 9:11 ` Felix Fietkau [this message]
2011-04-18 9:21 ` Johannes Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DAC0026.5020905@openwrt.org \
--to=nbd@openwrt.org \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.