linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* AR5K_INT_SWBA can't generate interruption for sending beacons
@ 2008-04-15  4:24 cao jing
  2008-04-15  8:36 ` Holger Schurig
  0 siblings, 1 reply; 6+ messages in thread
From: cao jing @ 2008-04-15  4:24 UTC (permalink / raw)
  To: linux-wireless

Hi,

I'm working on mac80211 and ath5k. I found that the AR5K_INT_SWBA
interruption can't be generated. So I can't send beacons by this
interruption. Anyone knows what's going on with it?

Thank you very much!

Jing

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

* Re: AR5K_INT_SWBA can't generate interruption for sending beacons
  2008-04-15  4:24 AR5K_INT_SWBA can't generate interruption for sending beacons cao jing
@ 2008-04-15  8:36 ` Holger Schurig
  2008-04-15  8:51   ` Holger Schurig
  2008-04-15  8:59   ` bruno randolf
  0 siblings, 2 replies; 6+ messages in thread
From: Holger Schurig @ 2008-04-15  8:36 UTC (permalink / raw)
  To: linux-wireless; +Cc: cao jing

> Hi,
>
> I'm working on mac80211 and ath5k. I found that the
> AR5K_INT_SWBA interruption can't be generated. So I can't send
> beacons by this interruption. Anyone knows what's going on
> with it?
>
> Thank you very much!

ath5k didn't make it yet to wireless-testing. That is the git 
tree for all wireless stuff that finally will make it into 
mainline Linux. See http://linuxwireless.org for more detail.

I know that some people from the the OpenMoko work with ATH5K, 
but so far none of the people that work with ATH5K bothered to 
submit the driver have submitted the driver or asked for 
review/inclusion. Therefore I fear that the work development 
force isn't united, but scattered here ...


Also, because ath5k didn't make it into wireless-testing yet, you 
might not find people that know the device well enought here.

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

* Re: AR5K_INT_SWBA can't generate interruption for sending beacons
  2008-04-15  8:36 ` Holger Schurig
@ 2008-04-15  8:51   ` Holger Schurig
  2008-04-15  8:59   ` bruno randolf
  1 sibling, 0 replies; 6+ messages in thread
From: Holger Schurig @ 2008-04-15  8:51 UTC (permalink / raw)
  To: linux-wireless; +Cc: cao jing

Oh, I was speaking complete nonsense. I confused ath5k with 
ath6k.


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

* Re: AR5K_INT_SWBA can't generate interruption for sending beacons
  2008-04-15  8:36 ` Holger Schurig
  2008-04-15  8:51   ` Holger Schurig
@ 2008-04-15  8:59   ` bruno randolf
  2008-04-16  6:01     ` Jouni Malinen
  1 sibling, 1 reply; 6+ messages in thread
From: bruno randolf @ 2008-04-15  8:59 UTC (permalink / raw)
  To: Holger Schurig; +Cc: linux-wireless, cao jing

On Tuesday 15 April 2008 10:36:55 Holger Schurig wrote:
> > I'm working on mac80211 and ath5k. I found that the
> > AR5K_INT_SWBA interruption can't be generated. So I can't send
> > beacons by this interruption. Anyone knows what's going on
> > with it?

the current code in wireless-testing uses SWBA not to send beacons but to keep 
track of the next beacon time NBTT. this is necessary to work around certain 
hardware limitations. once configured, the beacons are sent automatically by 
the hardware at the right time. of course it would be possible to change the 
code to generate a new beacon at every SWBA but as long as the beacon 
contents don't change very often i don't see the point of doing so.

> ath5k didn't make it yet to wireless-testing. That is the git
> tree for all wireless stuff that finally will make it into
> mainline Linux. See http://linuxwireless.org for more detail.

i don't know how you come to that conclusion - ath5k *is* in wireless-testing 
and there are a few people working on it.

bruno

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

* Re: AR5K_INT_SWBA can't generate interruption for sending beacons
  2008-04-15  8:59   ` bruno randolf
@ 2008-04-16  6:01     ` Jouni Malinen
  2008-04-16  8:43       ` bruno randolf
  0 siblings, 1 reply; 6+ messages in thread
From: Jouni Malinen @ 2008-04-16  6:01 UTC (permalink / raw)
  To: bruno randolf; +Cc: Holger Schurig, linux-wireless, cao jing

On Tue, Apr 15, 2008 at 10:59:05AM +0200, bruno randolf wrote:
> the current code in wireless-testing uses SWBA not to send beacons but to keep 
> track of the next beacon time NBTT. this is necessary to work around certain 
> hardware limitations. once configured, the beacons are sent automatically by 
> the hardware at the right time. of course it would be possible to change the 
> code to generate a new beacon at every SWBA but as long as the beacon 
> contents don't change very often i don't see the point of doing so.

In AP mode, beacon payload changes for _every beacon_ unless you use
DTIM Period of 1. In order to make power saving work correctly, the
drivers need to update the beacon data for every beacon.

-- 
Jouni Malinen                                            PGP id EFC895FA

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

* Re: AR5K_INT_SWBA can't generate interruption for sending beacons
  2008-04-16  6:01     ` Jouni Malinen
@ 2008-04-16  8:43       ` bruno randolf
  0 siblings, 0 replies; 6+ messages in thread
From: bruno randolf @ 2008-04-16  8:43 UTC (permalink / raw)
  To: Jouni Malinen; +Cc: Holger Schurig, linux-wireless, cao jing

On Wednesday 16 April 2008 08:01:09 Jouni Malinen wrote:
> On Tue, Apr 15, 2008 at 10:59:05AM +0200, bruno randolf wrote:
> > the current code in wireless-testing uses SWBA not to send beacons but to
> > keep track of the next beacon time NBTT. this is necessary to work around
> > certain hardware limitations. once configured, the beacons are sent
> > automatically by the hardware at the right time. of course it would be
> > possible to change the code to generate a new beacon at every SWBA but as
> > long as the beacon contents don't change very often i don't see the point
> > of doing so.
>
> In AP mode, beacon payload changes for _every beacon_ unless you use
> DTIM Period of 1. In order to make power saving work correctly, the
> drivers need to update the beacon data for every beacon.

thats's true - i was thinking of IBSS mode first of all since AP mode is not 
supported yet by ath5k. actually also in IBSS mode the beacon contents would 
have to change for power saving, this is also not implemented yet.

bruno

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

end of thread, other threads:[~2008-04-16  8:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-15  4:24 AR5K_INT_SWBA can't generate interruption for sending beacons cao jing
2008-04-15  8:36 ` Holger Schurig
2008-04-15  8:51   ` Holger Schurig
2008-04-15  8:59   ` bruno randolf
2008-04-16  6:01     ` Jouni Malinen
2008-04-16  8:43       ` bruno randolf

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