Project

General

Profile

Bug #3574

osmo-bts: Drop -t parameter, allocate number of trx from cfg file

Added by pespin 4 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
09/19/2018
Due date:
% Done:

100%

Spec Reference:

Description

It's a common issue that people forgets to pass "-t 2" parameter when running a BTS with 2 TRX. That parameter is really not needed as we already have the TRX information in the bts-trx cfg files. We should change the logic in there to allocate the TRX structs from cfg VTY instead of relying on that parameter, then we can remove it.

History

#1 Updated by pespin 4 months ago

osmo-bsc already does that for each bts in config, see osmo-bsc.git/src/osmo-bsc/bsc_vty.c and grep for "cfg_trx_cmd".

#2 Updated by pespin 2 months ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 90

#3 Updated by pespin about 2 months ago

  • Status changed from Feedback to Resolved
  • % Done changed from 90 to 100

Merged, closing.

#4 Updated by pespin about 2 months ago

For reference, patch merged above has a bug, and this patch fixes it:
https://gerrit.osmocom.org/#/c/osmo-bts/+/11864 bts: Fix TRX0 param initialization

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)