|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.inet.mac.Mac_802_11_Frame_Control
This class defines the IEEE802.11 frame control field structure.
Mac_802_11,
Mac_802_11_Data_Frame| Field Summary | |
static int |
MAC_ProtocolVersion
|
static int |
MAC_Subtype_ACK
|
static int |
MAC_Subtype_ATIM
|
static int |
MAC_Subtype_Beacon
|
static int |
MAC_Subtype_CTS
|
static int |
MAC_Subtype_Data
|
static int |
MAC_Subtype_RTS
|
static int |
MAC_Type_Control
|
static int |
MAC_Type_Data
|
static int |
MAC_Type_Management
|
static int |
MAC_Type_Reserved
|
| Constructor Summary | |
Mac_802_11_Frame_Control()
|
|
Mac_802_11_Frame_Control(int subtype_,
int type_,
int protocol_version_)
|
|
| Method Summary | |
java.lang.String |
_toString()
|
java.lang.String |
_toString(java.lang.String separator_)
|
java.lang.Object |
clone()
|
boolean |
get_fc_order(boolean b_)
Get frame control order field |
int |
get_fc_protocol_version()
Get frame control protocol version |
int |
get_fc_subtype()
Get frame control subtype |
int |
get_fc_type()
Get frame control type |
boolean |
get_fc_wep(boolean b_)
|
boolean |
get_from_ds(boolean b_)
Get frame control frome ds field |
boolean |
get_more_data(boolean b_)
Get frame control WEP field |
boolean |
get_more_frag(boolean b_)
Get frame control fragmentation field |
boolean |
get_pwr_mgt(boolean b_)
Get frame control power management field |
boolean |
get_retry(boolean b_)
Get frame control retry field |
boolean |
get_to_ds(boolean b_)
Get frame control to ds field |
void |
set_fc_flags(boolean order_,
boolean wep_,
boolean more_data_,
boolean pwr_mgt_,
boolean retry_,
boolean more_frag_,
boolean from_ds_,
boolean to_ds_)
Set the frame control flags |
void |
set_fc_order(boolean b_)
Set frame control order field |
void |
set_fc_protocol_version(int pv_)
Set frame control protocol version |
void |
set_fc_subtype(int st_)
Set frame control subtype |
void |
set_fc_type(int t_)
Set frame control type |
void |
set_fc_wep(boolean b_)
Set frame control WEP field |
void |
set_from_ds(boolean b_)
Set frame control frome ds field |
void |
set_more_data(boolean b_)
Set frame control more_data field |
void |
set_more_frag(boolean b_)
Set frame control fragmentation field |
void |
set_pwr_mgt(boolean b_)
Set frame control power management field |
void |
set_retry(boolean b_)
Set frame control retry field |
void |
set_to_ds(boolean b_)
Set frame control to ds field |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int MAC_ProtocolVersion
public static final int MAC_Type_Management
public static final int MAC_Type_Control
public static final int MAC_Type_Data
public static final int MAC_Type_Reserved
public static final int MAC_Subtype_ATIM
public static final int MAC_Subtype_Beacon
public static final int MAC_Subtype_RTS
public static final int MAC_Subtype_CTS
public static final int MAC_Subtype_ACK
public static final int MAC_Subtype_Data
| Constructor Detail |
public Mac_802_11_Frame_Control()
public Mac_802_11_Frame_Control(int subtype_,
int type_,
int protocol_version_)
| Method Detail |
public void set_fc_flags(boolean order_,
boolean wep_,
boolean more_data_,
boolean pwr_mgt_,
boolean retry_,
boolean more_frag_,
boolean from_ds_,
boolean to_ds_)
order_ - - 0, 1 order fieldwep_ - - set to 1 if the frame body field contains information processed by WEP algorithmmore_data_ - - set to 1 if AP has more data to transmit to the STApwr_mgt_ - - set to 1 if a STA is in power-savingretry_ - - set to 1 if it is a retransmission of an earlier framemore_frag_ - - set to 1 if there is one or more fragments to followfrom_ds_ - - set to 1 if data type frames existing the DSto_ds_ - - set to 1 if data type frames destined the DSpublic void set_fc_subtype(int st_)
public void set_fc_type(int t_)
public void set_fc_protocol_version(int pv_)
public void set_fc_order(boolean b_)
public void set_fc_wep(boolean b_)
public void set_more_data(boolean b_)
public void set_pwr_mgt(boolean b_)
public void set_retry(boolean b_)
public void set_more_frag(boolean b_)
public void set_from_ds(boolean b_)
public void set_to_ds(boolean b_)
public int get_fc_subtype()
public int get_fc_type()
public int get_fc_protocol_version()
public boolean get_fc_order(boolean b_)
public boolean get_fc_wep(boolean b_)
public boolean get_more_data(boolean b_)
public boolean get_pwr_mgt(boolean b_)
public boolean get_retry(boolean b_)
public boolean get_more_frag(boolean b_)
public boolean get_from_ds(boolean b_)
public boolean get_to_ds(boolean b_)
public java.lang.Object clone()
public java.lang.String _toString(java.lang.String separator_)
public java.lang.String _toString()
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||