From: Kalle Valo <kalle.valo@iki.fi>
To: johannes@sipsolutions.net
Cc: vivek.natraj@gmail.com, linux-wireless@vger.kernel.org
Subject: Re: [RFC PATCH v1 2/2] mac80211: use ps-poll to request frames in power save mode
Date: Sun, 11 Jan 2009 09:09:12 +0200 [thread overview]
Message-ID: <877i52s4iv.fsf@litku.valot.fi> (raw)
In-Reply-To: <20090111070353.3849.5303.stgit@tikku> (Kalle Valo's message of "Sun\, 11 Jan 2009 09\:03\:54 +0200")
Kalle Valo <kalle.valo@iki.fi> writes:
> +static ieee80211_rx_result debug_noinline
> +ieee80211_rx_h_check_more_data(struct ieee80211_rx_data *rx)
> +{
[...]
> + if (!ieee80211_has_moredata(hdr->frame_control)) {
> + /* AP has no more frames buffered for us */
> + printk(KERN_DEBUG "no more data");
> + local->pspolling = false;
> + return RX_CONTINUE;
> + }
> +
> + /* more data bit is set, let's request a new frame from the AP */
> + ieee80211_send_pspoll(local, rx->sdata);
> +
> + return 0;
This should obviously return RX_CONTINUE, I'll fix it in the next
round.
--
Kalle Valo
next prev parent reply other threads:[~2009-01-11 7:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-11 7:03 [RFC PATCH v1 0/2] mac80211: ps-poll implementation Kalle Valo
2009-01-11 7:03 ` [RFC PATCH v1 1/2] mac80211: remove multicast check from check_tim() Kalle Valo
2009-01-11 7:03 ` [RFC PATCH v1 2/2] mac80211: use ps-poll to request frames in power save mode Kalle Valo
2009-01-11 7:09 ` Kalle Valo [this message]
2009-01-12 8:57 ` Vivek Natarajan
2009-01-12 8:59 ` Johannes Berg
2009-01-12 9:03 ` Kalle Valo
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=877i52s4iv.fsf@litku.valot.fi \
--to=kalle.valo@iki.fi \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=vivek.natraj@gmail.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 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).