Age | Commit message (Collapse) | Author | Files | Lines |
|
... still, tons of unresolved symbols while linking that need to be
resolved:
undefined reference to `bsc_api_init'
undefined reference to `calc_initial_idx'
undefined reference to `rsl_ipacc_mdcx_to_rtpsock'
undefined reference to `bsc_handover_pending'
undefined reference to `rsl_ipacc_mdcx_to_rtpsock'
undefined reference to `gsm48_tx_mm_serv_ack'
undefined reference to `rsl_ipacc_mdcx'
undefined reference to `rsl_ipacc_mdcx_to_rtpsock'
undefined reference to `rsl_ipacc_mdcx_to_rtpsock'
undefined reference to `gsm0808_assign_req'
undefined reference to `rsl_ipacc_mdcx'
undefined reference to `rsl_ipacc_mdcx'
undefined reference to `gsm48_tx_mm_serv_rej'
undefined reference to `gsm48_handle_paging_resp'
undefined reference to `gsm48_tx_mm_serv_rej'
undefined reference to `send_siemens_mrpci'
undefined reference to `gsm48_tx_mm_serv_rej'
undefined reference to `gsm0808_assign_req'
undefined reference to `rsl_ipacc_mdcx'
undefined reference to `tall_fle_ctx'
undefined reference to `tall_paging_ctx'
|
|
This is required to correctly parse and generate messages with IEs of
length > 0x7F, like long SMS messages. A recent copy of libosmocore is
required for the core TLV parser support (2fe6847 or later).
|
|
We store more of the data sent by the MS during REGISTER, and show
that data during 'show gan-peer'. Also, there is now a table view (show
gan-peer) as well as a detailed view (show gan-peer details)
|
|
Signed-off-by: Hermann Gausterer <git-openbsc-2012@mrq1.org>
|
|
|
|
We now track if a peer is REGISTERED or not, and only page him if
he is registered. Furthermore, we look for old stale peer records
and remove them, if we get a REGISTER on a new TCP connection.
|
|
|
|
If we didn't see a GA-RC KEEP ALIVE for more than twice TU3906,
then we assume the peer is dead and simply drop the tcp connection.
|
|
|
|
|
|
|
|
|
|
this is not quite as per spec. We probably need a timer of twice
the KEEPALIVE timer of the MS to determine the phone is gone.
|
|
TODO: remove peer from that list once tcp connection closes
|
|
|
|
|
|
>= R99 MSCs expect sequence numbers in the opper 2 bits of the
message type of MS-originated >L3 messages. Our MSC code doesn't
really deal with this yet, so don't announce R99 :)
|
|
the peer needs a reference to a sccp connection, and the network
needs to have a list of peers and a list of mscs.
|
|
|
|
|
|
right now we use 901-70 based IMSIs for testing - but this of course
needs to become vty configurable soon.
|
|
|
|
As Dieter points out, the structure was not properly zero-initialized...
|
|
As Dieter correctly points out, MCC an MNC can very well be lager than
255 ;)
|
|
... there is a separate IP address IE that should be used for this.
Otherwise, devices may treat 1.2.3.4 as a hostname and make forward dns
lookups on it ;)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Extend the ul/dl counting to count the usual messages on the
Gb interface. Add counters for the attach, routing area update,
pdp context activation and deactivation procedures. Update the
test result with the new counters.
|
|
|
|
RPM post-build-checks found some issue and marks these as error:
[ 38s] I: Program returns random data in a function
[ 38s] E: openbsc no-return-in-nonvoid-function meas_vis.c:118
|
|
There are currently no reate counters but this will hopefully
change in the near future.
|
|
This commit adds the class_id initialiser to all rate_ctr_group_desc
definitions.
Sponsored-by: On-Waves ehf
|
|
This commit initialises and enables the stats subsystem for the given
binaries.
Sponsored-by: On-Waves ehf
|
|
Holger reports that the bitmap that accounts for available Osmux circuit
IDs is limited to 128, when the maximum number of circuit IDs are
determined by the uint8_t field in the header (ie. 256 circuits).
[hfreyther: Update the testcase now that we have more ids to allocate]
|
|
Sponsored-by: On-Waves ehf
|
|
Trigger an OAP registration upon IPA connect. Feed incoming OAP messages to
oap_handle() and send replies returned by it.
Add oap_config to sgsn_config (todo: vty).
Sponsored-by: On-Waves ehf
[hfreyther: Fix coding style]
|
|
Add oap.[hc] and oap_messages.[hc].
Sponsored-by: On-Waves ehf
|
|
Add new kitchen sink openbsc/utils.h and libcommon/utils.c to make three so far
static functions public (so I can use them in the upcoming OAP code).
A place to put them could have been the gprs_utils.h, but all general functions
in there have a gprs_ prefix, and todo markings to move them away. All other
libcommon headers are too specific, so I opened up this kitchen sink header.
Replace the implementation of encode_big_endian() with a call to
osmo_store64be_ext(). See comments.
Apply the change in Makefiles and C files.
|
|
The documentation needs to end with a \n and T3316
needs to have some text. I think it is the T3316
timer that has no action on the network side.
<command id='timer t3312 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3322 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3350 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3360 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3370 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3313 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3314 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3316 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3385 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3386 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3395 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
Documentation error (missing docs):
<command id='timer t3397 <0-65535>'>
<param name='<0-65535>' doc='(null)' />
|
|
It mentioned AGPLv3+ and refers to the hyperlink of v3, but still
stated "Version 2 or later". That was a typo at the time.
|
|
This change has some implications for the test case. It manipulated
bss_ptmsi_state and sgsn_tlli_state variables to make the output of
rand_r() and thus the TLLI/TMSI used predictable.
This possibility is gone when using RAND_bytes() so instead it is
overridden by a function that returns a deterministic sequence of values
(0x00dead00, 0x00dead01, ...). The test cases are adapted to expect
these values instead of the pseudo random values before.
The gbproxy_test stdout file changes as well, but only where the
TLLI/TMSI is displayed (in the hex dumps as well as the TLLI cache
entries). All other output is the same.
|
|
[hfreyther: Link to libcrypto, include header, add uint8_t* cast]
|
|
For a setup with multiple network interfaces be able to pick
the one that osmux should be used/visible.
|