diff options
author | sam <sam@FreeBSD.org> | 2003-09-15 22:28:07 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2003-09-15 22:28:07 +0000 |
commit | c9c933e78b7f78237d8012aa7fd7e0f113823c5a (patch) | |
tree | 0e47a901ca00cc77a28a919bce48d95fbd978a11 /sys/net80211/ieee80211_var.h | |
parent | 9ba7155cfe8dabb2beb540ffb24b3d14e17f357d (diff) | |
download | FreeBSD-src-c9c933e78b7f78237d8012aa7fd7e0f113823c5a.zip FreeBSD-src-c9c933e78b7f78237d8012aa7fd7e0f113823c5a.tar.gz |
Generalize the per-node RSSI data so drivers can do more interesting
things than record a single value.
o add a per-node method for returning the "current RSSI" for a node
o create a default method that returns ni_rssi which is the rssi for
the last received frame
o use the per-node "get rssi" method to return data for the RID's
submitted by wicontrol, et. al.
Loosely based on work by Tom Marshall <tommy@home.tig-grr.com> for MADWIFI.
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index 187ab79..2546bb8 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -171,6 +171,8 @@ struct ieee80211com { void (*ic_node_copy)(struct ieee80211com *, struct ieee80211_node *, const struct ieee80211_node *); + u_int8_t (*ic_node_getrssi)(struct ieee80211com *, + struct ieee80211_node *); TAILQ_HEAD(, ieee80211_node) ic_node; /* information of all nodes */ LIST_HEAD(, ieee80211_node) ic_hash[IEEE80211_NODE_HASHSIZE]; u_int16_t ic_lintval; /* listen interval */ |