Feature #2513
closedpick a different MCC+MNC+LAC for each test
100%
Description
To make sure that modems don't assume they are already registered, we want to change at least each test run's LAC. This should happen in the way that we hand out MSISDNs for each test and modem.
Updated by pespin over 6 years ago
- Status changed from New to Feedback
I pushed a patch series to use a unique LAC for every BTS resource created:
remote: New Changes: remote: https://gerrit.osmocom.org/4703 resource: Refactor next_msisdn to be more generic remote: https://gerrit.osmocom.org/4704 Use unique incrementing value for BTS LAC
Updated by pespin over 6 years ago
ofono shows in PropertyChanged signals when registered how the LocationAreaCode is different every test, but the "CellId" is always 0, it may be a good idea to investigate where does that field come from and may be worht changing it every time too.
18:58:13.280970 tst /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Status=registered 18:58:13.307893 tst /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> LocationAreaCode=6 18:58:13.335150 tst /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> CellId=0 18:58:13.361442 tst /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Name=osmo-gsm-tester-nit b 18:58:13.387061 tst /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> MobileCountryCode=901 18:58:13.413333 tst /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> MobileNetworkCode=70 18:58:13.438646 tst /sierra_2: DBG: 'org.ofono.NetworkRegistration'.PropertyChanged() -> Strength=60
Updated by neels over 6 years ago
That's the CI aka bts->cell_identity aka vty 'bts' / 'cell_identity <0-65535>' value
Updated by laforge over 6 years ago
On Mon, Nov 06, 2017 at 05:59:48PM +0000, pespin [REDMINE] wrote:
ofono shows in PropertyChanged signals when registered how the LocationAreaCode is different every test, but the "CellId" is always 0, it may be a good idea to investigate where does that field come from and may be worht changing it every time too.
The Cell ID should be the one configured as cell_id for that given BTS inside the BSC configuration file. If
it is not, then it gets lost somewhere, likely on the modem/ofono side.
Every Cell inside a LAC must have a different cell_id. cell_id across LAC
must not be unique, but often are in practise based on operator procedures.
Updated by pespin over 6 years ago
- Status changed from Feedback to Resolved
- % Done changed from 0 to 100
Merged