laforge has submitted this change. ( 
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(-)

Approvals:
  fixeria: Looks good to me, but someone else must approve
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



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: 2
Gerrit-Owner: laforge <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to