qmi-enums-nas.h 66 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662
  1. /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  2. /*
  3. * uqmi -- tiny QMI support implementation
  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 Google Inc.
  21. * Copyright (C) 2012-2017 Aleksander Morgado <aleksander@aleksander.es>
  22. */
  23. #ifndef _LIBQMI_GLIB_QMI_ENUMS_NAS_H_
  24. #define _LIBQMI_GLIB_QMI_ENUMS_NAS_H_
  25. /**
  26. * SECTION: qmi-enums-nas
  27. *
  28. * This section defines enumerations and flags used in the NAS service
  29. * interface.
  30. */
  31. /*****************************************************************************/
  32. /* Helper enums for the 'QMI NAS Event Report' indication */
  33. /**
  34. * QmiNasRadioInterface:
  35. * @QMI_NAS_RADIO_INTERFACE_UNKNOWN: Not known or not needed.
  36. * @QMI_NAS_RADIO_INTERFACE_NONE: None, no service.
  37. * @QMI_NAS_RADIO_INTERFACE_CDMA_1X: CDMA2000 1X.
  38. * @QMI_NAS_RADIO_INTERFACE_CDMA_1XEVDO: CDMA2000 HRPD (1xEV-DO).
  39. * @QMI_NAS_RADIO_INTERFACE_AMPS: AMPS.
  40. * @QMI_NAS_RADIO_INTERFACE_GSM: GSM.
  41. * @QMI_NAS_RADIO_INTERFACE_UMTS: UMTS.
  42. * @QMI_NAS_RADIO_INTERFACE_LTE: LTE.
  43. * @QMI_NAS_RADIO_INTERFACE_TD_SCDMA: TD-SCDMA.
  44. * @QMI_NAS_RADIO_INTERFACE_5GNR: 5G NR. Since 1.26.
  45. *
  46. * Radio interface technology.
  47. *
  48. * Since: 1.0
  49. */
  50. typedef enum { /*< since=1.0 >*/
  51. QMI_NAS_RADIO_INTERFACE_UNKNOWN = -1,
  52. QMI_NAS_RADIO_INTERFACE_NONE = 0x00,
  53. QMI_NAS_RADIO_INTERFACE_CDMA_1X = 0x01,
  54. QMI_NAS_RADIO_INTERFACE_CDMA_1XEVDO = 0x02,
  55. QMI_NAS_RADIO_INTERFACE_AMPS = 0x03,
  56. QMI_NAS_RADIO_INTERFACE_GSM = 0x04,
  57. QMI_NAS_RADIO_INTERFACE_UMTS = 0x05,
  58. QMI_NAS_RADIO_INTERFACE_LTE = 0x08,
  59. QMI_NAS_RADIO_INTERFACE_TD_SCDMA = 0x09,
  60. QMI_NAS_RADIO_INTERFACE_5GNR = 0x0C,
  61. } QmiNasRadioInterface;
  62. /**
  63. * QmiNasActiveBand:
  64. * @QMI_NAS_ACTIVE_BAND_BC_0: Band class 0.
  65. * @QMI_NAS_ACTIVE_BAND_BC_1: Band class 1.
  66. * @QMI_NAS_ACTIVE_BAND_BC_2: Band class 2.
  67. * @QMI_NAS_ACTIVE_BAND_BC_3: Band class 3.
  68. * @QMI_NAS_ACTIVE_BAND_BC_4: Band class 4.
  69. * @QMI_NAS_ACTIVE_BAND_BC_5: Band class 5.
  70. * @QMI_NAS_ACTIVE_BAND_BC_6: Band class 6.
  71. * @QMI_NAS_ACTIVE_BAND_BC_7: Band class 7.
  72. * @QMI_NAS_ACTIVE_BAND_BC_8: Band class 8.
  73. * @QMI_NAS_ACTIVE_BAND_BC_9: Band class 9.
  74. * @QMI_NAS_ACTIVE_BAND_BC_10: Band class 10.
  75. * @QMI_NAS_ACTIVE_BAND_BC_11: Band class 11.
  76. * @QMI_NAS_ACTIVE_BAND_BC_12: Band class 12.
  77. * @QMI_NAS_ACTIVE_BAND_BC_13: Band class 13.
  78. * @QMI_NAS_ACTIVE_BAND_BC_14: Band class 14.
  79. * @QMI_NAS_ACTIVE_BAND_BC_15: Band class 15.
  80. * @QMI_NAS_ACTIVE_BAND_BC_16: Band class 16.
  81. * @QMI_NAS_ACTIVE_BAND_BC_17: Band class 17.
  82. * @QMI_NAS_ACTIVE_BAND_BC_18: Band class 18.
  83. * @QMI_NAS_ACTIVE_BAND_BC_19: Band class 19.
  84. * @QMI_NAS_ACTIVE_BAND_GSM_450: GSM 450.
  85. * @QMI_NAS_ACTIVE_BAND_GSM_480: GSM 480.
  86. * @QMI_NAS_ACTIVE_BAND_GSM_750: GSM 750.
  87. * @QMI_NAS_ACTIVE_BAND_GSM_850: GSM 850.
  88. * @QMI_NAS_ACTIVE_BAND_GSM_900_EXTENDED: GSM 900 (Extended).
  89. * @QMI_NAS_ACTIVE_BAND_GSM_900_PRIMARY: GSM 900 (Primary).
  90. * @QMI_NAS_ACTIVE_BAND_GSM_900_RAILWAYS: GSM 900 (Railways).
  91. * @QMI_NAS_ACTIVE_BAND_GSM_DCS_1800: GSM 1800.
  92. * @QMI_NAS_ACTIVE_BAND_GSM_PCS_1900: GSM 1900.
  93. * @QMI_NAS_ACTIVE_BAND_WCDMA_2100: WCDMA 2100.
  94. * @QMI_NAS_ACTIVE_BAND_WCDMA_PCS_1900: WCDMA PCS 1900.
  95. * @QMI_NAS_ACTIVE_BAND_WCDMA_DCS_1800: WCDMA DCS 1800.
  96. * @QMI_NAS_ACTIVE_BAND_WCDMA_1700_US: WCDMA 1700 (U.S.).
  97. * @QMI_NAS_ACTIVE_BAND_WCDMA_850: WCDMA 850.
  98. * @QMI_NAS_ACTIVE_BAND_WCDMA_800: WCDMA 800.
  99. * @QMI_NAS_ACTIVE_BAND_WCDMA_2600: WCDMA 2600.
  100. * @QMI_NAS_ACTIVE_BAND_WCDMA_900: WCDMA 900.
  101. * @QMI_NAS_ACTIVE_BAND_WCDMA_1700_JAPAN: WCDMA 1700 (Japan).
  102. * @QMI_NAS_ACTIVE_BAND_WCDMA_1500_JAPAN: WCDMA 1500 (Japan).
  103. * @QMI_NAS_ACTIVE_BAND_WCDMA_850_JAPAN: WCDMA 850 (Japan).
  104. * @QMI_NAS_ACTIVE_BAND_EUTRAN_1: EUTRAN band 1.
  105. * @QMI_NAS_ACTIVE_BAND_EUTRAN_2: EUTRAN band 2.
  106. * @QMI_NAS_ACTIVE_BAND_EUTRAN_3: EUTRAN band 3.
  107. * @QMI_NAS_ACTIVE_BAND_EUTRAN_4: EUTRAN band 4.
  108. * @QMI_NAS_ACTIVE_BAND_EUTRAN_5: EUTRAN band 5.
  109. * @QMI_NAS_ACTIVE_BAND_EUTRAN_6: EUTRAN band 6.
  110. * @QMI_NAS_ACTIVE_BAND_EUTRAN_7: EUTRAN band 7.
  111. * @QMI_NAS_ACTIVE_BAND_EUTRAN_8: EUTRAN band 8.
  112. * @QMI_NAS_ACTIVE_BAND_EUTRAN_9: EUTRAN band 9.
  113. * @QMI_NAS_ACTIVE_BAND_EUTRAN_10: EUTRAN band 10.
  114. * @QMI_NAS_ACTIVE_BAND_EUTRAN_11: EUTRAN band 11.
  115. * @QMI_NAS_ACTIVE_BAND_EUTRAN_12: EUTRAN band 12.
  116. * @QMI_NAS_ACTIVE_BAND_EUTRAN_13: EUTRAN band 13.
  117. * @QMI_NAS_ACTIVE_BAND_EUTRAN_14: EUTRAN band 14.
  118. * @QMI_NAS_ACTIVE_BAND_EUTRAN_17: EUTRAN band 17.
  119. * @QMI_NAS_ACTIVE_BAND_EUTRAN_18: EUTRAN band 18.
  120. * @QMI_NAS_ACTIVE_BAND_EUTRAN_19: EUTRAN band 19.
  121. * @QMI_NAS_ACTIVE_BAND_EUTRAN_20: EUTRAN band 20.
  122. * @QMI_NAS_ACTIVE_BAND_EUTRAN_21: EUTRAN band 21.
  123. * @QMI_NAS_ACTIVE_BAND_EUTRAN_23: EUTRAN band 23.
  124. * @QMI_NAS_ACTIVE_BAND_EUTRAN_24: EUTRAN band 24.
  125. * @QMI_NAS_ACTIVE_BAND_EUTRAN_25: EUTRAN band 25.
  126. * @QMI_NAS_ACTIVE_BAND_EUTRAN_26: EUTRAN band 26.
  127. * @QMI_NAS_ACTIVE_BAND_EUTRAN_27: EUTRAN band 27.
  128. * @QMI_NAS_ACTIVE_BAND_EUTRAN_28: EUTRAN band 28.
  129. * @QMI_NAS_ACTIVE_BAND_EUTRAN_29: EUTRAN band 29.
  130. * @QMI_NAS_ACTIVE_BAND_EUTRAN_30: EUTRAN band 30.
  131. * @QMI_NAS_ACTIVE_BAND_EUTRAN_31: EUTRAN band 31.
  132. * @QMI_NAS_ACTIVE_BAND_EUTRAN_32: EUTRAN band 32.
  133. * @QMI_NAS_ACTIVE_BAND_EUTRAN_33: EUTRAN band 33.
  134. * @QMI_NAS_ACTIVE_BAND_EUTRAN_34: EUTRAN band 34.
  135. * @QMI_NAS_ACTIVE_BAND_EUTRAN_35: EUTRAN band 35.
  136. * @QMI_NAS_ACTIVE_BAND_EUTRAN_36: EUTRAN band 36.
  137. * @QMI_NAS_ACTIVE_BAND_EUTRAN_37: EUTRAN band 37.
  138. * @QMI_NAS_ACTIVE_BAND_EUTRAN_38: EUTRAN band 38.
  139. * @QMI_NAS_ACTIVE_BAND_EUTRAN_39: EUTRAN band 39.
  140. * @QMI_NAS_ACTIVE_BAND_EUTRAN_40: EUTRAN band 40.
  141. * @QMI_NAS_ACTIVE_BAND_EUTRAN_41: EUTRAN band 41.
  142. * @QMI_NAS_ACTIVE_BAND_EUTRAN_42: EUTRAN band 42.
  143. * @QMI_NAS_ACTIVE_BAND_EUTRAN_43: EUTRAN band 43.
  144. * @QMI_NAS_ACTIVE_BAND_EUTRAN_46: EUTRAN band 46.
  145. * @QMI_NAS_ACTIVE_BAND_EUTRAN_47: EUTRAN band 47.
  146. * @QMI_NAS_ACTIVE_BAND_EUTRAN_48: EUTRAN band 48.
  147. * @QMI_NAS_ACTIVE_BAND_EUTRAN_66: EUTRAN band 66.
  148. * @QMI_NAS_ACTIVE_BAND_EUTRAN_71: EUTRAN band 71.
  149. * @QMI_NAS_ACTIVE_BAND_EUTRAN_125: EUTRAN band 125.
  150. * @QMI_NAS_ACTIVE_BAND_EUTRAN_126: EUTRAN band 126.
  151. * @QMI_NAS_ACTIVE_BAND_EUTRAN_127: EUTRAN band 127.
  152. * @QMI_NAS_ACTIVE_BAND_EUTRAN_250: EUTRAN band 250.
  153. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_A: TD-SCDMA Band A.
  154. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_B: TD-SCDMA Band B.
  155. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_C: TD-SCDMA Band C.
  156. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_D: TD-SCDMA Band D.
  157. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_E: TD-SCDMA Band E.
  158. * @QMI_NAS_ACTIVE_BAND_TDSCDMA_F: TD-SCDMA Band F.
  159. *
  160. * Band classes.
  161. *
  162. * Since: 1.0
  163. */
  164. typedef enum { /*< since=1.0 >*/
  165. QMI_NAS_ACTIVE_BAND_BC_0 = 0,
  166. QMI_NAS_ACTIVE_BAND_BC_1 = 1,
  167. QMI_NAS_ACTIVE_BAND_BC_2 = 2,
  168. QMI_NAS_ACTIVE_BAND_BC_3 = 3,
  169. QMI_NAS_ACTIVE_BAND_BC_4 = 4,
  170. QMI_NAS_ACTIVE_BAND_BC_5 = 5,
  171. QMI_NAS_ACTIVE_BAND_BC_6 = 6,
  172. QMI_NAS_ACTIVE_BAND_BC_7 = 7,
  173. QMI_NAS_ACTIVE_BAND_BC_8 = 8,
  174. QMI_NAS_ACTIVE_BAND_BC_9 = 9,
  175. QMI_NAS_ACTIVE_BAND_BC_10 = 10,
  176. QMI_NAS_ACTIVE_BAND_BC_11 = 11,
  177. QMI_NAS_ACTIVE_BAND_BC_12 = 12,
  178. QMI_NAS_ACTIVE_BAND_BC_13 = 13,
  179. QMI_NAS_ACTIVE_BAND_BC_14 = 14,
  180. QMI_NAS_ACTIVE_BAND_BC_15 = 15,
  181. QMI_NAS_ACTIVE_BAND_BC_16 = 16,
  182. QMI_NAS_ACTIVE_BAND_BC_17 = 17,
  183. QMI_NAS_ACTIVE_BAND_BC_18 = 18,
  184. QMI_NAS_ACTIVE_BAND_BC_19 = 19,
  185. QMI_NAS_ACTIVE_BAND_GSM_450 = 40,
  186. QMI_NAS_ACTIVE_BAND_GSM_480 = 41,
  187. QMI_NAS_ACTIVE_BAND_GSM_750 = 42,
  188. QMI_NAS_ACTIVE_BAND_GSM_850 = 43,
  189. QMI_NAS_ACTIVE_BAND_GSM_900_EXTENDED = 44,
  190. QMI_NAS_ACTIVE_BAND_GSM_900_PRIMARY = 45,
  191. QMI_NAS_ACTIVE_BAND_GSM_900_RAILWAYS = 46,
  192. QMI_NAS_ACTIVE_BAND_GSM_DCS_1800 = 47,
  193. QMI_NAS_ACTIVE_BAND_GSM_PCS_1900 = 48,
  194. QMI_NAS_ACTIVE_BAND_WCDMA_2100 = 80,
  195. QMI_NAS_ACTIVE_BAND_WCDMA_PCS_1900 = 81,
  196. QMI_NAS_ACTIVE_BAND_WCDMA_DCS_1800 = 82,
  197. QMI_NAS_ACTIVE_BAND_WCDMA_1700_US = 83,
  198. QMI_NAS_ACTIVE_BAND_WCDMA_850 = 84,
  199. QMI_NAS_ACTIVE_BAND_WCDMA_800 = 85,
  200. QMI_NAS_ACTIVE_BAND_WCDMA_2600 = 86,
  201. QMI_NAS_ACTIVE_BAND_WCDMA_900 = 87,
  202. QMI_NAS_ACTIVE_BAND_WCDMA_1700_JAPAN = 88,
  203. QMI_NAS_ACTIVE_BAND_WCDMA_1500_JAPAN = 90,
  204. QMI_NAS_ACTIVE_BAND_WCDMA_850_JAPAN = 91,
  205. QMI_NAS_ACTIVE_BAND_EUTRAN_1 = 120,
  206. QMI_NAS_ACTIVE_BAND_EUTRAN_2 = 121,
  207. QMI_NAS_ACTIVE_BAND_EUTRAN_3 = 122,
  208. QMI_NAS_ACTIVE_BAND_EUTRAN_4 = 123,
  209. QMI_NAS_ACTIVE_BAND_EUTRAN_5 = 124,
  210. QMI_NAS_ACTIVE_BAND_EUTRAN_6 = 125,
  211. QMI_NAS_ACTIVE_BAND_EUTRAN_7 = 126,
  212. QMI_NAS_ACTIVE_BAND_EUTRAN_8 = 127,
  213. QMI_NAS_ACTIVE_BAND_EUTRAN_9 = 128,
  214. QMI_NAS_ACTIVE_BAND_EUTRAN_10 = 129,
  215. QMI_NAS_ACTIVE_BAND_EUTRAN_11 = 130,
  216. QMI_NAS_ACTIVE_BAND_EUTRAN_12 = 131,
  217. QMI_NAS_ACTIVE_BAND_EUTRAN_13 = 132,
  218. QMI_NAS_ACTIVE_BAND_EUTRAN_14 = 133,
  219. QMI_NAS_ACTIVE_BAND_EUTRAN_17 = 134,
  220. QMI_NAS_ACTIVE_BAND_EUTRAN_18 = 143,
  221. QMI_NAS_ACTIVE_BAND_EUTRAN_19 = 144,
  222. QMI_NAS_ACTIVE_BAND_EUTRAN_20 = 145,
  223. QMI_NAS_ACTIVE_BAND_EUTRAN_21 = 146,
  224. QMI_NAS_ACTIVE_BAND_EUTRAN_23 = 152,
  225. QMI_NAS_ACTIVE_BAND_EUTRAN_24 = 147,
  226. QMI_NAS_ACTIVE_BAND_EUTRAN_25 = 148,
  227. QMI_NAS_ACTIVE_BAND_EUTRAN_26 = 153,
  228. QMI_NAS_ACTIVE_BAND_EUTRAN_27 = 164,
  229. QMI_NAS_ACTIVE_BAND_EUTRAN_28 = 158,
  230. QMI_NAS_ACTIVE_BAND_EUTRAN_29 = 159,
  231. QMI_NAS_ACTIVE_BAND_EUTRAN_30 = 160,
  232. QMI_NAS_ACTIVE_BAND_EUTRAN_31 = 165,
  233. QMI_NAS_ACTIVE_BAND_EUTRAN_32 = 154,
  234. QMI_NAS_ACTIVE_BAND_EUTRAN_33 = 135,
  235. QMI_NAS_ACTIVE_BAND_EUTRAN_34 = 136,
  236. QMI_NAS_ACTIVE_BAND_EUTRAN_35 = 137,
  237. QMI_NAS_ACTIVE_BAND_EUTRAN_36 = 138,
  238. QMI_NAS_ACTIVE_BAND_EUTRAN_37 = 139,
  239. QMI_NAS_ACTIVE_BAND_EUTRAN_38 = 140,
  240. QMI_NAS_ACTIVE_BAND_EUTRAN_39 = 141,
  241. QMI_NAS_ACTIVE_BAND_EUTRAN_40 = 142,
  242. QMI_NAS_ACTIVE_BAND_EUTRAN_41 = 149,
  243. QMI_NAS_ACTIVE_BAND_EUTRAN_42 = 150,
  244. QMI_NAS_ACTIVE_BAND_EUTRAN_43 = 151,
  245. QMI_NAS_ACTIVE_BAND_EUTRAN_46 = 163,
  246. QMI_NAS_ACTIVE_BAND_EUTRAN_47 = 166,
  247. QMI_NAS_ACTIVE_BAND_EUTRAN_48 = 167,
  248. QMI_NAS_ACTIVE_BAND_EUTRAN_66 = 161,
  249. QMI_NAS_ACTIVE_BAND_EUTRAN_71 = 168,
  250. QMI_NAS_ACTIVE_BAND_EUTRAN_125 = 155,
  251. QMI_NAS_ACTIVE_BAND_EUTRAN_126 = 156,
  252. QMI_NAS_ACTIVE_BAND_EUTRAN_127 = 157,
  253. QMI_NAS_ACTIVE_BAND_EUTRAN_250 = 162,
  254. QMI_NAS_ACTIVE_BAND_TDSCDMA_A = 200,
  255. QMI_NAS_ACTIVE_BAND_TDSCDMA_B = 201,
  256. QMI_NAS_ACTIVE_BAND_TDSCDMA_C = 202,
  257. QMI_NAS_ACTIVE_BAND_TDSCDMA_D = 203,
  258. QMI_NAS_ACTIVE_BAND_TDSCDMA_E = 204,
  259. QMI_NAS_ACTIVE_BAND_TDSCDMA_F = 205
  260. } QmiNasActiveBand;
  261. /**
  262. * QmiNasNetworkServiceDomain:
  263. * @QMI_NAS_NETWORK_SERVICE_DOMAIN_NONE: No service.
  264. * @QMI_NAS_NETWORK_SERVICE_DOMAIN_CS: Circuit switched.
  265. * @QMI_NAS_NETWORK_SERVICE_DOMAIN_PS: Packet switched.
  266. * @QMI_NAS_NETWORK_SERVICE_DOMAIN_CS_PS: Circuit and packet switched.
  267. * @QMI_NAS_NETWORK_SERVICE_DOMAIN_UNKNOWN: Unknown service.
  268. *
  269. * Network Service Domain.
  270. *
  271. * Since: 1.0
  272. */
  273. typedef enum { /*< since=1.0 >*/
  274. QMI_NAS_NETWORK_SERVICE_DOMAIN_NONE = 0x00,
  275. QMI_NAS_NETWORK_SERVICE_DOMAIN_CS = 0x01,
  276. QMI_NAS_NETWORK_SERVICE_DOMAIN_PS = 0x02,
  277. QMI_NAS_NETWORK_SERVICE_DOMAIN_CS_PS = 0x03,
  278. QMI_NAS_NETWORK_SERVICE_DOMAIN_UNKNOWN = 0x04,
  279. } QmiNasNetworkServiceDomain;
  280. /**
  281. * QmiNasEvdoSinrLevel:
  282. * @QMI_NAS_EVDO_SINR_LEVEL_0: -9 dB.
  283. * @QMI_NAS_EVDO_SINR_LEVEL_1: -6 dB.
  284. * @QMI_NAS_EVDO_SINR_LEVEL_2: -4.5 dB.
  285. * @QMI_NAS_EVDO_SINR_LEVEL_3: -3 dB.
  286. * @QMI_NAS_EVDO_SINR_LEVEL_4: -2 dB.
  287. * @QMI_NAS_EVDO_SINR_LEVEL_5: +1 dB.
  288. * @QMI_NAS_EVDO_SINR_LEVEL_6: +3 dB.
  289. * @QMI_NAS_EVDO_SINR_LEVEL_7: +6 dB.
  290. * @QMI_NAS_EVDO_SINR_LEVEL_8: +9 dB.
  291. *
  292. * EV-DO SINR level.
  293. *
  294. * Since: 1.0
  295. */
  296. typedef enum { /*< since=1.0 >*/
  297. QMI_NAS_EVDO_SINR_LEVEL_0 = 0,
  298. QMI_NAS_EVDO_SINR_LEVEL_1 = 1,
  299. QMI_NAS_EVDO_SINR_LEVEL_2 = 2,
  300. QMI_NAS_EVDO_SINR_LEVEL_3 = 3,
  301. QMI_NAS_EVDO_SINR_LEVEL_4 = 4,
  302. QMI_NAS_EVDO_SINR_LEVEL_5 = 5,
  303. QMI_NAS_EVDO_SINR_LEVEL_6 = 6,
  304. QMI_NAS_EVDO_SINR_LEVEL_7 = 7,
  305. QMI_NAS_EVDO_SINR_LEVEL_8 = 8
  306. } QmiNasEvdoSinrLevel;
  307. /*****************************************************************************/
  308. /* Helper enums for the 'QMI NAS Get Signal Strength' request/response */
  309. /**
  310. * QmiNasSignalStrengthRequest:
  311. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_NONE: None.
  312. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_RSSI: Request RSSI information.
  313. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_ECIO: Request ECIO information.
  314. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_IO: Request IO information.
  315. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_SINR: Request SINR information.
  316. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_ERROR_RATE: Request error rate information.
  317. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_RSRQ: Request RSRQ information.
  318. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_LTE_SNR: Request LTE SNR information.
  319. * @QMI_NAS_SIGNAL_STRENGTH_REQUEST_LTE_RSRP: Request LTE RSRP information.
  320. *
  321. * Extra information to request when gathering Signal Strength.
  322. *
  323. * Since: 1.0
  324. */
  325. typedef enum { /*< since=1.0 >*/
  326. QMI_NAS_SIGNAL_STRENGTH_REQUEST_NONE = 0,
  327. QMI_NAS_SIGNAL_STRENGTH_REQUEST_RSSI = 1 << 0,
  328. QMI_NAS_SIGNAL_STRENGTH_REQUEST_ECIO = 1 << 1,
  329. QMI_NAS_SIGNAL_STRENGTH_REQUEST_IO = 1 << 2,
  330. QMI_NAS_SIGNAL_STRENGTH_REQUEST_SINR = 1 << 3,
  331. QMI_NAS_SIGNAL_STRENGTH_REQUEST_ERROR_RATE = 1 << 4,
  332. QMI_NAS_SIGNAL_STRENGTH_REQUEST_RSRQ = 1 << 5,
  333. QMI_NAS_SIGNAL_STRENGTH_REQUEST_LTE_SNR = 1 << 6,
  334. QMI_NAS_SIGNAL_STRENGTH_REQUEST_LTE_RSRP = 1 << 7
  335. } QmiNasSignalStrengthRequest;
  336. /*****************************************************************************/
  337. /* Helper enums for the 'QMI NAS Network Scan' request/response */
  338. /**
  339. * QmiNasNetworkScanType:
  340. * @QMI_NAS_NETWORK_SCAN_TYPE_GSM: GSM network.
  341. * @QMI_NAS_NETWORK_SCAN_TYPE_UMTS: UMTS network.
  342. * @QMI_NAS_NETWORK_SCAN_TYPE_LTE: LTE network.
  343. * @QMI_NAS_NETWORK_SCAN_TYPE_TD_SCDMA: TD-SCDMA network.
  344. *
  345. * Flags to use when specifying which networks to scan.
  346. *
  347. * Since: 1.0
  348. */
  349. typedef enum { /*< since=1.0 >*/
  350. QMI_NAS_NETWORK_SCAN_TYPE_GSM = 1 << 0,
  351. QMI_NAS_NETWORK_SCAN_TYPE_UMTS = 1 << 1,
  352. QMI_NAS_NETWORK_SCAN_TYPE_LTE = 1 << 2,
  353. QMI_NAS_NETWORK_SCAN_TYPE_TD_SCDMA = 1 << 3
  354. } QmiNasNetworkScanType;
  355. /**
  356. * QmiNasNetworkScanResult:
  357. * @QMI_NAS_NETWORK_SCAN_RESULT_SUCCESS: Success.
  358. * @QMI_NAS_NETWORK_SCAN_RESULT_ABORT: Abort.
  359. * @QMI_NAS_NETWORK_SCAN_RESULT_RADIO_LINK_FAILURE: Radio link failure.
  360. *
  361. * Network scan result.
  362. *
  363. * Since: 1.24
  364. */
  365. typedef enum { /*< since=1.24 >*/
  366. QMI_NAS_NETWORK_SCAN_RESULT_SUCCESS = 0,
  367. QMI_NAS_NETWORK_SCAN_RESULT_ABORT = 1,
  368. QMI_NAS_NETWORK_SCAN_RESULT_RADIO_LINK_FAILURE = 2,
  369. } QmiNasNetworkScanResult;
  370. /**
  371. * QmiNasNetworkStatus:
  372. * @QMI_NAS_NETWORK_STATUS_CURRENT_SERVING: Network is in use, current serving.
  373. * @QMI_NAS_NETWORK_STATUS_AVAILABLE: Network is vailable.
  374. * @QMI_NAS_NETWORK_STATUS_HOME: Network is home network.
  375. * @QMI_NAS_NETWORK_STATUS_ROAMING: Network is a roaming network.
  376. * @QMI_NAS_NETWORK_STATUS_FORBIDDEN: Network is forbidden.
  377. * @QMI_NAS_NETWORK_STATUS_NOT_FORBIDDEN: Network is not forbidden.
  378. * @QMI_NAS_NETWORK_STATUS_PREFERRED: Network is preferred.
  379. * @QMI_NAS_NETWORK_STATUS_NOT_PREFERRED: Network is not preferred.
  380. *
  381. * Flags to specify the status of a given network.
  382. *
  383. * Since: 1.0
  384. */
  385. typedef enum { /*< since=1.0 >*/
  386. QMI_NAS_NETWORK_STATUS_CURRENT_SERVING = 1 << 0,
  387. QMI_NAS_NETWORK_STATUS_AVAILABLE = 1 << 1,
  388. QMI_NAS_NETWORK_STATUS_HOME = 1 << 2,
  389. QMI_NAS_NETWORK_STATUS_ROAMING = 1 << 3,
  390. QMI_NAS_NETWORK_STATUS_FORBIDDEN = 1 << 4,
  391. QMI_NAS_NETWORK_STATUS_NOT_FORBIDDEN = 1 << 5,
  392. QMI_NAS_NETWORK_STATUS_PREFERRED = 1 << 6,
  393. QMI_NAS_NETWORK_STATUS_NOT_PREFERRED = 1 << 7
  394. } QmiNasNetworkStatus;
  395. /*****************************************************************************/
  396. /* Helper enums for the 'QMI NAS Initiate Network Register' request/response */
  397. /**
  398. * QmiNasNetworkRegisterType:
  399. * @QMI_NAS_NETWORK_REGISTER_TYPE_AUTOMATIC: Automatic network registration.
  400. * @QMI_NAS_NETWORK_REGISTER_TYPE_MANUAL: Manual network registration.
  401. *
  402. * Type of network registration.
  403. *
  404. * Since: 1.0
  405. */
  406. typedef enum { /*< since=1.0 >*/
  407. QMI_NAS_NETWORK_REGISTER_TYPE_AUTOMATIC = 0x01,
  408. QMI_NAS_NETWORK_REGISTER_TYPE_MANUAL = 0x02
  409. } QmiNasNetworkRegisterType;
  410. /*****************************************************************************/
  411. /* Helper enums for the 'QMI NAS Attach Detach' request/response */
  412. /**
  413. * QmiNasPsAttachAction:
  414. * @QMI_NAS_PS_ATTACH_ACTION_ATTACH: Attach the PS domain.
  415. * @QMI_NAS_PS_ATTACH_ACTION_DETACH: Detach the PS domain.
  416. *
  417. * Packet Switched domain attach/detach action.
  418. *
  419. * Since: 1.20
  420. */
  421. typedef enum { /*< since=1.20 >*/
  422. QMI_NAS_PS_ATTACH_ACTION_ATTACH = 0x01,
  423. QMI_NAS_PS_ATTACH_ACTION_DETACH = 0x02
  424. } QmiNasPsAttachAction;
  425. /*****************************************************************************/
  426. /* Helper enums for the 'QMI NAS Get Serving System' request/response */
  427. /**
  428. * QmiNasRegistrationState:
  429. * @QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED: Not registered.
  430. * @QMI_NAS_REGISTRATION_STATE_REGISTERED: Registered.
  431. * @QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED_SEARCHING: Searching.
  432. * @QMI_NAS_REGISTRATION_STATE_REGISTRATION_DENIED: Registration denied.
  433. * @QMI_NAS_REGISTRATION_STATE_UNKNOWN: Unknown.
  434. *
  435. * Status of the network registration.
  436. *
  437. * Since: 1.0
  438. */
  439. typedef enum { /*< since=1.0 >*/
  440. QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED = 0x00,
  441. QMI_NAS_REGISTRATION_STATE_REGISTERED = 0x01,
  442. QMI_NAS_REGISTRATION_STATE_NOT_REGISTERED_SEARCHING = 0x02,
  443. QMI_NAS_REGISTRATION_STATE_REGISTRATION_DENIED = 0x03,
  444. QMI_NAS_REGISTRATION_STATE_UNKNOWN = 0x04
  445. } QmiNasRegistrationState;
  446. /**
  447. * QmiNasAttachState:
  448. * @QMI_NAS_ATTACH_STATE_UNKNOWN: Unknown attach state.
  449. * @QMI_NAS_ATTACH_STATE_ATTACHED: Attached.
  450. * @QMI_NAS_ATTACH_STATE_DETACHED: Detached.
  451. *
  452. * Domain attach state.
  453. *
  454. * Since: 1.0
  455. */
  456. typedef enum { /*< since=1.0 >*/
  457. QMI_NAS_ATTACH_STATE_UNKNOWN = 0x00,
  458. QMI_NAS_ATTACH_STATE_ATTACHED = 0x01,
  459. QMI_NAS_ATTACH_STATE_DETACHED = 0x02,
  460. } QmiNasAttachState;
  461. /**
  462. * QmiNasNetworkType:
  463. * @QMI_NAS_NETWORK_TYPE_UNKNOWN: Unknown.
  464. * @QMI_NAS_NETWORK_TYPE_3GPP2: 3GPP2 network.
  465. * @QMI_NAS_NETWORK_TYPE_3GPP: 3GPP network.
  466. *
  467. * Type of network.
  468. *
  469. * Since: 1.0
  470. */
  471. typedef enum { /*< since=1.0 >*/
  472. QMI_NAS_NETWORK_TYPE_UNKNOWN = 0x00,
  473. QMI_NAS_NETWORK_TYPE_3GPP2 = 0x01,
  474. QMI_NAS_NETWORK_TYPE_3GPP = 0x02,
  475. } QmiNasNetworkType;
  476. /**
  477. * QmiNasRoamingIndicatorStatus:
  478. * @QMI_NAS_ROAMING_INDICATOR_STATUS_ON: Roaming.
  479. * @QMI_NAS_ROAMING_INDICATOR_STATUS_OFF: Home.
  480. *
  481. * Status of the roaming indication.
  482. *
  483. * Since: 1.0
  484. */
  485. typedef enum { /*< since=1.0 >*/
  486. QMI_NAS_ROAMING_INDICATOR_STATUS_ON = 0x00,
  487. QMI_NAS_ROAMING_INDICATOR_STATUS_OFF = 0x01,
  488. /* next values only for 3GPP2 */
  489. } QmiNasRoamingIndicatorStatus;
  490. /**
  491. * QmiNasDataCapability:
  492. * @QMI_NAS_DATA_CAPABILITY_NONE: None or unknown.
  493. * @QMI_NAS_DATA_CAPABILITY_GPRS: GPRS.
  494. * @QMI_NAS_DATA_CAPABILITY_EDGE: EDGE.
  495. * @QMI_NAS_DATA_CAPABILITY_HSDPA: HSDPA.
  496. * @QMI_NAS_DATA_CAPABILITY_HSUPA: HSUPA.
  497. * @QMI_NAS_DATA_CAPABILITY_WCDMA: WCDMA.
  498. * @QMI_NAS_DATA_CAPABILITY_CDMA: CDMA.
  499. * @QMI_NAS_DATA_CAPABILITY_EVDO_REV_0: EV-DO revision 0.
  500. * @QMI_NAS_DATA_CAPABILITY_EVDO_REV_A: EV-DO revision A.
  501. * @QMI_NAS_DATA_CAPABILITY_GSM: GSM.
  502. * @QMI_NAS_DATA_CAPABILITY_EVDO_REV_B: EV-DO revision B.
  503. * @QMI_NAS_DATA_CAPABILITY_LTE: LTE.
  504. * @QMI_NAS_DATA_CAPABILITY_HSDPA_PLUS: HSDPA+.
  505. * @QMI_NAS_DATA_CAPABILITY_DC_HSDPA_PLUS: DC-HSDPA+.
  506. *
  507. * Data capability of the network.
  508. *
  509. * Since: 1.0
  510. */
  511. typedef enum { /*< since=1.0 >*/
  512. QMI_NAS_DATA_CAPABILITY_NONE = 0x00,
  513. QMI_NAS_DATA_CAPABILITY_GPRS = 0x01,
  514. QMI_NAS_DATA_CAPABILITY_EDGE = 0x02,
  515. QMI_NAS_DATA_CAPABILITY_HSDPA = 0x03,
  516. QMI_NAS_DATA_CAPABILITY_HSUPA = 0x04,
  517. QMI_NAS_DATA_CAPABILITY_WCDMA = 0x05,
  518. QMI_NAS_DATA_CAPABILITY_CDMA = 0x06,
  519. QMI_NAS_DATA_CAPABILITY_EVDO_REV_0 = 0x07,
  520. QMI_NAS_DATA_CAPABILITY_EVDO_REV_A = 0x08,
  521. QMI_NAS_DATA_CAPABILITY_GSM = 0x09,
  522. QMI_NAS_DATA_CAPABILITY_EVDO_REV_B = 0x0A,
  523. QMI_NAS_DATA_CAPABILITY_LTE = 0x0B,
  524. QMI_NAS_DATA_CAPABILITY_HSDPA_PLUS = 0x0C,
  525. QMI_NAS_DATA_CAPABILITY_DC_HSDPA_PLUS = 0x0D
  526. } QmiNasDataCapability;
  527. /**
  528. * QmiNasServiceStatus:
  529. * @QMI_NAS_SERVICE_STATUS_NONE: No service.
  530. * @QMI_NAS_SERVICE_STATUS_LIMITED: Limited service.
  531. * @QMI_NAS_SERVICE_STATUS_AVAILABLE: Service available.
  532. * @QMI_NAS_SERVICE_STATUS_LIMITED_REGIONAL: Limited regional service.
  533. * @QMI_NAS_SERVICE_STATUS_POWER_SAVE: Device in power save mode.
  534. *
  535. * Status of the service.
  536. *
  537. * Since: 1.0
  538. */
  539. typedef enum { /*< since=1.0 >*/
  540. QMI_NAS_SERVICE_STATUS_NONE = 0x00,
  541. QMI_NAS_SERVICE_STATUS_LIMITED = 0x01,
  542. QMI_NAS_SERVICE_STATUS_AVAILABLE = 0x02,
  543. QMI_NAS_SERVICE_STATUS_LIMITED_REGIONAL = 0x03,
  544. QMI_NAS_SERVICE_STATUS_POWER_SAVE = 0x04
  545. } QmiNasServiceStatus;
  546. /**
  547. * QmiNasHdrPersonality:
  548. * @QMI_NAS_HDR_PERSONALITY_UNKNOWN: Unknown.
  549. * @QMI_NAS_HDR_PERSONALITY_HRPD: HRPD.
  550. * @QMI_NAS_HDR_PERSONALITY_EHRPD: eHRPD.
  551. *
  552. * HDR personality type.
  553. *
  554. * Since: 1.0
  555. */
  556. typedef enum { /*< since=1.0 >*/
  557. QMI_NAS_HDR_PERSONALITY_UNKNOWN = 0x00,
  558. QMI_NAS_HDR_PERSONALITY_HRPD = 0x01,
  559. QMI_NAS_HDR_PERSONALITY_EHRPD = 0x02,
  560. } QmiNasHdrPersonality;
  561. /**
  562. * QmiNasCallBarringStatus:
  563. * @QMI_NAS_CALL_BARRING_STATUS_NORMAL_ONLY: Normal calls only.
  564. * @QMI_NAS_CALL_BARRING_STATUS_EMERGENCY_ONLY: Emergency calls only.
  565. * @QMI_NAS_CALL_BARRING_STATUS_NO_CALLS: No calls allowed.
  566. * @QMI_NAS_CALL_BARRING_STATUS_ALL_CALLS: All calls allowed.
  567. * @QMI_NAS_CALL_BARRING_STATUS_UNKNOWN: Unknown.
  568. *
  569. * Status of the call barring functionality.
  570. *
  571. * Since: 1.0
  572. */
  573. typedef enum { /*< since=1.0 >*/
  574. QMI_NAS_CALL_BARRING_STATUS_NORMAL_ONLY = 0x00,
  575. QMI_NAS_CALL_BARRING_STATUS_EMERGENCY_ONLY = 0x01,
  576. QMI_NAS_CALL_BARRING_STATUS_NO_CALLS = 0x02,
  577. QMI_NAS_CALL_BARRING_STATUS_ALL_CALLS = 0x03,
  578. QMI_NAS_CALL_BARRING_STATUS_UNKNOWN = -1
  579. } QmiNasCallBarringStatus;
  580. /*****************************************************************************/
  581. /* Helper enums for the 'QMI NAS Get Home Network' request/response */
  582. /**
  583. * QmiNasNetworkDescriptionDisplay:
  584. * @QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_NO: Don't display.
  585. * @QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_YES: Display.
  586. * @QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_UNKNOWN: Unknown.
  587. *
  588. * Setup to define whether the network description should be displayed.
  589. *
  590. * Since: 1.0
  591. */
  592. typedef enum { /*< since=1.0 >*/
  593. QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_NO = 0x00,
  594. QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_YES = 0x01,
  595. QMI_NAS_NETWORK_DESCRIPTION_DISPLAY_UNKNOWN = 0xFF
  596. } QmiNasNetworkDescriptionDisplay;
  597. /**
  598. * QmiNasNetworkDescriptionEncoding:
  599. * @QMI_NAS_NETWORK_DESCRIPTION_ENCODING_UNSPECIFIED: Unspecified.
  600. * @QMI_NAS_NETWORK_DESCRIPTION_ENCODING_ASCII7: ASCII-7.
  601. * @QMI_NAS_NETWORK_DESCRIPTION_ENCODING_UNICODE: Unicode.
  602. * @QMI_NAS_NETWORK_DESCRIPTION_ENCODING_GSM: GSM 7-bit.
  603. *
  604. * Type of encoding used in the network description.
  605. *
  606. * Since: 1.0
  607. */
  608. typedef enum { /*< since=1.0 >*/
  609. QMI_NAS_NETWORK_DESCRIPTION_ENCODING_UNSPECIFIED = 0x00,
  610. QMI_NAS_NETWORK_DESCRIPTION_ENCODING_ASCII7 = 0x01,
  611. QMI_NAS_NETWORK_DESCRIPTION_ENCODING_UNICODE = 0x04,
  612. QMI_NAS_NETWORK_DESCRIPTION_ENCODING_GSM = 0x09
  613. } QmiNasNetworkDescriptionEncoding;
  614. /*****************************************************************************/
  615. /* Helper enums for the 'QMI NAS Get Preferred Networks' request/response */
  616. /**
  617. * QmiNasPlmnAccessTechnologyIdentifier:
  618. * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UNSPECIFIED: Unspecified.
  619. * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM_COMPACT: GSM Compact.
  620. * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM: GSM.
  621. * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_NGRAN: NG-RAN.
  622. * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_EUTRAN: E-UTRAN.
  623. * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UTRAN: UTRAN.
  624. * @QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_ALL: All technologies.
  625. *
  626. * Preferred networks access technology identifier as specified in
  627. * ETSI TS 131 102, chapter 4.2.5.
  628. *
  629. * Since: 1.30
  630. */
  631. typedef enum { /*< since=1.30 >*/
  632. QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UNSPECIFIED = 0x0000,
  633. QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM_COMPACT = 1 << 6,
  634. QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_GSM = 1 << 7,
  635. QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_NGRAN = 1 << 11,
  636. QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_EUTRAN = 1 << 14,
  637. QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_UTRAN = 1 << 15,
  638. QMI_NAS_PLMN_ACCESS_TECHNOLOGY_IDENTIFIER_ALL = 0xFFFF
  639. } QmiNasPlmnAccessTechnologyIdentifier;
  640. /*****************************************************************************/
  641. /* Helper enums for the 'QMI NAS Get Technology Preference' request/response */
  642. /**
  643. * QmiNasRadioTechnologyPreference:
  644. * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_AUTO: Automatic selection.
  645. * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_3GPP2: 3GPP2 technology.
  646. * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_3GPP: 3GPP technology.
  647. * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_AMPS_OR_GSM: AMPS if 3GPP2, GSM if 3GPP.
  648. * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_CDMA_OR_WCDMA: CDMA if 3GPP2, WCDMA if 3GPP.
  649. * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_HDR: CDMA EV-DO.
  650. * @QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_LTE: LTE.
  651. *
  652. * Flags to specify the radio technology preference.
  653. *
  654. * Since: 1.0
  655. */
  656. typedef enum { /*< since=1.0 >*/
  657. QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_AUTO = 0,
  658. QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_3GPP2 = 1 << 0,
  659. QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_3GPP = 1 << 1,
  660. QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_AMPS_OR_GSM = 1 << 2,
  661. QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_CDMA_OR_WCDMA = 1 << 3,
  662. QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_HDR = 1 << 4,
  663. QMI_NAS_RADIO_TECHNOLOGY_PREFERENCE_LTE = 1 << 5
  664. } QmiNasRadioTechnologyPreference;
  665. /**
  666. * QmiNasPreferenceDuration:
  667. * @QMI_NAS_PREFERENCE_DURATION_PERMANENT: Permanent.
  668. * @QMI_NAS_PREFERENCE_DURATION_POWER_CYCLE: Until the next power cycle.
  669. * @QMI_NAS_PREFERENCE_DURATION_ONE_CALL: Until end of call.
  670. * @QMI_NAS_PREFERENCE_DURATION_ONE_CALL_OR_TIME: Until end of call or a specified time.
  671. * @QMI_NAS_PREFERENCE_DURATION_INTERNAL_ONE_CALL_1: Internal reason 1, one call.
  672. * @QMI_NAS_PREFERENCE_DURATION_INTERNAL_ONE_CALL_2: Internal reason 2, one call.
  673. * @QMI_NAS_PREFERENCE_DURATION_INTERNAL_ONE_CALL_3: Internal reason 3, one call.
  674. *
  675. * Duration of the preference setting.
  676. *
  677. * Since: 1.0
  678. */
  679. typedef enum { /*< since=1.0 >*/
  680. QMI_NAS_PREFERENCE_DURATION_PERMANENT = 0x00,
  681. QMI_NAS_PREFERENCE_DURATION_POWER_CYCLE = 0x01,
  682. QMI_NAS_PREFERENCE_DURATION_ONE_CALL = 0x02,
  683. QMI_NAS_PREFERENCE_DURATION_ONE_CALL_OR_TIME = 0x03,
  684. QMI_NAS_PREFERENCE_DURATION_INTERNAL_ONE_CALL_1 = 0x04,
  685. QMI_NAS_PREFERENCE_DURATION_INTERNAL_ONE_CALL_2 = 0x05,
  686. QMI_NAS_PREFERENCE_DURATION_INTERNAL_ONE_CALL_3 = 0x06
  687. } QmiNasPreferenceDuration;
  688. /*****************************************************************************/
  689. /* Helper enums for the 'QMI NAS Get/Set System Selection Preference'
  690. * requests/responses */
  691. /**
  692. * QmiNasRatModePreference:
  693. * @QMI_NAS_RAT_MODE_PREFERENCE_CDMA_1X: CDMA2000 1X.
  694. * @QMI_NAS_RAT_MODE_PREFERENCE_CDMA_1XEVDO: CDMA2000 HRPD (1xEV-DO).
  695. * @QMI_NAS_RAT_MODE_PREFERENCE_GSM: GSM.
  696. * @QMI_NAS_RAT_MODE_PREFERENCE_UMTS: UMTS.
  697. * @QMI_NAS_RAT_MODE_PREFERENCE_LTE: LTE.
  698. * @QMI_NAS_RAT_MODE_PREFERENCE_TD_SCDMA: TD-SCDMA.
  699. * @QMI_NAS_RAT_MODE_PREFERENCE_5GNR: 5GNR. Since 1.26.
  700. *
  701. * Flags specifying radio access technology mode preference.
  702. *
  703. * Since: 1.0
  704. */
  705. typedef enum { /*< since=1.0 >*/
  706. QMI_NAS_RAT_MODE_PREFERENCE_CDMA_1X = 1 << 0,
  707. QMI_NAS_RAT_MODE_PREFERENCE_CDMA_1XEVDO = 1 << 1,
  708. QMI_NAS_RAT_MODE_PREFERENCE_GSM = 1 << 2,
  709. QMI_NAS_RAT_MODE_PREFERENCE_UMTS = 1 << 3,
  710. QMI_NAS_RAT_MODE_PREFERENCE_LTE = 1 << 4,
  711. QMI_NAS_RAT_MODE_PREFERENCE_TD_SCDMA = 1 << 5,
  712. QMI_NAS_RAT_MODE_PREFERENCE_5GNR = 1 << 6,
  713. } QmiNasRatModePreference;
  714. /**
  715. * QmiNasCdmaPrlPreference:
  716. * @QMI_NAS_CDMA_PRL_PREFERENCE_A_SIDE_ONLY: System A only.
  717. * @QMI_NAS_CDMA_PRL_PREFERENCE_B_SIDE_ONLY: System B only.
  718. * @QMI_NAS_CDMA_PRL_PREFERENCE_ANY: Any system.
  719. *
  720. * Flags specifying the preference when using CDMA Band Class 0.
  721. *
  722. * Since: 1.0
  723. */
  724. typedef enum { /*< since=1.0 >*/
  725. QMI_NAS_CDMA_PRL_PREFERENCE_A_SIDE_ONLY = 0x0001,
  726. QMI_NAS_CDMA_PRL_PREFERENCE_B_SIDE_ONLY = 0x0002,
  727. QMI_NAS_CDMA_PRL_PREFERENCE_ANY = 0x3FFF
  728. } QmiNasCdmaPrlPreference;
  729. /**
  730. * QmiNasRoamingPreference:
  731. * @QMI_NAS_ROAMING_PREFERENCE_OFF: Only non-roaming networks.
  732. * @QMI_NAS_ROAMING_PREFERENCE_NOT_OFF: Only roaming networks.
  733. * @QMI_NAS_ROAMING_PREFERENCE_NOT_FLASHING: Only non-roaming networks or not flashing.
  734. * @QMI_NAS_ROAMING_PREFERENCE_ANY: Don't filter by roaming when acquiring networks.
  735. *
  736. * Roaming preference.
  737. *
  738. * Since: 1.0
  739. */
  740. typedef enum { /*< since=1.0 >*/
  741. QMI_NAS_ROAMING_PREFERENCE_OFF = 0x01,
  742. QMI_NAS_ROAMING_PREFERENCE_NOT_OFF = 0x02,
  743. QMI_NAS_ROAMING_PREFERENCE_NOT_FLASHING = 0x03,
  744. QMI_NAS_ROAMING_PREFERENCE_ANY = 0xFF
  745. } QmiNasRoamingPreference;
  746. /**
  747. * QmiNasNetworkSelectionPreference:
  748. * @QMI_NAS_NETWORK_SELECTION_PREFERENCE_AUTOMATIC: Automatic.
  749. * @QMI_NAS_NETWORK_SELECTION_PREFERENCE_MANUAL: Manual.
  750. *
  751. * Network selection preference.
  752. *
  753. * Since: 1.0
  754. */
  755. typedef enum { /*< since=1.0 >*/
  756. QMI_NAS_NETWORK_SELECTION_PREFERENCE_AUTOMATIC = 0x00,
  757. QMI_NAS_NETWORK_SELECTION_PREFERENCE_MANUAL = 0x01
  758. } QmiNasNetworkSelectionPreference;
  759. /**
  760. * QmiNasChangeDuration:
  761. * @QMI_NAS_CHANGE_DURATION_PERMANENT: Permanent.
  762. * @QMI_NAS_CHANGE_DURATION_POWER_CYCLE: Until the next power cycle.
  763. *
  764. * Duration of the change setting.
  765. *
  766. * Since: 1.0
  767. */
  768. typedef enum { /*< since=1.0 >*/
  769. QMI_NAS_CHANGE_DURATION_POWER_CYCLE = 0x00,
  770. QMI_NAS_CHANGE_DURATION_PERMANENT = 0x01
  771. } QmiNasChangeDuration;
  772. /**
  773. * QmiNasServiceDomainPreference:
  774. * @QMI_NAS_SERVICE_DOMAIN_PREFERENCE_CS_ONLY: Circuit-switched only.
  775. * @QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_ONLY: Packet-switched only.
  776. * @QMI_NAS_SERVICE_DOMAIN_PREFERENCE_CS_PS: Circuit-switched and packet-switched.
  777. * @QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_ATTACH: Packet-switched attach.
  778. * @QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_DETACH:Packet-switched dettach.
  779. *
  780. * Service domain preference.
  781. *
  782. * Since: 1.0
  783. */
  784. typedef enum { /*< since=1.0 >*/
  785. QMI_NAS_SERVICE_DOMAIN_PREFERENCE_CS_ONLY = 0x00,
  786. QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_ONLY = 0x01,
  787. QMI_NAS_SERVICE_DOMAIN_PREFERENCE_CS_PS = 0x02,
  788. QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_ATTACH = 0x03,
  789. QMI_NAS_SERVICE_DOMAIN_PREFERENCE_PS_DETACH = 0x04,
  790. } QmiNasServiceDomainPreference;
  791. /**
  792. * QmiNasGsmWcdmaAcquisitionOrderPreference:
  793. * @QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_AUTOMATIC: Automatic.
  794. * @QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_GSM: GSM first, then WCDMA.
  795. * @QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_WCDMA: WCDMA first, then GSM.
  796. *
  797. * GSM/WCDMA acquisition order preference.
  798. *
  799. * Since: 1.0
  800. */
  801. typedef enum { /*< since=1.0 >*/
  802. QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_AUTOMATIC = 0x00,
  803. QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_GSM = 0x01,
  804. QMI_NAS_GSM_WCDMA_ACQUISITION_ORDER_PREFERENCE_WCDMA = 0x02
  805. } QmiNasGsmWcdmaAcquisitionOrderPreference;
  806. /**
  807. * QmiNasTdScdmaBandPreference:
  808. * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_A: Band A.
  809. * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_B: Band B.
  810. * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_C: Band C.
  811. * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_D: Band D.
  812. * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_E: Band E.
  813. * @QMI_NAS_TD_SCDMA_BAND_PREFERENCE_F: Band F.
  814. *
  815. * Flags to specify TD-SCDMA-specific frequency band preferences.
  816. *
  817. * Since: 1.0
  818. */
  819. typedef enum { /*< since=1.0 >*/
  820. QMI_NAS_TD_SCDMA_BAND_PREFERENCE_A = 1 << 0,
  821. QMI_NAS_TD_SCDMA_BAND_PREFERENCE_B = 1 << 1,
  822. QMI_NAS_TD_SCDMA_BAND_PREFERENCE_C = 1 << 2,
  823. QMI_NAS_TD_SCDMA_BAND_PREFERENCE_D = 1 << 3,
  824. QMI_NAS_TD_SCDMA_BAND_PREFERENCE_E = 1 << 4,
  825. QMI_NAS_TD_SCDMA_BAND_PREFERENCE_F = 1 << 5
  826. } QmiNasTdScdmaBandPreference;
  827. /**
  828. * QmiNasVoiceDomainPreference:
  829. * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_ONLY: Circuit-switched voice only
  830. * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_ONLY: Packet-switched voice only.
  831. * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_PREFERRED: Circuit-switched voice is preferred.
  832. * @QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_PREFERRED: Packet-switched voice is preferred.
  833. *
  834. * Voice domain preference.
  835. *
  836. * Since: 1.24
  837. */
  838. typedef enum { /*< since=1.24 >*/
  839. QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_ONLY = 0x00,
  840. QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_ONLY = 0x01,
  841. QMI_NAS_VOICE_DOMAIN_PREFERENCE_CS_PREFERRED = 0x02,
  842. QMI_NAS_VOICE_DOMAIN_PREFERENCE_PS_PREFERRED = 0x03,
  843. } QmiNasVoiceDomainPreference;
  844. /*****************************************************************************/
  845. /* Helper enums for the 'QMI NAS Get System Info' request/response */
  846. /**
  847. * QmiNasNetworkSelectionRegistrationRestriction:
  848. * @QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_UNRESTRICTED: Device follows the normal registration process.
  849. * @QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_CAMPED_ONLY: Device camps on the network according to its provisioning, but does not register.
  850. * @QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_LIMITED: Device selects the network for limited service.
  851. *
  852. * Registration restriction.
  853. *
  854. * Since: 1.24
  855. */
  856. typedef enum { /*< since=1.24 >*/
  857. QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_UNRESTRICTED = 0x00,
  858. QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_CAMPED_ONLY = 0x01,
  859. QMI_NAS_NETWORK_SELECTION_REGISTRATION_RESTRICTION_LIMITED = 0x02,
  860. } QmiNasNetworkSelectionRegistrationRestriction;
  861. /**
  862. * QmiNasLteRegistrationDomain:
  863. * @QMI_NAS_LTE_REGISTRATION_DOMAIN_NOT_APPLICABLE: Not applicable since the UE is not in "Camp Only" mode.
  864. * @QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_ONLY: UE is in "Camp Only" mode and the PLMN can provide CS service only.
  865. * @QMI_NAS_LTE_REGISTRATION_DOMAIN_PS_ONLY: UE is in "Camp Only" mode and the PLMN can provide PS service only.
  866. * @QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_PS: UE is in "Camp Only" mode and the PLMN can provide CS and PS service.
  867. * @QMI_NAS_LTE_REGISTRATION_DOMAIN_LIMITED_SERVICE: UE is in "Camp Only" mode but the PLMN cannot provide any service.
  868. *
  869. * LTE registration domain.
  870. *
  871. * Since: 1.24
  872. */
  873. typedef enum { /*< since=1.24 >*/
  874. QMI_NAS_LTE_REGISTRATION_DOMAIN_NOT_APPLICABLE = 0x00,
  875. QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_ONLY = 0x01,
  876. QMI_NAS_LTE_REGISTRATION_DOMAIN_PS_ONLY = 0x02,
  877. QMI_NAS_LTE_REGISTRATION_DOMAIN_CS_PS = 0x03,
  878. QMI_NAS_LTE_REGISTRATION_DOMAIN_LIMITED_SERVICE = 0x04,
  879. } QmiNasLteRegistrationDomain;
  880. /**
  881. * QmiNasRoamingStatus:
  882. * @QMI_NAS_ROAMING_STATUS_OFF: Off.
  883. * @QMI_NAS_ROAMING_STATUS_ON: On.
  884. * @QMI_NAS_ROAMING_STATUS_BLINK: Blinking.
  885. * @QMI_NAS_ROAMING_STATUS_OUT_OF_NEIGHBORHOOD: Out of neighborhood.
  886. * @QMI_NAS_ROAMING_STATUS_OUT_OF_BUILDING: Out of building.
  887. * @QMI_NAS_ROAMING_STATUS_PREFERRED_SYSTEM: Preferred system.
  888. * @QMI_NAS_ROAMING_STATUS_AVAILABLE_SYSTEM: Available system.
  889. * @QMI_NAS_ROAMING_STATUS_ALLIANCE_PARTNER: Alliance partner.
  890. * @QMI_NAS_ROAMING_STATUS_PREMIUM_PARTNER: Premium partner.
  891. * @QMI_NAS_ROAMING_STATUS_FULL_SERVICE: Full service.
  892. * @QMI_NAS_ROAMING_STATUS_PARTIAL_SERVICE: Partial service.
  893. * @QMI_NAS_ROAMING_STATUS_BANNER_ON: Banner on.
  894. * @QMI_NAS_ROAMING_STATUS_BANNER_OFF: Banner off.
  895. *
  896. * Roaming status.
  897. *
  898. * Since: 1.0
  899. */
  900. typedef enum { /*< since=1.0 >*/
  901. QMI_NAS_ROAMING_STATUS_OFF = 0x00,
  902. QMI_NAS_ROAMING_STATUS_ON = 0x01,
  903. /* Next ones only for 3GPP2 */
  904. QMI_NAS_ROAMING_STATUS_BLINK = 0x02,
  905. QMI_NAS_ROAMING_STATUS_OUT_OF_NEIGHBORHOOD = 0x03,
  906. QMI_NAS_ROAMING_STATUS_OUT_OF_BUILDING = 0x04,
  907. QMI_NAS_ROAMING_STATUS_PREFERRED_SYSTEM = 0x05,
  908. QMI_NAS_ROAMING_STATUS_AVAILABLE_SYSTEM = 0x06,
  909. QMI_NAS_ROAMING_STATUS_ALLIANCE_PARTNER = 0x07,
  910. QMI_NAS_ROAMING_STATUS_PREMIUM_PARTNER = 0x08,
  911. QMI_NAS_ROAMING_STATUS_FULL_SERVICE = 0x09,
  912. QMI_NAS_ROAMING_STATUS_PARTIAL_SERVICE = 0x0A,
  913. QMI_NAS_ROAMING_STATUS_BANNER_ON = 0x0B,
  914. QMI_NAS_ROAMING_STATUS_BANNER_OFF = 0x0C
  915. } QmiNasRoamingStatus;
  916. /**
  917. * QmiNasLteCellAccessStatus:
  918. * @QMI_NAS_CELL_ACCESS_STATUS_NORMAL_ONLY: Access is allowed for normal calls only.
  919. * @QMI_NAS_CELL_ACCESS_STATUS_EMERGENCY_ONLY: Access is allowed for emergency calls only.
  920. * @QMI_NAS_CELL_ACCESS_STATUS_NO_CALLS: Access is not allowed for any call type.
  921. * @QMI_NAS_CELL_ACCESS_STATUS_ALL_CALLS: Access is allowed for all call types.
  922. * @QMI_NAS_CELL_ACCESS_STATUS_UNKNOWN: Unknown.
  923. *
  924. * Cell access status for LTE calls.
  925. *
  926. * Since: 1.24
  927. */
  928. typedef enum { /*< since=1.24 >*/
  929. QMI_NAS_CELL_ACCESS_STATUS_NORMAL_ONLY = 0x00,
  930. QMI_NAS_CELL_ACCESS_STATUS_EMERGENCY_ONLY = 0x01,
  931. QMI_NAS_CELL_ACCESS_STATUS_NO_CALLS = 0x02,
  932. QMI_NAS_CELL_ACCESS_STATUS_ALL_CALLS = 0x03,
  933. QMI_NAS_CELL_ACCESS_STATUS_UNKNOWN = 0xFF,
  934. } QmiNasLteCellAccessStatus;
  935. /**
  936. * QmiNasHdrProtocolRevision:
  937. * @QMI_NAS_HDR_PROTOCOL_REVISION_NONE: None.
  938. * @QMI_NAS_HDR_PROTOCOL_REVISION_REL_0: HDR Rel 0.
  939. * @QMI_NAS_HDR_PROTOCOL_REVISION_REL_A: HDR Rel A.
  940. * @QMI_NAS_HDR_PROTOCOL_REVISION_REL_B: HDR Rel B.
  941. *
  942. * HDR protocol revision.
  943. *
  944. * Since: 1.0
  945. */
  946. typedef enum { /*< since=1.0 >*/
  947. QMI_NAS_HDR_PROTOCOL_REVISION_NONE = 0x00,
  948. QMI_NAS_HDR_PROTOCOL_REVISION_REL_0 = 0x01,
  949. QMI_NAS_HDR_PROTOCOL_REVISION_REL_A = 0x02,
  950. QMI_NAS_HDR_PROTOCOL_REVISION_REL_B = 0x03
  951. } QmiNasHdrProtocolRevision;
  952. /**
  953. * QmiNasWcdmaHsService:
  954. * @QMI_NAS_WCDMA_HS_SERVICE_HSDPA_HSUPA_UNSUPPORTED: HSDPA and HSUPA not supported.
  955. * @QMI_NAS_WCDMA_HS_SERVICE_HSDPA_SUPPORTED: HSDPA supported.
  956. * @QMI_NAS_WCDMA_HS_SERVICE_HSUPA_SUPPORTED: HSUPA supported.
  957. * @QMI_NAS_WCDMA_HS_SERVICE_HSDPA_HSUPA_SUPPORTED: HSDPA and HSUPA supported.
  958. * @QMI_NAS_WCDMA_HS_SERVICE_HSDPA_PLUS_SUPPORTED: HSDPA+ supported.
  959. * @QMI_NAS_WCDMA_HS_SERVICE_HSDPA_PLUS_HSUPA_SUPPORTED: HSDPA+ and HSUPA supported.
  960. * @QMI_NAS_WCDMA_HS_SERVICE_DC_HSDPA_PLUS_SUPPORTED: DC-HSDPA+ supported.
  961. * @QMI_NAS_WCDMA_HS_SERVICE_DC_HSDPA_PLUS_HSUPA_SUPPORTED: DC-HSDPA+ and HSUPA supported.
  962. *
  963. * Call status on high speed.
  964. *
  965. * Since: 1.0
  966. */
  967. typedef enum { /*< since=1.0 >*/
  968. QMI_NAS_WCDMA_HS_SERVICE_HSDPA_HSUPA_UNSUPPORTED = 0x00,
  969. QMI_NAS_WCDMA_HS_SERVICE_HSDPA_SUPPORTED = 0x01,
  970. QMI_NAS_WCDMA_HS_SERVICE_HSUPA_SUPPORTED = 0x02,
  971. QMI_NAS_WCDMA_HS_SERVICE_HSDPA_HSUPA_SUPPORTED = 0x03,
  972. QMI_NAS_WCDMA_HS_SERVICE_HSDPA_PLUS_SUPPORTED = 0x04,
  973. QMI_NAS_WCDMA_HS_SERVICE_HSDPA_PLUS_HSUPA_SUPPORTED = 0x05,
  974. QMI_NAS_WCDMA_HS_SERVICE_DC_HSDPA_PLUS_SUPPORTED = 0x06,
  975. QMI_NAS_WCDMA_HS_SERVICE_DC_HSDPA_PLUS_HSUPA_SUPPORTED = 0x07
  976. } QmiNasWcdmaHsService;
  977. /**
  978. * QmiNasCellBroadcastCapability:
  979. * @QMI_NAS_CELL_BROADCAST_CAPABILITY_UNKNOWN: Unknown.
  980. * @QMI_NAS_CELL_BROADCAST_CAPABILITY_OFF: Cell broadcast not supported.
  981. * @QMI_NAS_CELL_BROADCAST_CAPABILITY_ON: Cell broadcast supported.
  982. *
  983. * Cell broadcast support.
  984. *
  985. * Since: 1.0
  986. */
  987. typedef enum { /*< since=1.0 >*/
  988. QMI_NAS_CELL_BROADCAST_CAPABILITY_UNKNOWN = 0x00,
  989. QMI_NAS_CELL_BROADCAST_CAPABILITY_OFF = 0x01,
  990. QMI_NAS_CELL_BROADCAST_CAPABILITY_ON = 0x02
  991. } QmiNasCellBroadcastCapability;
  992. /**
  993. * QmiNasSimRejectState:
  994. * @QMI_NAS_SIM_REJECT_STATE_SIM_UNAVAILABLE: SIM not available.
  995. * @QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE: SIM available.
  996. * @QMI_NAS_SIM_REJECT_STATE_SIM_CS_INVALID: SIM invalid for circuit-switched connections.
  997. * @QMI_NAS_SIM_REJECT_STATE_SIM_PS_INVALID: SIM invalid for packet-switched connections.
  998. * @QMI_NAS_SIM_REJECT_STATE_SIM_CS_PS_INVALID: SIM invalid for circuit-switched and packet-switched connections.
  999. *
  1000. * Reject information of the SIM.
  1001. *
  1002. * Since: 1.0
  1003. */
  1004. typedef enum { /*< since=1.0 >*/
  1005. QMI_NAS_SIM_REJECT_STATE_SIM_UNAVAILABLE = 0,
  1006. QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE = 1,
  1007. QMI_NAS_SIM_REJECT_STATE_SIM_CS_INVALID = 2,
  1008. QMI_NAS_SIM_REJECT_STATE_SIM_PS_INVALID = 3,
  1009. QMI_NAS_SIM_REJECT_STATE_SIM_CS_PS_INVALID = 4
  1010. } QmiNasSimRejectState;
  1011. /**
  1012. * QmiNasCdmaPilotType:
  1013. * @QMI_NAS_CDMA_PILOT_TYPE_ACTIVE: the pilot is part of the active set.
  1014. * @QMI_NAS_CDMA_PILOT_TYPE_NEIGHBOR: the pilot is part of the neighbor set.
  1015. *
  1016. * The pilot set the pilot belongs to.
  1017. *
  1018. * Since: 1.0
  1019. */
  1020. typedef enum { /*< since=1.0 >*/
  1021. QMI_NAS_CDMA_PILOT_TYPE_ACTIVE = 0,
  1022. QMI_NAS_CDMA_PILOT_TYPE_NEIGHBOR = 1,
  1023. } QmiNasCdmaPilotType;
  1024. /**
  1025. * QmiNasDayOfWeek:
  1026. * @QMI_NAS_DAY_OF_WEEK_MONDAY: Monday
  1027. * @QMI_NAS_DAY_OF_WEEK_TUESDAY: Tuesday
  1028. * @QMI_NAS_DAY_OF_WEEK_WEDNESDAY: Wednesday
  1029. * @QMI_NAS_DAY_OF_WEEK_THURSDAY: Thursday
  1030. * @QMI_NAS_DAY_OF_WEEK_FRIDAY: Friday
  1031. * @QMI_NAS_DAY_OF_WEEK_SATURDAY: Saturday
  1032. * @QMI_NAS_DAY_OF_WEEK_SUNDAY: Sunday
  1033. *
  1034. * The day of the week.
  1035. *
  1036. * Since: 1.4
  1037. */
  1038. typedef enum { /*< since=1.4 >*/
  1039. QMI_NAS_DAY_OF_WEEK_MONDAY = 0,
  1040. QMI_NAS_DAY_OF_WEEK_TUESDAY = 1,
  1041. QMI_NAS_DAY_OF_WEEK_WEDNESDAY = 2,
  1042. QMI_NAS_DAY_OF_WEEK_THURSDAY = 3,
  1043. QMI_NAS_DAY_OF_WEEK_FRIDAY = 4,
  1044. QMI_NAS_DAY_OF_WEEK_SATURDAY = 5,
  1045. QMI_NAS_DAY_OF_WEEK_SUNDAY = 6
  1046. } QmiNasDayOfWeek;
  1047. /**
  1048. * QmiNasDaylightSavingsAdjustment:
  1049. * @QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_NONE: no adjustment
  1050. * @QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_ONE_HOUR: one hour adjustment
  1051. * @QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_TWO_HOURS: two hours adjustment
  1052. *
  1053. * The number of hours a time is adjusted for daylight savings.
  1054. *
  1055. * Since: 1.4
  1056. */
  1057. typedef enum { /*< since=1.4 >*/
  1058. QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_NONE = 0,
  1059. QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_ONE_HOUR = 1,
  1060. QMI_NAS_DAYLIGHT_SAVINGS_ADJUSTMENT_TWO_HOURS = 2
  1061. } QmiNasDaylightSavingsAdjustment;
  1062. /*****************************************************************************/
  1063. /* Helper enums for the 'QMI NAS Get Cell Location Info' request/response */
  1064. /**
  1065. * QmiNasWcdmaRrcState:
  1066. * @QMI_NAS_WCDMA_RRC_STATE_DISCONNECTED: Disconnected.
  1067. * @QMI_NAS_WCDMA_RRC_STATE_CELL_PCH: WCDMA RRC state is CELL_PCH.
  1068. * @QMI_NAS_WCDMA_RRC_STATE_URA_PCH: WCDMA RRC state is URA_PCH.
  1069. * @QMI_NAS_WCDMA_RRC_STATE_CELL_FACH: WCDMA RRC state is CELL_FACH.
  1070. * @QMI_NAS_WCDMA_RRC_STATE_CELL_DCH: WCDMA RRC state is CELL_DCH.
  1071. *
  1072. * RRC state.
  1073. *
  1074. * Since: 1.10
  1075. */
  1076. typedef enum { /*< since=1.10 >*/
  1077. QMI_NAS_WCDMA_RRC_STATE_DISCONNECTED = 0,
  1078. QMI_NAS_WCDMA_RRC_STATE_CELL_PCH = 1,
  1079. QMI_NAS_WCDMA_RRC_STATE_URA_PCH = 2,
  1080. QMI_NAS_WCDMA_RRC_STATE_CELL_FACH = 3,
  1081. QMI_NAS_WCDMA_RRC_STATE_CELL_DCH = 4
  1082. } QmiNasWcdmaRrcState;
  1083. /*****************************************************************************/
  1084. /* Helper enums for the 'QMI NAS Get LTE Cphy CA Info' request/response */
  1085. /**
  1086. * QmiNasDLBandwidth:
  1087. * @QMI_NAS_DL_BANDWIDTH_1_4: 1.4 MHz
  1088. * @QMI_NAS_DL_BANDWIDTH_3: 3 MHz
  1089. * @QMI_NAS_DL_BANDWIDTH_5: 5 MHz
  1090. * @QMI_NAS_DL_BANDWIDTH_10: 10 MHz
  1091. * @QMI_NAS_DL_BANDWIDTH_15: 15 MHz
  1092. * @QMI_NAS_DL_BANDWIDTH_20: 20 MHz
  1093. * @QMI_NAS_DL_BANDWIDTH_INVALID: Invalid
  1094. * @QMI_NAS_DL_BANDWIDTH_UNKNOWN: Unknown
  1095. *
  1096. * DL Bandwidth.
  1097. *
  1098. * Since: 1.16
  1099. */
  1100. typedef enum { /*< since=1.16 >*/
  1101. QMI_NAS_DL_BANDWIDTH_1_4 = 0,
  1102. QMI_NAS_DL_BANDWIDTH_3 = 1,
  1103. QMI_NAS_DL_BANDWIDTH_5 = 2,
  1104. QMI_NAS_DL_BANDWIDTH_10 = 3,
  1105. QMI_NAS_DL_BANDWIDTH_15 = 4,
  1106. QMI_NAS_DL_BANDWIDTH_20 = 5,
  1107. QMI_NAS_DL_BANDWIDTH_INVALID = 6,
  1108. QMI_NAS_DL_BANDWIDTH_UNKNOWN = 0xFF
  1109. } QmiNasDLBandwidth;
  1110. /**
  1111. * QmiNasScellState:
  1112. * @QMI_NAS_SCELL_STATE_DECONFIGURED: Deconfigured
  1113. * @QMI_NAS_SCELL_STATE_DEACTIVATED: Deactivated
  1114. * @QMI_NAS_SCELL_STATE_ACTIVATED: Activated
  1115. *
  1116. * SCell State.
  1117. *
  1118. * Since: 1.16
  1119. */
  1120. typedef enum { /*< since=1.16 >*/
  1121. QMI_NAS_SCELL_STATE_DECONFIGURED = 0,
  1122. QMI_NAS_SCELL_STATE_DEACTIVATED = 1,
  1123. QMI_NAS_SCELL_STATE_ACTIVATED = 2
  1124. } QmiNasScellState;
  1125. /*****************************************************************************/
  1126. /* Helper enums for the 'QMI NAS Get Operator Name' request/response */
  1127. /**
  1128. * QmiNasPlmnEncodingScheme:
  1129. * @QMI_NAS_PLMN_ENCODING_SCHEME_GSM: GSM default alphabet packed encoding (ETSI GSM 03.38)
  1130. * @QMI_NAS_PLMN_ENCODING_SCHEME_UCS2LE: UCS-2 little-endian
  1131. *
  1132. * PLMN name encoding schemes. See 3GPP TS 24.008 section "Network Name
  1133. * information element".
  1134. *
  1135. * Since: 1.18
  1136. */
  1137. typedef enum { /*< since=1.18 >*/
  1138. QMI_NAS_PLMN_ENCODING_SCHEME_GSM = 0,
  1139. QMI_NAS_PLMN_ENCODING_SCHEME_UCS2LE = 1,
  1140. } QmiNasPlmnEncodingScheme;
  1141. /**
  1142. * QmiNasNetworkNameDisplayCondition:
  1143. * @QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_REGISTERED_PLMN_IF_KNOWN_NETWORK: if
  1144. * set, display of the registered PLMN is required when the registered PLMN is either
  1145. * the HPLMN or a PLMN in the Service Provider PLMN List (see EFspdi). Otherwise
  1146. * display of the registered PLMN is not required in this case.
  1147. * @QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_SPN_NOT_REQUIRED_IF_UNKNOWN_NETWORK: if
  1148. * set, display of the Service Provider Name is not required when registered PLMN is
  1149. * neither HPLMN nor a PLMN in the service provider PLMN list (see EFspdi). If not set,
  1150. * SPN display is required in this case.
  1151. *
  1152. * Flags used to control display of the PLMN name and Service Provider Name. See
  1153. * 3GPP TS 51.011 descripton of the EFspn SIM file for more details.
  1154. *
  1155. * Since: 1.18
  1156. */
  1157. typedef enum { /*< since=1.18 >*/
  1158. QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_REGISTERED_PLMN_IF_KNOWN_NETWORK = 1 << 0,
  1159. QMI_NAS_NETWORK_NAME_DISPLAY_CONDITION_DISPLAY_SPN_NOT_REQUIRED_IF_UNKNOWN_NETWORK = 1 << 1,
  1160. } QmiNasNetworkNameDisplayCondition;
  1161. /**
  1162. * QmiNasPlmnNameCountryInitials:
  1163. * @QMI_NAS_PLMN_NAME_COUNTRY_INITIALS_DO_NOT_ADD: don't add country initials
  1164. * @QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_ADD: add country initials
  1165. * @QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_UNSPECIFIED: unspecified
  1166. *
  1167. * PLMN name country initials options. See 3GPP TS 24.008
  1168. * section "Network Name information element".
  1169. *
  1170. * Since: 1.18
  1171. */
  1172. typedef enum { /*< since=1.18 >*/
  1173. QMI_NAS_PLMN_NAME_COUNTRY_INITIALS_DO_NOT_ADD = 0,
  1174. QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_ADD = 1,
  1175. QMI_NAS_PLMN_NAME_COUNTRY_INIITALS_UNSPECIFIED = 0xFF,
  1176. } QmiNasPlmnNameCountryInitials;
  1177. /**
  1178. * QmiNasNetworkNameSource:
  1179. * @QMI_NAS_NETWORK_NAME_SOURCE_UNKNOWN: Unknown.
  1180. * @QMI_NAS_NETWORK_NAME_SOURCE_OPERATOR_PLMN_LIST_AND_PLMN_NETWORK_NAME: Operator PLMN list and PLMN network name.
  1181. * @QMI_NAS_NETWORK_NAME_SOURCE_COMMON_PCN_HANDSET_SPECIFICATION_AND_OPERATOR_NAME_STRING: Common PCN handset specification and operator name string.
  1182. * @QMI_NAS_NETWORK_NAME_SOURCE_NITZ: Network identity and time zone.
  1183. * @QMI_NAS_NETWORK_NAME_SOURCE_SE13: GSMA SE13 table.
  1184. * @QMI_NAS_NETWORK_NAME_SOURCE_MCC_MNC: MCC and MNC.
  1185. * @QMI_NAS_NETWORK_NAME_SOURCE_SERVICE_PROVIDER_NAME: Service provider name.
  1186. *
  1187. * Network name source.
  1188. *
  1189. * Since: 1.24
  1190. */
  1191. typedef enum { /*< since=1.24 >*/
  1192. QMI_NAS_NETWORK_NAME_SOURCE_UNKNOWN = 0x00,
  1193. QMI_NAS_NETWORK_NAME_SOURCE_OPERATOR_PLMN_LIST_AND_PLMN_NETWORK_NAME = 0x01,
  1194. QMI_NAS_NETWORK_NAME_SOURCE_COMMON_PCN_HANDSET_SPECIFICATION_AND_OPERATOR_NAME_STRING = 0x02,
  1195. QMI_NAS_NETWORK_NAME_SOURCE_NITZ = 0x03,
  1196. QMI_NAS_NETWORK_NAME_SOURCE_SE13 = 0x04,
  1197. QMI_NAS_NETWORK_NAME_SOURCE_MCC_MNC = 0x05,
  1198. QMI_NAS_NETWORK_NAME_SOURCE_SERVICE_PROVIDER_NAME = 0x06,
  1199. } QmiNasNetworkNameSource;
  1200. /**
  1201. * QmiNasPlmnNameSpareBits:
  1202. * @QMI_NAS_PLMN_NAME_SPARE_BITS_UNKNOWN: unknown
  1203. * @QMI_NAS_PLMN_NAME_SPARE_BITS_BIT_8: bit 8 is spare
  1204. * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_78: bits 7 - 8 are spare
  1205. * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_68: bits 6 - 8 are spare
  1206. * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_58: bits 5 - 8 are spare
  1207. * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_48: bits 4 - 8 are spare
  1208. * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_38: bits 3 - 8 are spare
  1209. * @QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_28: bits 2 - 8 are spare
  1210. *
  1211. * PLMN name spare bits in last octet of a network name. See 3GPP TS 24.008
  1212. * section "Network Name information element".
  1213. *
  1214. * Since: 1.18
  1215. */
  1216. typedef enum { /*< since=1.18 >*/
  1217. QMI_NAS_PLMN_NAME_SPARE_BITS_UNKNOWN = 0,
  1218. QMI_NAS_PLMN_NAME_SPARE_BITS_BIT_8 = 1,
  1219. QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_78 = 2,
  1220. QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_68 = 3,
  1221. QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_58 = 4,
  1222. QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_48 = 5,
  1223. QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_38 = 6,
  1224. QMI_NAS_PLMN_NAME_SPARE_BITS_BITS_28 = 7,
  1225. } QmiNasPlmnNameSpareBits;
  1226. /**
  1227. * QmiNasUsagePreference:
  1228. * @QMI_NAS_USAGE_PREFERENCE_UNKNOWN: Unknown.
  1229. * @QMI_NAS_USAGE_PREFERENCE_VOICE_CENTRIC: Voice centric.
  1230. * @QMI_NAS_USAGE_PREFERENCE_DATA_CENTRIC: Data centric.
  1231. *
  1232. * Modem usage preference.
  1233. *
  1234. * Since: 1.24
  1235. */
  1236. typedef enum { /*< since=1.24 >*/
  1237. QMI_NAS_USAGE_PREFERENCE_UNKNOWN = 0x00,
  1238. QMI_NAS_USAGE_PREFERENCE_VOICE_CENTRIC = 0x01,
  1239. QMI_NAS_USAGE_PREFERENCE_DATA_CENTRIC = 0x02
  1240. } QmiNasUsagePreference;
  1241. /**
  1242. * QmiNasSwiModemMode:
  1243. * @QMI_NAS_SWI_MODEM_MODE_POWERING_OFF: Powering off
  1244. * @QMI_NAS_SWI_MODEM_MODE_FACTORY_TEST: Factory test
  1245. * @QMI_NAS_SWI_MODEM_MODE_OFFLINE: Offline
  1246. * @QMI_NAS_SWI_MODEM_MODE_OFFLINE_AMPS: Offline AMPS
  1247. * @QMI_NAS_SWI_MODEM_MODE_OFFLINE_CDMA: Offline CDMA
  1248. * @QMI_NAS_SWI_MODEM_MODE_ONLINE: Online
  1249. * @QMI_NAS_SWI_MODEM_MODE_LOW_POWER: Low power
  1250. * @QMI_NAS_SWI_MODEM_MODE_RESETTING: Resetting
  1251. * @QMI_NAS_SWI_MODEM_MODE_NETWORK_TEST: Network test
  1252. * @QMI_NAS_SWI_MODEM_MODE_OFFLINE_REQUEST: Offline request
  1253. * @QMI_NAS_SWI_MODEM_MODE_PSEUDO_ONLINE: Pseudo online
  1254. * @QMI_NAS_SWI_MODEM_MODE_RESETTING_MODEM: Resetting modem
  1255. * @QMI_NAS_SWI_MODEM_MODE_UNKNOWN: Unknown
  1256. *
  1257. * Modem mode (Sierra Wireless specific).
  1258. *
  1259. * Since: 1.24
  1260. */
  1261. typedef enum { /*< since=1.24 >*/
  1262. QMI_NAS_SWI_MODEM_MODE_POWERING_OFF = 0x00,
  1263. QMI_NAS_SWI_MODEM_MODE_FACTORY_TEST = 0x01,
  1264. QMI_NAS_SWI_MODEM_MODE_OFFLINE = 0x02,
  1265. QMI_NAS_SWI_MODEM_MODE_OFFLINE_AMPS = 0x03,
  1266. QMI_NAS_SWI_MODEM_MODE_OFFLINE_CDMA = 0x04,
  1267. QMI_NAS_SWI_MODEM_MODE_ONLINE = 0x05,
  1268. QMI_NAS_SWI_MODEM_MODE_LOW_POWER = 0x06,
  1269. QMI_NAS_SWI_MODEM_MODE_RESETTING = 0x07,
  1270. QMI_NAS_SWI_MODEM_MODE_NETWORK_TEST = 0x08,
  1271. QMI_NAS_SWI_MODEM_MODE_OFFLINE_REQUEST = 0x09,
  1272. QMI_NAS_SWI_MODEM_MODE_PSEUDO_ONLINE = 0x0a,
  1273. QMI_NAS_SWI_MODEM_MODE_RESETTING_MODEM = 0x0b,
  1274. QMI_NAS_SWI_MODEM_MODE_UNKNOWN = 0xff
  1275. } QmiNasSwiModemMode;
  1276. /**
  1277. * QmiNasSwiSystemMode:
  1278. * @QMI_NAS_SWI_SYSTEM_MODE_NO_SERVICE: No service
  1279. * @QMI_NAS_SWI_SYSTEM_MODE_AMPS: AMPS
  1280. * @QMI_NAS_SWI_SYSTEM_MODE_CDMA: CDMA
  1281. * @QMI_NAS_SWI_SYSTEM_MODE_GSM: GSM
  1282. * @QMI_NAS_SWI_SYSTEM_MODE_HDR: HDR
  1283. * @QMI_NAS_SWI_SYSTEM_MODE_WCDMA: WCDMA
  1284. * @QMI_NAS_SWI_SYSTEM_MODE_GPS: GPS
  1285. * @QMI_NAS_SWI_SYSTEM_MODE_WLAN: WLAN
  1286. * @QMI_NAS_SWI_SYSTEM_MODE_LTE: LTE
  1287. * @QMI_NAS_SWI_SYSTEM_MODE_UNKNOWN: Unknown
  1288. *
  1289. * System mode (Sierra Wireless specific).
  1290. *
  1291. * Since: 1.24
  1292. */
  1293. typedef enum { /*< since=1.24 >*/
  1294. QMI_NAS_SWI_SYSTEM_MODE_NO_SERVICE = 0x00,
  1295. QMI_NAS_SWI_SYSTEM_MODE_AMPS = 0x01,
  1296. QMI_NAS_SWI_SYSTEM_MODE_CDMA = 0x02,
  1297. QMI_NAS_SWI_SYSTEM_MODE_GSM = 0x03,
  1298. QMI_NAS_SWI_SYSTEM_MODE_HDR = 0x04,
  1299. QMI_NAS_SWI_SYSTEM_MODE_WCDMA = 0x05,
  1300. QMI_NAS_SWI_SYSTEM_MODE_GPS = 0x06,
  1301. QMI_NAS_SWI_SYSTEM_MODE_WLAN = 0x08,
  1302. QMI_NAS_SWI_SYSTEM_MODE_LTE = 0x09,
  1303. QMI_NAS_SWI_SYSTEM_MODE_UNKNOWN = 0xff
  1304. } QmiNasSwiSystemMode;
  1305. /**
  1306. * QmiNasSwiImsRegState:
  1307. * @QMI_NAS_SWI_IMS_REG_NO_SRV: No service
  1308. * @QMI_NAS_SWI_IMS_REG_IN_PROG: In prog
  1309. * @QMI_NAS_SWI_IMS_REG_FAILED: Failed
  1310. * @QMI_NAS_SWI_IMS_REG_LIMITED: Limited
  1311. * @QMI_NAS_SWI_IMS_REG_FULL_SRV: Full service
  1312. * @QMI_NAS_SWI_IMS_REG__UNKNOWN: Unknown
  1313. *
  1314. * IMS registration state. (Sierra Wireless specific).
  1315. *
  1316. * Since: 1.24
  1317. */
  1318. typedef enum { /*< since=1.24 >*/
  1319. QMI_NAS_SWI_IMS_REG_NO_SRV = 0x00,
  1320. QMI_NAS_SWI_IMS_REG_IN_PROG = 0x01,
  1321. QMI_NAS_SWI_IMS_REG_FAILED = 0x02,
  1322. QMI_NAS_SWI_IMS_REG_LIMITED = 0x03,
  1323. QMI_NAS_SWI_IMS_REG_FULL_SRV = 0x04,
  1324. QMI_NAS_SWI_IMS_REG__UNKNOWN = 0xff
  1325. } QmiNasSwiImsRegState;
  1326. /**
  1327. * QmiNasSwiPsState:
  1328. * @QMI_NAS_SWI_PS_STATE_ATTACHED: Attached
  1329. * @QMI_NAS_SWI_PS_STATE_DETACHED: Detached
  1330. * @QMI_NAS_SWI_PS_STATE_UNKNOWN: Unknown
  1331. *
  1332. * PS registration state. (Sierra Wireless specific).
  1333. *
  1334. * Since: 1.24
  1335. */
  1336. typedef enum { /*< since=1.24 >*/
  1337. QMI_NAS_SWI_PS_STATE_ATTACHED = 0x00,
  1338. QMI_NAS_SWI_PS_STATE_DETACHED = 0x01,
  1339. QMI_NAS_SWI_PS_STATE_UNKNOWN = 0xff
  1340. } QmiNasSwiPsState;
  1341. /**
  1342. * QmiNasSwiEmmState:
  1343. * @QMI_NAS_SWI_EMM_STATE_DEREGISTERED: Deregistered
  1344. * @QMI_NAS_SWI_EMM_STATE_REG_INITIATED: Registration initiated
  1345. * @QMI_NAS_SWI_EMM_STATE_REGISTERED: Registered
  1346. * @QMI_NAS_SWI_EMM_STATE_TAU_INITIATED: TAU initiated
  1347. * @QMI_NAS_SWI_EMM_STATE_SR_INITIATED: SR initiated
  1348. * @QMI_NAS_SWI_EMM_STATE_DEREG_INITIATED: Deregistration initiated
  1349. * @QMI_NAS_SWI_EMM_STATE_INVALID: Invalid
  1350. * @QMI_NAS_SWI_EMM_STATE_UNKNOWN: Unknown
  1351. *
  1352. * EMM registration state. (Sierra Wireless specific).
  1353. *
  1354. * Since: 1.24
  1355. */
  1356. typedef enum { /*< since=1.24 >*/
  1357. QMI_NAS_SWI_EMM_STATE_DEREGISTERED = 0x00,
  1358. QMI_NAS_SWI_EMM_STATE_REG_INITIATED = 0x01,
  1359. QMI_NAS_SWI_EMM_STATE_REGISTERED = 0x02,
  1360. QMI_NAS_SWI_EMM_STATE_TAU_INITIATED = 0x03,
  1361. QMI_NAS_SWI_EMM_STATE_SR_INITIATED = 0x04,
  1362. QMI_NAS_SWI_EMM_STATE_DEREG_INITIATED = 0x05,
  1363. QMI_NAS_SWI_EMM_STATE_INVALID = 0x06,
  1364. QMI_NAS_SWI_EMM_STATE_UNKNOWN = 0xff
  1365. } QmiNasSwiEmmState;
  1366. /**
  1367. * QmiNasSwiEmmConnectionState:
  1368. * @QMI_NAS_SWI_EMM_CONN_STATE_RRC_IDLE: RRC idle
  1369. * @QMI_NAS_SWI_EMM_CONN_STATE_WAITING_RRC_CFM: Waiting RRC Cfm
  1370. * @QMI_NAS_SWI_EMM_CONN_STATE_RRC_CONNECTING: RRC connecting
  1371. * @QMI_NAS_SWI_EMM_CONN_STATE_RRC_RELEASING: RRC releasing
  1372. * @QMI_NAS_SWI_EMM_CONN_STATE_UNKNOWN: Unknown
  1373. *
  1374. * EMM connection state state. (Sierra Wireless specific).
  1375. *
  1376. * Since: 1.24
  1377. */
  1378. typedef enum { /*< since=1.24 >*/
  1379. QMI_NAS_SWI_EMM_CONN_STATE_RRC_IDLE = 0x00,
  1380. QMI_NAS_SWI_EMM_CONN_STATE_WAITING_RRC_CFM = 0x01,
  1381. QMI_NAS_SWI_EMM_CONN_STATE_RRC_CONNECTING = 0x02,
  1382. QMI_NAS_SWI_EMM_CONN_STATE_RRC_RELEASING = 0x03,
  1383. QMI_NAS_SWI_EMM_CONN_STATE_UNKNOWN = 0xff
  1384. } QmiNasSwiEmmConnectionState;
  1385. /**
  1386. * QmiNasDrx:
  1387. * @QMI_NAS_DRX_UNKNOWN: Unknown or not specified.
  1388. * @QMI_NAS_DRX_CN6_T32: CN=6, T=32.
  1389. * @QMI_NAS_DRX_CN7_T64: CN=7, T=64.
  1390. * @QMI_NAS_DRX_CN8_T128: CN=8, T=128.
  1391. * @QMI_NAS_DRX_CN9_T256: CN=9, T=256.
  1392. *
  1393. * DRX setting of the device.
  1394. *
  1395. * Since: 1.28
  1396. */
  1397. typedef enum { /*< since=1.28 >*/
  1398. QMI_NAS_DRX_UNKNOWN = 0x00,
  1399. QMI_NAS_DRX_CN6_T32 = 0x06,
  1400. QMI_NAS_DRX_CN7_T64 = 0x07,
  1401. QMI_NAS_DRX_CN8_T128 = 0x08,
  1402. QMI_NAS_DRX_CN9_T256 = 0x09,
  1403. } QmiNasDrx;
  1404. /**
  1405. * QmiNasBoolean:
  1406. * @QMI_NAS_BOOLEAN_FALSE: Status FALSE.
  1407. * @QMI_NAS_BOOLEAN_TRUE: Status TRUE.
  1408. * @QMI_NAS_BOOLEAN_UNKNOWN: Status Unknown.
  1409. *
  1410. * Boolean flag with validity info.
  1411. *
  1412. * Since: 1.28
  1413. */
  1414. typedef enum { /*< since=1.28 >*/
  1415. QMI_NAS_BOOLEAN_FALSE = 0x00,
  1416. QMI_NAS_BOOLEAN_TRUE = 0x01,
  1417. QMI_NAS_BOOLEAN_UNKNOWN = 0x02
  1418. } QmiNasBoolean;
  1419. /**
  1420. * QmiNasPlmnLanguageId:
  1421. * @QMI_NAS_PLMN_LANGUAGE_ID_UNKNOWN: Language Unknown.
  1422. * @QMI_NAS_PLMN_LANGUAGE_ID_ZH_TRAD: Traditional Chinese.
  1423. * @QMI_NAS_PLMN_LANGUAGE_ID_ZH_SIMP: Simplified Chinese.
  1424. *
  1425. * Language ID used when encoding the PLMN.
  1426. *
  1427. * Since: 1.28
  1428. */
  1429. typedef enum { /*< since=1.28 >*/
  1430. QMI_NAS_PLMN_LANGUAGE_ID_UNKNOWN = 0x00,
  1431. QMI_NAS_PLMN_LANGUAGE_ID_ZH_TRAD = 0x01,
  1432. QMI_NAS_PLMN_LANGUAGE_ID_ZH_SIMP = 0x02
  1433. } QmiNasPlmnLanguageId;
  1434. /**
  1435. * QmiNasLteVoiceDomain:
  1436. * @QMI_NAS_LTE_VOICE_DOMAIN_NONE: No voice.
  1437. * @QMI_NAS_LTE_VOICE_DOMAIN_IMS: Voice is supported over IMS network.
  1438. * @QMI_NAS_LTE_VOICE_DOMAIN_1X: Voice is supported over the 1X network.
  1439. * @QMI_NAS_LTE_VOICE_DOMAIN_3GPP: Voice is supported over the 3GPP network.
  1440. *
  1441. * LTE voice domain.
  1442. *
  1443. * Since: 1.28
  1444. */
  1445. typedef enum { /*< since=1.28 >*/
  1446. QMI_NAS_LTE_VOICE_DOMAIN_NONE = 0x00,
  1447. QMI_NAS_LTE_VOICE_DOMAIN_IMS = 0x01,
  1448. QMI_NAS_LTE_VOICE_DOMAIN_1X = 0x02,
  1449. QMI_NAS_LTE_VOICE_DOMAIN_3GPP = 0x03
  1450. } QmiNasLteVoiceDomain;
  1451. /**
  1452. * QmiNasRejectCause:
  1453. * @QMI_NAS_REJECT_CAUSE_NONE: None.
  1454. * @QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_HLR: IMSI unknown in HLR/HSS.
  1455. * @QMI_NAS_REJECT_CAUSE_ILLEGAL_UE: Illegal MS/UE.
  1456. * @QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_VLR: IMSI unknown in VLR.
  1457. * @QMI_NAS_REJECT_CAUSE_IMEI_NOT_ACCEPTED: IMEI not accepted.
  1458. * @QMI_NAS_REJECT_CAUSE_ILLEGAL_ME: Illegal ME.
  1459. * @QMI_NAS_REJECT_CAUSE_PS_SERVICES_NOT_ALLOWED: GPRS/EPS services not allowed.
  1460. * @QMI_NAS_REJECT_CAUSE_PS_AND_NON_PS_SERVICES_NOT_ALLOWED: GPRS/EPS and non-GPRS/EPS services not allowed.
  1461. * @QMI_NAS_REJECT_CAUSE_UE_IDENTITY_NOT_DERIVED_BY_NETWORK: MS/UE identity not derived by network.
  1462. * @QMI_NAS_REJECT_CAUSE_IMPLICITLY_DETACHED: Implicitly detached.
  1463. * @QMI_NAS_REJECT_CAUSE_PLMN_NOT_ALLOWED: PLMN not allowed.
  1464. * @QMI_NAS_REJECT_CAUSE_LOCATION_AREA_NOT_ALLOWED: Location/tracking area not allowed.
  1465. * @QMI_NAS_REJECT_CAUSE_ROAMING_IN_LOCATION_AREA_NOT_ALLOWED: Roaming in location/tracking area not allowed.
  1466. * @QMI_NAS_REJECT_CAUSE_PS_SERVICES_IN_LOCATION_AREA_NOT_ALLOWED: GPRS/EPS services in location/tracking area not allowed.
  1467. * @QMI_NAS_REJECT_CAUSE_NO_SUITABLE_CELLS_IN_LOCATION_AREA: No suitable cells in location/tracking area.
  1468. * @QMI_NAS_REJECT_CAUSE_MSC_TEMPORARILY_NOT_REACHABLE: MSC temporarily not reachable.
  1469. * @QMI_NAS_REJECT_CAUSE_NETWORK_FAILURE: Network failure.
  1470. * @QMI_NAS_REJECT_CAUSE_CS_DOMAIN_NOT_AVAILABLE: CS domain not available.
  1471. * @QMI_NAS_REJECT_CAUSE_ESM_FAILURE: ESM failure.
  1472. * @QMI_NAS_REJECT_CAUSE_MAC_FAILURE: MAC failure.
  1473. * @QMI_NAS_REJECT_CAUSE_SYNCH_FAILURE: Synch failure.
  1474. * @QMI_NAS_REJECT_CAUSE_CONGESTION: Congestion.
  1475. * @QMI_NAS_REJECT_CAUSE_UE_SECURITY_CAPABILITIES_MISMATCH: GSM authentication unacceptable, UE security capabilities mismatch.
  1476. * @QMI_NAS_REJECT_CAUSE_SECURITY_MODE_REJECTED_UNSPECIFIED: Security mode rejected or unspecified.
  1477. * @QMI_NAS_REJECT_CAUSE_CSG_NOT_AUTHORIZED: CSG not authorized.
  1478. * @QMI_NAS_REJECT_CAUSE_NON_EPS_AUTHENTICATION_UNACCEPTABLE: Non-EPS authentication unacceptable.
  1479. * @QMI_NAS_REJECT_CAUSE_SMS_PROVIDED_BY_GPRS_IN_ROUTING_AREA: SMS provided by GPRS in routing area.
  1480. * @QMI_NAS_REJECT_CAUSE_REDIRECTION_TO_5GCN_REQUIRED: Redirection to 5GCN required.
  1481. * @QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_NOT_SUPPORTED: Service option not supported.
  1482. * @QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED: Requested service option not subscribed.
  1483. * @QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER: Service option temporarily out of order.
  1484. * @QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_AUTHORIZED: Requested service option not authorized.
  1485. * @QMI_NAS_REJECT_CAUSE_CALL_CANNOT_BE_IDENTIFIED: Call cannot be identified.
  1486. * @QMI_NAS_REJECT_CAUSE_CS_SERVICE_TEMPORARILY_NOT_AVAILABLE: CS service temporarily not available.
  1487. * @QMI_NAS_REJECT_CAUSE_NO_EPS_BEARER_CONTEXT_ACTIVATED: No EPS bearer context activated.
  1488. * @QMI_NAS_REJECT_CAUSE_SEVERE_NETWORK_FAILURE: Severe network failure.
  1489. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_0: Retry upon entry 0.
  1490. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_1: Retry upon entry 1.
  1491. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_2: Retry upon entry 2.
  1492. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_3: Retry upon entry 3.
  1493. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_4: Retry upon entry 4.
  1494. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_5: Retry upon entry 5.
  1495. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_6: Retry upon entry 6.
  1496. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_7: Retry upon entry 7.
  1497. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_8: Retry upon entry 8.
  1498. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_9: Retry upon entry 9.
  1499. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_10: Retry upon entry 10.
  1500. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_11: Retry upon entry 11.
  1501. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_12: Retry upon entry 12.
  1502. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_13: Retry upon entry 13.
  1503. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_14: Retry upon entry 14.
  1504. * @QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_15: Retry upon entry 15.
  1505. * @QMI_NAS_REJECT_CAUSE_SEMANTICALLY_INCORRECT_MESSAGE: Semantically incorrect message.
  1506. * @QMI_NAS_REJECT_CAUSE_INVALID_MANDATORY_INFORMATION: Invalid mandatory information.
  1507. * @QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NON_EXISTENT: Message type non existent.
  1508. * @QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE: Message type not compatible.
  1509. * @QMI_NAS_REJECT_CAUSE_INFORMATION_ELEMENT_NON_EXISTENT: Information element non existent.
  1510. * @QMI_NAS_REJECT_CAUSE_CONDITIONAL_INFORMATION_ELEMENT_ERROR: Conditional information element error.
  1511. * @QMI_NAS_REJECT_CAUSE_MESSAGE_NOT_COMPATIBLE: Message not compatible.
  1512. * @QMI_NAS_REJECT_CAUSE_UNSPECIFIED_PROTOCOL_ERROR: Unspecified protocol error.
  1513. *
  1514. * Reason why a request from the mobile station is rejected by the network.
  1515. *
  1516. * Defined in 3GPP TS 24.008 in sections 10.5.3.6 and 10.5.5.14 (detailed in
  1517. * annex G) and in 3GPP TS 24.301 in section 9.9.3.9.
  1518. *
  1519. * Since: 1.30
  1520. */
  1521. typedef enum { /*< since=1.30 >*/
  1522. QMI_NAS_REJECT_CAUSE_NONE = 0x00,
  1523. QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_HLR = 0x02,
  1524. QMI_NAS_REJECT_CAUSE_ILLEGAL_UE = 0x03,
  1525. QMI_NAS_REJECT_CAUSE_IMSI_UNKNOWN_IN_VLR = 0x04,
  1526. QMI_NAS_REJECT_CAUSE_IMEI_NOT_ACCEPTED = 0x05,
  1527. QMI_NAS_REJECT_CAUSE_ILLEGAL_ME = 0x06,
  1528. QMI_NAS_REJECT_CAUSE_PS_SERVICES_NOT_ALLOWED = 0x07,
  1529. QMI_NAS_REJECT_CAUSE_PS_AND_NON_PS_SERVICES_NOT_ALLOWED = 0x08,
  1530. QMI_NAS_REJECT_CAUSE_UE_IDENTITY_NOT_DERIVED_BY_NETWORK = 0x09,
  1531. QMI_NAS_REJECT_CAUSE_IMPLICITLY_DETACHED = 0x0A,
  1532. QMI_NAS_REJECT_CAUSE_PLMN_NOT_ALLOWED = 0x0B,
  1533. QMI_NAS_REJECT_CAUSE_LOCATION_AREA_NOT_ALLOWED = 0x0C,
  1534. QMI_NAS_REJECT_CAUSE_ROAMING_IN_LOCATION_AREA_NOT_ALLOWED = 0x0D,
  1535. QMI_NAS_REJECT_CAUSE_PS_SERVICES_IN_LOCATION_AREA_NOT_ALLOWED = 0x0E,
  1536. QMI_NAS_REJECT_CAUSE_NO_SUITABLE_CELLS_IN_LOCATION_AREA = 0x0F,
  1537. QMI_NAS_REJECT_CAUSE_MSC_TEMPORARILY_NOT_REACHABLE = 0x10,
  1538. QMI_NAS_REJECT_CAUSE_NETWORK_FAILURE = 0x11,
  1539. QMI_NAS_REJECT_CAUSE_CS_DOMAIN_NOT_AVAILABLE = 0x12,
  1540. QMI_NAS_REJECT_CAUSE_ESM_FAILURE = 0x13,
  1541. QMI_NAS_REJECT_CAUSE_MAC_FAILURE = 0x14,
  1542. QMI_NAS_REJECT_CAUSE_SYNCH_FAILURE = 0x15,
  1543. QMI_NAS_REJECT_CAUSE_CONGESTION = 0x16,
  1544. QMI_NAS_REJECT_CAUSE_UE_SECURITY_CAPABILITIES_MISMATCH = 0x17,
  1545. QMI_NAS_REJECT_CAUSE_SECURITY_MODE_REJECTED_UNSPECIFIED = 0x18,
  1546. QMI_NAS_REJECT_CAUSE_CSG_NOT_AUTHORIZED = 0x19,
  1547. QMI_NAS_REJECT_CAUSE_NON_EPS_AUTHENTICATION_UNACCEPTABLE = 0x1A,
  1548. QMI_NAS_REJECT_CAUSE_SMS_PROVIDED_BY_GPRS_IN_ROUTING_AREA = 0x1C,
  1549. QMI_NAS_REJECT_CAUSE_REDIRECTION_TO_5GCN_REQUIRED = 0x1F,
  1550. QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_NOT_SUPPORTED = 0x20,
  1551. QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_SUBSCRIBED = 0x21,
  1552. QMI_NAS_REJECT_CAUSE_SERVICE_OPTION_TEMPORARILY_OUT_OF_ORDER = 0x22,
  1553. QMI_NAS_REJECT_CAUSE_REQUESTED_SERVICE_OPTION_NOT_AUTHORIZED = 0x23,
  1554. QMI_NAS_REJECT_CAUSE_CALL_CANNOT_BE_IDENTIFIED = 0x26,
  1555. QMI_NAS_REJECT_CAUSE_CS_SERVICE_TEMPORARILY_NOT_AVAILABLE = 0x27,
  1556. QMI_NAS_REJECT_CAUSE_NO_EPS_BEARER_CONTEXT_ACTIVATED = 0x28,
  1557. QMI_NAS_REJECT_CAUSE_SEVERE_NETWORK_FAILURE = 0x2A,
  1558. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_0 = 0x30,
  1559. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_1 = 0x31,
  1560. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_2 = 0x32,
  1561. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_3 = 0x33,
  1562. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_4 = 0x34,
  1563. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_5 = 0x35,
  1564. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_6 = 0x36,
  1565. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_7 = 0x37,
  1566. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_8 = 0x38,
  1567. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_9 = 0x39,
  1568. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_10 = 0x3A,
  1569. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_11 = 0x3B,
  1570. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_12 = 0x3C,
  1571. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_13 = 0x3D,
  1572. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_14 = 0x3E,
  1573. QMI_NAS_REJECT_CAUSE_RETRY_UPON_ENTRY_INTO_NEW_CELL_15 = 0x3F,
  1574. QMI_NAS_REJECT_CAUSE_SEMANTICALLY_INCORRECT_MESSAGE = 0x5F,
  1575. QMI_NAS_REJECT_CAUSE_INVALID_MANDATORY_INFORMATION = 0x60,
  1576. QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NON_EXISTENT = 0x61,
  1577. QMI_NAS_REJECT_CAUSE_MESSAGE_TYPE_NOT_COMPATIBLE = 0x62,
  1578. QMI_NAS_REJECT_CAUSE_INFORMATION_ELEMENT_NON_EXISTENT = 0x63,
  1579. QMI_NAS_REJECT_CAUSE_CONDITIONAL_INFORMATION_ELEMENT_ERROR = 0x64,
  1580. QMI_NAS_REJECT_CAUSE_MESSAGE_NOT_COMPATIBLE = 0x65,
  1581. QMI_NAS_REJECT_CAUSE_UNSPECIFIED_PROTOCOL_ERROR = 0x6F,
  1582. } QmiNasRejectCause;
  1583. #endif /* _LIBQMI_GLIB_QMI_ENUMS_NAS_H_ */