diff options
author | sam <sam@FreeBSD.org> | 2007-09-17 19:07:24 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-09-17 19:07:24 +0000 |
commit | d2e6b6eac7970920eccfe2d65f03d9ca3c6542ae (patch) | |
tree | dd53d98ae592f4e1d6caa3458fddec6956ad9dd5 /sys/net80211/ieee80211_power.c | |
parent | b6c4c36f72b670e2821f1e630182572a7b96337c (diff) | |
download | FreeBSD-src-d2e6b6eac7970920eccfe2d65f03d9ca3c6542ae.zip FreeBSD-src-d2e6b6eac7970920eccfe2d65f03d9ca3c6542ae.tar.gz |
Update beacon handling to sync w/ vap code base:
o add driver callback to handle notification of beacon changes;
this is required for devices that manage beacon frames themselves
(devices must override the default handler which does nothing)
o move beacon update-related flags from ieee80211com to the beacon
offsets storage (or handle however a driver wants)
o expand beacon offsets structure with members needed for 11h/dfs
and appie's
o change calling convention for ieee80211_beacon_alloc and
ieee80211_beacon_update
o add overlapping bss support for 11g; requires driver to pass
beacon frames from overlapping bss up to net80211 which is not
presently done by any driver
o move HT beacon contents update to a routine in the HT code area
Reviewed by: avatar, thompsa, sephe
Approved by: re (blanket wireless)
Diffstat (limited to 'sys/net80211/ieee80211_power.c')
-rw-r--r-- | sys/net80211/ieee80211_power.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_power.c b/sys/net80211/ieee80211_power.c index 2064807..e764e1f 100644 --- a/sys/net80211/ieee80211_power.c +++ b/sys/net80211/ieee80211_power.c @@ -163,7 +163,8 @@ ieee80211_set_tim(struct ieee80211_node *ni, int set) clrbit(ic->ic_tim_bitmap, aid); ic->ic_ps_pending--; } - ic->ic_flags |= IEEE80211_F_TIMUPDATE; + /* NB: we know ic is in RUN state so no need to check */ + ic->ic_update_beacon(ic, IEEE80211_BEACON_TIM); } IEEE80211_BEACON_UNLOCK(ic); } |