tbf: Add logging for polling
This commit adds the relevant frame number to the "poll timeout"
logging message. In addition, logging is added to the places where
poll_fn gets set.
The goal is to track down the source for frequent "poll timeout"
messages.
Sponsored-by: On-Waves ehf
diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp
index 39a1f33..b57e10e 100644
--- a/src/tbf_dl.cpp
+++ b/src/tbf_dl.cpp
@@ -686,6 +686,10 @@
rh->s_p = 1; /* Polling */
m_last_dl_poll_fn = poll_fn;
+
+ LOGP(DRLCMACDL, LOGL_INFO,
+ "%s Scheduled Ack/Nack polling on FN=%d, TS=%d\n",
+ name(), poll_fn, ts);
}
}