Change in osmo-bts[master]: add support for sysmoBTS 1003 aka "1002 with GPS and PoE"

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
Sat Feb 13 08:46:46 UTC 2021


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/22894 )


Change subject: add support for sysmoBTS 1003 aka "1002 with GPS and PoE"
......................................................................

add support for sysmoBTS 1003 aka "1002 with GPS and PoE"

There's a minor derivative version of sysmoBTS 1002 which has built-in
GPS and PoE.  We call it 1003 in the EEPROM. Let's treat it identical
to 1002 in the existing code base.

Related: SYS#5327
Change-Id: Ia558587d36a75a1db1951d25b471b3f2e78ef4c9
---
M src/osmo-bts-sysmo/l1_if.c
M src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
M src/osmo-bts-sysmo/misc/sysmobts_par.c
3 files changed, 5 insertions(+), 1 deletion(-)



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

diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 2e4765d..07f36db 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -1860,7 +1860,8 @@
 		LOGP(DL1C, LOGL_NOTICE, "Assuming 1002 for sysmoBTS "
 			"Model number %u\n", fl1h->hw_info.model_nr);
 		/* fall-through */
-	case 1002:
+	case 1002:	/* sysmoBTS 1002 */
+	case 1003:	/* sysmoBTS 1002 with GPS and PoE */
 		set_power_param(&trx->power_params, 23, 0);
 	}
 }
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h b/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
index b7a27fb..9c2b839 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
+++ b/src/osmo-bts-sysmo/misc/sysmobts_eeprom.h
@@ -32,6 +32,7 @@
 
 enum sysmobts_model_number {
 	MODEL_SYSMOBTS_1002	= 1002,
+	MODEL_SYSMOBTS_1003	= 1003,
 	MODEL_SYSMOBTS_1020	= 1020,
 	MODEL_SYSMOBTS_2050	= 2050,
 };
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_par.c b/src/osmo-bts-sysmo/misc/sysmobts_par.c
index de81fff..f1fe8f2 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_par.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_par.c
@@ -341,6 +341,8 @@
 		case 0xffff:
 		case 1002:
 			return "sysmoBTS 1002";
+		case 1003:
+			return "sysmoBTS 1002+GPS+PoE";
 		case 2050:
 			switch(trx_num) {
 			case 0:

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

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ia558587d36a75a1db1951d25b471b3f2e78ef4c9
Gerrit-Change-Number: 22894
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210213/ae344f74/attachment.htm>


More information about the gerrit-log mailing list