qmi-enums-wda.h 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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) 2014-2017 Aleksander Morgado <aleksander@aleksander.es>
  21. */
  22. #ifndef _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
  23. #define _LIBQMI_GLIB_QMI_ENUMS_WDA_H_
  24. /**
  25. * SECTION: qmi-enums-wda
  26. *
  27. * This section defines enumerations and flags used in the WDA service
  28. * interface.
  29. */
  30. /**
  31. * QmiWdaLinkLayerProtocol:
  32. * @QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN: Unknown.
  33. * @QMI_WDA_LINK_LAYER_PROTOCOL_802_3: 802.3 ethernet mode.
  34. * @QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP: Raw IP mode.
  35. *
  36. * Link layer protocol.
  37. *
  38. * Since: 1.10
  39. */
  40. typedef enum { /*< since=1.10 >*/
  41. QMI_WDA_LINK_LAYER_PROTOCOL_UNKNOWN = 0x00,
  42. QMI_WDA_LINK_LAYER_PROTOCOL_802_3 = 0x01,
  43. QMI_WDA_LINK_LAYER_PROTOCOL_RAW_IP = 0x02,
  44. } QmiWdaLinkLayerProtocol;
  45. /**
  46. * QmiWdaDataAggregationProtocol:
  47. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED: Disabled.
  48. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP: TLP enabled.
  49. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM: QC NCM enabled.
  50. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM: MBIM enabled.
  51. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS: RNDIS enabled.
  52. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP: QMAP enabled.
  53. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2: QMAPV2 enabled. Since: 1.30.
  54. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3: QMAPV3 enabled. Since: 1.30.
  55. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4: QMAPV4 enabled. Since: 1.30.
  56. * @QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5: QMAPV5 enabled. Since: 1.28.
  57. *
  58. * Data aggregation protocol in uplink or downlink.
  59. *
  60. * Since: 1.10
  61. */
  62. typedef enum { /*< since=1.10 >*/
  63. QMI_WDA_DATA_AGGREGATION_PROTOCOL_DISABLED = 0x00,
  64. QMI_WDA_DATA_AGGREGATION_PROTOCOL_TLP = 0x01,
  65. QMI_WDA_DATA_AGGREGATION_PROTOCOL_QC_NCM = 0x02,
  66. QMI_WDA_DATA_AGGREGATION_PROTOCOL_MBIM = 0x03,
  67. QMI_WDA_DATA_AGGREGATION_PROTOCOL_RNDIS = 0x04,
  68. QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAP = 0x05,
  69. QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV2 = 0x06,
  70. QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV3 = 0x07,
  71. QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV4 = 0x08,
  72. QMI_WDA_DATA_AGGREGATION_PROTOCOL_QMAPV5 = 0x09,
  73. } QmiWdaDataAggregationProtocol;
  74. #endif /* _LIBQMI_GLIB_QMI_ENUMS_WDA_H_ */