[PATCH] osmo-bts[master]: tx_power: various cosmetic fixes in comments

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Tue Feb 7 19:17:43 UTC 2017


Review at  https://gerrit.osmocom.org/1764

tx_power: various cosmetic fixes in comments

Change-Id: I542b74d79bc8ffedd7c435b41b042edd5152f61c
---
M src/common/tx_power.c
1 file changed, 5 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/64/1764/1

diff --git a/src/common/tx_power.c b/src/common/tx_power.c
index d8c90b2..f8adb6a 100644
--- a/src/common/tx_power.c
+++ b/src/common/tx_power.c
@@ -58,7 +58,7 @@
 }
 
 /* calculate the target total output power required, reduced by both
- * OML and RSL, but ignoring the attenutation required for power ramping and
+ * OML and RSL, but ignoring the attenuation required for power ramping and
  * thermal management */
 int get_p_target_mdBm(struct gsm_bts_trx *trx, uint8_t bs_power_ie)
 {
@@ -71,7 +71,7 @@
 }
 
 /* calculate the actual total output power required, taking into account the
- * attenutation required for power ramping but not thermal management */
+ * attenuation required for power ramping but not thermal management */
 int get_p_actual_mdBm(struct gsm_bts_trx *trx, int p_target_mdBm)
 {
 	struct trx_power_params *tpp = &trx->power_params;
@@ -81,7 +81,7 @@
 }
 
 /* calculate the effective total output power required, taking into account the
- * attenutation required for power ramping and thermal management */
+ * attenuation required for power ramping and thermal management */
 int get_p_eff_mdBm(struct gsm_bts_trx *trx, int p_target_mdBm)
 {
 	struct trx_power_params *tpp = &trx->power_params;
@@ -144,7 +144,7 @@
  * one hand side to avoid very fast dynamic load changes towards the PA power
  * supply, but is also needed in order to avoid a DoS by too many subscriber
  * attempting to register at the same time.  Rather, grow the cell slowly in
- * radius than start with the full raduis at once.  */
+ * radius than start with the full radius at once.  */
 
 static int we_are_ramping_up(struct gsm_bts_trx *trx)
 {
@@ -158,7 +158,7 @@
 
 static void power_ramp_do_step(struct gsm_bts_trx *trx, int first);
 
-/* timer call-back for the ramp tumer */
+/* timer call-back for the ramp timer */
 static void power_ramp_timer_cb(void *_trx)
 {
 	struct gsm_bts_trx *trx = _trx;

-- 
To view, visit https://gerrit.osmocom.org/1764
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I542b74d79bc8ffedd7c435b41b042edd5152f61c
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list