Holger Freyther
d4ec5287c2
[paging] some minor cleanups. put the current request into a temporary
2009-02-03 23:18:46 +00:00
Holger Freyther
df892da697
[paging] Cosmetic changes on the timer handling and max requests
2009-02-03 21:05:49 +00:00
Holger Freyther
f07768915d
[telnet] use SO_REUSEADDR on the telnet socket
2009-02-03 20:49:51 +00:00
Holger Freyther
8c563cf4f9
[rsl] Decode RACH Load as well
...
Print the common field and ignore the Supplementary Information.
Initialize the fields to 0xffffffff in case the payload is malformed
2009-02-03 20:08:51 +00:00
Harald Welte
bf5e8df424
cosmetic fixes / more comments
2009-02-03 12:59:45 +00:00
Harald Welte
dc55db9d95
cosmetic fixes
2009-02-03 12:58:59 +00:00
Harald Welte
8f5e239388
cosmetic/coding style fixes
2009-02-03 12:57:37 +00:00
Harald Welte
6f14691c61
make bs11_config status lines shorter
2009-02-03 02:05:28 +00:00
Harald Welte
ea280446bb
add rudimentary code to debug-print the CCCH LOAD INDICATION
2009-02-02 22:29:56 +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
7ed1a64d9d
* exit program if we cannot set up the serial port
...
* leave the program if ctrl+c is pressed three times even without logoff from BTS
2009-02-02 14:45:49 +00:00
Harald Welte
44227dd62f
typo
2009-02-01 22:25:58 +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
c12d52bae4
* improve parsing of status/phase response from BTS
...
* split rs232 support into separate file (like misdn.c)
2009-02-01 21:39:06 +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
4fc898a0d5
add missing 'requests' field that zecke probably forgot to commit
2009-02-01 17:57:04 +00:00
Harald Welte
832822961d
Enable CCCH LOAD INDICATION always, from 0% upwards, and report it every second
2009-02-01 16:22:19 +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
8e1e3eece8
introduce generic callback function and hook enum
2009-02-01 13:32:45 +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
934e68bbcf
more BS11 specific attribute definitions
2009-01-29 23:08:12 +00:00
Harald Welte
623d53185b
bs11_config:
...
* disable serial port POST processing
* default delay is 0
* make window size user-configurable (default: 8)
* add missing help line for the --delay option
* don't forget to create the CCLK object as part of minimal config
2009-01-29 21:14:05 +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
14f0934f0b
* use select loop based rx/tx processing in bs11_config
...
* improve parsing/generation of fake lapd header
2009-01-29 19:28:38 +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
071f34d7c6
bs11_config:
...
* fix serial port initialization
* add bs11_state enum and work accordingly
2009-01-29 09:24:38 +00:00
Harald Welte
f186c46ff6
bs11_config: add setting of baud rate
2009-01-29 08:45:19 +00:00
Harald Welte
bb15131847
fix off-by-one error in BS11 factory logon command
2009-01-28 20:42:07 +00:00
Holger Freyther
97cce476a2
[paging] Slightly increase the timeout to not overload the BTS...
2009-01-27 23:49:40 +00:00
Holger Freyther
bf83481799
[paging] Discard paging requests after not completing them...
2009-01-27 23:46:19 +00:00
Holger Freyther
1525de0c8f
[paging] memset and improve error message
2009-01-27 23:38:27 +00:00
Holger Freyther
342a2c67de
[abis] Do not confuse me again....
2009-01-27 22:49:48 +00:00
Holger Freyther
fde3114fb5
[tests] build fix
2009-01-27 19:09:38 +00:00
Holger Freyther
245c534806
[pedantic] Declare abis_nm_bs11_reset_resource to avoid a warning in bsc_hack.c
...
This command is BS11 specific and was put in the appropriate section
of the header file.
2009-01-27 19:00:44 +00:00
Holger Freyther
0c2bb5ea23
[configure] We have a local copy of the header file, remove the check
...
We do have a local copy, there is no need to check for an
external version of that header file as it will not be used.
2009-01-27 18:23:16 +00:00
Harald Welte
cfe6dce248
don't logon twice
2009-01-19 16:06:43 +00:00
Harald Welte
61e42ad7fd
add bs11_config as LMT alternative
2009-01-18 19:10:46 +00:00
Harald Welte
7837489a6e
abis_nm_reset_resource is a bs11 specific function
2009-01-18 19:09:22 +00:00
Harald Welte
f3066bb17e
add zero-length data field to abis_fom_hdr
2009-01-18 19:02:46 +00:00
Harald Welte
4724f99d19
Implementation of GSM12.21 LOAD SOFTWARE (BS11 dialect thereof)
2009-01-18 18:01:49 +00:00
Harald Welte
978cb42911
add BTS TYPE field to facilitate future non-BS11 BTS support
2009-01-18 17:57:27 +00:00
Harald Welte
85770c7aa4
* use #define for number of TS in one TRX
...
* use data structure to indicate E1 timeslot/subslot for every TRX:TS
2009-01-18 17:47:32 +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
Harald Welte
adaf08bec8
add some more BS11 specific OML definitions
2009-01-18 11:08:10 +00:00
Harald Welte
d08de2f9e4
fix typo
2009-01-11 04:38:55 +00:00
Harald Welte
9bb7c70016
If there is already a subscriber and it does not equal to us -> moan
...
And unreference the gsm_subscriber object otherwise we would leak.
2009-01-10 03:21:41 +00:00
Harald Welte
4ed0e92464
Make mi_to_string parse the TMSI we generate, finish CM Service Request implementation
...
The TMSI encoding is up to us but generate_mid_from_tmsi and mi_to_string
did not agree on the encoding. Adjust mi_to_string to properly decode the
TMSI generated by generate_mid_from_tmsi. Check that the four bits are '1111'
and that the length is five. Memcpy the bytes to tmsi (to work with ARM or such)
and convert the number to host order...
Implement the CM Service Request. Try to get the subscriber from the TMSI and
assign it to the gsm_lchan. There is a small issue that will be fixed in the
next commit.
(done by z.)
2009-01-10 03:17:30 +00:00