summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2004-04-03 03:33:02 +0000
committersam <sam@FreeBSD.org>2004-04-03 03:33:02 +0000
commit92f8504e25c7a373d1f295f907206fe409c7d908 (patch)
tree7ebb2a2eaf74b812ac2e823df2d79598b4c63aff /sys/dev
parent2c8925549a16b6426bfad4ce95dc3948f602350a (diff)
downloadFreeBSD-src-92f8504e25c7a373d1f295f907206fe409c7d908.zip
FreeBSD-src-92f8504e25c7a373d1f295f907206fe409c7d908.tar.gz
do proper subclassing of node free+copy; the previous hack falls apart when
the 802.11 layer does useful work Obtained from: madwifi
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_athvar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h
index 766163d..0d35989 100644
--- a/sys/dev/ath/if_athvar.h
+++ b/sys/dev/ath/if_athvar.h
@@ -93,6 +93,11 @@ struct ath_softc {
struct ieee80211com sc_ic; /* IEEE 802.11 common */
int (*sc_newstate)(struct ieee80211com *,
enum ieee80211_state, int);
+ void (*sc_node_free)(struct ieee80211com *,
+ struct ieee80211_node *);
+ void (*sc_node_copy)(struct ieee80211com *,
+ struct ieee80211_node *,
+ const struct ieee80211_node *);
device_t sc_dev;
bus_space_tag_t sc_st; /* bus space tag */
bus_space_handle_t sc_sh; /* bus space handle */
OpenPOWER on IntegriCloud