MNCC: rename mncc_upq_enqueue() to cc_tx_to_mncc()

The new function name clearly indicates: The Call Control
(TS 04.08, msc-side in OpenBSC) wants to transmit something to the
MNCC interface.
This commit is contained in:
Harald Welte 2010-12-22 23:43:29 +01:00
parent 9af6ddfcec
commit 54209c2dce
4 changed files with 4 additions and 4 deletions

View File

@ -849,7 +849,7 @@ struct gsm_subscriber_connection *subscr_con_allocate(struct gsm_lchan *lchan);
void subscr_con_free(struct gsm_subscriber_connection *conn);
/* FIXME: this should go some other header file, but there is no good one */
static inline void mncc_upq_enqueue(struct gsm_network *net, struct msgb *msg)
static inline void cc_tx_to_mncc(struct gsm_network *net, struct msgb *msg)
{
msgb_enqueue(&net->upqueue, msg);
}

View File

@ -1341,7 +1341,7 @@ static int mncc_recvmsg(struct gsm_network *net, struct gsm_trans *trans,
if (!msg)
return -ENOMEM;
memcpy(msg->data, mncc, sizeof(struct gsm_mncc));
mncc_upq_enqueue(net, msg);
cc_tx_to_mncc(net, msg);
return 0;
}

View File

@ -442,7 +442,7 @@ static int rtp_socket_read(struct rtp_socket *rs, struct rtp_sub_socket *rss)
if (rc < 0)
goto out_free;
msgb_free(msg);
mncc_upq_enqueue(rs->receive.net, new_msg);
cc_tx_to_mncc(rs->receive.net, new_msg);
break;
case RTP_NONE: /* if socket exists, but disabled by app */

View File

@ -213,7 +213,7 @@ int trau_mux_input(struct gsm_e1_subslot *src_e1_ss,
}
frame->msg_type = GSM_TCHF_FRAME;
frame->callref = ue->callref;
mncc_upq_enqueue(ue->net, msg);
cc_tx_to_mncc(ue->net, msg);
return 0;
}