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_node.h | |
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_node.h')
-rw-r--r-- | sys/net80211/ieee80211_node.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h index cb960d1..ccdf6a9 100644 --- a/sys/net80211/ieee80211_node.h +++ b/sys/net80211/ieee80211_node.h @@ -55,6 +55,9 @@ #define IEEE80211_TRANS_WAIT 2 /* mgt frame tx timer (secs) */ +/* threshold for aging overlapping non-ERP bss */ +#define IEEE80211_NONERP_PRESENT_AGE msecs_to_ticks(60*1000) + #define IEEE80211_NODE_HASHSIZE 32 /* simple hash is enough for variation of macaddr */ #define IEEE80211_NODE_HASH(addr) \ @@ -307,6 +310,8 @@ void ieee80211_dump_node(struct ieee80211_node_table *, struct ieee80211_node *); void ieee80211_dump_nodes(struct ieee80211_node_table *); +void ieee80211_notify_erp(struct ieee80211com *); + struct ieee80211_node *ieee80211_fakeup_adhoc_node( struct ieee80211_node_table *, const uint8_t macaddr[]); struct ieee80211_scanparams; |