diff options
author | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-09-20 13:24:43 +0000 |
---|---|---|
committer | Stefan Sperling <stsp@cvs.openbsd.org> | 2016-09-20 13:24:43 +0000 |
commit | 1befece75723eec00921d8e37c6cbd617b1d1729 (patch) | |
tree | 993dae434c99f0e3d4f2606bb75201e0e1efc456 /sys/net80211/ieee80211_node.h | |
parent | 8b8539842add62d551b7851d7a2447d2304c12f5 (diff) |
Parse the DTIM count and period advertised in beacons and store them
in the node structure. This should be useful for iwm(4) in the future.
ok phessler@
Diffstat (limited to 'sys/net80211/ieee80211_node.h')
-rw-r--r-- | sys/net80211/ieee80211_node.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_node.h b/sys/net80211/ieee80211_node.h index 4c47ceaab02..50acc7b5cc7 100644 --- a/sys/net80211/ieee80211_node.h +++ b/sys/net80211/ieee80211_node.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_node.h,v 1.61 2016/09/15 03:32:48 dlg Exp $ */ +/* $OpenBSD: ieee80211_node.h,v 1.62 2016/09/20 13:24:42 stsp Exp $ */ /* $NetBSD: ieee80211_node.h,v 1.9 2004/04/30 22:57:32 dyoung Exp $ */ /*- @@ -188,9 +188,10 @@ struct ieee80211_node { struct ieee80211_channel *ni_chan; u_int8_t ni_erp; /* 11g only */ -#ifdef notyet /* DTIM and contention free period (CFP) */ + u_int8_t ni_dtimcount; u_int8_t ni_dtimperiod; +#ifdef notyet u_int8_t ni_cfpperiod; /* # of DTIMs between CFPs */ u_int16_t ni_cfpduremain; /* remaining cfp duration */ u_int16_t ni_cfpmaxduration;/* max CFP duration in TU */ |