Public Member Functions | |
AM () | |
int | buff_size () |
void | timeout (int tno, int flowID=-1) |
void | CSwitch (double, double) |
int & | addr () |
int & | daddr () |
virtual void | recv (Packet *, Handler *) |
int | getTotPDUs () |
int | getErrPDUs () |
int | getAckPDUs () |
int | getAckSDUs () |
int | getDropPDUs () |
int | getDropSDUs () |
Protected Member Functions | |
int | bRxtSeq (int) |
void | ack (Packet *) |
Packet * | make_status (Packet *) |
Packet * | make_bitmap_SUFI (Packet *) |
Packet * | make_mrw_SUFI (Packet *) |
Packet * | make_mrwack_SUFI (Packet *) |
Packet * | make_positive_ack (Packet *) |
void | newack (Packet *) |
void | makeSDU (int) |
void | send_much (int) |
void | newback (Packet *) |
Packet * | allocpkt (int) |
void | sendDown (Packet *) |
int | update (int, int) |
int | command (int, const char *const *) |
bool | chk_size (Packet *) |
Packet * | makePDU (int) |
int | PB_S_PDU () |
int | PB_PA_PDU () |
bool | PA_Piggybackable (Packet *) |
int | AckPDUSize () |
bool | S_Piggybackable (Packet *) |
int | StatusPDUSize () |
int | SUFI_bitmap_size () |
int | SUFI_mrw_size () |
double | send_time (int) |
void | set_rtx_timer () |
void | set_poll_timer () |
void | reset_rtx_timer () |
void | cancel_rtx_timer () |
void | cancel_poll_timer () |
void | set_status_prohibit_timer () |
virtual void | ackSDU (int oldFSN, int newFSN) |
void | discardSDU (int dsn) |
Protected Attributes | |
int | win_ |
double | maxRBSize_ |
int | ack_mode_ |
int | poll_PDU_ |
double | overhead_ |
double | rtx_timeout_ |
double | poll_timeout_ |
double | stprob_timeout_ |
int | noFastRetrans_ |
int | numdupacks_ |
int | payload_ |
double | bandwidth_ |
double | TTI_ |
double | next_TTI_ |
int | ack_pdu_header_ |
int | status_pdu_header_ |
int | length_indicator_ |
int | min_concat_data_ |
double | max_status_delay_ |
double | max_ack_delay_ |
int | sent_TTI_PDUs_ |
int | TTI_PDUs_ |
double | earliest_status_send_ |
double | earliest_ack_send_ |
int | set_poll_ |
int | send_ack_ |
int | send_status_ |
int | SDU_size_ |
int | dupacks_ |
int | rtt_seq_ |
int | rtt_active_ |
int | prohibited_ |
int | FSN_ |
int | MRW_delta |
int | b_bal_ |
int | length_ |
int | bitmap_ [BITMAP_LENGTH] |
int | maxseq_ |
int | t_seqno_ |
int | highest_ack_ |
int | maxseen_ |
int | seen_ [MWS] |
int | next_ |
int | eopno_ [MWS] |
u_int8_t | txcount_ [MWS] |
int | maxdat_ |
int | tx_PDUs_before_poll |
int | tot_PDUs_ |
int | err_PDUs_ |
Total num of PDU transmission attempts. | |
int | ack_PDUs_ |
int | ack_SDUs_ |
number of acknowledge PDUs, without duplicates | |
int | drop_PDUs_ |
number of acknowledge SDUs, without duplicates | |
int | drop_SDUs_ |
number of PDUs which have exceeded the retx limit (maxdat_) | |
int | rx_PDUs_ |
number of dropped SDUs due to dropped PDUs | |
int | rx_SDUs_ |
int | address_ |
int | d_address_ |
double | TTI_time_ |
UmtsTimer | rtx_timer_ |
UmtsTimer | poll_timer_ |
UmtsTimer | delsnd_timer_ |
UmtsTimer | stprob_timer_ |
UmtsTimer | tti_timer_ |
UmtsTimer | mrwack_timer_ |
umtsQueue | rcvB_ |
umtsQueue | rxtB_ |
umtsQueue | sduB_ |
int | flowID_ |
int | sender_debug_ |
int | receiver_debug_ |
Definition at line 70 of file am.h.
int AM::seen_[MWS] [protected] |
array of PDUs seen by receiver
Definition at line 199 of file am.h.
Referenced by ack(), AM(), make_bitmap_SUFI(), make_positive_ack(), PB_S_PDU(), send_much(), SUFI_bitmap_size(), and update().
int AM::next_ [protected] |
for each packet i, seen_[i] is 0 if the packet has not been received, > 0 if it has been received (1 if it is the end-of-SDU packet, 2 otherwise)
Definition at line 205 of file am.h.
Referenced by ack(), make_bitmap_SUFI(), make_mrwack_SUFI(), make_positive_ack(), recv(), SUFI_bitmap_size(), and update().
int AM::tot_PDUs_ [protected] |
transmission attempts. It is resetted each poll_PDUs_ transmissions
Definition at line 221 of file am.h.
Referenced by AM(), getTotPDUs(), and send_much().
int AM::ack_PDUs_ [protected] |
Total number of PDUs reported as erroneous in BITMAP SUFI. This number contains both retransmitted PDUs and moreover may count a single error more than once if transmission is not attempted between subsequents STATUS PDUs.
Definition at line 230 of file am.h.
Referenced by ackSDU(), AM(), discardSDU(), and getAckPDUs().