summaryrefslogtreecommitdiffstats
path: root/src/shared
AgeCommit message (Collapse)AuthorFilesLines
2024-02-05l1gprs: implement UL BLOCK.cnf (L1CTL_GPRS_UL_BLOCK_CNF)Vadim Yanitskiy1-1/+40
Change-Id: I56e0b5631c7446390adbfc5664e56f56ebb88cc1
2024-02-05l1gprs: minor changes to l1gprs_handle_rts_ind()Vadim Yanitskiy1-2/+2
* assert() the given TDMA Tn before accessing gprs->pdch[] * do not check TDMA Fn, as there can be no RTS.ind for PTCCH/U ** unlike PTCCH/D, we send Access Bursts on PTCCH/U Change-Id: Ie74d1c4123715d61875c4c956eb4a1ce97ed5f24
2024-01-24firmware (libosmocore): fix gsm48_chan_mode for TCH/[FH]2.4Vadim Yanitskiy1-1/+1
This is basically a back-port of the fix that was merged to libosmocore.git back in 2013. Our ancient copy of libosmocore, which is used for building the firmware, predates this commit. Ideally, we should rip off this ancient copy and build the firmware against recent master (see OS#2378). But for now, let's just fix our local copy. Otherwise TCH/[FH]2.4 support is broken. Change-Id: I99f528f3e1cd4c04ebb9d8becf1572688dd531ae Related: libosmocore.git 31e844bfe2756e36dd50f8bed9fa8b087ee6a1d9 Related: OS#4396
2023-09-26l1gprs: migrate to gsm0502_fncmp() from libosmogsmVadim Yanitskiy1-14/+1
Change-Id: I10261aa114b5dce3efee26ea84a1caa50c49a1d2 Depends: libosmocore.git I9590f2e836fc48650decf1564b6ab46306c4fe2d Depends: libosmocore.git Ie8bb9c49c6f81b8f4a1766547d6943f9880d1186 Related: OS#5500
2023-09-04l1gprs/l1ctl: Decouple RTS.ind from DL_BLOCK.indPau Espin Pedrol1-1/+46
Before this patch, the RTS:ind was crafted up in the stack when receiving the DL_BLOCK.ind. This created some problems since the internal low level state has to be updated in between signalling DL_BLOCK.ind and RTS.ind, as there's a fn-advnace of one block between those 2 signals (hence the timeslot allocation has to be applied at the time when the fn-advance is applied). This is actually not fixing the whole issue, since there's several timeslots and hence the following events will have the internal timeslot updated during the event in the middle, hence potentially causing problems in the remaining TS: DL_BLOCK.ind(FN=N, TS=1), RTS.ind(FN=N+4, TS=1), DL_BLOCK.ind(FN=N, TS=2) In any case, this decoupling already improves the situation and is step needed anyway towards fully fixing the problem (by, for instance, maintaining a timeslot state duplicated both for DL and Ul directions, since they drive based on differnet FN time (1 PDCH block). Change-Id: I1494e0aac7555f6e01b4b435b77140afc42c098e
2023-08-24l1gprs: Log slotmask when logging TBFPau Espin Pedrol1-4/+4
Change-Id: Ib96b01c591dbcc6aa9e0527e0be499ef8aee2863
2023-08-24l1gprs: Improve logging fn and tn in BLOCK.reqPau Espin Pedrol1-5/+8
Change-Id: Iba29d88770e79fee0e4ac3c8f4e833907afa5b52
2023-08-24l1gprs: implement TBF starting time supportVadim Yanitskiy1-18/+222
Change-Id: I174e3c43d2f4c828a528710b284e62c9bb794122 Related: OS#5500
2023-08-11trxcon: properly handle PDCH slotmask in UL/DL TBF CFG.ReqVadim Yanitskiy1-0/+27
Change-Id: I4c2ff25217fba0b6b4704f023071b86ed9afb55c Related: OS#5500
2023-08-11l1gprs: Fix slotmask update on already registered tbfPau Espin Pedrol1-16/+76
Change-Id: I5d64488d2aa740e91e01fad17f2af3ded24b12ef
2023-06-07l1gprs: properly handle (forward) PTCCH/D blocksVadim Yanitskiy1-1/+10
Unconditionally forward PTCCH/D blocks towards the upper layers. Calling l1gprs_pdch_filter_dl_block() on them makes no sense. Change-Id: Ifcc53d442426c8bfdacd3d179e20bb45c43f4644 Fixes: BTS_Tests.TC_pcu_ptcch (DL part) Related: OS#5500, OS#5955
2023-03-18l1gprs: fix NULL pointer dereference in l1gprs_unregister_tbf()Vadim Yanitskiy1-1/+1
Change-Id: Ie3e7b5a8a205d4410de458dec2fde466493d31ce Related: CID#311449
2023-03-17{trxcon,virt_phy}: shared GPRS L1 (MAC) implementationVadim Yanitskiy1-0/+457
Change-Id: I9567d64f9d00262e36147e8d7e541e5e246bda5f Related: OS#5500
2022-06-18update git URLs (git -> https; gitea)Harald Welte1-1/+1
Change-Id: Idfdfad0c32ae25311a0fc050e38429e001d0c5b7
2021-12-14treewide: remove FSF addressOliver Smith71-284/+0
Remove the paragraph about writing to the Free Software Foundation's mailing address. The FSF has changed addresses in the past, and may do so again. In 2021 this is not useful, let's rather have a bit less boilerplate at the start of source files. Change-Id: I73be012c01c0108fb6951dbff91d50eb19b40c51
2017-11-09vty: skip installing cmds now always installed by defaultNeels Hofmeyr4-4/+0
vty_install_default() and install_default() will soon be deprecated. Depends: I5021c64a787b63314e0f2f1cba0b8fc7bff4f09b Change-Id: I300a4b34a2031fd09d110ef18375d140a6dca7ba
2012-11-14Merge commit '5905d5be60249b2d9ca9abce4c801bc3bceed6d9'Sylvain Munaut16-24/+48
2012-10-14Merge commit 'b8d18f32a1676f05d73bc9d94eadeaf5cc43c9a5'Sylvain Munaut20-93/+440
2012-09-08Merge commit 'e3a10b66a4eaea7c7d06707be1ca18bb28dc2cbe' into masterHarald Welte3-1/+12
2012-09-08Merge libosmocore commit '972b502ecaf3b919b7e89c13257dd6ec97aaafb7' into masterHarald Welte139-414/+7008
this updates libosmocore to the current libosmocore.git master, mainly to import the msgb_get() / msgb_pull() fixes.
2012-04-02Merge commit '738f13395d1d8a005011e45ebbc6a869bbcfd9a6'Sylvain Munaut13-71/+257
2012-03-01Merge commit 'a9efc12ccd6ee20752d21ce0deaff457ef9fe0b0'Sylvain Munaut3-35/+31
2012-02-07Merge commit '4b332d7d0e4811f1bb21b4b6b3fc6b44d8e3177b'Harald Welte17-152/+465
2012-01-28Packing frequency stucture, so arrays of it require less memoryAndreas Eversberg1-1/+1
2012-01-10Merge commit '301f01e938e72423079afe1a1836937053481fd6'Sylvain Munaut64-132/+3812
2012-01-10Revert "libosmocore/lapd: Fixed handling of sequence errors at lapd_core.c"Sylvain Munaut1-21/+3
This reverts commit 506a3443ba52edf988fe2a0a54861738b777756e.
2012-01-02libosmocore/lapd: Fixed handling of sequence errors at lapd_core.cAndreas Eversberg1-3/+21
If a sequence error is received, the N(R) variable must still be used to acknowledge previously transmitted frames. If there are two subsequent sequence errors received, ignore it. (Ignore every second subsequent error.) This happens if our reply with the REJ is too slow, so the remote gets a T200 timeout and sends another frame with a sequence error. Test showed that replying with two subsequent REJ messages could the remote L2 process to abort. Replying too slow shouldn't happen, but may happen over serial link between BB and LAPD.
2011-11-13Merge commit 'a71b8eaca7eed4dfc96f2cebabfc26430416c2e9'Sylvain Munaut28-79/+1571
2011-10-21Merge commit '07f1103782a94090c2cef46de8a3f6d03ddfeef7'Sylvain Munaut30-1829/+4028
2011-09-02shared: Update the update-libosmocore.sh script for standard commandSylvain Munaut1-1/+1
A standard/good install of subtree will have it registered as a command of git itself Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-09-02Merge commit 'fe28dedd4c25b5f0f3df39d5e33ce3639574406c'Sylvain Munaut71-533/+9410
2011-07-30Merge commit '1a99df84e12315c63f2e96a2972864e4c311712d'Sylvain Munaut3-6/+6
2011-07-28Merge commit '430be849945688ae107b079db1e216329b1a1f06'Andreas.Eversberg41-194/+3509
2011-06-26Merge commit '2a68c7c8cd2eca65c58c0898d0e1716e9d4c3ecd'Sylvain Munaut2-0/+43
2011-06-25Merge commit '620f7ab35034f78f894319e027a151568c331eea'Sylvain Munaut13-17/+186
2011-05-29Merge commit '3710e462f85824cd9d84b3f95e6b2ea694119ff9'Sylvain Munaut1-3/+0
2011-05-29Merge commit 'f2699501bc20a1dc5ee965ca1cbb8f18a3471ff8'Sylvain Munaut3-4/+2
2011-05-27Merge commit '4d3a7b124e08a597d5f01fb2a71f3a4677a360a9'Harald Welte10-3/+240
2011-05-23Merge commit '3036612d59a5c8d97b2086a5e7817613f45948ef'Harald Welte10-8/+569
2011-05-22Merge commit 'e476442cf0e84c65565ace545f5b73602b5f0ffc'Harald Welte4-10/+17
2011-05-22Merge commit '33cb71ac91fb870702dbb71595dba4a554001e3c'Harald Welte7-98/+311
2011-05-15Merge commit 'ba01fa44feb6deb0f0359f381eafe866991c06c1' into pablo/namespacePablo Neira Ayuso48-218/+1323
2011-05-02linuxlist.h: silence a noisy warningWolfram Sang1-1/+1
Fixes a couple of warnings like this: In file included from ../../shared/libosmocore/include/osmocom/core/msgb.h:24:0, from include/comm/sercomm.h:6, from apps/loader/main.c:41: ../../shared/libosmocore/include/osmocom/core/linuxlist.h: In function 'prefetch': ../../shared/libosmocore/include/osmocom/core/linuxlist.h:10:41: warning: unused parameter 'x' Signed-off-by: Wolfram Sang <wolfram@the-dreams.de>
2011-04-26Merge commit '28dbfe9bf7a799ab1da2563fd5e007d007b54168'Pablo Neira Ayuso106-337/+1153
2011-01-18update .gitignoreSteve Markgraf1-0/+5
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2011-01-05Merge commit '4a4f96d1f67441e2902a0806f1d7c4b29a072ca3'Steve Markgraf9-7/+71
2010-11-28Merge commit 'ab1246e0b5ffa0ac8d7b8e8fbe7c51bc22c8e751'Sylvain Munaut6-5/+63
2010-11-13Merge commit '7f6615a37df0dadbe86fdfc980e0a8a15013a80e'Sylvain Munaut16-22/+113
2010-10-24Merge commit 'dc0ebdfbdf3b1a381754c6ef4a59b0354eba7705'Sylvain Munaut23-6/+1898
2010-09-20Merge commit '47ee693170d589f760c4a9c7a5c4ad0b289aa65d'Sylvain Munaut2-3/+4