aboutsummaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_node.h
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2004-04-02 23:25:39 +0000
committerSam Leffler <sam@FreeBSD.org>2004-04-02 23:25:39 +0000
commit750d6d0c60338c0c1bc74b07b6b19b37b874bb9f (patch)
tree993e3d1529ff6a97bf28e206984714e0e08a3c61 /sys/net80211/ieee80211_node.h
parent6f3f5a11705053bf58bdc145d1a54b4abc629a49 (diff)
downloadsrc-750d6d0c60338c0c1bc74b07b6b19b37b874bb9f.tar.gz
src-750d6d0c60338c0c1bc74b07b6b19b37b874bb9f.zip
fix adhoc/ibss operation for drivers that require host support (e.g. ath):
o remove IEEE80211_C_RCVMGT capability o on transmit craft new nodes as needed using new ieee80211_find_txnode routine o add ieee80211_find_txnode routine to lookup a node by mac address and if not present create one when operating in ibss/ahdemo mode; new nodes are dup'd from bss and the driver is told to treat the node as if a new association has been created so driver-private state (e.g. rate control handling) is setup Obtained from: netbsd (basic idea)
Notes
Notes: svn path=/head/; revision=127772
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r--sys/net80211/ieee80211_node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h
index b0e043749f73..0725ffbba0b5 100644
--- a/sys/net80211/ieee80211_node.h
+++ b/sys/net80211/ieee80211_node.h
@@ -141,6 +141,8 @@ extern struct ieee80211_node *ieee80211_dup_bss(struct ieee80211com *,
u_int8_t *);
extern struct ieee80211_node *ieee80211_find_node(struct ieee80211com *,
u_int8_t *);
+extern struct ieee80211_node *ieee80211_find_txnode(struct ieee80211com *,
+ u_int8_t *);
extern struct ieee80211_node * ieee80211_lookup_node(struct ieee80211com *,
u_int8_t *macaddr, struct ieee80211_channel *);
extern void ieee80211_free_node(struct ieee80211com *,