Change in osmo-bsc[master]: power_control: add new structures and default parameters

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/.

laforge gerrit-no-reply at lists.osmocom.org
Sun Dec 20 15:45:42 UTC 2020


laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/21786 )

Change subject: power_control: add new structures and default parameters
......................................................................


Patch Set 3:

> It was my initial plan to have these structures statically allocated as a part of 'struct gsm_bts', but in the VTY code we need to be able to go back from 'cfg-power-control' nodes to 'config-net-bts'. I could add a back-pointer, but talloc allows us to get pointer to the parent chunk without adding anything. But wait, maybe containerof() would do the trick?

yes, containerof() works, but of course you'd need to do a different containerof() for whether you're in the BTS vs MS node.  It's not a strong requirement.


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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I7fb8ccb997490b40a061d09c241359aaabc37c4a
Gerrit-Change-Number: 21786
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Sun, 20 Dec 2020 15:45:42 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201220/23d1fbf2/attachment.htm>


More information about the gerrit-log mailing list