gsup_client: set hardcoded PCO options

To test the GSUP interface, hardcode PCO options until parsing
the Config Requests into a PCO options
This commit is contained in:
Alexander Couzens 2024-02-22 16:38:22 +01:00
parent 241e106a49
commit 4e806c0f5b
1 changed files with 4 additions and 0 deletions

View File

@ -333,6 +333,7 @@ METHOD(osmo_epdg_gsup_client_t, tunnel_request, osmo_epdg_gsup_response_t*,
{
struct osmo_gsup_message gsup_msg = {0};
struct msgb *msg;
const char *pco = "\x80\x00\x0d\x00\x00\x0c\x00";
bool timedout;
DBG1(DBG_NET, "epdg: gsupc: Tunnel Request Request for %s", imsi);
@ -345,6 +346,9 @@ METHOD(osmo_epdg_gsup_client_t, tunnel_request, osmo_epdg_gsup_response_t*,
return NULL;
}
gsup_msg.pco = pco;
gsup_msg.pco_len = 7;
msg = encode_to_msgb(&gsup_msg);
if (!msg)
{