aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-03-27doc: Introduce documentation for osmo-trx-ipc and its IPC interfaceHEADmasterPau Espin Pedrol4-0/+405
Related: SYS#6861 Change-Id: Id6863731f9398720030b16efaaf559e05f2444ed
2024-03-26code-architecture.adoc: Fix missing alignment in digraphPau Espin Pedrol1-1/+1
Change-Id: I9077590f6786833c9a86c3e844fc2dd07b404d58
2024-03-23README.md: Remove stray apostropheHarald Welte1-1/+1
Change-Id: I236a3aa66824759bf23b4331a22fa1d9ec25c5bf
2024-03-23Add funding link to github mirrorHarald Welte1-0/+1
see https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository Change-Id: If81f350017e51733cf13934e8481095eafe44a4f
2024-03-23README.md: Add Forum and Issue Tracker linksHarald Welte1-0/+14
Change-Id: Ib85f4e82d314cbab1c844497fb82dbda230589a5
2024-03-23README.md: Improve markdown formattingHarald Welte1-5/+5
Change-Id: Ic5764aab323db87015da8c461dec136e57dd9c8f
2024-03-21ms: disabe uhd ms buildEric Wild1-10/+10
This won't build, and has been in a untested non working state for a year, but might still be useful after fixing it up in the future in case someone needs it. Change-Id: I9db1740b5c399a02a41b1d07792c645cf7d1bd1b
2024-03-18ms: update osmocom-bb submoduleEric Wild1-0/+0
Change-Id: I0140f0a5333469f356c85a95660e10bbdd67cd25
2024-03-18contrib/jenkins: add --with-bladerfOliver Smith1-0/+1
Related: OS#6409 Depends: docker-playground I3c3fe95d8ebb21f7691a491144885c7deb8049a5 Change-Id: I1300aa107fd1031cf921fafc3566f0f64f9cdd72
2024-03-18ms: fix up template deduction failureEric Wild1-1/+2
clang and gcc disagree, so just use a real var with the right type. Change-Id: I590060d201445ad25cf5eb73c4b1360eaf6a6cea
2024-03-18contrib/jenkins: make configure args diff friendlyOliver Smith1-2/+11
Removing new lines in DISTCHECK_CONFIGURE_FLAGS again is needed, as it otherwise fails with: enable-sanitize /bin/bash: line 1: enable-sanitize: command not found Change-Id: I049af384eccdb6f8e5b305ca35de106eeaca3fa8
2024-03-18debian: add osmo-trx-ms-bladeOliver Smith3-0/+23
Related: OS#6409 Change-Id: I85d24355975f292610bcde61a8917aec852043ca
2024-03-18debian/rules: make configure args diff friendlyOliver Smith1-1/+8
Have one arg per line, and order it mostly alphabetically while at it (backends are still together, as recommended in review). Change-Id: I354affacb38958efe70baedc6175aeab525190a6
2024-03-18gitignore: add .versionOliver Smith1-0/+1
Change-Id: Ib75781b5d473921b42936e4d3c441e6a520b9108
2024-02-22ms: add demod test tool and dataEric8-0/+553
It just uses the viterbi equalizer and the sigproclib to generate and demodulate bursts and prints the bits, only useful for development. Change-Id: I852e34d9667d1f12f235f8b3da1fcc0d738b2db9
2024-02-22ms: add sigproclib demodEric Wild7-11/+406
This is basically a fixed version of ttsous ancient branch that can be used instead of the VA. Required config option part of a future patchset. Change-Id: I6558992bd69f18526be5ebe7d424ca00ceb67772
2024-02-21ms: hard preswapped VA gsm bitsEric Wild1-1/+1
small * 127 can still be small enough to end up 0 after casting which breaks everything. Change-Id: I44b95dced64208eebfb5214da034a5d49abdd0df
2024-02-21ms: get rid of std::threadEric9-138/+231
2fc2b594da6e329577b195cb2543a8dd9e1b9ed0 changed std::thread to pthread for proper affinity to circumvent startup issues, so just stick to pthread instead of mixing std::thread and pthread, which made tracking thread creation difficult due to different functions. Change-Id: I0ba2fd958530394b9d99ed82111064d428c5870f
2024-02-01ms: do not set the blade tuning modeEric Wild1-1/+0
Sophisticated users can export BLADERF_DEFAULT_TUNING_MODE=fpga which reduces the startup time to 1 second, or (default) BLADERF_DEFAULT_TUNING_MODE=host which always works. Defaulting to fpga mode has the unfortunate side effect that the blade can get stuck in a weird invalid mode when supplying wrong parameters that breaks sample streaming until it is power cycled or "reset" by using host tuning once. So, let's do the safe thing, and not default to fpga mode. Change-Id: I109f925f07a198d1fb33fe793e91e455fea05a96
2024-01-28doc/examples: fix missing config files in release tarballsVadim Yanitskiy1-1/+12
All config file examples must be listed in EXTRA_DIST unconditionally. Adding them conditionally results in incomplete release tarballs, containing only some '*.cfg' files and failing to build. Change-Id: Iffb6d7577de175fc5d14642f0af6852508d74e69 Related: OS#6349
2024-01-26build: include version files into the release tarballVadim Yanitskiy1-0/+8
Change-Id: I818b645737bed35495cb4bad35667b369fd5ea6c
2024-01-23Transceiver::ctrl_sock_handle_rx(): fix copy-pasted commentsVadim Yanitskiy1-3/+2
Change-Id: If31c0de0b3562c06220dcb9ad6f0c13d8621f6e3
2023-12-01Use uniform log format for default config filesAndreas Eversberg5-10/+20
Related: OS#6272 Change-Id: If9466e925a405d35deed2e81f25a0a1677de0f3c
2023-11-24osmo-trx-uhd: Make sure HOME environment variable is setHarald Welte1-0/+1
It turns out that uhd versions >= 4.0.0.0 *require* that either the HOME or the XDG_CONFIG_HOME variables are set, and otherwise will terminate the program. Change-Id: I1816013c507da28719590f063da0a397da656a10 Closes: OS#6269
2023-11-09devices: fix wrong gain to power mappingEric4-1/+9
The dev type was set too early, but the actual dev is only being discovered during open, so update it. This broke the gain to power mapping by defaulting to a wrong device. Change-Id: I1dda6023ca6f15bc063c3dfbc704db2410ff7c98
2023-11-03ms: init blade with fpga controlEric1-0/+2
Blade 1 defaults to fpga tuning, but the blade 2 code defaults to host, which does 8000 register reads and writes. The only way to speed this up is to set the env var, which reduces opening the blade device from 10 to 1 seconds. Change-Id: I32fe31f1e11f4ceb3c864ec8739d177e780d0a7e
2023-10-04ms: reduce rx burst queue sizeEric1-2/+1
This should be fine, because we can at most receive 1.5 bursts of data at once and produce 2 bursts with previous data, so if this is insufficent the usb buffers are late or the upper layer is stuck and we're in trouble anyway. Change-Id: Ifb8bf2894c87e4234e3d3f65d66c1e98c8f63c53
2023-10-03osmo-trx-ms: bump osmocom-bb submodule commitVadim Yanitskiy1-0/+0
The new revision contains an important fix [1] for GPRS scheduling. Change-Id: Ibb57b29bb0424a40836819c15d25d1133f554d32 Related: [1] osmocom-bb.git I439615639b8e840b9fd4f3af6934d9f298f32216 Related: OS#5500
2023-09-20ms: adjust ts advanceEric2-1/+2
..and fix the delay warning. I'd rather have a proper fn advance of 1, but that breaks gprs, but just slightly increasing the ts number is sufficient to fix issues with late tx bursts that then get silently dropped by the sdr. The mobile app does not care, and will happily work even with fn+3. Change-Id: I46b3ea6b0094026bd50709739df464438f9e54c4
2023-09-12Bump version: 1.5.0.50-5042-dirty → 1.6.01.6.0Pau Espin Pedrol4-10/+76
Change-Id: I718c6223d0b1a2ffb68887c159546b78e141dffa
2023-09-06ms: update osmocom-bb submodulePau Espin Pedrol1-0/+0
Change-Id: I5e1a5f385e7d5e041142e665181d68ad5bb22230
2023-09-06ms: logging: print category, level, and extended timestampVadim Yanitskiy1-0/+13
Change-Id: I14da3c9e77681268e4f575a6ca7220eedbf2a7a5 Related: osmocom-bb.git Ie3d259f3255d8af80e6780f850b808fa243f97b4
2023-08-31ms: bump osmocom-bb submodule to current headEric1-0/+0
Change-Id: I9a16de0dce2e89fb522271ba63d908e33a1d7cde
2023-08-30ms: fix a few coverity complaints related to initializationEric3-8/+9
Change-Id: I203f4da7a4418fc5053d26901bec649d04fad096
2023-08-30ms: fix thread prio startup issueEric5-30/+92
This fixes the 20 second startup delay caused by tx/control threads getting temporarily stuck while trying to set their own priority. Apparently the only sane way for core affinity+priority is to set both as attributes during thread creation using pthreads. This switches the cmd queue to the timeout version, too, to ensure the thread doesn't get stuck waiting for messages, and allows cleaner exits. Change-Id: I7e2f83a9b9df024acaf9076c58189cb6b7bcc34b
2023-08-30ms/va: make ancient gcc < 8 happyEric1-0/+5
Change-Id: Ib94b9b073a0d2af84ce5791b5f40c63cd7ef9329
2023-08-25transceiver: add experimental viterbi equalizer supportEric6-12/+118
The VA is already being used by the ms side and is part of the original gsm design. It only works for gmsk, 4sps, and needs a bit of rx burst scaling and burst shifting. Change-Id: I9d7a4ff72e323832a94d885d5714fcde01ceeb3d
2023-08-25ms: restructure the va code to add rach supportEric5-96/+113
This commit adds support for rach bursts to the viterbi equalizer, which is currently only being used by the ms side, so the equalizer can be used by the osmo-trx network side, too. The difference is that rach bursts are shorter than any other burst type (due to unknown TA) and start with diffrent tail bits. This drops the multiversioning which was only working for x86 anyway because it can't be combined with no_ubsan. Change-Id: I4a5cedc8c9a3289c75ce7b914eac286e601ebed0
2023-08-25ms: update osmocom-bbEric4-19/+36
..and sync the log levels. Change-Id: I6f9fca7a4d6a02e82bf406fd136c5bde96bb93af
2023-08-24trx: fix dev-args issueEric1-1/+1
osmo_talloc_replace_string used by the vty needs a talloc string. Change-Id: Ifed8fd42dc7464899de69985f3b5f5b47c88a7d1
2023-07-28ms: drop the tx burst paddingEric1-2/+3
useless. Change-Id: Ied5c3ab5dde975e11b0ef6d9cbc86be19173c4e8
2023-07-25ms: fix blocking loggingEric1-0/+1
Change-Id: I0f5dcb13d1bd9e626e1eeab6ca767ca1b5ae43b8
2023-07-25devices: add freq/gain override for uhdEric Wild3-0/+111
This allows using arbitrary gain and frequencies. Change-Id: I3c1b9a067cafc6d696b9aa2da8ee0480ec1e094f
2023-07-25devices: unify band handlingEric8-326/+231
This is basically common, but optional code. Change-Id: I64f5a462451e967d4750d8e4f1d5832cbab41cff
2023-07-25transceiver: pass cfg struct instead of argsEric15-183/+153
Passing 7 args is a bit much, just pass the config struct instead. Change-Id: I48386900d15ff4d770c70a4efc246d32f921904b
2023-07-13USRPDevice:updateAlignment: remove byteswap codeOliver Smith1-2/+1
After upgrading our CI environment to use Debian 12 with GCC 12, the byteswap code fails the build with the following. I've talked to Eric about this and he recommended to just remove the code as practically nobody will use osmo-trx with a big endian system. USRPDevice.cpp:591:30: error: 'data' is used uninitialized [-Werror=uninitialized] 591 | *wordPtr = host_to_usrp_u32(*wordPtr); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ Related: OS#6057 Change-Id: I806d8c1432cb20efca1830a2752a4cbc70384b54
2023-07-07ms: make init call less confusingEric2-2/+1
Change-Id: I122b0c8cf97e5efcbc60cd95e8bd06a50d57eb57
2023-07-07ms: sch: drop intermediate softvectorEric Wild2-10/+6
Change-Id: Iadc8f224f9e43282339197b11f388fc574656299
2023-07-07ms: flexible template for value_type buffer sumEric2-10/+18
Manual attempts to get the number of complex and single samples right turned out to be a bit error prone at times... Change-Id: I3c9953073555e3a7f70b78b0946dfdf949175a82
2023-07-07ms: rearrange code to allow clean exitsEric7-38/+84
This allows gracefully terminating the application by introducing queue timeouts. Change-Id: I0b8deebc63cf4d936666fd68e1666d1917e89a5d