modem: Improve logging when forwarding data to GRR

Change-Id: Idf80c0fa1c8293afbe354442a72f5b1c5a84f9e1
This commit is contained in:
Pau Espin 2024-02-02 16:52:41 +01:00 committed by pespin
parent 1df9fecf16
commit cf32f34292
1 changed files with 6 additions and 1 deletions

View File

@ -142,7 +142,12 @@ int modem_llc_prim_down_cb(struct osmo_gprs_llc_prim *llc_prim, void *user_data)
switch (llc_prim->oph.sap) {
case OSMO_GPRS_LLC_SAP_GRR:
LOGP(DLLC, LOGL_DEBUG, "%s(): Rx %s ll=[%s]\n", __func__, pdu_name,
LOGP(DLLC, LOGL_DEBUG, "%s(): Rx %s TLLI=0x%08x SAPI=%s RadioPrio=%u ll=[%s]\n",
__func__, pdu_name, llc_prim->grr.tlli,
/* data_req.sapi in same union pos: */
osmo_gprs_llc_sapi_name(llc_prim->grr.unitdata_req.sapi),
/* data_req.radio_prio in same union pos: */
llc_prim->grr.unitdata_req.radio_prio,
osmo_hexdump(llc_prim->grr.ll_pdu, llc_prim->grr.ll_pdu_len));
/* Forward it to lower layers, pass ownership over to RLCMAC: */
/* Optimization: LLC-GRR-UNITDATA-IND is 1-to-1 ABI compatible with