715 lines
16 KiB
C
715 lines
16 KiB
C
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
/*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details:
|
|
*
|
|
* Copyright (C) 2017 Google, Inc.
|
|
*/
|
|
|
|
#ifndef _MODEMMANAGER_COMPAT_H_
|
|
#define _MODEMMANAGER_COMPAT_H_
|
|
|
|
#if !defined (__MODEM_MANAGER_H_INSIDE__)
|
|
#error "Only <ModemManager.h> can be included directly."
|
|
#endif
|
|
|
|
#include <ModemManager-enums.h>
|
|
|
|
#ifndef MM_DISABLE_DEPRECATED
|
|
|
|
/**
|
|
* SECTION:mm-compat
|
|
* @title: API break replacements
|
|
* @short_description: List of deprecated methods, types and symbols.
|
|
*
|
|
* These compatibility types and methods are flagged as deprecated and
|
|
* therefore shouldn't be used in newly written code. They are provided to
|
|
* avoid unnecessary API/ABI breaks.
|
|
*/
|
|
|
|
/* deprecated attribute support since gcc 3.1 */
|
|
#if defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
|
|
# define MM_DEPRECATED __attribute__((__deprecated__))
|
|
#else
|
|
# define MM_DEPRECATED
|
|
#endif
|
|
|
|
/* The following type exists just so that we can get deprecation warnings */
|
|
MM_DEPRECATED
|
|
typedef int MMModemBandDeprecated;
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U2100:
|
|
*
|
|
* WCDMA 2100 MHz (UTRAN band 1).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_1 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U2100 ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_1)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U1900:
|
|
*
|
|
* WCDMA 1900 MHz (UTRAN band 2).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_2 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U1900 ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_2)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U1800:
|
|
*
|
|
* WCDMA 1800 MHz (UTRAN band 3).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_3 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U1800 ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_3)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U17IV:
|
|
*
|
|
* AWS 1700/2100 MHz (UTRAN band 4).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_4 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U17IV ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_4)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U850:
|
|
*
|
|
* UMTS 850 MHz (UTRAN band 5).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_5 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U850 ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_5)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U800:
|
|
*
|
|
* UMTS 800 MHz (UTRAN band 6).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_6 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U800 ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_6)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U2600:
|
|
*
|
|
* UMTS 2600 MHz (UTRAN band 7).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_7 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U2600 ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_7)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U900:
|
|
*
|
|
* UMTS 900 MHz (UTRAN band 8).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_8 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U900 ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_8)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_U17IX:
|
|
*
|
|
* UMTS 1700 MHz (UTRAN band 9).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_UTRAN_9 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_U17IX ((MMModemBandDeprecated)MM_MODEM_BAND_UTRAN_9)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_I:
|
|
*
|
|
* E-UTRAN band 1.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_1 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_I ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_1)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_II:
|
|
*
|
|
* E-UTRAN band 2.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_2 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_II ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_2)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_III:
|
|
*
|
|
* E-UTRAN band 3.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_3 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_III ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_3)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_IV:
|
|
*
|
|
* E-UTRAN band 4.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_4 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_IV ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_4)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_V:
|
|
*
|
|
* E-UTRAN band 5.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_5 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_V ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_5)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_VI:
|
|
*
|
|
* E-UTRAN band 6.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_6 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_VI ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_6)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_VII:
|
|
*
|
|
* E-UTRAN band 7.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_7 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_VII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_7)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_VIII:
|
|
*
|
|
* E-UTRAN band 8.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_8 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_VIII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_8)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_IX:
|
|
*
|
|
* E-UTRAN band 9.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_9 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_IX ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_9)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_X:
|
|
*
|
|
* E-UTRAN band 10.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_10 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_X ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_10)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XI:
|
|
*
|
|
* E-UTRAN band 11.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_11 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XI ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_11)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XII:
|
|
*
|
|
* E-UTRAN band 12.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_12 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_12)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XIII:
|
|
*
|
|
* E-UTRAN band 13.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_13 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XIII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_13)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XIV:
|
|
*
|
|
* E-UTRAN band 14.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_14 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XIV ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_14)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XVII:
|
|
*
|
|
* E-UTRAN band 17.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_17 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XVII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_17)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XVIII:
|
|
*
|
|
* E-UTRAN band 18.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_18 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XVIII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_18)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XIX:
|
|
*
|
|
* E-UTRAN band 19.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_19 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XIX ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_19)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XX:
|
|
*
|
|
* E-UTRAN band 20.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_20 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XX ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_20)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXI:
|
|
*
|
|
* E-UTRAN band 21.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_21 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXI ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_21)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXII:
|
|
*
|
|
* E-UTRAN band 22.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_22 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_22)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXIII:
|
|
*
|
|
* E-UTRAN band 23.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_23 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXIII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_23)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXIV:
|
|
*
|
|
* E-UTRAN band 24.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_24 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXIV ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_24)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXV:
|
|
*
|
|
* E-UTRAN band 25.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_25 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXV ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_25)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXVI:
|
|
*
|
|
* E-UTRAN band 26.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_26 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXVI ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_26)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXXIII:
|
|
*
|
|
* E-UTRAN band 33.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_33 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXXIII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_33)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXXIV:
|
|
*
|
|
* E-UTRAN band 34.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_34 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXXIV ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_34)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXXV:
|
|
*
|
|
* E-UTRAN band 35.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_35 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXXV ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_35)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXXVI:
|
|
*
|
|
* E-UTRAN band 36.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_36 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXXVI ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_36)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXXVII:
|
|
*
|
|
* E-UTRAN band 37.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_37 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXXVII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_37)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXXVIII:
|
|
*
|
|
* E-UTRAN band 38.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_38 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXXVIII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_38)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XXXIX:
|
|
*
|
|
* E-UTRAN band 39.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_39 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XXXIX ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_39)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XL:
|
|
*
|
|
* E-UTRAN band 40.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_40 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XL ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_40)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XLI:
|
|
*
|
|
* E-UTRAN band 41.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_41 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XLI ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_41)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XLII:
|
|
*
|
|
* E-UTRAN band 42.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_42 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XLII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_42)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XLIII:
|
|
*
|
|
* E-UTRAN band 43.
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_43 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XLIII ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_43)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_EUTRAN_XLIV:
|
|
*
|
|
* E-UTRAN band 44.
|
|
*
|
|
* Since: 1.4
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_EUTRAN_44 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_EUTRAN_XLIV ((MMModemBandDeprecated)MM_MODEM_BAND_EUTRAN_44)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC0_CELLULAR_800:
|
|
*
|
|
* CDMA Band Class 0 (US Cellular 850MHz)
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC0 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC0_CELLULAR_800 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC0)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC1_PCS_1900:
|
|
*
|
|
* CDMA Band Class 1 (US PCS 1900MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC1 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC1_PCS_1900 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC1)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC2_TACS:
|
|
*
|
|
* CDMA Band Class 2 (UK TACS 900MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC2 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC2_TACS ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC2)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC3_JTACS:
|
|
*
|
|
* CDMA Band Class 3 (Japanese TACS).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC3 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC3_JTACS ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC3)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC4_KOREAN_PCS:
|
|
*
|
|
* CDMA Band Class 4 (Korean PCS).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC4 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC4_KOREAN_PCS ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC4)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC5_NMT450:
|
|
*
|
|
* CDMA Band Class 5 (NMT 450MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC5 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC5_NMT450 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC5)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC6_IMT2000:
|
|
*
|
|
* CDMA Band Class 6 (IMT2000 2100MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC6 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC6_IMT2000 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC6)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC7_CELLULAR_700:
|
|
*
|
|
* CDMA Band Class 7 (Cellular 700MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC7 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC7_CELLULAR_700 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC7)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC8_1800:
|
|
*
|
|
* CDMA Band Class 8 (1800MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC8 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC8_1800 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC8)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC9_900:
|
|
*
|
|
* CDMA Band Class 9 (900MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC9 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC9_900 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC9)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC10_SECONDARY_800:
|
|
*
|
|
* CDMA Band Class 10 (US Secondary 800).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC10 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC10_SECONDARY_800 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC10)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC11_PAMR_400:
|
|
*
|
|
* CDMA Band Class 11 (European PAMR 400MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC11 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC11_PAMR_400 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC11)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC12_PAMR_800:
|
|
*
|
|
* CDMA Band Class 12 (PAMR 800MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC12 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC12_PAMR_800 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC12)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC13_IMT2000_2500:
|
|
*
|
|
* CDMA Band Class 13 (IMT2000 2500MHz Expansion).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC13 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC13_IMT2000_2500 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC13)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC14_PCS2_1900:
|
|
*
|
|
* CDMA Band Class 14 (More US PCS 1900MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC14 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC14_PCS2_1900 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC14)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC15_AWS:
|
|
*
|
|
* CDMA Band Class 15 (AWS 1700MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC15 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC15_AWS ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC15)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC16_US_2500:
|
|
*
|
|
* CDMA Band Class 16 (US 2500MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC16 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC16_US_2500 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC16)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC17_US_FLO_2500:
|
|
*
|
|
* CDMA Band Class 17 (US 2500MHz Forward Link Only).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC17 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC17_US_FLO_2500 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC17)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC18_US_PS_700:
|
|
*
|
|
* CDMA Band Class 18 (US 700MHz Public Safety).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC18 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC18_US_PS_700 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC18)
|
|
|
|
/**
|
|
* MM_MODEM_BAND_CDMA_BC19_US_LOWER_700:
|
|
*
|
|
* CDMA Band Class 19 (US Lower 700MHz).
|
|
*
|
|
* Since: 1.0
|
|
* Deprecated: 1.8: Use #MM_MODEM_BAND_CDMA_BC19 instead.
|
|
*/
|
|
#define MM_MODEM_BAND_CDMA_BC19_US_LOWER_700 ((MMModemBandDeprecated)MM_MODEM_BAND_CDMA_BC19)
|
|
|
|
/* The following type exists just so that we can get deprecation warnings */
|
|
MM_DEPRECATED
|
|
typedef int MMModemLocationSourceDeprecated;
|
|
|
|
/**
|
|
* MM_MODEM_LOCATION_SOURCE_AGPS:
|
|
*
|
|
* A-GPS location requested.
|
|
*
|
|
* Since: 1.6
|
|
* Deprecated: 1.12.0: Use #MM_MODEM_LOCATION_SOURCE_AGPS_MSA instead.
|
|
*/
|
|
#define MM_MODEM_LOCATION_SOURCE_AGPS ((MMModemLocationSourceDeprecated)MM_MODEM_LOCATION_SOURCE_AGPS_MSA)
|
|
|
|
#endif /* MM_DISABLE_DEPRECATED */
|
|
|
|
#endif /* _MODEMMANAGER_COMPAT_H_ */
|