Harald Welte
7b26bcb1b5
* give Siemens ObjClass reasonable names rather than A3/A5/A6
...
* add nm_state objects for RACK and CCLK
* add obj_class human-readable printing for all vendor obj_classes
* add human-readable printing of administrative state
* add enum for cell_alloc numbers
2009-05-28 11:39:21 +00:00
Harald Welte
a4d49e96ab
Some messages have one or two length-value information elements. The is
...
no IE type included in the message. These information elements are
mandatory, so their actual IE type is known. The improved parse_tlv()
function allows to parse zero, one, or two length-value elements.
(Andreas Eversberg)
2009-05-23 06:39:58 +00:00
Harald Welte
12247c6713
Fix compilation issues on OS X - mainly #include file changes (Lars Immisch)
2009-05-21 07:23:02 +00:00
Harald Welte
ef061951e6
dump CCLK accuracy/type as part of bs11_config query
2009-05-17 12:43:42 +00:00
Harald Welte
0db97b253d
abis_nm: print some information about failure event report type / severity
2009-05-01 17:22:47 +00:00
Harald Welte
a994a48635
remove misleading debug messages
2009-05-01 15:54:23 +00:00
Harald Welte
f9a8cc3cba
send a signal for every software activation or failure event report
2009-05-01 15:39:49 +00:00
Harald Welte
23897662c7
make sure all REPORT type messages have debug statements printing object class and instance
2009-05-01 14:52:51 +00:00
Harald Welte
191280d04b
abis_nm wants to use bts->bts_nr (the number of the BTS in the OML link) rather
...
than bts->nr (the number of the BTS in the BSC).
2009-05-01 13:20:04 +00:00
Harald Welte
aeedeb41dd
fix compiler warnings in abis_nm.c
2009-05-01 13:08:14 +00:00
Harald Welte
6c96ba5e4f
abis_nm: print the NACK cause in human readable form
2009-05-01 13:03:40 +00:00
Harald Welte
9de2bf884b
fix missing \n at end of debug statement
2009-04-30 15:59:55 +00:00
Harald Welte
193fefc683
functionality to set nanoBTS NVRAM attributes and to restart BTS
2009-04-30 15:16:27 +00:00
Harald Welte
3bfbb84021
Add some more ip.access specific OML attributes/messages. In this case it is
...
about configuring the primary OML link IP address in the NVRAM of the device.
2009-04-29 22:58:38 +00:00
Harald Welte
a7cfa03cb2
bs11_config: print PLL 'work' and 'set' values during query
2009-04-29 22:33:02 +00:00
Harald Welte
aaf02d9e01
read the PLL config as part of the bs11_config 'query' command
2009-04-29 13:25:57 +00:00
Harald Welte
a432cd3930
make "PLL mode" setting actually work rather than segfault
2009-04-29 13:01:50 +00:00
Harald Welte
e69f5fb411
Add bs11_config commands to set the PLL mode from E1_LOCKED to STANDALONE
...
and vice-versa. This has not yet been tested yet.
2009-04-28 16:31:38 +00:00
Harald Welte
4d87f24e6f
export nm_*_name() functions to get operational and availability state to strings
2009-03-10 19:43:44 +00:00
Harald Welte
ee670478e5
Add LMT event parsing
2009-02-22 21:58:49 +00:00
Harald Welte
b6c92ae782
* set OML TEI and E1 timeslot in one command
...
* introduce new 'oml-tei' command of bs11_config
2009-02-21 20:15:32 +00:00
Harald Welte
f325eb4e9f
use new gsm_ts_name() funciton from debug statemens everywhere
2009-02-19 17:07:39 +00:00
Harald Welte
78fc0d40a6
add various BS11 management related abis_nm functions
2009-02-19 02:50:57 +00:00
Harald Welte
0313394a88
* support BS11 specific IE types in abis_nm
...
* make bs11_config compile again
* now that we have a proper TLV parser, use it to parse the status response on the serial port
2009-02-18 19:51:53 +00:00
Harald Welte
0b8348d397
fix the parsing of the 'normal' availability status
2009-02-18 03:43:01 +00:00
Harald Welte
b110cee0a0
CONNECT TERRESTRIAL TRAFFIC needs to be in the CHANNEL object class in order to work
2009-02-18 03:42:35 +00:00
Harald Welte
677c21f4ab
add parsing for ip.access vendor specific NM messages
2009-02-17 13:22:23 +00:00
Harald Welte
5c1e458376
Add support for ip.access RSL link on port 3003
2009-02-15 11:57:29 +00:00
Harald Welte
e0590df524
* extend TLV parser to use a list of TLV type descriptions
...
* implement TLV type descriptions for NM
* add operational/administrative/availability state keeping logic to abis_nm
* explicitly print all NACK's in abis_nm
* make sure we produce [not just for BS-11] valid channel attributes
2009-02-15 03:34:15 +00:00
Holger Freyther
6b2d262888
[nm] Fix the ObjectClass for Set Channel Attribute
...
In r308 the enum for the object class was fixed and we
started to send the wrong (0x4) instead of the right (0x3)
object class. Fix that.
2009-02-14 23:16:59 +00:00
Harald Welte
22af0db588
* add comments for SET BTS ATTR and SET RADIO CARRIER ATTR
...
* use OPSTART on objects whose operational state is Disabled
2009-02-14 15:41:08 +00:00
Harald Welte
34a9968baf
* more extensive A-bis OML support
2009-02-13 02:41:40 +00:00
Holger Freyther
59639e81e1
* always use bts->c0 as msg->trx for OML messages
2009-02-09 23:09:55 +00:00
Harald Welte
9383de3010
* remove excessive debug output during software load
...
* fix compiler warning about unused variable
2009-02-09 17:53:49 +00:00
Holger Freyther
31338a16a5
[bs11-config] Really force the software upload
...
When we get a NM_MT_LOAD_END_NACK and we are supposed to
force the load we will just send data. This was already
done with NM_MT_LOAD_INIT_NACK.
2009-02-06 17:43:50 +00:00
Harald Welte
97ed1e7d43
* implement some simplistic OML EVENT STATE CHANGE REPORT parsing
...
* make sure we don't call a user_cb() function if it is NULL
2009-02-06 13:38:02 +00:00
Harald Welte
b8427970e2
introduce abis_nm_bs11_restart() function
2009-02-05 19:27:17 +00:00
Harald Welte
5083b0b1f1
* fix warnings while compiling abis_nm.c
2009-02-02 19:20:52 +00:00
Harald Welte
5f6f149983
add limits.h for PATH_MAX
2009-02-02 14:50:29 +00:00
Harald Welte
3ffd1376b7
* add abis_nm_software_load_status() to header file
...
* new abis_nm_bs11_bsc_disconnect() function to disconnect BSC/BTS link
* add support for 'forced load' of BS-11 software to abis_nm.c and bs11_config
* remove lots of debug output
* print progress during software load
2009-02-01 22:15:49 +00:00
Harald Welte
268bb40b35
* add more detailed status printout to bs11_config
...
* add support for real LMT logon time
* add support for abis external time
* move 'create_trx1_objects' to separate function
2009-02-01 19:11:56 +00:00
Harald Welte
5e4d1b3663
* rename NM_MT_BS11_LOGOFF to NM_MT_BS11_LMT_LOGOFF
...
* add more BS11 specific attributes
* define all valid BS11 PA power classes
* add callback function to software load
* introduce SWL load function for BS-11 style SWL file lists
* separate activation of software from loading of software
* add function to obtain BS-11 serial number
2009-02-01 13:36:56 +00:00
Harald Welte
043d04a99a
* Use new NM_ATT_BS11 definitions instead of magic numbers
...
* rename FECTORY_LOGON into LMT_LOGON since it's not always factory level
2009-01-29 23:15:30 +00:00
Harald Welte
1602ade492
Fix end-of-software_load detection (send segment with window number 0, wait for seg_ack)
2009-01-29 21:12:39 +00:00
Harald Welte
3b8ba215b9
* Fix BS11 software download routines in abis_nm.c
...
* Introduce user-configurable delay when sending serial msgs from bs11_config
2009-01-29 12:27:58 +00:00
Harald Welte
bb15131847
fix off-by-one error in BS11 factory logon command
2009-01-28 20:42:07 +00:00
Harald Welte
4724f99d19
Implementation of GSM12.21 LOAD SOFTWARE (BS11 dialect thereof)
2009-01-18 18:01:49 +00:00
Harald Welte
6f676a3541
abis_nm: use correct length in 08.59 OML header for all messages
2009-01-18 14:27:48 +00:00
Harald Welte
1bc0906436
abis_nm: more BS11 specific messages for configuration
2009-01-18 14:17:52 +00:00
Harald Welte
05188ee7a7
* prefix all BS11 specific OML functions with proper name
...
* add more BS11 specific OML commands (TRX power, logon, OML TEI, ...)
2009-01-18 11:39:08 +00:00