summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_proto.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-22 17:29:03 +0000
committersam <sam@FreeBSD.org>2005-07-22 17:29:03 +0000
commitf661a632a685b7c22eb499e9c4f0c30248ad5e11 (patch)
tree755e2d7305683712ee93e1f333d13fc03976ce5b /sys/net80211/ieee80211_proto.h
parent5531f8a2116efe546e15b1761eaebe544cb4ce3a (diff)
downloadFreeBSD-src-f661a632a685b7c22eb499e9c4f0c30248ad5e11.zip
FreeBSD-src-f661a632a685b7c22eb499e9c4f0c30248ad5e11.tar.gz
simplify rate set api's by removing ic parameter (implicit in node reference)
MFC after: 3 days
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r--sys/net80211/ieee80211_proto.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
index bd6a222..4cdca5a 100644
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -59,6 +59,8 @@ void ieee80211_proto_detach(struct ieee80211com *);
struct ieee80211_node;
int ieee80211_input(struct ieee80211com *, struct mbuf *,
struct ieee80211_node *, int, u_int32_t);
+int ieee80211_setup_rates(struct ieee80211_node *ni,
+ const u_int8_t *rates, const u_int8_t *xrates, int flags);
void ieee80211_recv_mgmt(struct ieee80211com *, struct mbuf *,
struct ieee80211_node *, int, int, u_int32_t);
int ieee80211_send_nulldata(struct ieee80211com *, struct ieee80211_node *);
@@ -163,7 +165,7 @@ const struct ieee80211_aclator *ieee80211_aclator_get(const char *name);
#define IEEE80211_F_DOFRATE 0x00000002 /* use fixed rate */
#define IEEE80211_F_DONEGO 0x00000004 /* calc negotiated rate */
#define IEEE80211_F_DODEL 0x00000008 /* delete ignore rate */
-int ieee80211_fix_rate(struct ieee80211com *, struct ieee80211_node *, int);
+int ieee80211_fix_rate(struct ieee80211_node *, int);
/*
* WME/WMM support.
OpenPOWER on IntegriCloud