Skip to content
Success

Changes

Summary

  1. peek_l3_ul_nas: Split parsing logic based on PS/CS ctx (details)
  2. peek_l3_ul_nas: Improve RAU req parsing checks (details)
  3. peek_l3_ul_nas: Improve GMM Attach Req parsing checks (details)
  4. peek_l3_ul_nas: Parse PTMSI MI from GMM RAU req (details)
Commit 4ed837cba80e55080f749e55afe1395f02e16cd2 by Pau Espin Pedrol
peek_l3_ul_nas: Split parsing logic based on PS/CS ctx

It makes no sense to receive an MM message over PS context or a GMM
message over a CS context, hence better clearly split the parsing code
paths to avoid unintended logic execution.

Related: OS#6717
Change-Id: I198f2fd14952362c4d189663d067c7f9dae2ed05
The file was modifiedsrc/osmo-hnbgw/hnbgw_l3.c
Commit 167f7aaac82f3adc5a4073ba71ccac5a62a37bb7 by Pau Espin Pedrol
peek_l3_ul_nas: Improve RAU req parsing checks

Used recently updated osmo-sgsn gprs_gmm_parse_ra_upd_req() as a guide.

Related: OS#6717
Change-Id: I1a6c642e7017e159a2035869c75475d0de7fbb75
The file was modifiedsrc/osmo-hnbgw/hnbgw_l3.c
Commit dbbfefad2cf0ae511bc197cbc053f56a91873629 by Pau Espin Pedrol
peek_l3_ul_nas: Improve GMM Attach Req parsing checks

Related: OS#6717
Change-Id: Ic9815215d40d7bb59709dcbffa0a4673f1e0e710
The file was modifiedsrc/osmo-hnbgw/hnbgw_l3.c
Commit 71ad913d99f32a0c0884533728770062a847c7c8 by Pau Espin Pedrol
peek_l3_ul_nas: Parse PTMSI MI from GMM RAU req

old_ra param in decode_gmm_tlv() is dropped since it was not really
used, and all callers already parse old_ra in the manual mandatory
parsing step.

Related: OS#6717
Change-Id: I570eb31dcee94a3ebef25e15ac7cd7199ec9a79e
The file was modifiedsrc/osmo-hnbgw/hnbgw_l3.c