Commit Graph

8 Commits

Author SHA1 Message Date
Philipp Maier a5afe23ab6 trau_pcu_ericsson: do not set unused D bits to 1
The er_gprs_trau_frame_encode already pre set all non T0 bits in the
TRAU frame to 1, there is no need to set unused bits explicitly.

Related: OS#6015
Change-Id: I003632a08cc80bc195b306bef5f907351b6fe94e
2023-06-11 19:24:30 +00:00
Philipp Maier 2c0237a122 trau_pcu_ericsson: set uplink frame error bit correctly
At the moment we set the uplink frame error bit to 1 if ul_frame_err
is set to false. Unfortunately the er_gprs_trau_frame_encode pre set
all non T0 bits to 1 before calling the encoder function. This means
that with this logic the uplink frame error bit can never be set to 0.

Related: OS#6015
Change-Id: I74f56bc40ed074eb1588b202849870e2786ded24
2023-04-27 22:31:40 +02:00
Philipp Maier 143a6798f5 trau_pcu_ericsson: fix log line
The log line contains the wrong E bit range.

Change-Id: I3687e131a29160a32e37c7546a820808b3c19c9a
Related: OS#5198
2023-02-21 16:22:24 +01:00
Philipp Maier 8a84ce4a88 trau_pcu_ericsson: cosmetic: set hdr_good flag explictly to false
It is not necessary but we also set the data_good flags explicitly to
false so lets to the same with hdr_good

Change-Id: Ic710f7e63f4b7e16a3cbc9eb8bbf9ae1c7c5cb26
Related: OS#5198
2023-02-21 16:21:23 +01:00
Philipp Maier 31ab400147 trau_pcu_ericsson: change loglevel for CPS decoding
The CPS field is inside the MAC block. When we are unable to decode the
CPS field a message is printed on loglevel NOTICE. However, it is pretty
normal that the CCU often receives noise (always when no MS transmits)
so we see this error very often. Lets change the level to DEBUG.

Change-Id: I1f5adbf9da6be4fec2d8c93e781c5df62ef62238
Related: OS#5198
2023-02-14 09:32:02 +01:00
Philipp Maier 1950af7030 trau_pcu_ericsson: also support ER_UL_CHMOD_NB_UNKN in 16k mode.
With EGPRS Ericsson introduced an "UNKN" demodulation mode for normal
bursts. This would instruct the CCU to listen for GSMK and PSK
modulation simultaniously. For 16k there is only GSMK and there would be
no need for such a mode. Lets support it in the API anyway in order to
simplify API usage. When the caller selects it, we just use
ER_UL_CHMOD_NB_GMSK then.

Change-Id: I8492a6d042bd7354b5dc34069030305fe39a731f
Related: OS#5198
2023-02-03 17:40:27 +01:00
Philipp Maier 8142f7ab99 trau_pcu_ericsson: fix broken length check
The length check bits_len - offs < 0 does not work properly with
unsigned variables. Lets rearange this so that it works.

Change-Id: I9e0cd5d36c517b9198e0dc1bec0477a2ee2fb869
Fixes: CID#307058, CID#307057
2023-02-01 12:21:49 +01:00
Philipp Maier b057535512 GPRS Trau frame encoder/decoder for Ericsson RBS
The Ericsson RBS BTS family is using a propritary TRAU frame dialect to
communicate with the GPRS/EGPRS part of their CCU. There are essentially
two implementations available:

- GPRS over 16kbps I.460 subslots (very limited, supports only CS1 and CS4)
- GPRS/EGPRS over full 64kbps timeslots (supports CS1-4 and MCS1-9)

Change-Id: Ib2b232a76588c32cde75b987a7e5fdfddf099cd7
Related: OS#5198
2023-01-03 12:24:29 +01:00