abis_rsl: constify parameters of rsl_X_imm_assign_cmd
Related: OS#5198 Change-Id: I1bd2e0c844bf273d2c4381eec9e9bb9562254873
This commit is contained in:
parent
107d311d96
commit
8a0572256b
|
@ -55,7 +55,7 @@ int rsl_encryption_cmd(struct msgb *msg);
|
||||||
int rsl_paging_cmd(struct gsm_bts *bts, uint8_t paging_group,
|
int rsl_paging_cmd(struct gsm_bts *bts, uint8_t paging_group,
|
||||||
const struct osmo_mobile_identity *mi,
|
const struct osmo_mobile_identity *mi,
|
||||||
uint8_t chan_needed, bool is_gprs);
|
uint8_t chan_needed, bool is_gprs);
|
||||||
int rsl_imm_assign_cmd(struct gsm_bts *bts, uint8_t len, uint8_t *val);
|
int rsl_imm_assign_cmd(const struct gsm_bts *bts, uint8_t len, const uint8_t *val);
|
||||||
int rsl_tx_imm_assignment(struct gsm_lchan *lchan);
|
int rsl_tx_imm_assignment(struct gsm_lchan *lchan);
|
||||||
int rsl_tx_imm_ass_rej(struct gsm_bts *bts, struct gsm48_req_ref *rqd_ref);
|
int rsl_tx_imm_ass_rej(struct gsm_bts *bts, struct gsm48_req_ref *rqd_ref);
|
||||||
int gsm48_send_rr_ass_cmd(struct gsm_lchan *dest_lchan, struct gsm_lchan *lchan, uint8_t power_command);
|
int gsm48_send_rr_ass_cmd(struct gsm_lchan *dest_lchan, struct gsm_lchan *lchan, uint8_t power_command);
|
||||||
|
@ -65,7 +65,8 @@ int rsl_establish_request(struct gsm_lchan *lchan, uint8_t link_id);
|
||||||
int rsl_relase_request(struct gsm_lchan *lchan, uint8_t link_id);
|
int rsl_relase_request(struct gsm_lchan *lchan, uint8_t link_id);
|
||||||
|
|
||||||
/* Ericcson vendor specific RSL extensions */
|
/* Ericcson vendor specific RSL extensions */
|
||||||
int rsl_ericsson_imm_assign_cmd(struct gsm_bts *bts, uint32_t tlli, uint8_t len, uint8_t *val, uint8_t pag_grp);
|
int rsl_ericsson_imm_assign_cmd(const struct gsm_bts *bts, uint32_t tlli, uint8_t len,
|
||||||
|
const uint8_t *val, uint8_t pag_grp);
|
||||||
|
|
||||||
/* Siemens vendor-specific RSL extensions */
|
/* Siemens vendor-specific RSL extensions */
|
||||||
int rsl_siemens_mrpci(struct gsm_lchan *lchan, struct rsl_mrpci *mrpci);
|
int rsl_siemens_mrpci(struct gsm_lchan *lchan, struct rsl_mrpci *mrpci);
|
||||||
|
|
|
@ -928,7 +928,7 @@ int rsl_forward_layer3_info(struct gsm_lchan *lchan, const uint8_t *l3_info, uin
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Chapter 8.5.6 */
|
/* Chapter 8.5.6 */
|
||||||
struct msgb *rsl_imm_assign_cmd_common(struct gsm_bts *bts, uint8_t len, uint8_t *val)
|
struct msgb *rsl_imm_assign_cmd_common(const struct gsm_bts *bts, uint8_t len, const uint8_t *val)
|
||||||
{
|
{
|
||||||
struct msgb *msg = rsl_msgb_alloc();
|
struct msgb *msg = rsl_msgb_alloc();
|
||||||
struct abis_rsl_dchan_hdr *dh;
|
struct abis_rsl_dchan_hdr *dh;
|
||||||
|
@ -955,7 +955,7 @@ struct msgb *rsl_imm_assign_cmd_common(struct gsm_bts *bts, uint8_t len, uint8_t
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Chapter 8.5.6 */
|
/* Chapter 8.5.6 */
|
||||||
int rsl_imm_assign_cmd(struct gsm_bts *bts, uint8_t len, uint8_t *val)
|
int rsl_imm_assign_cmd(const struct gsm_bts *bts, uint8_t len, const uint8_t *val)
|
||||||
{
|
{
|
||||||
struct msgb *msg = rsl_imm_assign_cmd_common(bts, len, val);
|
struct msgb *msg = rsl_imm_assign_cmd_common(bts, len, val);
|
||||||
if (!msg)
|
if (!msg)
|
||||||
|
@ -964,7 +964,8 @@ int rsl_imm_assign_cmd(struct gsm_bts *bts, uint8_t len, uint8_t *val)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Chapter 8.5.6 Immediate Assignment Command (with Ericcson vendor specific RSL extension) */
|
/* Chapter 8.5.6 Immediate Assignment Command (with Ericcson vendor specific RSL extension) */
|
||||||
int rsl_ericsson_imm_assign_cmd(struct gsm_bts *bts, uint32_t tlli, uint8_t len, uint8_t *val, uint8_t pag_grp)
|
int rsl_ericsson_imm_assign_cmd(const struct gsm_bts *bts, uint32_t tlli, uint8_t len,
|
||||||
|
const uint8_t *val, uint8_t pag_grp)
|
||||||
{
|
{
|
||||||
struct msgb *msg = rsl_imm_assign_cmd_common(bts, len, val);
|
struct msgb *msg = rsl_imm_assign_cmd_common(bts, len, val);
|
||||||
if (!msg)
|
if (!msg)
|
||||||
|
|
Loading…
Reference in New Issue