#ifndef _GPRS_LLC_H #define _GPRS_LLC_H #include /* Section 4.7 LLC Layer Structure */ enum gprs_llc_sapi { GPRS_SAPI_GMM = 1, GPRS_SAPI_TOM2 = 2, GPRS_SAPI_SNDCP3 = 3, GPRS_SAPI_SNDCP5 = 5, GPRS_SAPI_SMS = 7, GPRS_SAPI_TOM8 = 8, GPRS_SAPI_SNDCP9 = 9, GPRS_SAPI_SNDCP11 = 11, }; /* Section 6.4 Commands and Responses */ enum gprs_llc_u_cmd { GPRS_LLC_U_DM_RESP = 0x01, GPRS_LLC_U_DISC_CMD = 0x04, GPRS_LLC_U_UA_RESP = 0x06, GPRS_LLC_U_SABM_CMD = 0x07, GPRS_LLC_U_FRMR_RESP = 0x08, GPRS_LLC_U_XID = 0x0b, GPRS_LLC_U_NULL_CMD = 0x00, }; int gprs_llc_rcvmsg(struct msgb *msg, struct tlv_parsed *tv); int gprs_llc_tx_ui(struct msgb *msg, uint8_t sapi, int command); #endif