summaryrefslogtreecommitdiffstats
path: root/sys/dev/wpi/if_wpireg.h
diff options
context:
space:
mode:
authorbenjsc <benjsc@FreeBSD.org>2007-11-27 08:58:32 +0000
committerbenjsc <benjsc@FreeBSD.org>2007-11-27 08:58:32 +0000
commit981215a5d399f0c53f50e0ff06b9fc40658df99d (patch)
treecb4394330bd17bc4774e00a259331f03e458dcb7 /sys/dev/wpi/if_wpireg.h
parent79ae5fe2e3118ca80a1676e578106913043a6886 (diff)
downloadFreeBSD-src-981215a5d399f0c53f50e0ff06b9fc40658df99d.zip
FreeBSD-src-981215a5d399f0c53f50e0ff06b9fc40658df99d.tar.gz
Handle missed beacons correctly
Approved by: mlaier (comentor)
Diffstat (limited to 'sys/dev/wpi/if_wpireg.h')
-rw-r--r--sys/dev/wpi/if_wpireg.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/wpi/if_wpireg.h b/sys/dev/wpi/if_wpireg.h
index a821bf0..0f83d0a 100644
--- a/sys/dev/wpi/if_wpireg.h
+++ b/sys/dev/wpi/if_wpireg.h
@@ -203,6 +203,7 @@ struct wpi_rx_desc {
#define WPI_START_SCAN 130
#define WPI_STOP_SCAN 132
#define WPI_STATE_CHANGED 161
+#define WPI_MISSED_BEACON 162
uint8_t flags;
uint8_t idx;
@@ -420,6 +421,15 @@ struct wpi_cmd_beacon {
struct ieee80211_frame wh;
} __packed;
+/* structure for notification WPI_MISSED_BEACON */
+struct wpi_missed_beacon {
+ uint32_t consecutive;
+ uint32_t total;
+ uint32_t expected;
+ uint32_t received;
+} __packed;
+
+
/* structure for WPI_CMD_MRR_SETUP */
struct wpi_mrr_setup {
uint8_t which;
OpenPOWER on IntegriCloud