diff options
author | sam <sam@FreeBSD.org> | 2005-12-04 04:50:27 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-12-04 04:50:27 +0000 |
commit | 9c83a5df857df6b616a5b24642d21c8c1effeb47 (patch) | |
tree | 838307e708a0af26b07b988f4621aba665160f1b /sys/net80211/ieee80211_node.h | |
parent | 522e9c2b7b1ceeb0bc6a2edb3ee62885d8106ac3 (diff) | |
download | FreeBSD-src-9c83a5df857df6b616a5b24642d21c8c1effeb47.zip FreeBSD-src-9c83a5df857df6b616a5b24642d21c8c1effeb47.tar.gz |
Adhoc mode fixups:
o plug memory leak in adhoc mode: on rx the sender may be the
current master so simply checking against ic_bss is not enough
to identify if the packet comes from an unknown sender; must
also check the mac address
o split neighbor node creation into two routines and fillin state
of nodes faked up on xmit when a beacon or probe response frame
is later received; this ensures important state like the rate set
and advertised capabilities are correct
Obtained from: netbsd
MFC after: 1 week
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r-- | sys/net80211/ieee80211_node.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h index e2bfc2c..65acdc0 100644 --- a/sys/net80211/ieee80211_node.h +++ b/sys/net80211/ieee80211_node.h @@ -324,6 +324,9 @@ void ieee80211_add_scan(struct ieee80211com *, const struct ieee80211_scanparams *, const struct ieee80211_frame *, int subtype, int rssi, int rstamp); +void ieee80211_init_neighbor(struct ieee80211_node *, + const struct ieee80211_frame *, + const struct ieee80211_scanparams *); struct ieee80211_node *ieee80211_add_neighbor(struct ieee80211com *, const struct ieee80211_frame *, const struct ieee80211_scanparams *); |