summaryrefslogtreecommitdiffstats
path: root/sys/dev/ral/rt2661.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2007-09-17 19:07:24 +0000
committersam <sam@FreeBSD.org>2007-09-17 19:07:24 +0000
commitd2e6b6eac7970920eccfe2d65f03d9ca3c6542ae (patch)
treedd53d98ae592f4e1d6caa3458fddec6956ad9dd5 /sys/dev/ral/rt2661.c
parentb6c4c36f72b670e2821f1e630182572a7b96337c (diff)
downloadFreeBSD-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/dev/ral/rt2661.c')
-rw-r--r--sys/dev/ral/rt2661.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ral/rt2661.c b/sys/dev/ral/rt2661.c
index b7086f5..60171ee 100644
--- a/sys/dev/ral/rt2661.c
+++ b/sys/dev/ral/rt2661.c
@@ -2803,7 +2803,7 @@ rt2661_prepare_beacon(struct rt2661_softc *sc)
struct mbuf *m0;
int rate;
- m0 = ieee80211_beacon_alloc(ic, ic->ic_bss, &bo);
+ m0 = ieee80211_beacon_alloc(ic->ic_bss, &bo);
if (m0 == NULL) {
device_printf(sc->sc_dev, "could not allocate beacon frame\n");
return ENOBUFS;
OpenPOWER on IntegriCloud