Project

General

Profile

Actions

Bug #3784

closed

osmo-bsc ignores requested channel type in ASSIGNEMENT REQUESTS for signalling channels

Added by tnt about 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
02/06/2019
Due date:
% Done:

50%

Spec Reference:

Description

In bssmap_handle_assignm_req , if channel type is of GSM0808_CHAN_SIGN it just creates an a request for a signaling channel but never looks at the ct.ch_rate_type fields to see what kind of channel is really requested. Instead in the assignement fsm and throuh lchan_select_by_chan_mode, it will always assume a signalling channel is a SDCCH.

Also in the assignement fsm, if it sees the current channel mode supports the requested mode (and independently of the channel type requests in ct.ch_rate_type), it will ignore it and not do anything.

    struct gsm0808_channel_type ct;

    ct.ch_indctr = GSM0808_CHAN_SIGN;
    ct.ch_rate_type = GSM0808_SPEECH_FULL_BM; /* libosmocore doesn't actually define constants for signalling mode channels but this one is compatible in value */
    ct.perm_spch[0] = 0; /* spare but must be present ! */
    ct.perm_spch_len = 1;

    msg = gsm0808_create_ass(&ct, NULL, NULL, NULL, NULL);
    osmo_sccp_tx_data_msg(conn->a.scu, conn->a.conn_id, msg);
Actions #1

Updated by laforge about 5 years ago

  • Assignee set to laforge
Actions #2

Updated by laforge about 5 years ago

let's wait until https://gerrit.osmocom.org/#/c/osmo-bsc/+/12625/ is merged to avoid clashes...

Actions #3

Updated by laforge about 5 years ago

  • Assignee changed from laforge to tnt
Actions #4

Updated by tnt about 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50

First version of the patch up for review:

https://gerrit.osmocom.org/c/osmo-bsc/+/13172

Actions #5

Updated by tnt almost 5 years ago

  • Status changed from In Progress to Resolved

Working in current master.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)