aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src
AgeCommit message (Collapse)AuthorFilesLines
2010-07-23mgcp: u_int16_t -> uint16_tHolger Hans Peter Freyther1-1/+1
2010-07-23mgcp: u_int32_t -> uint32_tHolger Hans Peter Freyther1-2/+2
2010-07-23Merge branch 'on-waves/sccp'Holger Hans Peter Freyther1-39/+39
2010-07-23sccp: u_int32_t -> uint32_tHolger Hans Peter Freyther1-17/+17
2010-07-23sccp: u_int16_t -> uint16_tHolger Hans Peter Freyther1-2/+2
2010-07-23sccp: u_int8_t -> uint8_tHolger Hans Peter Freyther1-20/+20
2010-07-23rsl: Add method to send a SMSCB inside a SMS BROADCAST COMMANDHolger Hans Peter Freyther1-0/+22
* Untested code for sending the SMS BROADCAST COMMAND.
2010-07-23bsc_api: Add stub for the cipher mode command.Holger Hans Peter Freyther1-0/+6
2010-07-23bsc_api: Create dummy stub for the assignment command.Holger Hans Peter Freyther1-0/+13
2010-07-22network_listen: hexdump the SI2/SI2bis/SI2ter messages once we get themHarald Welte1-0/+6
2010-07-22[ipaccess-config] fix bugs in generating the PHYSICAL CONFIG attributeHarald Welte3-6/+12
... while asking the BTS to perform tests for us. The length of the ARFCN whitelist is the actual length in bytes, not the number of 16bit ARFCN numbers. Also, implement a limit, either by rxlevel or by number of ARFCN that should end up in the whitelist.
2010-07-22[ipaccess-config] make sure the ARFCN Whitelist EIE is built correctlyHarald Welte1-2/+2
2010-07-22[abis_nm] fix 2 bugs in parsing IPA Test response messagesHarald Welte1-2/+2
2010-07-22ipaccess-config/network-listen updateHarald Welte2-7/+51
* transition through cycles of NWL tests
2010-07-22ipaccess-config / network listen: ordered list of RxLevelsHarald Welte3-25/+67
Use libosmocore 'rxlev_stat' module to generate an ordered list of ARFCN's, sorted by RxLev while performing test nr. 64
2010-07-22move ip.access netowrk listen (NWL) to network_listen.cHarald Welte4-82/+190
Also, we now re-start the network listen test after it has finished, so if you run a test from ipaccess-find, the test will get re-started and re-started all the time.
2010-07-22nat: Provide an easy view to see if something is connected to the NAT.Holger Hans Peter Freyther1-0/+12
2010-07-22nat: Fix nat crash on start due forgetting the ->data pointer..Holger Hans Peter Freyther1-1/+0
2010-07-22nat: Introduce a show statistics-by-lac LACHolger Hans Peter Freyther1-13/+43
Currently show show statistics only work by given the internal configuration number, add a version that is working by LAC of the BSC.
2010-07-14make 'neci 1' the default in the example config filesHarald Welte3-3/+3
2010-07-14abis_nm: Create a signal data structure for the NACK messageHolger Hans Peter Freyther2-5/+9
Provide the message type and the msgb of the NACK message.
2010-07-05bsc: Add header file for the true BSC API.Holger Hans Peter Freyther2-1/+27
2010-07-05msc: Create a dummy operation to keep the channel open for five secondsHolger Hans Peter Freyther2-1/+41
* We should create the transaction for SMS, CC on the CM Service Request but for now we will use a band aid and create a dummy operarion to wait five seconds for the transaction to be opened.
2010-07-05nat: Remove the first_contact variable.Holger Hans Peter Freyther1-1/+0
2010-07-05nat: Create a method to determine if any MSC is connected.Holger Hans Peter Freyther2-1/+7
In the future we will have multiple MSC connections so we will need to figure if any of them is active.
2010-07-05nat: Store the msc_con in the data of the bsc_fdHolger Hans Peter Freyther2-9/+14
* Stop using nat->msc_con in the read_cb but use the data.
2010-07-05nat: Make queue_for_msc use the msc_con parameter, pass in the right msc_conHolger Hans Peter Freyther1-17/+23
* Return msg'es to the right MSC Con. Right now it is nat->msc_con. * When forwarding from BSC to MSC, use the msc_con inside the sccp_connections. This means we will only forward data with a connection to the BSC.
2010-07-05nat: Keep track of the MSC handling the connection.Holger Hans Peter Freyther1-0/+1
In the future we might have multiple MSCs connected and need to dispatch it to the right one.
2010-07-05bsc_api: Only forward L3 messages when the channel is activeHolger Hans Peter Freyther1-0/+7
Avoid forwarding messages from a channel that is already being closed. Harald has forwarded a crash report where this was failing.
2010-07-03gprs/llc: Don't check FCS in gprs_llc_hdr_dumpSylvain Munaut1-2/+2
The FCS isn't computed yet (because of ciphering). It _will_ be tested and reported as wrong later in the code so we can just display it here and let the latter code report the error if any. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-03db.c: Fix some SQL queries for ambiguous column namesSylvain Munaut1-19/+23
Thanks to Luca Bertoncello for pointing this out Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-03db: Use proper %llu for subscriber ID in format string.Sylvain Munaut1-8/+8
This was causing weird crashes when running in 32 bit linux. Thanks to horiz0n for taking the time to debug this with me on IRC. Written-by: horiz0n <cscan@gmx.net> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-07-03[SGSN] Some IEs in ATTACH REQUEST can be longer in 24.008Harald Welte1-1/+3
The original length checks were based on 04.08, but 24.008 allows longer IEs.
2010-07-03[SGSN] Initial work on GMM authentication and cipheringHarald Welte1-9/+103
2010-07-02[SGSN] LLC: only copy Kc if algorithm != GPRS_ALGO_GEA0Harald Welte1-1/+2
The caller currently has set the Kc pointer to NULL, this fix avoids crashing at the callee.
2010-07-02[SGSN] use GPRS_ALGO_GEA0 instead of '0'Harald Welte1-6/+11
2010-07-02[SGSN] LLC: Make sure we calculate FCS after decryptionHarald Welte1-10/+5
2010-07-02[SGSN] Use libosmocore GPRS encryption plugins from LLC layerHarald Welte1-8/+88
This adds the bits that call into libosmocore (and its plugins) to implement GPRS (LLC) encryption.
2010-07-02[SGSN] Call libosmocore helper to load cipher pluginsHarald Welte2-0/+8
2010-07-02[SGSN] remove bogus debug statementHarald Welte1-1/+0
2010-07-02[SGSN] SM: Properly parse APN and PCO Optional IE in PDP CTX ACT REQHarald Welte1-2/+8
2010-07-02[SGSN] Print AP name and PDP address of each PDP contextHarald Welte1-1/+70
2010-07-02[SGSN] Correctly pass IMSI of MM ctx to GTP/GGSNHarald Welte1-1/+27
2010-07-02[SGSN] SNDCP: Subtract SNDCP header from fragment lengthHarald Welte1-2/+3
We don't want to store too many bytes as we would otherwise create too large re-assembled packets..
2010-07-02[SGSN] SNDCP: SN-PDUs need a 16bit length fieldHarald Welte1-1/+2
The BSSGP LLC-PDU IE can have up ot 16bit length, so subtracting the LLC header the SN-PDU can still have almost a length field close to 0xffff
2010-07-02[SGSN] SNDCP: re-set total number of fragment lengthHarald Welte1-1/+7
2010-07-02[SGSN] Send poper SM and GMM STATUS in case we have no MM CTXHarald Welte1-1/+2
2010-07-02[SNDCP] some more defragmentation debug statementsHarald Welte1-11/+9
2010-07-02[SGSN] SNDCP defrag: use correct length, don't include LLC FCSHarald Welte1-3/+4
The LLC layer tells us the PDU length, and we have to use it in SNDCP rather than to re-calculate it if we want to avoid copying the CRC24 into the defrag elements.
2010-07-02[SGSN] SNDCP: Actually copy the payload data in the defrag queue entryHarald Welte1-0/+2
Prior to this patch our defragmented messages always consisted of 00-bytes