nda.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /*====================================================================*
  2. *
  3. * Copyright (c) 2013 Qualcomm Atheros, Inc.
  4. *
  5. * All rights reserved.
  6. *
  7. *====================================================================*/
  8. /*====================================================================*
  9. *
  10. * nda.h - Qualcomm Atheros restricted definitions and declarations;
  11. *
  12. * this file contains definitions and declarations that require
  13. * a formal non-disclosure agreement with Qualcomm Atheros;
  14. *
  15. * this file, and associated nda folder, are omitted from standard
  16. * toolkit releases;
  17. *
  18. *--------------------------------------------------------------------*/
  19. #ifndef NDA_HEADER
  20. #define NDA_HEADER
  21. /*====================================================================*
  22. * system header files;
  23. *--------------------------------------------------------------------*/
  24. #include <stdint.h>
  25. /*====================================================================*
  26. * custom header files;
  27. *--------------------------------------------------------------------*/
  28. #include "../plc/plc.h"
  29. /*====================================================================*
  30. * constants;
  31. *--------------------------------------------------------------------*/
  32. #define MID_FIRMWARE 0
  33. #define MID_SOFTLOADER 1
  34. #define MID_USERPIB 2
  35. #define MID_FACTPIB 3
  36. #define MID_USERPIBALT 4
  37. #define MID_FACTPIBALT 5
  38. #define MID_CUSTMODULE 6
  39. #define ACCESS_KEY_TYPE_DAK 1
  40. #define ACCESS_LEVEL_PTS 1
  41. /*====================================================================*
  42. * functions;
  43. *--------------------------------------------------------------------*/
  44. signed EraseFlashMemory (struct plc *);
  45. signed EraseFlashMemory1 (struct plc *);
  46. signed EraseFlashMemory2 (struct plc *);
  47. signed EraseFlashMemory3 (struct plc *);
  48. signed ModuleErase (struct plc * plc, struct vs_module_spec * vs_module_spec);
  49. signed EraseFlashSector (struct plc *);
  50. signed ReadFlashMemory (struct plc *);
  51. signed ReadFlashMemory1 (struct plc *);
  52. signed ReadFlashMemory2 (struct plc *);
  53. signed ReadFlashMemory3 (struct plc *);
  54. signed ReadFlashParameters (struct plc *);
  55. signed ReadFlashFirmware (struct plc *);
  56. signed RandomAddress (struct plc *);
  57. signed FlashPTS (struct plc *);
  58. signed NetworkProbe (struct plc *);
  59. signed Sniffer (struct plc *);
  60. signed Loopback (struct plc *, void * memory, size_t extent);
  61. signed Monitor (struct plc *, signed colon, signed space);
  62. signed AccessLevelPTS (struct plc *);
  63. /*====================================================================*
  64. *
  65. *--------------------------------------------------------------------*/
  66. #endif