summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r--sys/net80211/ieee80211_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h
index aecccb3..43708ef 100644
--- a/sys/net80211/ieee80211_proto.h
+++ b/sys/net80211/ieee80211_proto.h
@@ -179,6 +179,8 @@ struct wmeParams {
u_int8_t wmep_txopLimit;
u_int8_t wmep_noackPolicy; /* 0 (ack), 1 (no ack) */
};
+#define IEEE80211_TXOP_TO_US(_txop) ((_txop)<<5)
+#define IEEE80211_US_TO_TXOP(_us) ((_us)>>5)
struct chanAccParams {
u_int8_t cap_info; /* version of the current set */
OpenPOWER on IntegriCloud