tbf: constify the IMSI argument for the downlink assignment
This commit is contained in:
parent
2023bd18b6
commit
52c911b3b4
|
@ -392,7 +392,7 @@ struct msgb *gprs_rlcmac_send_packet_downlink_assignment(
|
||||||
struct gprs_rlcmac_tbf *tbf, uint32_t fn);
|
struct gprs_rlcmac_tbf *tbf, uint32_t fn);
|
||||||
|
|
||||||
void gprs_rlcmac_trigger_downlink_assignment(struct gprs_rlcmac_tbf *tbf,
|
void gprs_rlcmac_trigger_downlink_assignment(struct gprs_rlcmac_tbf *tbf,
|
||||||
struct gprs_rlcmac_tbf *old_tbf, char *imsi);
|
struct gprs_rlcmac_tbf *old_tbf, const char *imsi);
|
||||||
|
|
||||||
int gprs_rlcmac_downlink_ack(struct gprs_rlcmac_tbf *tbf, uint8_t final,
|
int gprs_rlcmac_downlink_ack(struct gprs_rlcmac_tbf *tbf, uint8_t final,
|
||||||
uint8_t ssn, uint8_t *rbb);
|
uint8_t ssn, uint8_t *rbb);
|
||||||
|
|
|
@ -74,7 +74,7 @@ struct rlc_li_field {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gprs_rlcmac_downlink_assignment(gprs_rlcmac_tbf *tbf, uint8_t poll,
|
static void gprs_rlcmac_downlink_assignment(gprs_rlcmac_tbf *tbf, uint8_t poll,
|
||||||
char *imsi);
|
const char *imsi);
|
||||||
|
|
||||||
static int gprs_rlcmac_diag(struct gprs_rlcmac_tbf *tbf)
|
static int gprs_rlcmac_diag(struct gprs_rlcmac_tbf *tbf)
|
||||||
{
|
{
|
||||||
|
@ -1819,7 +1819,7 @@ struct msgb *gprs_rlcmac_send_packet_downlink_assignment(
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gprs_rlcmac_downlink_assignment(gprs_rlcmac_tbf *tbf, uint8_t poll,
|
static void gprs_rlcmac_downlink_assignment(gprs_rlcmac_tbf *tbf, uint8_t poll,
|
||||||
char *imsi)
|
const char *imsi)
|
||||||
{
|
{
|
||||||
struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts;
|
struct gprs_rlcmac_bts *bts = gprs_rlcmac_bts;
|
||||||
int plen;
|
int plen;
|
||||||
|
@ -1840,7 +1840,7 @@ static void gprs_rlcmac_downlink_assignment(gprs_rlcmac_tbf *tbf, uint8_t poll,
|
||||||
|
|
||||||
/* depending on the current TBF, we assign on PACCH or AGCH */
|
/* depending on the current TBF, we assign on PACCH or AGCH */
|
||||||
void gprs_rlcmac_trigger_downlink_assignment(struct gprs_rlcmac_tbf *tbf,
|
void gprs_rlcmac_trigger_downlink_assignment(struct gprs_rlcmac_tbf *tbf,
|
||||||
struct gprs_rlcmac_tbf *old_tbf, char *imsi)
|
struct gprs_rlcmac_tbf *old_tbf, const char *imsi)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG_DL_ASS_IDLE
|
#ifdef DEBUG_DL_ASS_IDLE
|
||||||
strncpy(debug_imsi, imsi);
|
strncpy(debug_imsi, imsi);
|
||||||
|
|
|
@ -174,7 +174,7 @@ void pcu_l1if_tx_agch(bitvec * block, int plen)
|
||||||
pcu_tx_data_req(0, 0, PCU_IF_SAPI_AGCH, 0, 0, 0, data, 23);
|
pcu_tx_data_req(0, 0, PCU_IF_SAPI_AGCH, 0, 0, 0, data, 23);
|
||||||
}
|
}
|
||||||
|
|
||||||
void pcu_l1if_tx_pch(bitvec * block, int plen, char *imsi)
|
void pcu_l1if_tx_pch(bitvec * block, int plen, const char *imsi)
|
||||||
{
|
{
|
||||||
uint8_t data[23+3]; /* prefix PLEN */
|
uint8_t data[23+3]; /* prefix PLEN */
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ void pcu_l1if_tx_ptcch(msgb *msg, uint8_t trx, uint8_t ts, uint16_t arfcn,
|
||||||
uint32_t fn, uint8_t block_nr);
|
uint32_t fn, uint8_t block_nr);
|
||||||
void pcu_l1if_tx_agch(bitvec * block, int len);
|
void pcu_l1if_tx_agch(bitvec * block, int len);
|
||||||
|
|
||||||
void pcu_l1if_tx_pch(bitvec * block, int plen, char *imsi);
|
void pcu_l1if_tx_pch(bitvec * block, int plen, const char *imsi);
|
||||||
|
|
||||||
int pcu_l1if_open(void);
|
int pcu_l1if_open(void);
|
||||||
void pcu_l1if_close(void);
|
void pcu_l1if_close(void);
|
||||||
|
|
Loading…
Reference in New Issue