From: "Rami Rosen" <ramirose@gmail.com>
To: "Johannes Berg" <johannes@sipsolutions.net>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org, j@w1.fi,
"Daniel Drake" <dsd@gentoo.org>
Subject: Re: [PATCH 2/2] zd1211rw: enable an AP that can't support fully PS clients (wireless-testing).
Date: Mon, 24 Nov 2008 13:38:52 +0200 [thread overview]
Message-ID: <eb3ff54b0811240338t7b11a1bam669f1ffa841a5e87@mail.gmail.com> (raw)
In-Reply-To: <1227525694.3599.95.camel@johannes.berg>
Hello,
I indeed intend to fix the driver to do the buffering and use
_get_buffered_bc() (and also add sequence numbering, which is easier).
It will take time to fix it and to test it with hostapd and clients.
When it will be ready, the only thing which will be needed is
to remove the "hw->wiphy->ap_ps_challenged = true" from
zd_mac_alloc_hw() in zd_mac.c. The other changes in the driver should
of course stay (adding handling of NL80211_IFTYPE_AP).
As far as I understand, the zd1211rw is not the only one which does
not support buffering; (and I assume there will be other such drivers
without this support in the future); so it seems to me that the
nl80211 patch, which enable users who would prefer to have an AP that
can't support fully PS clients, rather than not having an AP at all,
is a good enough reason for the nl80211 patch.
Using Linux as an access point with a standard and a wide range of
commodity wireless drivers seems really a nice and important feature.
Regards,
Rami Rosen
On Mon, Nov 24, 2008 at 1:21 PM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Mon, 2008-11-24 at 13:09 +0200, Rami Rosen wrote:
>
>> If you are talking about whether the zd1211 driver can buffer
>> mcast/bcast frames in software, it seems to me that the answer is
>> negative, since there is no call for ieee80211_get_buffered_bc() in
>> the zd1211rw driver code and also there is no handling of
>> IEEE80211_TX_CTL_SEND_AFTER_DTIM or
>> IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING in the zd1211rw driver code.
>> This what made me add the NL80211_ATTR_WIPHY_AP_PS_CHALLENGED
>> attribute and prepare this patch.
>
> Yes, I know that's why you did it, but I'm still wondering whether it
> was necessary, is it really impossible to implement mcast/bcast
> buffering with this hardware? IOW, can we fix the driver to do the
> buffering and using _get_buffered_bc()?
>
> johannes
>
next prev parent reply other threads:[~2008-11-24 11:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-24 7:44 [PATCH 2/2] zd1211rw: enable an AP that can't support fully PS clients (wireless-testing) Rami Rosen
2008-11-24 10:35 ` Johannes Berg
2008-11-24 11:09 ` Rami Rosen
2008-11-24 11:21 ` Johannes Berg
2008-11-24 11:38 ` Rami Rosen [this message]
2008-11-24 11:44 ` Johannes Berg
2008-11-27 9:06 ` Johannes Berg
2008-11-27 9:31 ` Rami Rosen
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=eb3ff54b0811240338t7b11a1bam669f1ffa841a5e87@mail.gmail.com \
--to=ramirose@gmail.com \
--cc=dsd@gentoo.org \
--cc=j@w1.fi \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox