From 1af4ae3d621d63c82f7d78efda05218a3457981f Mon Sep 17 00:00:00 2001 From: mickeyl Date: Tue, 08 Apr 2003 14:15:35 +0000 Subject: - add skeleton for the last missing parts in the 802.11 decoding framework - fix huge memory leak in packet capturer - add more fine granular 802.11 subtype handling --- (limited to 'libopie2/opienet/802_11_user.h') diff --git a/libopie2/opienet/802_11_user.h b/libopie2/opienet/802_11_user.h index ffdcb93..f596bd8 100644 --- a/libopie2/opienet/802_11_user.h +++ b/libopie2/opienet/802_11_user.h @@ -255,6 +255,18 @@ struct ieee_802_11_data_header { // u_int8_t gap[8]; }; +struct ieee_802_11_control_header { + u_int16_t frame_control; + u_int16_t duration; + u_int8_t mac1[6]; + u_int8_t mac2[6]; + u_int8_t mac3[6]; + u_int16_t SeqCtl; + u_int8_t mac4[6]; +// u_int16_t gapLen; +// u_int8_t gap[8]; +}; + #define CAPABILITY_ESS(cap) ((cap) & 0x0001) #define CAPABILITY_IBSS(cap) ((cap) & 0x0002) #define CAPABILITY_CFP(cap) ((cap) & 0x0004) @@ -362,6 +374,10 @@ struct ieee_802_11_data_body { //FIXME }; +struct ieee_802_11_control_body { +//FIXME +}; + struct ctrl_rts_t { u_int16_t fc; u_int16_t duration; -- cgit v0.9.0.2