| /****************************************************************************** |
| *(C) Copyright 2014 Marvell International Ltd. |
| * All Rights Reserved |
| ******************************************************************************/ |
| /* ------------------------------------------------------------------------------------------------------------------- |
| * |
| * Filename: mbim_ril_ind.h |
| * |
| * Authors: Boaz Sommer |
| * |
| * Description: mbim interface to ril indications |
| * |
| * HISTORY: |
| * Nov 19, 2014 - Initial Version |
| * |
| * Notes: |
| * |
| ******************************************************************************/ |
| #ifndef MBIM_RIL_IND_H |
| #define MBIM_RIL_IND_H |
| |
| #if defined (MBIM_USE_RIL) |
| |
| #include "ril.h" |
| |
| struct cm_connection_info |
| { |
| int status; |
| int cid; |
| int iptype; |
| }; |
| |
| |
| /****************************************************************************** |
| * Wrapper Functions |
| ******************************************************************************/ |
| #define MbimTelHandleUnsolicitedNotification(a,b,c) MbimRilHandleUnsolicitedNotification(a,b,c) |
| #define MbimTelHandleCmConnectionNotification(a) MbimRilHandleCmConnectionNotification(a) |
| |
| #if 0 |
| #define MbimTelHandleSimStatusChangedInd() MbimRilHandleSimStatusChangedInd() |
| #define MbimTelHandleRadioStateChangedInd(a,b) MbimRilHandleRadioStateChangedInd(a,b) |
| #define MbimTelHandleVoiceNetworkChangedInd() MbimRilHandleVoiceNetworkChangedInd() |
| #define MbimTelHandleVoiceRadioTechChangedInd(a,b) MbimRilHandleVoiceRadioTechChangedInd(a,b) |
| #define MbimTelHandleSignalStrengthInd(a,b) MbimRilHandleSignalStrengthInd(a,b) |
| #define MbimTelHandleDataCallListChangedInd(a,b) MbimRilHandleDataCallListChangedInd(a,b) |
| #endif |
| |
| /****************************************************************************** |
| * Global Functions |
| ******************************************************************************/ |
| UINT32 MbimRilGetAvailableDataClass (RIL_RadioTechnology rilRadioTech); |
| void MbimRilHandleUnsolicitedNotification (unsigned int requestid, void *data, int datalen); |
| void MbimRilHandleCmConnectionNotification (struct cm_connection_info *connection_info); |
| |
| #endif //MBIM_USE_RIL |
| |
| #endif //MBIM_RIL_IND_H |