All of lore.kernel.org
 help / color / mirror / Atom feed
* What extra functionality does a driver need to support for access point functionality?
@ 2010-08-30 20:40 Charles Gordon
  2010-08-31  6:58 ` Johannes Berg
  0 siblings, 1 reply; 3+ messages in thread
From: Charles Gordon @ 2010-08-30 20:40 UTC (permalink / raw)
  To: linux-wireless

Hi,

I'm trying to understand what additional features are needed in
drivers to support AP mode.  I took a look at the mac80211
documentation on the web site and all it says is that:

# honour IEEE80211_TX_CTL_SEND_AFTER_DTIM or set
IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING and use the
ieee80211_get_buffered_bc() function
# must honour IEEE80211_TX_RC_USE_SHORT_PREAMBLE or never do
short-preamble transmissions
# When sending probe response frames, the timestamp must be adjusted
by the hardware or firmware. This is important to power saving
stations that happen to adjust their TSF from the timestamp in the
probe response frame.
# implement sequence numbering for frames with the
IEEE80211_TX_CTL_ASSIGN_SEQ flag (or ask the hardware to do it for
those frames)
# react to the set_tim() callback or fetch each beacon from mac80211

This makes it seem like the driver doesn't have to do that much more
than it does normally.  Somehow, I don't believe that's it can be that
easy.  What else does the driver need to do to support something like
hostapd?

Thanks for your help.

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

* Re: What extra functionality does a driver need to support for access point functionality?
  2010-08-30 20:40 What extra functionality does a driver need to support for access point functionality? Charles Gordon
@ 2010-08-31  6:58 ` Johannes Berg
  2010-08-31 10:50   ` Helmut Schaa
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2010-08-31  6:58 UTC (permalink / raw)
  To: Charles Gordon; +Cc: linux-wireless

On Mon, 2010-08-30 at 16:40 -0400, Charles Gordon wrote:

> I'm trying to understand what additional features are needed in
> drivers to support AP mode.  I took a look at the mac80211
> documentation on the web site and all it says is that:

[...]

> This makes it seem like the driver doesn't have to do that much more
> than it does normally.  Somehow, I don't believe that's it can be that
> easy.  What else does the driver need to do to support something like
> hostapd?

That really is all it needs to do, assuming it is a mac80211 based
driver. There are some minor details like not filtering the frames,
obviously, but those aren't usually a problem. The most common issue is
not being able to implement multicast-after-DTIM correctly.

johannes


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

* Re: What extra functionality does a driver need to support for access point functionality?
  2010-08-31  6:58 ` Johannes Berg
@ 2010-08-31 10:50   ` Helmut Schaa
  0 siblings, 0 replies; 3+ messages in thread
From: Helmut Schaa @ 2010-08-31 10:50 UTC (permalink / raw)
  To: Charles Gordon; +Cc: linux-wireless, Johannes Berg

On Tue, Aug 31, 2010 at 8:58 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Mon, 2010-08-30 at 16:40 -0400, Charles Gordon wrote:
>
>> I'm trying to understand what additional features are needed in
>> drivers to support AP mode.  I took a look at the mac80211
>> documentation on the web site and all it says is that:
>
> [...]
>
>> This makes it seem like the driver doesn't have to do that much more
>> than it does normally.  Somehow, I don't believe that's it can be that
>> easy.  What else does the driver need to do to support something like
>> hostapd?
>
> That really is all it needs to do, assuming it is a mac80211 based
> driver. There are some minor details like not filtering the frames,
> obviously, but those aren't usually a problem. The most common issue is
> not being able to implement multicast-after-DTIM correctly.

The driver also needs to be capable of reliably reporting the tx status of
at least some frames (for example injected frames).

Helmut

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

end of thread, other threads:[~2010-08-31 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-30 20:40 What extra functionality does a driver need to support for access point functionality? Charles Gordon
2010-08-31  6:58 ` Johannes Berg
2010-08-31 10:50   ` Helmut Schaa

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.