summaryrefslogtreecommitdiff
path: root/sys/net80211/ieee80211_rssadapt.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-06-16 13:17:06 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-06-16 13:17:06 +0000
commitec94a1bef7e993d9fe603d73f204d4ca10a666db (patch)
tree5020ac1511e8feab320a71788baf7c9700bc6960 /sys/net80211/ieee80211_rssadapt.h
parentea153cc43d871c3ad1608f57c9bcca0f138e2a74 (diff)
constify
Diffstat (limited to 'sys/net80211/ieee80211_rssadapt.h')
-rw-r--r--sys/net80211/ieee80211_rssadapt.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/net80211/ieee80211_rssadapt.h b/sys/net80211/ieee80211_rssadapt.h
index 983c813a780..67b92e67749 100644
--- a/sys/net80211/ieee80211_rssadapt.h
+++ b/sys/net80211/ieee80211_rssadapt.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_rssadapt.h,v 1.3 2006/06/17 19:26:00 damien Exp $ */
+/* $OpenBSD: ieee80211_rssadapt.h,v 1.4 2007/06/16 13:17:05 damien Exp $ */
/* $NetBSD: ieee80211_rssadapt.h,v 1.3 2004/05/06 03:03:20 dyoung Exp $ */
/*-
@@ -89,16 +89,16 @@ struct ieee80211_rssdesc {
};
void ieee80211_rssadapt_updatestats(struct ieee80211_rssadapt *);
-void ieee80211_rssadapt_input(struct ieee80211com *, struct ieee80211_node *,
- struct ieee80211_rssadapt *, int);
+void ieee80211_rssadapt_input(struct ieee80211com *,
+ const struct ieee80211_node *, struct ieee80211_rssadapt *, int);
void ieee80211_rssadapt_lower_rate(struct ieee80211com *,
- struct ieee80211_node *, struct ieee80211_rssadapt *,
- struct ieee80211_rssdesc *);
+ const struct ieee80211_node *, struct ieee80211_rssadapt *,
+ const struct ieee80211_rssdesc *);
void ieee80211_rssadapt_raise_rate(struct ieee80211com *,
- struct ieee80211_rssadapt *, struct ieee80211_rssdesc *);
+ struct ieee80211_rssadapt *, const struct ieee80211_rssdesc *);
int ieee80211_rssadapt_choose(struct ieee80211_rssadapt *,
- struct ieee80211_rateset *, struct ieee80211_frame *, u_int, int,
- const char *, int);
+ const struct ieee80211_rateset *, const struct ieee80211_frame *,
+ u_int, int, const char *, int);
#ifdef IEEE80211_DEBUG
extern int ieee80211_rssadapt_debug;
#endif /* IEEE80211_DEBUG */