/*====================================================================* * * Copyright (c) 2013 Qualcomm Atheros, Inc. * * All rights reserved. * *====================================================================*/ /*====================================================================* * * nda.h - Qualcomm Atheros restricted definitions and declarations; * * this file contains definitions and declarations that require * a formal non-disclosure agreement with Qualcomm Atheros; * * this file, and associated nda folder, are omitted from standard * toolkit releases; * *--------------------------------------------------------------------*/ #ifndef NDA_HEADER #define NDA_HEADER /*====================================================================* * system header files; *--------------------------------------------------------------------*/ #include /*====================================================================* * custom header files; *--------------------------------------------------------------------*/ #include "../plc/plc.h" /*====================================================================* * constants; *--------------------------------------------------------------------*/ #define MID_FIRMWARE 0 #define MID_SOFTLOADER 1 #define MID_USERPIB 2 #define MID_FACTPIB 3 #define MID_USERPIBALT 4 #define MID_FACTPIBALT 5 #define MID_CUSTMODULE 6 #define ACCESS_KEY_TYPE_DAK 1 #define ACCESS_LEVEL_PTS 1 /*====================================================================* * functions; *--------------------------------------------------------------------*/ signed EraseFlashMemory (struct plc *); signed EraseFlashMemory1 (struct plc *); signed EraseFlashMemory2 (struct plc *); signed EraseFlashMemory3 (struct plc *); signed ModuleErase (struct plc * plc, struct vs_module_spec * vs_module_spec); signed EraseFlashSector (struct plc *); signed ReadFlashMemory (struct plc *); signed ReadFlashMemory1 (struct plc *); signed ReadFlashMemory2 (struct plc *); signed ReadFlashMemory3 (struct plc *); signed ReadFlashParameters (struct plc *); signed ReadFlashFirmware (struct plc *); signed RandomAddress (struct plc *); signed FlashPTS (struct plc *); signed NetworkProbe (struct plc *); signed Sniffer (struct plc *); signed Loopback (struct plc *, void * memory, size_t extent); signed Monitor (struct plc *, signed colon, signed space); signed AccessLevelPTS (struct plc *); /*====================================================================* * *--------------------------------------------------------------------*/ #endif