• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/uqmi/qmi-flags64-dms.h

  1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  2 /*
  3  * libqmi-glib -- GLib/GIO based library to control QMI devices
  4  *
  5  * This library is free software; you can redistribute it and/or
  6  * modify it under the terms of the GNU Lesser General Public
  7  * License as published by the Free Software Foundation; either
  8  * version 2 of the License, or (at your option) any later version.
  9  *
 10  * This library is distributed in the hope that it will be useful,
 11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 13  * Lesser General Public License for more details.
 14  *
 15  * You should have received a copy of the GNU Lesser General Public
 16  * License along with this library; if not, write to the
 17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 18  * Boston, MA 02110-1301 USA.
 19  *
 20  * Copyright (C) 2012 Lanedo GmbH <aleksander@lanedo.com>
 21  * Copyright (C) 2012 Google, Inc.
 22  */
 23 
 24 #ifndef _LIBQMI_GLIB_QMI_FLAGS64_DMS_H_
 25 #define _LIBQMI_GLIB_QMI_FLAGS64_DMS_H_
 26 
 27 /*****************************************************************************/
 28 /* Helper enums for the 'QMI DMS Get Band Capability' message */
 29 
 30 /**
 31  * QmiDmsBandCapability:
 32  * @QMI_DMS_BAND_CAPABILITY_BC_0_A_SYSTEM: Band class 0, A-system.
 33  * @QMI_DMS_BAND_CAPABILITY_BC_0_B_SYSTEM: Band class 0, B-system.
 34  * @QMI_DMS_BAND_CAPABILITY_BC_1_ALL_BLOCKS: Band class 1, all blocks.
 35  * @QMI_DMS_BAND_CAPABILITY_BC_2: Band class 2.
 36  * @QMI_DMS_BAND_CAPABILITY_BC_3_A_SYSTEM: Band class 3, A-system.
 37  * @QMI_DMS_BAND_CAPABILITY_BC_4_ALL_BLOCKS: Band class 4, all blocks.
 38  * @QMI_DMS_BAND_CAPABILITY_BC_5_ALL_BLOCKS: Band class 5, all blocks.
 39  * @QMI_DMS_BAND_CAPABILITY_BC_6: Band class 6.
 40  * @QMI_DMS_BAND_CAPABILITY_BC_7: Band class 7.
 41  * @QMI_DMS_BAND_CAPABILITY_BC_8: Band class 8.
 42  * @QMI_DMS_BAND_CAPABILITY_BC_9: Band class 9.
 43  * @QMI_DMS_BAND_CAPABILITY_BC_10: Band class 10.
 44  * @QMI_DMS_BAND_CAPABILITY_BC_11: Band class 11.
 45  * @QMI_DMS_BAND_CAPABILITY_BC_12: Band class 12.
 46  * @QMI_DMS_BAND_CAPABILITY_BC_14: Band class 14.
 47  * @QMI_DMS_BAND_CAPABILITY_BC_15: Band class 15.
 48  * @QMI_DMS_BAND_CAPABILITY_BC_16: Band class 16.
 49  * @QMI_DMS_BAND_CAPABILITY_BC_17: Band class 17.
 50  * @QMI_DMS_BAND_CAPABILITY_BC_18: Band class 18.
 51  * @QMI_DMS_BAND_CAPABILITY_BC_19: Band class 19.
 52  * @QMI_DMS_BAND_CAPABILITY_GSM_DCS_1800: GSM DCS band.
 53  * @QMI_DMS_BAND_CAPABILITY_GSM_900_EXTENDED: GSM Extended GSM band (900).
 54  * @QMI_DMS_BAND_CAPABILITY_GSM_900_PRIMARY: GSM Primary GSM band (900).
 55  * @QMI_DMS_BAND_CAPABILITY_GSM_450: GSM 450 band.
 56  * @QMI_DMS_BAND_CAPABILITY_GSM_480: GSM 480 band.
 57  * @QMI_DMS_BAND_CAPABILITY_GSM_750: GSM 750 band.
 58  * @QMI_DMS_BAND_CAPABILITY_GSM_850: GSM 850 band.
 59  * @QMI_DMS_BAND_CAPABILITY_GSM_900_RAILWAYS: GSM railways band (900).
 60  * @QMI_DMS_BAND_CAPABILITY_GSM_PCS_1900: GSM PCS band (1900).
 61  * @QMI_DMS_BAND_CAPABILITY_WCDMA_2100: WCDMA 2100 band (Europe, Japan, China).
 62  * @QMI_DMS_BAND_CAPABILITY_WCDMA_PCS_1900: WCDMA PCS 1900 band (US).
 63  * @QMI_DMS_BAND_CAPABILITY_WCDMA_DCS_1800: WCDMA DCS 1800 band (Europe, China).
 64  * @QMI_DMS_BAND_CAPABILITY_WCDMA_1700_US: WCDMA 1700 band (US).
 65  * @QMI_DMS_BAND_CAPABILITY_WCDMA_850_US: WCDMA 850 band (US).
 66  * @QMI_DMS_BAND_CAPABILITY_WCDMA_800: QWCDMA 850 band (Japan).
 67  * @QMI_DMS_BAND_CAPABILITY_WCDMA_2600: WCDMA 2600 band (Europe).
 68  * @QMI_DMS_BAND_CAPABILITY_WCDMA_900: WCDMA 900 band (Europe, Japan).
 69  * @QMI_DMS_BAND_CAPABILITY_WCDMA_1700_JAPAN: WCDMA 1700 band (Japan).
 70  * @QMI_DMS_BAND_CAPABILITY_WCDMA_850_JAPAN: WCDMA 850 band (Japan)
 71  * @QMI_DMS_BAND_CAPABILITY_WCDMA_1500: WCDMA 1500 band.
 72  *
 73  * Frequency band capabilities.
 74  */
 75 typedef enum {
 76     QMI_DMS_BAND_CAPABILITY_BC_0_A_SYSTEM    = 1 << 0,
 77     QMI_DMS_BAND_CAPABILITY_BC_0_B_SYSTEM    = 1 << 1,
 78     QMI_DMS_BAND_CAPABILITY_BC_1_ALL_BLOCKS  = 1 << 2,
 79     QMI_DMS_BAND_CAPABILITY_BC_2             = 1 << 3,
 80     QMI_DMS_BAND_CAPABILITY_BC_3_A_SYSTEM    = 1 << 4,
 81     QMI_DMS_BAND_CAPABILITY_BC_4_ALL_BLOCKS  = 1 << 5,
 82     QMI_DMS_BAND_CAPABILITY_BC_5_ALL_BLOCKS  = 1 << 6,
 83     QMI_DMS_BAND_CAPABILITY_GSM_DCS_1800     = 1 << 7,
 84     QMI_DMS_BAND_CAPABILITY_GSM_900_EXTENDED = 1 << 8,
 85     QMI_DMS_BAND_CAPABILITY_GSM_900_PRIMARY  = 1 << 9,
 86     QMI_DMS_BAND_CAPABILITY_BC_6             = 1 << 10,
 87     QMI_DMS_BAND_CAPABILITY_BC_7             = 1 << 11,
 88     QMI_DMS_BAND_CAPABILITY_BC_8             = 1 << 12,
 89     QMI_DMS_BAND_CAPABILITY_BC_9             = 1 << 13,
 90     QMI_DMS_BAND_CAPABILITY_BC_10            = 1 << 14,
 91     QMI_DMS_BAND_CAPABILITY_BC_11            = 1 << 15,
 92     QMI_DMS_BAND_CAPABILITY_GSM_450          = 1 << 16,
 93     QMI_DMS_BAND_CAPABILITY_GSM_480          = 1 << 17,
 94     QMI_DMS_BAND_CAPABILITY_GSM_750          = 1 << 18,
 95     QMI_DMS_BAND_CAPABILITY_GSM_850          = 1 << 19,
 96     QMI_DMS_BAND_CAPABILITY_GSM_900_RAILWAYS = 1 << 20,
 97     QMI_DMS_BAND_CAPABILITY_GSM_PCS_1900     = 1 << 21,
 98     QMI_DMS_BAND_CAPABILITY_WCDMA_2100       = 1 << 22,
 99     QMI_DMS_BAND_CAPABILITY_WCDMA_PCS_1900   = 1 << 23,
100     QMI_DMS_BAND_CAPABILITY_WCDMA_DCS_1800   = 1 << 24,
101     QMI_DMS_BAND_CAPABILITY_WCDMA_1700_US    = 1 << 25,
102     QMI_DMS_BAND_CAPABILITY_WCDMA_850_US     = 1 << 26,
103     QMI_DMS_BAND_CAPABILITY_WCDMA_800        = 1 << 27,
104     QMI_DMS_BAND_CAPABILITY_BC_12            = 1 << 28,
105     QMI_DMS_BAND_CAPABILITY_BC_14            = 1 << 29,
106     /* Bit 30 reserved */
107     QMI_DMS_BAND_CAPABILITY_BC_15            = 1 << 31,
108     /* Bits 32-47 reserved */
109     QMI_DMS_BAND_CAPABILITY_WCDMA_2600       = ((uint64_t) 1) << 48,
110     QMI_DMS_BAND_CAPABILITY_WCDMA_900        = ((uint64_t) 1) << 49,
111     QMI_DMS_BAND_CAPABILITY_WCDMA_1700_JAPAN = ((uint64_t) 1) << 50,
112     /* Bits 51-55 reserved */
113     QMI_DMS_BAND_CAPABILITY_BC_16            = ((uint64_t) 1) << 56,
114     QMI_DMS_BAND_CAPABILITY_BC_17            = ((uint64_t) 1) << 57,
115     QMI_DMS_BAND_CAPABILITY_BC_18            = ((uint64_t) 1) << 58,
116     QMI_DMS_BAND_CAPABILITY_BC_19            = ((uint64_t) 1) << 59,
117     QMI_DMS_BAND_CAPABILITY_WCDMA_850_JAPAN  = ((uint64_t) 1) << 60,
118     QMI_DMS_BAND_CAPABILITY_WCDMA_1500       = ((uint64_t) 1) << 61
119     /* Bits 62-63 reserved */
120 } QmiDmsBandCapability;
121 
122 /**
123  * QmiDmsLteBandCapability:
124  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_1: LTE EUTRAN Band 1
125  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_2: LTE EUTRAN Band 2.
126  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_3: LTE EUTRAN Band 3.
127  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_4: LTE EUTRAN Band 4.
128  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_5: LTE EUTRAN Band 5.
129  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_6: LTE EUTRAN Band 6.
130  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_7: LTE EUTRAN Band 7.
131  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_8: LTE EUTRAN Band 8.
132  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_9: LTE EUTRAN Band 9.
133  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_10: LTE EUTRAN Band 10.
134  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_11: LTE EUTRAN Band 11.
135  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_12: LTE EUTRAN Band 12.
136  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_13: LTE EUTRAN Band 13.
137  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_14: LTE EUTRAN Band 14.
138  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_17: LTE EUTRAN Band 17.
139  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_18: LTE EUTRAN Band 18.
140  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_19: LTE EUTRAN Band 19.
141  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_20: LTE EUTRAN Band 20.
142  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_21: LTE EUTRAN Band 21.
143  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_24: LTE EUTRAN Band 24.
144  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_25: LTE EUTRAN Band 25.
145  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_33: LTE EUTRAN Band 33.
146  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_34: LTE EUTRAN Band 34.
147  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_35: LTE EUTRAN Band 35.
148  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_36: LTE EUTRAN Band 36.
149  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_37: LTE EUTRAN Band 37.
150  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_38: LTE EUTRAN Band 38.
151  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_39: LTE EUTRAN Band 39.
152  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_40: LTE EUTRAN Band 40.
153  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_41: LTE EUTRAN Band 41.
154  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_42: LTE EUTRAN Band 42.
155  * @QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_43: LTE EUTRAN Band 43.
156  *
157  * LTE-specific Frequency bands.
158  */
159 typedef enum {
160     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_1  = 1 << 0,
161     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_2  = 1 << 1,
162     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_3  = 1 << 2,
163     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_4  = 1 << 3,
164     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_5  = 1 << 4,
165     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_6  = 1 << 5,
166     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_7  = 1 << 6,
167     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_8  = 1 << 7,
168     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_9  = 1 << 8,
169     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_10 = 1 << 9,
170     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_11 = 1 << 10,
171     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_12 = 1 << 11,
172     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_13 = 1 << 12,
173     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_14 = 1 << 13,
174     /* Bit 14-15 reserved */
175     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_17 = 1 << 16,
176     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_18 = 1 << 17,
177     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_19 = 1 << 18,
178     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_20 = 1 << 19,
179     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_21 = 1 << 20,
180     /* Bit 21-22 reserved */
181     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_24 = 1 << 23,
182     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_25 = 1 << 24,
183     /* Bit 25-31 reserved */
184     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_33 = ((uint64_t) 1) << 32,
185     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_34 = ((uint64_t) 1) << 33,
186     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_35 = ((uint64_t) 1) << 34,
187     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_36 = ((uint64_t) 1) << 35,
188     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_37 = ((uint64_t) 1) << 36,
189     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_38 = ((uint64_t) 1) << 37,
190     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_39 = ((uint64_t) 1) << 38,
191     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_40 = ((uint64_t) 1) << 39,
192     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_41 = ((uint64_t) 1) << 40,
193     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_42 = ((uint64_t) 1) << 41,
194     QMI_DMS_LTE_BAND_CAPABILITY_EUTRAN_43 = ((uint64_t) 1) << 42
195     /* Bit 43-64 reserved */
196 } QmiDmsLteBandCapability;
197 
198 #endif /* _LIBQMI_GLIB_QMI_FLAGS64_DMS_H_ */
199 

This page was automatically generated by LXR 0.3.1.  •  OpenWrt