Skip to content

Instantly share code, notes, and snippets.

@voidzero
Created May 28, 2016 00:57
Show Gist options
  • Select an option

  • Save voidzero/639db5df4472ea8d96aaffb1c00c7414 to your computer and use it in GitHub Desktop.

Select an option

Save voidzero/639db5df4472ea8d96aaffb1c00c7414 to your computer and use it in GitHub Desktop.

Revisions

  1. voidzero created this gist May 28, 2016.
    17 changes: 17 additions & 0 deletions ril.h
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    // Do we want to split Data from Voice and the use
    // RIL_RadioTechnology for get/setPreferredVoice/Data ?
    typedef enum {
    PREF_NET_TYPE_GSM_WCDMA = 0, /* GSM/WCDMA (WCDMA preferred) */
    PREF_NET_TYPE_GSM_ONLY = 1, /* GSM only */
    PREF_NET_TYPE_WCDMA = 2, /* WCDMA */
    PREF_NET_TYPE_GSM_WCDMA_AUTO = 3, /* GSM/WCDMA (auto mode, according to PRL) */
    PREF_NET_TYPE_CDMA_EVDO_AUTO = 4, /* CDMA and EvDo (auto mode, according to PRL) */
    PREF_NET_TYPE_CDMA_ONLY = 5, /* CDMA only */
    PREF_NET_TYPE_EVDO_ONLY = 6, /* EvDo only */
    PREF_NET_TYPE_GSM_WCDMA_CDMA_EVDO_AUTO = 7, /* GSM/WCDMA, CDMA, and EvDo (auto mode, according to PRL) */
    PREF_NET_TYPE_LTE_CDMA_EVDO = 8, /* LTE, CDMA and EvDo */
    PREF_NET_TYPE_LTE_GSM_WCDMA = 9, /* LTE, GSM/WCDMA */
    PREF_NET_TYPE_LTE_CMDA_EVDO_GSM_WCDMA = 10, /* LTE, CDMA, EvDo, GSM/WCDMA */
    PREF_NET_TYPE_LTE_ONLY = 11, /* LTE only */
    PREF_NET_TYPE_LTE_WCDMA = 12 /* LTE/WCDMA */
    } RIL_PreferredNetworkType;