diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-07-26 00:26:11 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-07-27 20:51:52 +0200 |
commit | 0cbd5d0139123913d392d149f49807e68261c704 (patch) | |
tree | 0e3c751caf3916677fd0800b2f2ec9d98ebbad27 /src/host/layer23/src/common/l1ctl.c | |
parent | d1028f49a32d03ebd066bec87564d1d838ee420a (diff) |
layer23: Unify the prefix of l1ctl TX functions
Some had tx_ph_XX, others l1ctl_tx_XXX and some l1ctl_tx_ph_XXX
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/src/common/l1ctl.c')
-rw-r--r-- | src/host/layer23/src/common/l1ctl.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/host/layer23/src/common/l1ctl.c b/src/host/layer23/src/common/l1ctl.c index 132d5ce1..2aa3ab5a 100644 --- a/src/host/layer23/src/common/l1ctl.c +++ b/src/host/layer23/src/common/l1ctl.c @@ -206,8 +206,8 @@ static int rx_ph_data_conf(struct osmocom_ms *ms, struct msgb *msg) } /* Transmit L1CTL_DATA_REQ */ -int tx_ph_data_req(struct osmocom_ms *ms, struct msgb *msg, uint8_t chan_nr, - uint8_t link_id) +int l1ctl_tx_data_req(struct osmocom_ms *ms, struct msgb *msg, + uint8_t chan_nr, uint8_t link_id) { struct l1ctl_hdr *l1h; struct l1ctl_info_ul *l1i_ul; @@ -296,7 +296,7 @@ int l1ctl_tx_ccch_mode_req(struct osmocom_ms *ms, uint8_t ccch_mode) } /* Transmit L1CTL_PARAM_REQ */ -int l1ctl_tx_ph_param_req(struct osmocom_ms *ms, uint8_t ta, uint8_t tx_power) +int l1ctl_tx_param_req(struct osmocom_ms *ms, uint8_t ta, uint8_t tx_power) { struct msgb *msg; struct l1ctl_info_ul *ul; @@ -316,7 +316,7 @@ int l1ctl_tx_ph_param_req(struct osmocom_ms *ms, uint8_t ta, uint8_t tx_power) } /* Transmit L1CTL_RACH_REQ */ -int tx_ph_rach_req(struct osmocom_ms *ms, uint8_t ra, uint8_t fn51, +int l1ctl_tx_rach_req(struct osmocom_ms *ms, uint8_t ra, uint8_t fn51, uint8_t mf_off) { struct msgb *msg; @@ -338,8 +338,8 @@ int tx_ph_rach_req(struct osmocom_ms *ms, uint8_t ra, uint8_t fn51, } /* Transmit L1CTL_DM_EST_REQ */ -int tx_ph_dm_est_req_h0(struct osmocom_ms *ms, uint16_t band_arfcn, - uint8_t chan_nr, uint8_t tsc) +int l1ctl_tx_dm_est_req_h0(struct osmocom_ms *ms, uint16_t band_arfcn, + uint8_t chan_nr, uint8_t tsc) { struct msgb *msg; struct l1ctl_info_ul *ul; @@ -366,8 +366,9 @@ int tx_ph_dm_est_req_h0(struct osmocom_ms *ms, uint16_t band_arfcn, return osmo_send_l1(ms, msg); } -int tx_ph_dm_est_req_h1(struct osmocom_ms *ms, uint8_t maio, uint8_t hsn, - uint16_t *ma, uint8_t ma_len, uint8_t chan_nr, uint8_t tsc) +int l1ctl_tx_dm_est_req_h1(struct osmocom_ms *ms, uint8_t maio, uint8_t hsn, + uint16_t *ma, uint8_t ma_len, + uint8_t chan_nr, uint8_t tsc) { struct msgb *msg; struct l1ctl_info_ul *ul; @@ -400,7 +401,7 @@ int tx_ph_dm_est_req_h1(struct osmocom_ms *ms, uint8_t maio, uint8_t hsn, } /* Transmit L1CTL_DM_REL_REQ */ -int tx_ph_dm_rel_req(struct osmocom_ms *ms) +int l1ctl_tx_dm_rel_req(struct osmocom_ms *ms) { struct msgb *msg; struct l1ctl_info_ul *ul; |