Piotr Krysik
be1da4a233
trc: Changed sample rate to 4 times GSM symbol rate
2017-11-30 13:44:54 +01:00
Vadim Yanitskiy
0be5e5bcc8
preprocess_tx_burst: fix the output message
...
During the code refactoring (4bd990b), the first part of the
output message was accidently dropped. Let's fix this.
2017-11-30 13:08:30 +01:00
Piotr Krysik
294138d277
trx: Added missing timeslot filter
2017-11-30 13:06:31 +01:00
Piotr Krysik
2ef8fe1e63
Updated the examples pointer
2017-11-30 12:53:41 +01:00
Piotr Krysik
e3f34d9bca
test_ab: Changed to non-inverted AB
2017-11-30 12:50:37 +01:00
Piotr Krysik
d2f162fa5e
trx: Changes in the redio_if
...
-added a part generated by GRC (radio_if_grc) form trx_radio_if example,
-radio_if now only adds things that are missing in radio_if_grc
2017-11-30 12:50:00 +01:00
Piotr Krysik
ccd9ed9cab
Going back to previous coding style - without returns
2017-11-30 12:48:01 +01:00
Vadim Yanitskiy
73857235f0
preprocess_tx_burst: fix the output message
...
During the code refactoring (4bd990b), the first part of the
output message was accidently dropped. Let's fix this.
2017-11-30 06:28:48 +07:00
Vadim Yanitskiy
89aa469cf3
python/trx: WIP: implement transmission chain
2017-11-29 23:11:14 +01:00
Vadim Yanitskiy
0e7c9a80ad
apps/grgsm_trx: fix antenna selection options
...
Both '--rx-antenna' and '--tx-antenna' require an argument.
2017-11-29 23:11:14 +01:00
Vadim Yanitskiy
2ce294219c
txtime_setter: clean up and simplify source code
...
This change formats the block implementation source code
according to a mix of GNURadio and the Kernel coding styles.
The main changes are:
- Limit line length to 80 columns
- Preffer the opposite conditions
- Do not use curly braces for single line loops / conditions
For more details, see:
https://wiki.gnuradio.org/index.php/Coding_guide_impl
https://www.kernel.org/doc/html/v4.10/process/coding-style.html
2017-11-29 23:11:14 +01:00
Vadim Yanitskiy
70bec2039a
preprocess_tx_burst: clean up and simplify source code
...
This change formats the block implementation source code
according to a mix of GNURadio and the Kernel coding styles.
The main changes are:
- Limit line length to 80 columns
- Preffer the opposite conditions
- Do not use curly braces for single line loops / conditions
For more details, see:
https://wiki.gnuradio.org/index.php/Coding_guide_impl
https://www.kernel.org/doc/html/v4.10/process/coding-style.html
2017-11-29 23:11:14 +01:00
Vadim Yanitskiy
4f4e578ffd
include/grgsm: remove forgotten 'trx_interface' dir
...
This directory was accidentally kept here during the
'TRX Burst Interface' migration into 'misc_utils'.
2017-11-29 23:11:14 +01:00
Piotr Krysik
800ac63109
Corrected wrong lenght of the Access Burst
2017-11-29 16:39:41 +01:00
Piotr Krysik
2344483869
Added a block for generating Access Bursts
2017-11-29 16:39:22 +01:00
Piotr Krysik
2f0406b76d
Updates .gitignore and examples pointer
2017-11-11 11:22:23 +01:00
Piotr Krysik
ba8b0a95d3
Fix: protections in txtime_setter against late bursts and bursts in too distant future.
...
Fixing bursts in too distant future is a bit problematic and better way than just looking at tx_time difference from current time would be desirable.
This way of fixing that issue can still cause that tx part will do nothing for about 10 seconds (after switching frequency from a BTS1 (with fn1) to BTS2 (with fn2) when fn1>fn2).
2017-11-11 11:19:26 +01:00
Piotr Krysik
f849fafd92
Changed input and output name for burst_type_filter
2017-11-11 11:14:26 +01:00
Piotr Krysik
2c004741d6
Corrected output name for burst_to_fn_time
2017-11-11 11:13:52 +01:00
Piotr Krysik
6ed10a1dfc
Missing __init__.py part for burst_to_fn_time
2017-11-11 11:12:36 +01:00
Piotr Krysik
bfb47dca69
Fix: don't send SCH burst to the output if it wasn't correctly decoded
...
This had very bad effect of incorrect fn_time values coming into txtime_setter block.
They, subsequently, might have caused busts with tx_time values in distant future. The result on uhd sink is deadlock.
2017-11-11 11:12:02 +01:00
Piotr Krysik
d8617a9064
Updated examples pointer
2017-11-08 14:35:14 +01:00
Piotr Krysik
1243ffaf3e
Changed name of of preprocess_tx_burst xml file, and removed 'executable' bit from two xml files
2017-11-08 14:35:03 +01:00
Piotr Krysik
8d7b64d109
Added Python version of bursts to fn_time converter
2017-11-08 14:34:02 +01:00
Piotr Krysik
52f7416b3f
Changed name of trx_interface directory to trx
2017-11-07 19:34:45 +01:00
Piotr Krysik
ccb5e689e1
Added tx bursts preprocessing block
2017-11-07 19:34:22 +01:00
Piotr Krysik
d7efc05b79
Moved gsm_constants file to include directory
2017-11-07 19:33:22 +01:00
Piotr Krysik
acc365f2f1
Added C++ version of burst type filter
2017-11-07 19:31:42 +01:00
Piotr Krysik
6ab710034a
Incrementing version
2017-11-05 17:44:53 +01:00
Piotr Krysik
ab8cde9b7a
Making headless livemon executable
2017-11-05 17:44:26 +01:00
Piotr Krysik
d171daaba2
Merge branch 'petterreinholdtsen-livemon-arfcn' into development
2017-11-05 17:42:15 +01:00
Vadim Yanitskiy
01c6afd495
trx/radio_if.py: fix RX / TX gain control
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
da5e21f123
trx/radio_if.py: clean up the stored fields
...
Only the fields that are going to be changed / used at runtime
should be stored in the radio_if instance.
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
9baaec24c6
trx/radio_if.py: get rid of useless getters / setters
...
We are only going to change the RF frequency and gain at runtime.
Other parameters (like sample rate) should remain unchanged.
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
790b6f0cc1
apps/grgsm_trx: add cmd line arguments for TX chain
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
5d68aa5620
apps/grgsm_trx: get rid of unused subdev_spec
...
This could be specified via the device_args,
for example: "subdev=B:0".
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
962e2d83bb
misc_utils/trx_burst_if: get rid of built-in timeslot filter
...
Since the API of 'Timeslot Filter' block was exposed, we can
get rid of built-in timeslot filter and use the proper methods.
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
8e9b3075d7
grc/gsm_trx_burst_if.xml: fix prefix of <key> value
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
1a88dec147
trx/radio_if.py: fix: use proper block name
...
Since the 'TRX Burst Interface' block was renamed,
the followgraph is broken. Let's fix it.
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
51a95dfd40
grc/gsm_block_tree: add forgotten gsm_trx_burst_if block
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
6bac574686
misc_utils/trx_burst_if: get rid of clock interface
...
Clock indications are only required for BTS operation, while MS
can obtain current frame number from the messages on DATA interface.
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
25916f3908
Clean up the "TRX Burst Interface" block description
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
e601c366bd
Refactor the 'TRX Burst Interface' block
...
The following changes were made:
- Both implementation and headers were merged with misc_utils
- Fixed namespace mess: was gr::grgsm, became gr::gsm
- More accurate class name was chosen: "trx_burst_if"
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
ba7ad29638
apps/grgsm_trx: import helper classes from grgsm.trx
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
eecab7eaf4
python/trx: install helper classes as a grgsm submodule
2017-11-05 17:33:26 +01:00
Vadim Yanitskiy
873e44e68d
python/trx: follow GNU Radio class naming conventions
2017-11-05 17:33:26 +01:00
Piotr Krysik
52917b1034
Merge branch 'ptrkrysik/trx' of https://github.com/ptrkrysik/gr-gsm into ptrkrysik/trx
2017-11-05 12:27:22 +01:00
Piotr Krysik
264fbf69f7
Corrected namespaces from grgsm to gsm
2017-11-05 12:25:51 +01:00
Piotr Krysik
776b67f82c
Missing cmakelists file for txtime_setter
2017-11-05 12:24:17 +01:00
Piotr Krysik
517464c0a9
Added txtime_setter block (a c++ version of txtime_bursts_tagger Python block)
2017-11-05 12:23:15 +01:00