diff options
author | Daniel Willmann <dwillmann@sysmocom.de> | 2014-05-30 17:57:59 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-30 18:19:06 +0200 |
commit | fc03bbe0780002dd1a55969528c071ce25e8ce6d (patch) | |
tree | 2638da34d1475f6d70b10bc5ffc6869fe5be4452 | |
parent | 9167055ed21ebfccc241289b8b8c1c6cdcd098d3 (diff) |
tbf/bts: Rename tbf->snd_dl_ack to tbf->rcvd_dl_ack
This function is called to act upon a received DL ACK packet so this
name makes more sense.
-rw-r--r-- | src/bts.cpp | 2 | ||||
-rw-r--r-- | src/tbf.cpp | 2 | ||||
-rw-r--r-- | src/tbf.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bts.cpp b/src/bts.cpp index ff16e296..6c024083 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -805,7 +805,7 @@ void gprs_rlcmac_pdch::rcv_control_dl_ack_nack(Packet_Downlink_Ack_Nack_t *ack_n LOGP(DRLCMAC, LOGL_DEBUG, "RX: [PCU <- BTS] %s Packet Downlink Ack/Nack\n", tbf_name(tbf)); tbf->poll_state = GPRS_RLCMAC_POLL_NONE; - rc = tbf->snd_dl_ack( + rc = tbf->rcvd_dl_ack( ack_nack->Ack_Nack_Description.FINAL_ACK_INDICATION, ack_nack->Ack_Nack_Description.STARTING_SEQUENCE_NUMBER, ack_nack->Ack_Nack_Description.RECEIVED_BLOCK_BITMAP); diff --git a/src/tbf.cpp b/src/tbf.cpp index d6b38022..b20d0fc7 100644 --- a/src/tbf.cpp +++ b/src/tbf.cpp @@ -1425,7 +1425,7 @@ int gprs_rlcmac_tbf::maybe_start_new_window() return 0; } -int gprs_rlcmac_tbf::snd_dl_ack(uint8_t final_ack, uint8_t ssn, uint8_t *rbb) +int gprs_rlcmac_tbf::rcvd_dl_ack(uint8_t final_ack, uint8_t ssn, uint8_t *rbb) { LOGP(DRLCMACDL, LOGL_DEBUG, "%s downlink acknowledge\n", tbf_name(this)); @@ -103,7 +103,7 @@ struct gprs_rlcmac_tbf { struct msgb *create_dl_ass(uint32_t fn); struct msgb *create_ul_ass(uint32_t fn); struct msgb *create_ul_ack(uint32_t fn); - int snd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb); + int rcvd_dl_ack(uint8_t final, uint8_t ssn, uint8_t *rbb); int snd_ul_ud(); /* blocks were acked */ |