if_run in hostap mode: issue with stations in the power save mode

Bernhard Schmidt bschmidt at freebsd.org
Tue Feb 8 09:53:10 UTC 2011


On Tuesday, February 08, 2011 02:18:30 PseudoCylon wrote:
> ----- Original Message ----
> 
> > From: Bernhard Schmidt <bschmidt at freebsd.org>
> > To: PseudoCylon <moonlightakkiy at yahoo.ca>
> > Cc: Alexander Zagrebin <alex at zagrebin.ru>; freebsd-net at freebsd.org
> > Sent: Sun, February 6, 2011 3:42:43 AM
> > Subject: Re: if_run in hostap mode: issue with stations in the
> > power save mode
> 
> Afaik iwn(4) doesn't use PS, never got  around implementing that.
> 
> > > I'd like to move ieee80211_beacon_alloc()  into iv_vap_alloc().
> > > Then we don't need to test beacon_mbuf == NULL in 
> > > run_update_beacon_cb(), and there is already switch we can use
> > > for  conditionally alloc mem.
> > 
> > Sounds fine with we.
> 
> Oops, there is switch before malloc vap. the test is still
> in run_update_beacon_cb()
> 
> > Can  I talk you into integrating that into Alexander's patch?
> 
> The patch is attached. (diff to HEAD) Bit long, just because there is
> a couple of  new call back functions to avoid LOR.

Thank you!

I've combined both patches (see attachment), if I get an ACK from both 
of you I'll try get this into the tree ASAP.

-- 
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: run_beacon.diff
Type: text/x-patch
Size: 6015 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20110208/997237e9/run_beacon.bin


More information about the freebsd-net mailing list