diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-07-20 20:03:42 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-07-20 20:03:42 +0000 |
commit | 041c449ca2cd143f3f8948b8389d0623ca3f5b4d (patch) | |
tree | 58f23179f5d8adcb0f3b92552a9df1fdfbfb9fcc /sys/dev/wi | |
parent | 2450f86bb15763e4c1bcb9e1382350815ca719c2 (diff) | |
download | FreeBSD-src-041c449ca2cd143f3f8948b8389d0623ca3f5b4d.zip FreeBSD-src-041c449ca2cd143f3f8948b8389d0623ca3f5b4d.tar.gz |
Correct the alignment of some of the members in the wi_frame structure.
The structure is the right length, but some of the members (notably
wi_q_info) were off a bit. This causes the received signal strength
values to appear bogus.
Diffstat (limited to 'sys/dev/wi')
-rw-r--r-- | sys/dev/wi/if_wireg.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/wi/if_wireg.h b/sys/dev/wi/if_wireg.h index 8c9c6e6..75c963e 100644 --- a/sys/dev/wi/if_wireg.h +++ b/sys/dev/wi/if_wireg.h @@ -29,7 +29,7 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF * THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: if_wireg.h,v 1.31 1999/05/07 03:14:21 wpaul Exp $ + * $Id: if_wireg.h,v 1.4 1999/05/07 03:28:52 wpaul Exp $ */ struct wi_counters { @@ -543,9 +543,11 @@ struct wi_ltv_mcast { */ struct wi_frame { u_int16_t wi_status; /* 0x00 */ - u_int32_t wi_rsvd0; /* 0x02 */ + u_int16_t wi_rsvd0; /* 0x02 */ + u_int16_t wi_rsvd1; /* 0x04 */ u_int16_t wi_q_info; /* 0x06 */ - u_int16_t wi_rsvd1; /* 0x08 */ + u_int16_t wi_rsvd2; /* 0x08 */ + u_int16_t wi_rsvd3; /* 0x0A */ u_int16_t wi_tx_ctl; /* 0x0C */ u_int16_t wi_frame_ctl; /* 0x0E */ u_int16_t wi_id; /* 0x10 */ |