1. 28 Apr, 2019 1 commit
  2. 01 Mar, 2019 1 commit
  3. 24 Jan, 2019 1 commit
  4. 16 Jan, 2019 1 commit
  5. 11 Jan, 2019 1 commit
  6. 18 May, 2018 1 commit
  7. 23 Apr, 2018 1 commit
  8. 18 Apr, 2018 5 commits
  9. 15 Apr, 2018 2 commits
    • Vadim Yanitskiy's avatar
      VIRT_PHY: add missing L1CTL_BURST_IND to l1ctlPrimNames · 12b07883
      Vadim Yanitskiy authored
      Change-Id: I442305c034bbba5eaed080fb262a61895623eb4f
    • Harald Welte's avatar
      trxcon: Prefix SACCH fill frame with L1 header · 9abc5f79
      Harald Welte authored
      The main problem here is that the existing implementatin missing the L1
      header in this message.  A SACCH message doesn't have a 23byte LAPDm
      message, but only a 21 byte LAPDm message prefixed by a 2-byte Layer1
      header. So on the receiver in the BTS, right now the first two bytes of
      the UL SACCH frame are misinterpreted as L1 header.
      This it what causes RLL ERROR INDICATION on the Abis side, which is why
      our BTS_Tests fail.
      Change-Id: Id7776bf3604d0e8a32e04547e01b8bd377903272
      Related: OS#3170
  10. 09 Apr, 2018 3 commits
    • Vadim Yanitskiy's avatar
      host/trxcon: track talloc NULL contexts by default · 9803a35a
      Vadim Yanitskiy authored
      In order to be able to introspect not only the root application
      context, but also all other contexts, e.g. allocated within
      libosmocore or other libraries, let's enable tracking the
      use of NULL contexts using the corresponding talloc API.
      Change-Id: Id21cd5ee340def443f7a5d0b2b8f37f41188dd87
    • Vadim Yanitskiy's avatar
      host/trxcon: don't free root talloc context · 60bf4447
      Vadim Yanitskiy authored
      This is useless, and prevents us from finding potential memory
      leaks at exit. Let's print talloc report instead of that.
      Change-Id: Ibf04942070d654e97c3ed77d69ab19e44602758c
    • Vadim Yanitskiy's avatar
      host/trxcon: use osmo_init_logging2() · fa0d7c0c
      Vadim Yanitskiy authored
      The osmo_init_logging() doesn't allow to specify a talloc context
      for libosmocore logging subsystem, so this is why the new version
      was introduced. Let's use it.
      Change-Id: I06c4a1f7f839f774bc428e89cfac30132bae904d
  11. 07 Apr, 2018 1 commit
  12. 04 Apr, 2018 2 commits
    • Pau Espin Pedrol's avatar
      trxcon/l1ctl.c: hexdump content of unhandled messages · 00bfb39d
      Pau Espin Pedrol authored
      Change-Id: Iec8fc6d49d1e35fe101960dd969de559e37a6a75
    • Pau Espin Pedrol's avatar
      trx_toolkit: Add cmdline arg to set bind addr · 55afe007
      Pau Espin Pedrol authored
      Previous hardcoded default of was inappropiate in some
      scenarios, as it sets the SRC addr of the packets sent through the
      socket based on the routing.
      For instance, if iface IF1 has assigned two IP addresses A and B,
      A being the first addr of the interface, and osmo-bts-trx is
      configured with "osmotrx ip local A" and "osmotrx ip remote B",
      the following happens:
        CMD POWER OFF src=A:5801 dst=B:5701
        RSP POWER OFF src=A:5701 dst=A:5701 <-- A is assigned as src addr.
      But osmo-bts-trx is waiting for packets from B:5701, and the packet
      is dropped with ICMP Unreachable. If addr binding is forced in
      fake_trx to B, then everthing's fine.
      Let's extend the UDPLink in order to allow manual, but optional
      setting of bind address, and add a corresponding cmdline
      argument to all executables.
      Change-Id: I7be18fef40967fb7551f4115f22cbbd9cdb0840d
  13. 02 Apr, 2018 1 commit
    • Harald Welte's avatar
      trxcon: Respect the tch_mode field of DM_EST_REQ · 9d90d190
      Harald Welte authored
      the initial tch_mode is not always 0 (signalling) but can very well
      be directly a codec mode, if the initial activation of the channel
      is in speech mode as opposed to signalling
      Change-Id: I96e4c89da1165e9c5287d863e0e65d811460c606
  14. 22 Mar, 2018 3 commits
  15. 21 Mar, 2018 1 commit
  16. 14 Mar, 2018 2 commits
    • Vadim Yanitskiy's avatar
      common/l1ctl.c move TCH bit-ordering to the firmware · d49a748c
      Vadim Yanitskiy authored
      Previously, TCH frames coming from L1 were reordered to the RTP
      format. Moreover, the implementation had a few problems:
        - L1CTL is not the best place for such manipulations;
        - payloads with other than FR codec were corrupted.
      Let's use RTP-ordered payloads on the L1CTL interface,
      performing TCH frame reordering at the firmware.
      Please note, that actual FR reordering was moved to the firmware
      as is, without any codec determination. This could be fixed in
      a separate change.
      Change-Id: I81ec8ed3c9e72a62b22c1720c299cdc68b733cf1
    • Vadim Yanitskiy's avatar
      L1CTL/L1CTL_CRYPTO_REQ: add key length and channel info · a4d25526
      Vadim Yanitskiy authored
      Previously, the L1CTL_CRYPTO_REQ message contained only a ciphering
      algorithm and actual Kc key to be used. The key length was
      calculated manually using the MSGB API.
      Let's avoid manual calculations here, as it may cause unexpected
      behavior if the message structure is changed. Also, let's fill
      the UL header with minimal information about a channel, which
      is going to be encrypted.
      Change-Id: I5fab079907c5276322d3ec2b46cab81f10c7ed09
  17. 12 Mar, 2018 2 commits
    • Vadim Yanitskiy's avatar
      Rename 'fake_trx' to 'trx_toolkit' · 23914b9c
      Vadim Yanitskiy authored
      This toolkit has branched out into several different tools for
      TRX interface hacking, and creating a virtual Um-interface
      (FakeTRX) is only one of its potential applications.
      Change-Id: I56bcbc76b9c273d6b469a2bb68ddc46f3980e835
    • Vadim Yanitskiy's avatar
      fake_trx: unify the GPL license header · c08ddc73
      Vadim Yanitskiy authored
      There is no need to manually put the license header as a variable
      in each application in order to print it. Let's use a common one.
      Change-Id: I1a6e8716a9069e7ade3ae15f2c04fd45d18e223c
  18. 11 Mar, 2018 11 commits