invalid LAI in level 3 complete: unify BSSMAP and RANAP verification
So far we determine validity of the PLMN (compared against the global MNC's config) in bssmap_rx_l3_compl() for the A-interface.
<insert status quo of the Iu interface here, see #3163>
However, in the VLR, we have code stubs to accept or deny a given LAI, which always returns acceptance at the moment: lai_in_this_vlr() in vlr_lu_fsm.c.
- Move the PLMN (LAI) check into the VLR, to serve both A and Iu interface L3 Complete requests.
So, instead of verifying in BSSMAP and RANAP rx functions separately, just pass the received LAI onto vlr_lu_fsm.c and compare it centrally there.
As a future perspective, policy on which LAIs are permitted can then be added in the VLR for both these RAN types.
(This issue is created as a split of #2980, to clarify the confusion we created there.)
#4 Updated by neels about 1 year ago
Wait, I might be confusing things here, again. vlr_lu_fsm.c is of course only concerned with Location Updating, not the other Level 3 Complete (Paging Response and CM Service Request).
We also have the vlr_access_req_fsm.c, concerned with the non-LU L3 Complete, which also contains a LAI, which should also be validated.
I guess part of this task is to clarify which PLMN means what exactly and should be handled where.