Skip to content

Commit

Permalink
[lte][agw] Support nonconsecutive PLMNS (#6697)
Browse files Browse the repository at this point in the history
* Support nonconsecutive PLMNS

Signed-off-by: Ulas Kozat <kozat@fb.com>
  • Loading branch information
ulaskozat authored and themarwhal committed May 6, 2021
1 parent d744473 commit 918b39f
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 196 deletions.
5 changes: 5 additions & 0 deletions lte/gateway/c/oai/tasks/mme_app/mme_config.c
Expand Up @@ -763,6 +763,11 @@ int mme_config_parse_file(mme_config_t* config_pP) {
config_pP->served_tai.plmn_mnc[i];
config_pP->served_tai.plmn_mnc[i] = swap16;

swap16 = config_pP->served_tai.plmn_mnc_len[i - 1];
config_pP->served_tai.plmn_mnc_len[i - 1] =
config_pP->served_tai.plmn_mnc_len[i];
config_pP->served_tai.plmn_mnc_len[i] = swap16;

swap16 = config_pP->served_tai.tac[i - 1];
config_pP->served_tai.tac[i - 1] = config_pP->served_tai.tac[i];
config_pP->served_tai.tac[i] = swap16;
Expand Down

0 comments on commit 918b39f

Please sign in to comment.