/usr/include/libqmi-glib/qmi-flags64-nas.h is in libqmi-glib-dev 1.4.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* libqmi-glib -- GLib/GIO based library to control QMI devices
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
* Copyright (C) 2012 Google Inc.
*/
#ifndef _LIBQMI_GLIB_QMI_FLAGS64_NAS_H_
#define _LIBQMI_GLIB_QMI_FLAGS64_NAS_H_
#if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION)
#error "Only <libqmi-glib.h> can be included directly."
#endif
#include <glib.h>
/*****************************************************************************/
/* Helper enums for the 'QMI NAS Get System Selection Preference'
* request/response */
/**
* QmiNasBandPreference:
* @QMI_NAS_BAND_PREFERENCE_BC_0_A_SYSTEM: Band class 0, A system.
* @QMI_NAS_BAND_PREFERENCE_BC_0_B_SYSTEM: Band class 0, B system.
* @QMI_NAS_BAND_PREFERENCE_BC_1_ALL_BLOCKS: Band class 1.
* @QMI_NAS_BAND_PREFERENCE_BC_2: Band class 2.
* @QMI_NAS_BAND_PREFERENCE_BC_3_A_SYSTEM: Band class 3, A system.
* @QMI_NAS_BAND_PREFERENCE_BC_4_ALL_BLOCKS: Band class 4, all blocks.
* @QMI_NAS_BAND_PREFERENCE_BC_5_ALL_BLOCKS: Band class 5, all blocks.
* @QMI_NAS_BAND_PREFERENCE_BC_6: Band class 6.
* @QMI_NAS_BAND_PREFERENCE_BC_7: Band class 7.
* @QMI_NAS_BAND_PREFERENCE_BC_8: Band class 8.
* @QMI_NAS_BAND_PREFERENCE_BC_9: Band class 9.
* @QMI_NAS_BAND_PREFERENCE_BC_10: Band class 10.
* @QMI_NAS_BAND_PREFERENCE_BC_11: Band class 11.
* @QMI_NAS_BAND_PREFERENCE_BC_12: Band class 12.
* @QMI_NAS_BAND_PREFERENCE_BC_14: Band class 14.
* @QMI_NAS_BAND_PREFERENCE_BC_15: Band class 15.
* @QMI_NAS_BAND_PREFERENCE_BC_16: Band class 16.
* @QMI_NAS_BAND_PREFERENCE_BC_17: Band class 17.
* @QMI_NAS_BAND_PREFERENCE_BC_18: Band class 18.
* @QMI_NAS_BAND_PREFERENCE_BC_19: Band class 19.
* @QMI_NAS_BAND_PREFERENCE_GSM_DCS_1800: GSM DCS 1800 band.
* @QMI_NAS_BAND_PREFERENCE_GSM_900_EXTENDED: Extended GSM 900 band.
* @QMI_NAS_BAND_PREFERENCE_GSM_900_PRIMARY: Primary GSM 900 band.
* @QMI_NAS_BAND_PREFERENCE_GSM_450: GSM 450.
* @QMI_NAS_BAND_PREFERENCE_GSM_480: GSM 480.
* @QMI_NAS_BAND_PREFERENCE_GSM_750: GSM 750.
* @QMI_NAS_BAND_PREFERENCE_GSM_850: GSM 850.
* @QMI_NAS_BAND_PREFERENCE_GSM_900_RAILWAYS: GSM 900 (Railways).
* @QMI_NAS_BAND_PREFERENCE_GSM_PCS_1900: GSM 1900.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_2100: WCDMA 2100.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_PCS_1900: WCDMA PCS 1900.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_DCS_1800: WCDMA DCS 1800.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_1700_US: WCDMA 1700 (U.S.).
* @QMI_NAS_BAND_PREFERENCE_WCDMA_850_US: WCDMA 850.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_800: WCDMA 800.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_2600: WCDMA 2600.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_900: WCDMA 900.
* @QMI_NAS_BAND_PREFERENCE_WCDMA_1700_JAPAN: WCDMA 1700 (Japan).
*
* Flags to specify frequency band preferences.
*/
typedef enum {
QMI_NAS_BAND_PREFERENCE_BC_0_A_SYSTEM = 1 << 0,
QMI_NAS_BAND_PREFERENCE_BC_0_B_SYSTEM = 1 << 1,
QMI_NAS_BAND_PREFERENCE_BC_1_ALL_BLOCKS = 1 << 2,
QMI_NAS_BAND_PREFERENCE_BC_2 = 1 << 3,
QMI_NAS_BAND_PREFERENCE_BC_3_A_SYSTEM = 1 << 4,
QMI_NAS_BAND_PREFERENCE_BC_4_ALL_BLOCKS = 1 << 5,
QMI_NAS_BAND_PREFERENCE_BC_5_ALL_BLOCKS = 1 << 6,
QMI_NAS_BAND_PREFERENCE_GSM_DCS_1800 = 1 << 7,
QMI_NAS_BAND_PREFERENCE_GSM_900_EXTENDED = 1 << 8,
QMI_NAS_BAND_PREFERENCE_GSM_900_PRIMARY = 1 << 9,
QMI_NAS_BAND_PREFERENCE_BC_6 = 1 << 10,
QMI_NAS_BAND_PREFERENCE_BC_7 = 1 << 11,
QMI_NAS_BAND_PREFERENCE_BC_8 = 1 << 12,
QMI_NAS_BAND_PREFERENCE_BC_9 = 1 << 13,
QMI_NAS_BAND_PREFERENCE_BC_10 = 1 << 14,
QMI_NAS_BAND_PREFERENCE_BC_11 = 1 << 15,
QMI_NAS_BAND_PREFERENCE_GSM_450 = 1 << 16,
QMI_NAS_BAND_PREFERENCE_GSM_480 = 1 << 17,
QMI_NAS_BAND_PREFERENCE_GSM_750 = 1 << 18,
QMI_NAS_BAND_PREFERENCE_GSM_850 = 1 << 19,
QMI_NAS_BAND_PREFERENCE_GSM_900_RAILWAYS = 1 << 20,
QMI_NAS_BAND_PREFERENCE_GSM_PCS_1900 = 1 << 21,
QMI_NAS_BAND_PREFERENCE_WCDMA_2100 = 1 << 22,
QMI_NAS_BAND_PREFERENCE_WCDMA_PCS_1900 = 1 << 23,
QMI_NAS_BAND_PREFERENCE_WCDMA_DCS_1800 = 1 << 24,
QMI_NAS_BAND_PREFERENCE_WCDMA_1700_US = 1 << 25,
QMI_NAS_BAND_PREFERENCE_WCDMA_850_US = 1 << 26,
QMI_NAS_BAND_PREFERENCE_WCDMA_800 = 1 << 27,
QMI_NAS_BAND_PREFERENCE_BC_12 = 1 << 28,
QMI_NAS_BAND_PREFERENCE_BC_14 = 1 << 29,
/* Bit 30 reserved */
QMI_NAS_BAND_PREFERENCE_BC_15 = 1 << 31,
/* Bits 32-47 reserved */
QMI_NAS_BAND_PREFERENCE_WCDMA_2600 = ((guint64) 1) << 48,
QMI_NAS_BAND_PREFERENCE_WCDMA_900 = ((guint64) 1) << 49,
QMI_NAS_BAND_PREFERENCE_WCDMA_1700_JAPAN = ((guint64) 1) << 50,
/* Bits 51-55 reserved */
QMI_NAS_BAND_PREFERENCE_BC_16 = ((guint64) 1) << 56,
QMI_NAS_BAND_PREFERENCE_BC_17 = ((guint64) 1) << 57,
QMI_NAS_BAND_PREFERENCE_BC_18 = ((guint64) 1) << 58,
QMI_NAS_BAND_PREFERENCE_BC_19 = ((guint64) 1) << 59
/* Bits 60-63 reserved */
} QmiNasBandPreference;
/**
* QmiNasLteBandPreference:
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_1: LTE EUTRAN Band 1
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_2: LTE EUTRAN Band 2.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_3: LTE EUTRAN Band 3.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_4: LTE EUTRAN Band 4.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_5: LTE EUTRAN Band 5.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_6: LTE EUTRAN Band 6.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_7: LTE EUTRAN Band 7.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_8: LTE EUTRAN Band 8.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_9: LTE EUTRAN Band 9.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_10: LTE EUTRAN Band 10.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_11: LTE EUTRAN Band 11.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_12: LTE EUTRAN Band 12.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_13: LTE EUTRAN Band 13.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_14: LTE EUTRAN Band 14.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_17: LTE EUTRAN Band 17.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_18: LTE EUTRAN Band 18.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_19: LTE EUTRAN Band 19.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_20: LTE EUTRAN Band 20.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_21: LTE EUTRAN Band 21.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_24: LTE EUTRAN Band 24.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_25: LTE EUTRAN Band 25.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_33: LTE EUTRAN Band 33.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_34: LTE EUTRAN Band 34.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_35: LTE EUTRAN Band 35.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_36: LTE EUTRAN Band 36.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_37: LTE EUTRAN Band 37.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_38: LTE EUTRAN Band 38.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_39: LTE EUTRAN Band 39.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_40: LTE EUTRAN Band 40.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_41: LTE EUTRAN Band 41.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_42: LTE EUTRAN Band 42.
* @QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_43: LTE EUTRAN Band 43.
*
* Flags to specify LTE-specific frequency band preferences.
*/
typedef enum {
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_1 = 1 << 0,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_2 = 1 << 1,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_3 = 1 << 2,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_4 = 1 << 3,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_5 = 1 << 4,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_6 = 1 << 5,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_7 = 1 << 6,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_8 = 1 << 7,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_9 = 1 << 8,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_10 = 1 << 9,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_11 = 1 << 10,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_12 = 1 << 11,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_13 = 1 << 12,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_14 = 1 << 13,
/* Bit 14-15 reserved */
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_17 = 1 << 16,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_18 = 1 << 17,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_19 = 1 << 18,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_20 = 1 << 19,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_21 = 1 << 20,
/* Bit 21-22 reserved */
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_24 = 1 << 23,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_25 = 1 << 24,
/* Bit 25-31 reserved */
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_33 = ((guint64) 1) << 32,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_34 = ((guint64) 1) << 33,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_35 = ((guint64) 1) << 34,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_36 = ((guint64) 1) << 35,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_37 = ((guint64) 1) << 36,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_38 = ((guint64) 1) << 37,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_39 = ((guint64) 1) << 38,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_40 = ((guint64) 1) << 39,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_41 = ((guint64) 1) << 40,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_42 = ((guint64) 1) << 41,
QMI_NAS_LTE_BAND_PREFERENCE_EUTRAN_43 = ((guint64) 1) << 42
/* Bit 43-64 reserved */
} QmiNasLteBandPreference;
#endif /* _LIBQMI_GLIB_QMI_FLAGS64_NAS_H_ */
|