Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-17 | libosmogb: move files to proper location and fix build0.5.0 | Harald Welte | 24 | -19/+26 | |
2012-06-17 | add GPRS/Gb related osmo_prim SAPs | Harald Welte | 1 | -0/+5 | |
2012-06-17 | Import libgb from openbsc.git | Harald Welte | 19 | -0/+4449 | |
2012-06-17 | libgb: separate header files related to spec and implementation | Harald Welte | 6 | -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-17 | libgb: make sure all BSSGP functions have bssgp_ prefix | Harald Welte | 5 | -29/+28 | |
We change the minority of functions employing the gprs_bssgp_ prefix to match with the majority without gprs_ in front. | |||||
2012-06-17 | libgb/gprs: don't use log_info from libcommon anymore | Harald Welte | 2 | -1/+5 | |
2012-06-17 | libgb: prefix all NS related functions with gprs_ | Harald Welte | 7 | -33/+92 | |
2012-06-17 | libgb: don't call directly into GMM / LLC layer | Harald Welte | 2 | -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-17 | libgb: remove dependency of BSSGP to include sgsn/gmm internal structs | Harald Welte | 2 | -25/+33 | |
2012-06-16 | libgb: Remove dependency to openbsc/debug.h | Harald Welte | 13 | -26/+100 | |
2012-06-16 | add additional newline in vty welcome message0.4.3 | Harald Welte | 1 | -2/+2 | |
2012-06-16 | libgb: remove dependencies to openbsc/vty.h and openbsc/gsm_data.h | Harald Welte | 5 | -29/+96 | |
Rather than using openbsc internal data/functions, we now use only internal and libosmocore-provided ones. | |||||
2012-06-16 | add library VTY nodes for NS and BSSGP | Harald Welte | 1 | -0/+2 | |
2012-06-16 | libgb: Use library SS_L_NS instead lf local SS_NS | Harald Welte | 4 | -7/+17 | |
which removes some further dependencies of libgb to openbsc internal code and data. | |||||
2012-06-16 | signal: add SS_L_NS as a signal subsystem for NS code in libosmo-gb | Harald Welte | 1 | -0/+1 | |
2012-06-16 | libgb: move GPRS specific msgb CB definitions to separate header | Harald Welte | 8 | -8/+37 | |
2012-06-16 | split libgb into a separate library for outside use | Harald Welte | 11 | -32/+50 | |
This also removes the dependency to osmo_sock() inside libcommon and replaces it with osmo_sock_* from libosmocore | |||||
2012-06-03 | VTY: safe version of printing VTY welcome message | Harald Welte | 2 | -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-14 | src/codec: Fix typo in Makefile | Sylvain Munaut | 1 | -1/+1 | |
Thanks to horizon for pointing this out Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
2012-04-26 | LAPDm: Ensure there is no payload in DISC frames0.4.2 | Harald Welte | 1 | -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-19 | add GSM_LCHAN_PDTCH | Harald Welte | 1 | -0/+1 | |
2012-04-18 | doc: Fix the Doxygen section endings | Sylvain Munaut | 50 | -50/+50 | |
Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
2012-04-08 | sync prototype of osmo_sockaddr_is_local with declaration | Harald Welte | 1 | -1/+1 | |
in e476442cf0e84c65565ace545f5b73602b5f0ffc we changed from sockle_t to unsigned int, but only in the header, not in the implementation! | |||||
2012-04-05 | timer: Increase the imprecision we accept in this test | Holger Hans Peter Freyther | 2 | -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-05 | libosmogsm: Add tvlv_att_def to exported symbols | Harald Welte | 1 | -0/+1 | |
2012-04-05 | misc: Fix make distcheck, add the new libosmogsm.map file to the tarball | Holger Hans Peter Freyther | 1 | -0/+2 | |
2012-04-05 | lapdm: fix RSL message format in RLL ERROR INDICATION | Harald Welte | 1 | -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-04 | libosmogsm: Introduce explicit list of exported symbols | Harald Welte | 4 | -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-28 | vty: Add a function to write the current config to a file. | Holger Hans Peter Freyther | 2 | -46/+133 | |
2012-03-26 | misc: Fix the mail email address in the configure.ac | Holger Hans Peter Freyther | 1 | -1/+1 | |
2012-03-22 | osmo-auc-gen: Add mode for verifying user-supplied AUTS | Harald Welte | 1 | -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-21 | update copyright notice | Harald Welte | 1 | -2/+2 | |
2012-03-21 | osmo-auc-gen: Add -O to the getop line to make it work | Holger Hans Peter Freyther | 1 | -1/+1 | |
2012-03-21 | auth: Update test result with the new OP/OPC output | Holger Hans Peter Freyther | 1 | -0/+2 | |
2012-03-21 | auth_milenage/osmo-auc-gen: compute OPC in case only OP is known | Harald Welte | 3 | -2/+26 | |
2012-03-21 | osmo-auc-gen: Introduce a small cmdline help/reference | Harald Welte | 1 | -1/+26 | |
2012-03-21 | milenage: Add function to compute OPC from OP and K | Harald Welte | 3 | -0/+37 | |
2012-03-16 | lapd: Remove unused variable t200_start in lapd_acknowledge. | Holger Hans Peter Freyther | 1 | -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-16 | misc: Fix warning when compiling telnet_interface.c | Holger Hans Peter Freyther | 1 | -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-02 | gsm/a5: Rewrite equation doc with proper numbering | Sylvain Munaut | 1 | -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-02 | misc: Deal with smatch warnings about the bitfields | Holger Hans Peter Freyther | 1 | -1/+1 | |
Use unsigned ints for the bitfield. | |||||
2012-03-01 | vty/telnet: Add function to allow binding telnet interface to custom ↵ | Sylvain Munaut | 2 | -35/+23 | |
IP/Interface Signed-off-by: Sylvain Munaut <tnt@246tNt.com> | |||||
2012-03-01 | misc: Use msgb_free for freeing the messages | Holger Hans Peter Freyther | 2 | -2/+2 | |
2012-02-08 | gsmtap: Add GSMTAP_GPRS_CS() / GSMTAP_GPRS_MCS() | Harald Welte | 1 | -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-07 | libosmocore/gsm: Fixed total size of gsm48_req_ref | Andreas Eversberg | 1 | -3/+3 | |
"__attribute ((packed))" must be defined for unions, in order to make sure that the compiler packs unions. | |||||
2012-01-26 | GSM 08.08: change gsm0808_create_classmark_update() prototype | Harald Welte | 3 | -7/+19 | |
The caller explicitly specifies CM2 and CM3, rather than one blob containing both. | |||||
2012-01-26 | GSM 08.08: Cleanup the code, remove lots of magic hard-coded numbers | Harald Welte | 1 | -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-26 | gsmtap: make sure we agree with wireshark on GSMTAP channel types | Harald Welte | 1 | -2/+2 | |
2012-01-22 | TLV/msgb: Return first byte of newly-pushed data from msgb_*_push() | Harald Welte | 1 | -14/+28 | |
The msgb_*_push() functions erroneously returned the firsrt byte after newly-pushed information, which makes no sense at all. | |||||
2012-01-22 | tests: Introduce a very basic gsm0808 test | Holger Hans Peter Freyther | 7 | -1/+291 | |
This tests verifies the content of the GSM 08.08 messages, it does not verify the remaining headroom (which the SCCP/IPA code relies on being plenty to prepend the header). More to come in the future. |