Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

wireless_errors.c 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /*
  2. * Copyright (C) 2009 Joshua Oreman <oremanj@rwcr.net>.
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License as
  6. * published by the Free Software Foundation; either version 2 of the
  7. * License, or any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful, but
  10. * WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  17. * 02110-1301, USA.
  18. */
  19. FILE_LICENCE ( GPL2_OR_LATER );
  20. #include <errno.h>
  21. #include <ipxe/errortab.h>
  22. #include <ipxe/net80211_err.h>
  23. /* Record errors as though they come from the 802.11 stack */
  24. #undef ERRFILE
  25. #define ERRFILE ERRFILE_net80211
  26. /** All 802.11 errors
  27. */
  28. struct errortab wireless_errors[] __errortab = {
  29. __einfo_errortab ( EINFO_EINVAL_PKT_TOO_SHORT ),
  30. __einfo_errortab ( EINFO_EINVAL_PKT_VERSION ),
  31. __einfo_errortab ( EINFO_EINVAL_PKT_NOT_DATA ),
  32. __einfo_errortab ( EINFO_EINVAL_PKT_NOT_FROMDS ),
  33. __einfo_errortab ( EINFO_EINVAL_PKT_LLC_HEADER ),
  34. __einfo_errortab ( EINFO_EINVAL_CRYPTO_REQUEST ),
  35. __einfo_errortab ( EINFO_EINVAL_ACTIVE_SCAN ),
  36. __einfo_errortab ( EINFO_ECONNREFUSED_FAILURE ),
  37. __einfo_errortab ( EINFO_ECONNREFUSED_CAPAB_UNSUPP ),
  38. __einfo_errortab ( EINFO_ECONNREFUSED_REASSOC_INVALID ),
  39. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_DENIED ),
  40. __einfo_errortab ( EINFO_ECONNREFUSED_AUTH_ALGO_UNSUPP ),
  41. __einfo_errortab ( EINFO_ECONNREFUSED_AUTH_SEQ_INVALID ),
  42. __einfo_errortab ( EINFO_ECONNREFUSED_AUTH_CHALL_INVALID ),
  43. __einfo_errortab ( EINFO_ECONNREFUSED_AUTH_TIMEOUT ),
  44. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NO_ROOM ),
  45. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NEED_RATE ),
  46. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NEED_SHORT_PMBL ),
  47. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NEED_PBCC ),
  48. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NEED_CHAN_AGILITY ),
  49. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NEED_SPECTRUM_MGMT ),
  50. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_BAD_POWER ),
  51. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_BAD_CHANNELS ),
  52. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NEED_SHORT_SLOT ),
  53. __einfo_errortab ( EINFO_ECONNREFUSED_ASSOC_NEED_DSSS_OFDM ),
  54. __einfo_errortab ( EINFO_EHOSTUNREACH_QOS_FAILURE ),
  55. __einfo_errortab ( EINFO_EHOSTUNREACH_QOS_NO_ROOM ),
  56. __einfo_errortab ( EINFO_EHOSTUNREACH_LINK_IS_HORRIBLE ),
  57. __einfo_errortab ( EINFO_EHOSTUNREACH_ASSOC_NEED_QOS ),
  58. __einfo_errortab ( EINFO_EHOSTUNREACH_REQUEST_DECLINED ),
  59. __einfo_errortab ( EINFO_EHOSTUNREACH_REQUEST_INVALID ),
  60. __einfo_errortab ( EINFO_EHOSTUNREACH_TS_NOT_CREATED_AGAIN ),
  61. __einfo_errortab ( EINFO_EHOSTUNREACH_INVALID_IE ),
  62. __einfo_errortab ( EINFO_EHOSTUNREACH_GROUP_CIPHER_INVALID ),
  63. __einfo_errortab ( EINFO_EHOSTUNREACH_PAIR_CIPHER_INVALID ),
  64. __einfo_errortab ( EINFO_EHOSTUNREACH_AKMP_INVALID ),
  65. __einfo_errortab ( EINFO_EHOSTUNREACH_RSN_VERSION_UNSUPP ),
  66. __einfo_errortab ( EINFO_EHOSTUNREACH_RSN_CAPAB_INVALID ),
  67. __einfo_errortab ( EINFO_EHOSTUNREACH_CIPHER_REJECTED ),
  68. __einfo_errortab ( EINFO_EHOSTUNREACH_TS_NOT_CREATED_WAIT ),
  69. __einfo_errortab ( EINFO_EHOSTUNREACH_DIRECT_LINK_FORBIDDEN ),
  70. __einfo_errortab ( EINFO_EHOSTUNREACH_DEST_NOT_PRESENT ),
  71. __einfo_errortab ( EINFO_EHOSTUNREACH_DEST_NOT_QOS ),
  72. __einfo_errortab ( EINFO_EHOSTUNREACH_ASSOC_LISTEN_TOO_HIGH ),
  73. __einfo_errortab ( EINFO_ECONNRESET_UNSPECIFIED ),
  74. __einfo_errortab ( EINFO_ECONNRESET_AUTH_NO_LONGER_VALID ),
  75. __einfo_errortab ( EINFO_ECONNRESET_LEAVING ),
  76. __einfo_errortab ( EINFO_ECONNRESET_INACTIVITY ),
  77. __einfo_errortab ( EINFO_ECONNRESET_OUT_OF_RESOURCES ),
  78. __einfo_errortab ( EINFO_ECONNRESET_NEED_AUTH ),
  79. __einfo_errortab ( EINFO_ECONNRESET_NEED_ASSOC ),
  80. __einfo_errortab ( EINFO_ECONNRESET_LEAVING_TO_ROAM ),
  81. __einfo_errortab ( EINFO_ECONNRESET_REASSOC_INVALID ),
  82. __einfo_errortab ( EINFO_ECONNRESET_BAD_POWER ),
  83. __einfo_errortab ( EINFO_ECONNRESET_BAD_CHANNELS ),
  84. __einfo_errortab ( EINFO_ECONNRESET_INVALID_IE ),
  85. __einfo_errortab ( EINFO_ECONNRESET_MIC_FAILURE ),
  86. __einfo_errortab ( EINFO_ECONNRESET_4WAY_TIMEOUT ),
  87. __einfo_errortab ( EINFO_ECONNRESET_GROUPKEY_TIMEOUT ),
  88. __einfo_errortab ( EINFO_ECONNRESET_4WAY_INVALID ),
  89. __einfo_errortab ( EINFO_ECONNRESET_GROUP_CIPHER_INVALID ),
  90. __einfo_errortab ( EINFO_ECONNRESET_PAIR_CIPHER_INVALID ),
  91. __einfo_errortab ( EINFO_ECONNRESET_AKMP_INVALID ),
  92. __einfo_errortab ( EINFO_ECONNRESET_RSN_VERSION_INVALID ),
  93. __einfo_errortab ( EINFO_ECONNRESET_RSN_CAPAB_INVALID ),
  94. __einfo_errortab ( EINFO_ECONNRESET_8021X_FAILURE ),
  95. __einfo_errortab ( EINFO_ECONNRESET_CIPHER_REJECTED ),
  96. __einfo_errortab ( EINFO_ENETRESET_QOS_UNSPECIFIED ),
  97. __einfo_errortab ( EINFO_ENETRESET_QOS_OUT_OF_RESOURCES ),
  98. __einfo_errortab ( EINFO_ENETRESET_LINK_IS_HORRIBLE ),
  99. __einfo_errortab ( EINFO_ENETRESET_INVALID_TXOP ),
  100. __einfo_errortab ( EINFO_ENETRESET_REQUESTED_LEAVING ),
  101. __einfo_errortab ( EINFO_ENETRESET_REQUESTED_NO_USE ),
  102. __einfo_errortab ( EINFO_ENETRESET_REQUESTED_NEED_SETUP ),
  103. __einfo_errortab ( EINFO_ENETRESET_REQUESTED_TIMEOUT ),
  104. __einfo_errortab ( EINFO_ENETRESET_CIPHER_UNSUPPORTED ),
  105. };