osmo_oap_iei
Information Element Identifiers for OAP IEs.
Definition: oap.h:40
osmo_oap_message_type
OAP message types.
Definition: oap.h:50
void osmo_oap_encode(struct msgb *msg, const struct osmo_oap_message *oap_msg)
Compose OAP message data.
Definition: oap.c:160
int osmo_oap_decode(struct osmo_oap_message *oap_msg, const uint8_t *data, size_t data_len)
Decode OAP message data.
Definition: oap.c:43
@ OAP_RAND_IE
Definition: oap.h:42
@ OAP_XRES_IE
Definition: oap.h:44
@ OAP_CLIENT_ID_IE
Definition: oap.h:46
@ OAP_AUTN_IE
Definition: oap.h:43
@ OAP_AUTS_IE
Definition: oap.h:45
@ OAP_CAUSE_IE
Definition: oap.h:41
@ OAP_MSGT_REGISTER_ERROR
Definition: oap.h:52
@ OAP_MSGT_REGISTER_REQUEST
Definition: oap.h:51
@ OAP_MSGT_SYNC_ERROR
Definition: oap.h:60
@ OAP_MSGT_SYNC_REQUEST
Definition: oap.h:59
@ OAP_MSGT_SYNC_RESULT
Definition: oap.h:61
@ OAP_MSGT_REGISTER_RESULT
Definition: oap.h:53
@ OAP_MSGT_CHALLENGE_ERROR
Definition: oap.h:56
@ OAP_MSGT_CHALLENGE_REQUEST
Definition: oap.h:55
@ OAP_MSGT_CHALLENGE_RESULT
Definition: oap.h:57
gsm48_gmm_cause
Definition: gsm_04_08_gprs.h:235
uint8_t msg[0]
Definition: gsm_08_08.h:8
Parsed/decoded OAP protocol message.
Definition: oap.h:65
int autn_present
Definition: oap.h:71
int auts_present
Definition: oap.h:75
int rand_present
Definition: oap.h:69
uint16_t client_id
Definition: oap.h:68
uint8_t auts[14]
Definition: oap.h:76
uint8_t rand[16]
Definition: oap.h:70
enum osmo_oap_message_type message_type
Definition: oap.h:66
uint8_t xres[8]
Definition: oap.h:74
enum gsm48_gmm_cause cause
Definition: oap.h:67
int xres_present
Definition: oap.h:73
uint8_t autn[16]
Definition: oap.h:72