diff options
author | sam <sam@FreeBSD.org> | 2009-07-18 20:19:53 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-07-18 20:19:53 +0000 |
commit | c70ad2698e22375c9f47db2c3e6a5ee7f3fc937c (patch) | |
tree | 8baf10048cb5037506a7d77ca47bebe123dc1343 /sys/net80211/ieee80211_ioctl.h | |
parent | 630d769cdb32ec5f2d2fd6e11a19a5328c322a45 (diff) | |
download | FreeBSD-src-c70ad2698e22375c9f47db2c3e6a5ee7f3fc937c.zip FreeBSD-src-c70ad2698e22375c9f47db2c3e6a5ee7f3fc937c.tar.gz |
Move code that does payload realigment to a new routine, ieee80211_realign,
so it can be reused. While here rewrite the logic to always use a single mbuf.
Reviewed by: rpaulo
Approved by: re (kib)
Diffstat (limited to 'sys/net80211/ieee80211_ioctl.h')
-rw-r--r-- | sys/net80211/ieee80211_ioctl.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_ioctl.h b/sys/net80211/ieee80211_ioctl.h index 723d3da..8105990 100644 --- a/sys/net80211/ieee80211_ioctl.h +++ b/sys/net80211/ieee80211_ioctl.h @@ -235,8 +235,9 @@ struct ieee80211_stats { uint32_t is_hwmp_wrongseq; /* wrong hwmp seq no. */ uint32_t is_hwmp_rootreqs; /* root PREQs sent */ uint32_t is_hwmp_rootrann; /* root RANNs sent */ + uint32_t is_rx_badalign; /* dropped 'cuz misaligned */ - uint32_t is_spare[16]; + uint32_t is_spare[15]; }; /* |