Commit Graph

6 Commits

Author SHA1 Message Date
Harald Welte 65dd71cfa8 diag_log_gprs: Cosmetic change in re-ordering the log_dispatch_tbl 2017-01-09 15:15:46 +01:00
Harald Welte 00749515ef add LLC XID information decode 2017-01-09 14:58:41 +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 ccea8dd51c Add GPLv2-or-later license text + headers + rename to osmo-qcdiag-log 2016-12-24 10:31:07 +01:00
Harald Welte 84ec50f901 header file restructuring
Move all protocol definitions to protocol/*.h and keep only
definitions related to our implementation as *.h in the top directory.

Also, remove some header files to reduce header file proliferation.
2016-12-24 10:16:00 +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