Project

General

Profile

Bug #3018

OsmoBTS silently ignores PCU_IF_MSG_PAG_REQ

Added by laforge 10 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
PCU Interface
Target version:
-
Start date:
02/28/2018
Due date:
% Done:

0%

Spec Reference:

Description

In pcu_socket.c we have the following "interesting" code snippet in pcu_rx_data_req():

»·······switch (data_req->sapi) {
»·······case PCU_IF_SAPI_PCH:
»·······»·······if (msg_type == PCU_IF_MSG_PAG_REQ) {
»·······»·······»·······/* FIXME: Add function to schedule paging request.
»·······»·······»······· * This might not be required, if PCU_IF_MSG_DATA_REQ
»·······»·······»······· * is used instead. */
»·······»·······} else {
»·······»·······»·······struct gsm_bts_role_bts *btsb = bts->role;

»·······»·······»·······paging_add_imm_ass(btsb->paging_state, data_req->data,
»·······»·······»·······»·······data_req->len);
»·······»·······}

which means that any PCU_IF_MSG_PAG_REQ on PCU_IF_SAPI_PCH are silently discarded without ever beeing transmitted or any log message about it.

History

#1 Updated by laforge 6 months ago

  • Assignee set to stsp

#2 Updated by stsp 6 months ago

The PCU_IF_MSG_PAG_REQ message type is not sent by osmo-pcu at present.
This message type is only used during the pcu_sock Rx path by osmo-pcu.

What the comment alludes to is the fact that paging requests
are sent by osmo-pcu inside PCU_IF_MSG_DATA_REQ messages.

I agree logging the event would be worthwhile in case someone
tries to send PCU_IF_MSG_PAG_REQ to osmo-bts in the future.
But there is no real problem here. The comment is just vague.

issue #2404 documents an actual problem which prevents paging via
osmo-pcu from working (disagreement about the format of
mobdileIdenity1 in type1 paging messages).

#3 Updated by stsp 6 months ago

#4 Updated by stsp 6 months ago

  • Status changed from New to Resolved

Above patch has been merged. Closing this ticket as per above explanation of current behaviour.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)