Public Member Functions | |
MrclMac802_11 () | |
void | recv (Packet *p, Handler *h) |
int | hdr_dst (char *hdr, int dst=-2) |
int | hdr_src (char *hdr, int src=-2) |
int | hdr_type (char *hdr, u_int16_t type=0) |
int | bss_id () |
void | trace_event (char *, Packet *) |
Public Attributes | |
EventTrace * | et_ |
Protected Types | |
enum | { IBSS_ID = MAC_BROADCAST } |
Protected Member Functions | |
void | backoffHandler (void) |
void | deferHandler (void) |
void | navHandler (void) |
void | recvHandler (void) |
void | sendHandler (void) |
void | txHandler (void) |
Protected Attributes | |
MPHY_MIB | phymib_ |
MMAC_MIB | macmib_ |
int | bss_id_ |
Private Member Functions | |
int | command (int argc, const char *const *argv) |
void | recv_timer (void) |
void | send_timer (void) |
int | check_pktCTRL () |
int | check_pktRTS () |
int | check_pktTx () |
void | send (Packet *p, Handler *h) |
void | sendRTS (int dst) |
void | sendCTS (int dst, double duration) |
void | sendACK (int dst) |
void | sendDATA (Packet *p) |
void | RetransmitRTS () |
void | RetransmitDATA () |
void | recvRTS (Packet *p) |
void | recvCTS (Packet *p) |
void | recvACK (Packet *p) |
void | recvDATA (Packet *p) |
void | capture (Packet *p) |
void | collision (Packet *p) |
void | discard (Packet *p, const char *why) |
void | rx_resume (void) |
void | tx_resume (void) |
int | is_idle (void) |
void | trace_pkt (Packet *p) |
void | dump (char *fname) |
int | initialized () |
void | mac_log (Packet *p) |
double | txtime (Packet *p) |
double | txtime (double psz, double drt) |
double | txtime (int bytes) |
void | transmit (Packet *p, double timeout) |
void | checkBackoffTimer (void) |
void | postBackoff (int pri) |
void | setRxState (MacState newState) |
void | setTxState (MacState newState) |
void | inc_cw () |
void | rst_cw () |
double | sec (double t) |
u_int16_t | usec (double t) |
void | set_nav (u_int16_t us) |
Private Attributes | |
double | basicRate_ |
double | dataRate_ |
MrclIFTimer | mhIF_ |
MrclNavTimer | mhNav_ |
MrclRxTimer | mhRecv_ |
MrclTxTimer | mhSend_ |
MrclDeferTimer | mhDefer_ |
MrclBackoffTimer | mhBackoff_ |
double | nav_ |
MacState | rx_state_ |
MacState | tx_state_ |
int | tx_active_ |
Packet * | eotPacket_ |
Packet * | pktRTS_ |
Packet * | pktCTRL_ |
u_int32_t | cw_ |
u_int32_t | ssrc_ |
u_int32_t | slrc_ |
int | min_frame_len_ |
NsObject * | logtarget_ |
NsObject * | EOTtarget_ |
u_int16_t | sta_seqno_ |
int | cache_node_count_ |
Host * | cache_ |
Friends | |
class | MrclDeferTimer |
class | MrclBackoffTimer |
class | MrclIFTimer |
class | MrclNavTimer |
class | MrclRxTimer |
class | MrclTxTimer |
Definition at line 444 of file miracle_mac-802_11.h.
anonymous enum [protected] |