osmo-pcu/src
Pau Espin 6b1e9515c9 llc_queue: Refactor to handle codel_state per prio queue internally
A CoDel state per prio queue is needed, otherwise the sojourn time state
is not properly reset when a high prio packet is dequeued.

If we have a global codel state shared for all prio queues of an MS, then
basically high prio (GMM) packets will "never" be dropped because they are
handled/dequeued way quicker, so it's sojourn time will be below the
threshold most probably, stopping the "dropping" state for the rest of
lower prio packets.

The handling of different codel states is moved from MS object to the
llc_queue, also offloading already loaded dl_tbf.cpp in the process.
This will also allow in the future setting different CoDel parameters
for different priority queues if needed.

Tests need to be adapted since now the CoDel and PDU lifetime are
incorporated into the llc_queue_dequeue(). Also because dequeue now also
accesses related MS fields.

Related: OS#5508
Change-Id: I2bce2e82ab6389d8a70130a5c26a966a316b0fa4
2022-04-05 11:16:17 +00: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 llc: Convert to C 2022-03-31 19:42:15 +02:00
bts.cpp Move T3172 T_defs_bts->T_defs_pcu to have it configurable in VTY 2021-11-16 11:35:23 +01:00
bts.h treewide: remove FSF address 2021-12-14 12:19:13 +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 treewide: remove FSF address 2021-12-14 12:19:13 +01:00
encoding.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_bssgp_pcu.c pdch is_enabled: Use API getter instead of accessing field directly 2022-04-05 10:43:39 +00: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.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_debug.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_ms.c llc_queue: Refactor to handle codel_state per prio queue internally 2022-04-05 11:16:17 +00:00
gprs_ms.h llc_queue: Refactor to handle codel_state per prio queue internally 2022-04-05 11:16:17 +00:00
gprs_ms_storage.cpp gprs_ms_storage: MS always has non NULL ms->bts 2022-04-01 17:24:47 +02:00
gprs_ms_storage.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_pcu.c Move T3172 T_defs_bts->T_defs_pcu to have it configurable in VTY 2021-11-16 11:35:23 +01: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 treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_rlcmac_meas.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_rlcmac_sched.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
gprs_rlcmac_ts_alloc.cpp treewide: remove FSF address 2021-12-14 12:19:13 +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 treewide: remove FSF address 2021-12-14 12:19:13 +01:00
nacc_fsm.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
neigh_cache.c treewide: remove FSF address 2021-12-14 12:19:13 +01: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 pdch is_enabled: Use API getter instead of accessing field directly 2022-04-05 10:43:39 +00:00
pcu_l1_if.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pcu_main.cpp treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pcu_utils.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pcu_vty.c vty: Introduce command 'gsmtap-remote-host' and 'gsmtap-category enable-all' 2021-11-12 17:01:28 +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 treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pcu_vty_functions.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pdch.cpp bts: Add counter availablePDCHAllocatedTime 2021-11-15 11:40:07 +01:00
pdch.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pdch_ul_controller.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
pdch_ul_controller.h treewide: remove FSF address 2021-12-14 12:19:13 +01: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 llc: Convert to C 2022-03-31 19:42:15 +02:00
tbf.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_dl.cpp llc_queue: Refactor to handle codel_state per prio queue internally 2022-04-05 11:16:17 +00:00
tbf_dl.h llc_queue: Refactor to handle codel_state per prio queue internally 2022-04-05 11:16:17 +00:00
tbf_dl_ass_fsm.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_dl_ass_fsm.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_fsm.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_fsm.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_ul.cpp llc: Convert to C 2022-03-31 19:42:15 +02:00
tbf_ul.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_ul_ack_fsm.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_ul_ack_fsm.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_ul_ass_fsm.c treewide: remove FSF address 2021-12-14 12:19:13 +01:00
tbf_ul_ass_fsm.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00
wireshark_compat.h treewide: remove FSF address 2021-12-14 12:19:13 +01:00