From 0e2b6244184a1c030252667765a0587073575d23 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 25 May 2014 13:42:13 +0200 Subject: sysmobts: Revert all sysmobts-mgr related changes Harald is right and that the code is generally not ready for inclusion. I fell victim of trying to finish it while the code is not ready at all. It is better to re-introduce the patches in a smaller and more tested way. The right way would have been a branch were ready things are split-off the main/wip commit until everything is ready. Revert "sysmobts: Have a common prefix for the enum" This reverts commit 44980347f308fe5bbe48a933dbc81b82b53d310a. Revert "utils: Used the enum manuf_type_id in the parameter of add_manufacturer_id_label" This reverts commit 7d36e5ed46b630203167fc9d5d28e0087fdbd394. Revert "utils: Classify the OML message using the return type" This reverts commit afee0b7929a00500f9c204f3bc7e12f72451e832. Revert "sysmobts: Do not access out of bound string" This reverts commit f5f41e805195c8c3294a9e6a68b10f975fbabbbd. Revert "sysmobts: Separate IPA and OML check into two methods" This reverts commit 13a224063dfcee0be529fba1c8fb9be9c1fb261e. Revert "screenrc: osmobts-mgr now needs a config file" This reverts commit 0a1699ff8a5462c167c24e8b28186abb26331698. Revert "make sure osmobts-mgr.cfg file is included in tarballs" This reverts commit 14c60b425f8146f6a392d2d3de2979c817cd975e. Revert "sysmobts-mgr: Add VTY support for configuring it" This reverts commit c5fedd24c96a4ef6d7a0c0ed3c70d6ef0abd5c17. Revert "sysmobts: Add beginnings of an OML router and create Failure Messages in the sysmobts-manager" This reverts commit c6ab90b27006ff2d1fdfb0b1d7fc01e1dd4a696d. --- src/osmo-bts-sysmo/misc/sysmobts_misc.h | 32 -------------------------------- 1 file changed, 32 deletions(-) (limited to 'src/osmo-bts-sysmo/misc/sysmobts_misc.h') diff --git a/src/osmo-bts-sysmo/misc/sysmobts_misc.h b/src/osmo-bts-sysmo/misc/sysmobts_misc.h index c22a54b2..01878f24 100644 --- a/src/osmo-bts-sysmo/misc/sysmobts_misc.h +++ b/src/osmo-bts-sysmo/misc/sysmobts_misc.h @@ -32,34 +32,6 @@ struct ucinfo { int pa; }; -enum sbts2050_alert_lvl { - SBTS2050_WARN_ALERT, - SBTS2050_SEVERE_ALERT -}; - -enum sbts2050_temp_sensor { - SBTS2050_TEMP_BOARD, - SBTS2050_TEMP_PA -}; - -struct sbts2050_config_info { - char name_sensor[8]; - int temp_max_pa_warn_limit; - int temp_min_pa_warn_limit; - int temp_max_pa_severe_limit; - int temp_min_pa_severe_limit; - int temp_max_board_warn_limit; - int temp_min_board_warn_limit; - int temp_max_board_severe_limit; - int temp_min_board_severe_limit; - int reduce_max_power; - int slave_power_act; - int master_power_act; - int pa_power_act; - int temp_pa_cur; - int temp_board_cur; -}; - int sysmobts_temp_get(enum sysmobts_temp_sensor sensor, enum sysmobts_temp_type type); @@ -71,10 +43,6 @@ void sbts2050_uc_power(struct uc *ucontrol, int pmaster, int pslave, int ppa); int sbts2050_uc_status(struct uc *ucontrol, enum sbts2050_status_rqt status); -int send_omlfailure(int fd_unix, enum sbts2050_alert_lvl alert, - enum sbts2050_temp_sensor sensor, - struct sbts2050_config_info *add_info, int trx_nr); - int sysmobts_update_hours(int no_epprom_write); enum sysmobts_firmware_type { -- cgit v1.2.3