On Thu, Aug 12, 2021 at 10:00:37AM +0600, Vadim Yanitskiy wrote:
in rsl_rx_bs_pwr_ctrl(), we actually handle these different cases:
a) power reduction on *inactive* logical channels of the BCCH carrier, b) power reduction on *active* logical channels of the BCCH carrier, c) power reduction on *active* logical channels of a non-BCCH carrier.
Case a) is handled in bts_set_c0_pwr_red(). This function iterates over all timeslots and sets power reduction values depending on their pchan combinations.
Case b) actually depends on a), because ts->c0_power_red_db is set in bts_set_c0_pwr_red(). The idea is that b) is not allowed unless the BTS is operating in the power saving mode.
sorry i tried but i don't really understand in depth ... but me understanding is not required. If you think this is not obvious to someone familiar with BCCH power management, then maybe adding a code comment explaining could be nice?
~N