aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2012-06-17libosmogb: export missing symbols0.5.1Harald Welte1-0/+2
2012-06-17libosmogb: move files to proper location and fix build0.5.0Harald Welte24-19/+26
2012-06-17add GPRS/Gb related osmo_prim SAPsHarald Welte1-0/+5
2012-06-17Import libgb from openbsc.gitHarald Welte19-0/+4449
2012-06-17libgb: separate header files related to spec and implementationHarald Welte6-219/+238
like in libosmogsm, we separate between header files that are just reflecting information in the respective specs, and header files that related to our specific implementation.
2012-06-17libgb: make sure all BSSGP functions have bssgp_ prefixHarald Welte5-29/+28
We change the minority of functions employing the gprs_bssgp_ prefix to match with the majority without gprs_ in front.
2012-06-17libgb/gprs: don't use log_info from libcommon anymoreHarald Welte2-1/+5
2012-06-17libgb: prefix all NS related functions with gprs_Harald Welte7-33/+92
2012-06-17libgb: don't call directly into GMM / LLC layerHarald Welte2-7/+108
Instead of direct function calls to individual functions, we now generate primitives (osmo_prim) and send them to one application-provided function "bssgp_prim_cb()"
2012-06-17libgb: remove dependency of BSSGP to include sgsn/gmm internal structsHarald Welte2-25/+33
2012-06-16libgb: Remove dependency to openbsc/debug.hHarald Welte13-26/+100
2012-06-16add additional newline in vty welcome message0.4.3Harald Welte1-2/+2
2012-06-16libgb: remove dependencies to openbsc/vty.h and openbsc/gsm_data.hHarald Welte5-29/+96
Rather than using openbsc internal data/functions, we now use only internal and libosmocore-provided ones.
2012-06-16add library VTY nodes for NS and BSSGPHarald Welte1-0/+2
2012-06-16libgb: Use library SS_L_NS instead lf local SS_NSHarald Welte4-7/+17
which removes some further dependencies of libgb to openbsc internal code and data.
2012-06-16signal: add SS_L_NS as a signal subsystem for NS code in libosmo-gbHarald Welte1-0/+1
2012-06-16libgb: move GPRS specific msgb CB definitions to separate headerHarald Welte8-8/+37
2012-06-16split libgb into a separate library for outside useHarald Welte11-32/+50
This also removes the dependency to osmo_sock() inside libcommon and replaces it with osmo_sock_* from libosmocore
2012-06-03VTY: safe version of printing VTY welcome messageHarald Welte2-19/+11
The old method used raw writes to the telnet FD, which is bad for several reasons: a) we don't know if we can actually write that many bytes to the socket at the given time b) the socket is still in blocking mode, so we could stall the entire process c) there may be weird interaction with the buffered writes of the vty_out Now, the print_welcome() functionality has moved to vty_hello() instead, where we can use normal vty_out() in buffered mode. This commit is expected to fix the garbled welcome message on arm-eglibc targets. It might still be a good idea to migrate the entire telnet interface to libtelnet - but at some later time ;)
2012-05-14src/codec: Fix typo in MakefileSylvain Munaut1-1/+1
Thanks to horizon for pointing this out Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-26LAPDm: Ensure there is no payload in DISC frames0.4.2Harald Welte1-1/+6
When we send DISC frames (especially generated from RSL), we don't want any remaining bytes from the RSL message showing up as bogus DISC payload.
2012-04-19add GSM_LCHAN_PDTCHHarald Welte1-0/+1
2012-04-18doc: Fix the Doxygen section endingsSylvain Munaut50-50/+50
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-08sync prototype of osmo_sockaddr_is_local with declarationHarald Welte1-1/+1
in e476442cf0e84c65565ace545f5b73602b5f0ffc we changed from sockle_t to unsigned int, but only in the header, not in the implementation!
2012-04-05timer: Increase the imprecision we accept in this testHolger Hans Peter Freyther2-2/+2
On a loaded server we might not be able to reach 10ms precision in the test configuration and this is not a high precision timer anyway.
2012-04-05libosmogsm: Add tvlv_att_def to exported symbolsHarald Welte1-0/+1
2012-04-05misc: Fix make distcheck, add the new libosmogsm.map file to the tarballHolger Hans Peter Freyther1-0/+2
2012-04-05lapdm: fix RSL message format in RLL ERROR INDICATIONHarald Welte1-1/+0
In rsl_rll_error() we don't need to re-set the msg->l2h as that would corrupt the message. The recipient would interpret any cause value as 0.
2012-04-04libosmogsm: Introduce explicit list of exported symbolsHarald Welte4-3/+234
There is now a "libosmogsm.map" file containing an explicit list of to-be-exported symbols. This should prevent us from leaking non-static symbols into the global namespace. A similar scheme should be adopted by all other osmocom libraries
2012-03-28vty: Add a function to write the current config to a file.Holger Hans Peter Freyther2-46/+133
2012-03-26misc: Fix the mail email address in the configure.acHolger Hans Peter Freyther1-1/+1
2012-03-22osmo-auc-gen: Add mode for verifying user-supplied AUTSHarald Welte1-14/+25
When -A is used on the command line, the respective AUTS value will be validated and the SQN of the UICC printed.
2012-03-21update copyright noticeHarald Welte1-2/+2
2012-03-21osmo-auc-gen: Add -O to the getop line to make it workHolger Hans Peter Freyther1-1/+1
2012-03-21auth: Update test result with the new OP/OPC outputHolger Hans Peter Freyther1-0/+2
2012-03-21auth_milenage/osmo-auc-gen: compute OPC in case only OP is knownHarald Welte3-2/+26
2012-03-21osmo-auc-gen: Introduce a small cmdline help/referenceHarald Welte1-1/+26
2012-03-21milenage: Add function to compute OPC from OP and KHarald Welte3-0/+37
2012-03-16lapd: Remove unused variable t200_start in lapd_acknowledge.Holger Hans Peter Freyther1-2/+1
lapd_core.c: In function 'lapd_acknowledge': lapd_core.c:710:38: warning: variable 't200_start' set but not used [-Wunused-but-set-variable]
2012-03-16misc: Fix warning when compiling telnet_interface.cHolger Hans Peter Freyther1-0/+1
In file included from telnet_interface.c:30:0: osmocom/core/socket.h:25:4: warning: 'struct osmo_fd' declared inside parameter list [enabled by default] telnet_interface.c: In function 'telnet_init_dynif': telnet_interface.c:84:4: warning: passing argument 1 of 'osmo_sock_init_ofd' from incompatible pointer type [enabled by default] osmocom/core/socket.h:24:5: note: expected 'struct osmo_fd *' but argument is of type 'struct osmo_fd *'
2012-03-02gsm/a5: Rewrite equation doc with proper numberingSylvain Munaut1-4/+4
No idea where I copied the original from but here we use the other notation. (matches wikipedia and sources) Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-02misc: Deal with smatch warnings about the bitfieldsHolger Hans Peter Freyther1-1/+1
Use unsigned ints for the bitfield.
2012-03-01vty/telnet: Add function to allow binding telnet interface to custom ↵Sylvain Munaut2-35/+23
IP/Interface Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-01misc: Use msgb_free for freeing the messagesHolger Hans Peter Freyther2-2/+2
2012-02-08gsmtap: Add GSMTAP_GPRS_CS() / GSMTAP_GPRS_MCS()Harald Welte1-0/+8
As requested by Mike Morrin <Mike.Morrin@ipaccess.com>, we introduce GSMTAP sub-types for all the different GPRS and EGPRS coding schemes. This is neccessary due to the fact that the RLC PDU doesn't contain any explicit indication of the coding scheme used on the radio layer.
2012-02-07libosmocore/gsm: Fixed total size of gsm48_req_refAndreas Eversberg1-3/+3
"__attribute ((packed))" must be defined for unions, in order to make sure that the compiler packs unions.
2012-01-26GSM 08.08: change gsm0808_create_classmark_update() prototypeHarald Welte3-7/+19
The caller explicitly specifies CM2 and CM3, rather than one blob containing both.
2012-01-26GSM 08.08: Cleanup the code, remove lots of magic hard-coded numbersHarald Welte1-116/+60
Rather than manually hard-coding numbers and using byte-arrays, we use the msgb_*_{push,put}() function family of libosmocore/libosmogsm. This is currently untested.
2012-01-26gsmtap: make sure we agree with wireshark on GSMTAP channel typesHarald Welte1-2/+2
2012-01-22TLV/msgb: Return first byte of newly-pushed data from msgb_*_push()Harald Welte1-14/+28
The msgb_*_push() functions erroneously returned the firsrt byte after newly-pushed information, which makes no sense at all.