Commit Graph

11 Commits

Author SHA1 Message Date
Harald Welte 3710dcc1eb Add support for DIAG EVENT reporting 2017-01-21 23:53:15 +01:00
Harald Welte 0442fead33 Enable + Interpret more GPRS related logging
Those logging groups are not present on all firmwares/devices.  Best
success for GPRS low-layer logging so far with an old Gobi2000 card from
Lenovo.
2017-01-20 12:04:10 +01:00
Harald Welte 4e5338bc49 WIP: SIM Card logging
I'm getting related messages from the modem, but I somehow cannot decode
the traces so far at all :/
2017-01-08 16:04:47 +01:00
Harald Welte 5fa552cbd3 separate diag_log_umts to diag_log_wcdma
Qualcomm differentiates between WCDMA (the access stratum) and UMTS (the
non access stratum).  Let's reflect that here.  As an added bonus, we
get working NAS protocol traces.
2017-01-08 16:04:01 +01:00
Harald Welte dc2cafcd97 restructuring: Introduce _transceive_ functions for Tx-then-Rx 2017-01-01 19:51:50 +01:00
Harald Welte 9a3cd09fed fixup dpl 2017-01-01 19:51:50 +01:00
Harald Welte ccea8dd51c Add GPLv2-or-later license text + headers + rename to osmo-qcdiag-log 2016-12-24 10:31:07 +01:00
Harald Welte 634d57a4f5 Makefile: use pkg-config to get libosmocore cflags/libs 2016-12-24 10:27:39 +01:00
Harald Welte 0e50916954 move DIAG MSG handling to separate file diag_msg.c 2016-12-24 01:32:10 +01:00
Harald Welte faea754d39 re-structure the LOG dispatcher
we now have a nice structure for dispatching log messages to various
handlers, each self-contained.  As an added benefit, we remove the need
to manually enable all the various log codes, as we simply auto-generate
the default config from all the message types we support.

Furthermore, we reduce computational complexity by avoiding linear
iteration over the array of registered log handlers.
2016-12-24 01:21:03 +01:00
Harald Welte b506ce8b74 rename Makefile to more usual name 2016-12-23 23:41:36 +01:00