diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-08-27 13:18:24 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-08-28 12:23:07 +0200 |
commit | ac49d0943a2a384ef99cce0933cac74d80563407 (patch) | |
tree | 21a064aeef6c371b95811c85ef20f129eb66af59 /src/poll_controller.h | |
parent | 16d29c7da4ee516b4ef0a6ec18cec18f8a76d7fa (diff) |
poll: Add a max_delay parameter to PollController::expireTimedout
Currently the maximum additional delay is hard coded to 13. This
value depends on the source of the frame number value.
This commit adds the max_delay parameter to make it caller dependant.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/poll_controller.h')
-rw-r--r-- | src/poll_controller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/poll_controller.h b/src/poll_controller.h index dac3e6d4..b9ae80e5 100644 --- a/src/poll_controller.h +++ b/src/poll_controller.h @@ -34,7 +34,8 @@ class PollController { public: PollController(BTS& bts); - void expireTimedout(int frame_number); + /* check for poll timeout */ + void expireTimedout(int frame_number, unsigned max_delay); private: BTS& m_bts; |