Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PFCP_IE_CREATE_BAR not handled #85

Open
yoursunny opened this issue Aug 1, 2023 · 0 comments
Open

PFCP_IE_CREATE_BAR not handled #85

yoursunny opened this issue Aug 1, 2023 · 0 comments

Comments

@yoursunny
Copy link

I'm testing oai-spgwu-tiny with an SMF implementation from Open5GCore (commercial product).
I got the OAI UPF register with these environment variables:

    environment:
      DNN_0: 'net6'
      ENABLE_5G_FEATURES: 'yes'
      NETWORK_UE_IP: '192.168.0.0/16'
      NRF_IPV4_ADDRESS: '255.255.255.255'
      NSSAI_SD_0: '0xFFFFFF'
      NSSAI_SST_0: '1'
      PGW_INTERFACE_NAME_FOR_SGI: 'eth3'
      REGISTER_NRF: 'no'
      SGW_INTERFACE_NAME_FOR_S1U_S12_S4_UP: 'eth1'
      SGW_INTERFACE_NAME_FOR_SX: 'eth2'
      TZ: 'Etc/UTC'
      UPF_FQDN_5G: ''

The UPF registers with SMF successfully, but PDU session establishment does not work.
packet sample on N4 interface

The error message is:

[2023-08-01 21:33:14.494] [pfcp] [error] Unknown PFCP IE type 85 (length 5)
[2023-08-01 21:33:14.494] [spgwu_sx] [info] handle_receive exception PFCP msg 50 Bad Length hdr.length 249/ sum ie 223 / check sum ie 237 Exception /openair-spgwu-tiny/src/pfcp/3gpp_29.244.hpp:528

IE type 85 refers to PFCP_IE_CREATE_BAR.
I searched the code and it appears that the relevant decoding section is commented out:

// case PFCP_IE_CREATE_BAR: {
// pfcp_create_bar_ie *ie = new pfcp_create_bar_ie(tlv);
// ie->load_from(is);
// return ie;
// }
// break;

Is there any particular reason for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant