diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-23 21:00:23 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2020-10-24 22:14:42 +0200 |
commit | b3f239785ccba762d8ebbf704a3da21208bc9dca (patch) | |
tree | 1ac413f8fae5d3bdcdd5254dc47034f74cd662d7 /src/tbf_dl.h | |
parent | 834cbab97d096825d2f46e0cc9841adab3180997 (diff) |
tbf: Make window() available to tbf base class
Return an interface to the window base class so that the tbf base class
can access the common window methods, such as set_ws(). It will be used
in next commit to get rid of duplicated function enable_egprs in both
dl_tbf and ul_tbf subclasses.
The user of the function can then decide to access more specific
functionaltiites of the window class by static casting it to the
specific direction (which is known by the caller since it operates on a
ul_tbf or a dl_tbf).
Change-Id: Ia2e1decf91be1184668e28297c2126affb9c7ae4
Diffstat (limited to 'src/tbf_dl.h')
-rw-r--r-- | src/tbf_dl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tbf_dl.h b/src/tbf_dl.h index bac524a4..51e170a1 100644 --- a/src/tbf_dl.h +++ b/src/tbf_dl.h @@ -40,7 +40,7 @@ enum tbf_dl_prio { struct gprs_rlcmac_dl_tbf : public gprs_rlcmac_tbf { gprs_rlcmac_dl_tbf(BTS *bts); - gprs_rlc_dl_window *window(); + gprs_rlc_window *window(); void cleanup(); void enable_egprs(); /* dispatch Unitdata.DL messages */ |