Change in osmo-bsc[master]: power_control: add encoding/init API to 'struct gsm_bts_model'

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Sat Dec 19 00:06:14 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/21792 )


Change subject: power_control: add encoding/init API to 'struct gsm_bts_model'
......................................................................

power_control: add encoding/init API to 'struct gsm_bts_model'

This change introduces two optional function pointers:

  - power_ctrl_enc_rsl_params() - this function will be called by the
    A-bis/RSL code in order to encode MS/BS Power control parameters
    for CHANnel ACTIVation and MS/BS POWER CONTROL messages.

  - power_ctrl_send_def_params() - this function will be called for
    each transceiver on A-bis/RSL link establishment in order to
    send default MS/BS Power control parameters.

Change-Id: Iba3ad5d8d549a6676050272f85b21c9b4c219d21
Related: SYS#4918
---
M include/osmocom/bsc/bts.h
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/92/21792/1

diff --git a/include/osmocom/bsc/bts.h b/include/osmocom/bsc/bts.h
index fc5ec40..180bd64 100644
--- a/include/osmocom/bsc/bts.h
+++ b/include/osmocom/bsc/bts.h
@@ -184,6 +184,11 @@
 
 	void (*e1line_bind_ops)(struct e1inp_line *line);
 
+	/* (Optional) function for encoding MS/BS Power Control paramaters */
+	int (*power_ctrl_enc_rsl_params)(struct msgb *msg, const struct gsm_power_ctrl_params *cp);
+	/* (Optional) function for sending default MS/BS Power Control paramaters */
+	int (*power_ctrl_send_def_params)(const struct gsm_bts_trx *trx);
+
 	void (*config_write_bts)(struct vty *vty, struct gsm_bts *bts);
 	void (*config_write_trx)(struct vty *vty, struct gsm_bts_trx *trx);
 	void (*config_write_ts)(struct vty *vty, struct gsm_bts_trx_ts *ts);

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/21792
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Iba3ad5d8d549a6676050272f85b21c9b4c219d21
Gerrit-Change-Number: 21792
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201219/f1fd1fc7/attachment.htm>


More information about the gerrit-log mailing list