summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/net80211/ieee80211_amrr.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/net80211/ieee80211_amrr.h b/sys/net80211/ieee80211_amrr.h
index 129de496b95..dc2dd6147ab 100644
--- a/sys/net80211/ieee80211_amrr.h
+++ b/sys/net80211/ieee80211_amrr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_amrr.h,v 1.2 2006/06/17 19:26:00 damien Exp $ */
+/* $OpenBSD: ieee80211_amrr.h,v 1.3 2006/06/17 19:34:31 damien Exp $ */
/*-
* Copyright (c) 2006
@@ -32,8 +32,8 @@
* Rate control settings.
*/
struct ieee80211_amrr {
- int amrr_min_success_threshold;
- int amrr_max_success_threshold;
+ u_int amrr_min_success_threshold;
+ u_int amrr_max_success_threshold;
};
#define IEEE80211_AMRR_MIN_SUCCESS_THRESHOLD 1
@@ -43,11 +43,11 @@ struct ieee80211_amrr {
* Rate control state for a given node.
*/
struct ieee80211_amrr_node {
- int amn_success;
- int amn_recovery;
- int amn_success_threshold;
- int amn_txcnt;
- int amn_retrycnt;
+ u_int amn_success;
+ u_int amn_recovery;
+ u_int amn_success_threshold;
+ u_int amn_txcnt;
+ u_int amn_retrycnt;
};
void ieee80211_amrr_node_init(struct ieee80211_amrr *,