osmo-pcu/src
Philipp Maier 39f5e27412 bts: refuse to set invalid frame numbers
A valid GSM frame ranges from 0 to 2715647. When using
set_current_frame_number() to set the current frame number (source
usually is the layer 1 and below) we should not allow invalid frame
numbers.

Note: this also fixes FnTest which uses invalid frame numbers for
testsing.

Change-Id: Iaae31b370fababba975d419b0d20ac15618c296e
Related: OS#5198
2023-01-05 16:56:28 +01:00
..
osmo-bts-litecell15 direct_phy: Fix condition dropping rx DATA.ind payload in in 2021-03-18 14:03:35 +01:00
osmo-bts-oc2g direct_phy: Fix condition dropping rx DATA.ind payload in in 2021-03-18 14:03:35 +01:00
osmo-bts-sysmo cosmetic: sysmo: Drop unneded comment line 2021-08-31 14:53:10 +02:00
.gitignore Adding .gitignore to source directory 2012-06-27 17:45:15 +02:00
Makefile.am Rename gprs_rlcmac_ts_alloc.cpp -> alloc_algo.cpp & create own .h file 2022-12-16 12:08:07 +01:00
alloc_algo.cpp Rename gprs_rlcmac_ts_alloc.cpp -> alloc_algo.cpp & create own .h file 2022-12-16 12:08:07 +01:00
alloc_algo.h Rename gprs_rlcmac_ts_alloc.cpp -> alloc_algo.cpp & create own .h file 2022-12-16 12:08:07 +01:00
bts.cpp bts: refuse to set invalid frame numbers 2023-01-05 16:56:28 +01:00
bts.h tbf_dl_fsm_ctx: Properly define tbf backptr as dl_tbf 2022-12-12 20:09:49 +01:00
bts_pch_timer.c bts_pch_timer: Avoid resend Paging Request over PCUIF if T3113 is armed 2021-11-08 18:54:12 +00:00
bts_pch_timer.h bts_pch_timer: Avoid resend Paging Request over PCUIF if T3113 is armed 2021-11-08 18:54:12 +00:00
coding_scheme.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
coding_scheme.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
csn1.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
csn1.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
csn1_dec.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
csn1_enc.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
cxx_linuxlist.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
decoding.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
decoding.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
egprs_rlc_compression.cpp Clean false positive in newer GCC version checking guard of else clause 2021-05-19 11:58:57 +02:00
egprs_rlc_compression.h egprs_rlc_compression: fix white spaces 2019-06-17 02:04:09 +02:00
encoding.cpp Get rid of tbf->first_ts 2022-12-16 11:05:46 +00:00
encoding.h encoding::write_immediate_assignment(): Constify tbf param 2022-12-12 19:48:34 +01:00
gprs_bssgp_pcu.c Rename gprs_rlcmac_ts_alloc.cpp -> alloc_algo.cpp & create own .h file 2022-12-16 12:08:07 +01:00
gprs_bssgp_pcu.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_bssgp_rim.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_bssgp_rim.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_codel.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_codel.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_debug.c Convert gprs_debug.cpp to C 2022-11-21 14:05:26 +01:00
gprs_debug.h Convert gprs_debug.cpp to C 2022-11-21 14:05:26 +01:00
gprs_ms.c Avoid moving DL-TBF from old_msg to new_ms during ms_merge 2022-12-19 12:32:44 +01:00
gprs_ms.h Convert ms_first_common_ts to struct gprs_rlcmac_pdch 2022-12-16 12:08:07 +01:00
gprs_ms_storage.cpp Rework tbf::update_ms() 2022-10-31 22:07:31 +01:00
gprs_ms_storage.h Rework tbf::update_ms() 2022-10-31 22:07:31 +01:00
gprs_pcu.c {ms,gprs_pcu}_talloc_destructor(): call osmo_timer_del() unconditionally 2022-08-08 20:22:41 +00:00
gprs_pcu.h bts: Add counter availablePDCHAllocatedTime 2021-11-15 11:40:07 +01:00
gprs_rlcmac.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_rlcmac.h Rename gprs_rlcmac_ts_alloc.cpp -> alloc_algo.cpp & create own .h file 2022-12-16 12:08:07 +01:00
gprs_rlcmac_meas.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_rlcmac_sched.cpp Pass gprs_rlcmac_pdch to create_dl_acked_block() 2022-12-16 12:11:31 +01:00
gsm_rlcmac.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gsm_rlcmac.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
llc.c llc_queue: Refactor to handle codel_state per prio queue internally 2022-04-05 11:16:17 +00:00
llc.h llc_queue: Refactor to handle codel_state per prio queue internally 2022-04-05 11:16:17 +00:00
mslot_class.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
mslot_class.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
nacc_fsm.c Pass gprc_rlcmac_pdch to tbf_set_polling 2022-12-16 12:11:31 +01:00
nacc_fsm.h sched: Pass pdch to *_create_rlcmac_msg() functions 2022-12-13 12:20:02 +01:00
neigh_cache.c neigh_cache: fix: properly convert from nanoseconds to microseconds 2022-07-20 00:12:46 +07:00
neigh_cache.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
osmobts_sock.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pcu_l1_if.cpp pcuif_proto: cosmetic: rename gsm_pcu_if_info_ts to gsm_pcu_if_info_trx_ts 2022-10-27 15:28:51 +02:00
pcu_l1_if.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pcu_main.cpp Rename gprs_rlcmac_ts_alloc.cpp -> alloc_algo.cpp & create own .h file 2022-12-16 12:08:07 +01:00
pcu_utils.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pcu_vty.c Rename gprs_rlcmac_ts_alloc.cpp -> alloc_algo.cpp & create own .h file 2022-12-16 12:08:07 +01:00
pcu_vty.h vty: add attributes to VTY commands indicating when they apply 2020-10-08 07:16:31 +00:00
pcu_vty_functions.cpp Convert tbf->control_ts to be a gprs_rlcmac_pdch* 2022-12-16 12:11:31 +01:00
pcu_vty_functions.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pdch.cpp Convert tbf->control_ts to be a gprs_rlcmac_pdch* 2022-12-16 12:11:31 +01:00
pdch.h pdch: Introduce APIs to print PDCH name 2022-12-16 12:11:23 +01:00
pdch_ul_controller.c pdch_ulc_get_node(): assert if ulc pointer is null 2022-12-12 12:29:30 +01:00
pdch_ul_controller.h constify pdch_ulc_get_next_free_fn() parameter 2022-11-17 19:32:40 +03:00
rlc.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
rlc.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
sba.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
sba.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf.cpp Pass gprc_rlcmac_pdch to tbf_set_polling 2022-12-16 12:11:31 +01:00
tbf.h Pass gprc_rlcmac_pdch to tbf_set_polling 2022-12-16 12:11:31 +01:00
tbf_dl.cpp Pass gprc_rlcmac_pdch to tbf_set_polling 2022-12-16 12:11:31 +01:00
tbf_dl.h Pass gprs_rlcmac_pdch to create_dl_acked_block() 2022-12-16 12:11:31 +01:00
tbf_dl_ass_fsm.c Pass gprc_rlcmac_pdch to tbf_set_polling 2022-12-16 12:11:31 +01:00
tbf_dl_ass_fsm.h sched: Pass pdch to *_create_rlcmac_msg() functions 2022-12-13 12:20:02 +01:00
tbf_dl_fsm.c Avoid moving DL-TBF from old_msg to new_ms during ms_merge 2022-12-19 12:32:44 +01:00
tbf_fsm.c Split tbf_fsm as tbf_{ul,dl}_fsm 2022-11-18 16:54:20 +01:00
tbf_fsm.h tbf_dl_fsm_ctx: Properly define tbf backptr as dl_tbf 2022-12-12 20:09:49 +01:00
tbf_ul.cpp Convert ms_first_common_ts to struct gprs_rlcmac_pdch 2022-12-16 12:08:07 +01:00
tbf_ul.h Refactor code rejecting UL-TBF upon rx of PktResourceReq 2022-12-16 11:05:46 +00:00
tbf_ul_ack_fsm.c Pass gprc_rlcmac_pdch to tbf_set_polling 2022-12-16 12:11:31 +01:00
tbf_ul_ack_fsm.h sched: Pass pdch to *_create_rlcmac_msg() functions 2022-12-13 12:20:02 +01:00
tbf_ul_ass_fsm.c Pass gprc_rlcmac_pdch to tbf_set_polling 2022-12-16 12:11:31 +01:00
tbf_ul_ass_fsm.h sched: Pass pdch to *_create_rlcmac_msg() functions 2022-12-13 12:20:02 +01:00
tbf_ul_fsm.c tbf_ul_fsm_ctx: Properly define tbf backptr as ul_tbf 2022-12-12 20:09:36 +01:00
wireshark_compat.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00