![]() |
![]() |
PA/SA/Host Commands | |
Define PASS Firmware Commands These values are placed in the 3 msbits of the protocol specific information | |
#define | PASAHO_CONFIGURE 4 |
#define | PASAHO_PARX_PARSECMD 0 |
#define | PASAHO_PARX_MULTI_ROUTE 5 |
#define | PASAHO_PAMOD_CMPT_CHKSUM 0 |
#define | PASAHO_PAMOD_CMPT_CRC 1 |
#define | PASAHO_PAMOD_PATCH 2 |
#define | PASAHO_PAMOD_NROUTE 3 |
#define | PASAHO_PAMOD_MULTI_ROUTE 5 |
#define | PASAHO_PAMOD_REPORT_TIMESTAMP 6 |
#define | PASAHO_PAMOD_GROUP_7 7 |
#define | PASAHO_PAMOD_DUMMY PASAHO_PAMOD_GROUP_7 |
#define | PASAHO_PAMOD_IP_FRAGMENT PASAHO_PAMOD_GROUP_7 |
#define | PASAHO_PAMOD_PATCH_MSG_LEN PASAHO_PAMOD_GROUP_7 |
#define | PASAHO_SA_LONG_INFO 0 |
#define | PASAHO_SA_SHORT_INFO 1 |
#define | PASAHO_SA_AIR_INFO 2 |
#define PASAHO_CONFIGURE 4 |
PA/SA Configuration command
#define PASAHO_PAMOD_CMPT_CHKSUM 0 |
Instruct PDSP to compute checksum
#define PASAHO_PAMOD_CMPT_CRC 1 |
Instruct PDSP to compute CRC
#define PASAHO_PAMOD_DUMMY PASAHO_PAMOD_GROUP_7 |
No action is required. It is for SA alignment only
#define PASAHO_PAMOD_GROUP_7 7 |
Define this group command so that several command can share the same command code. They will be distinguished by its unique 5-bit sub-command code as defined at
#define PASAHO_PAMOD_IP_FRAGMENT PASAHO_PAMOD_GROUP_7 |
Instruct PDSP to perform IPv4 fragmentation. The transmit IP packets will be divided into smaller IP fragments with the updated IPv4 header and checksum based on the specified MTU size and forwarded to the destination specified by the next route command. It is up to the module user to format the correct IPv4 header. The IP fragmentation command will be ignored if any error is detected.
#define PASAHO_PAMOD_MULTI_ROUTE 5 |
Instruct PDSP to perform multiple routing
#define PASAHO_PAMOD_NROUTE 3 |
Provide PDSP with the next routing information
#define PASAHO_PAMOD_PATCH 2 |
Instruct PDSP to perform blind patch
#define PASAHO_PAMOD_PATCH_MSG_LEN PASAHO_PAMOD_GROUP_7 |
Instruct PDSP to perform message length patching after IPv4 fragmentation operation. This command is valid only if it is in conjunction with the PASAHO_PAMOD_IP_FRAGMENT command.
#define PASAHO_PAMOD_REPORT_TIMESTAMP 6 |
Instruct PDSP to report the system timestamp at the timestamp field of the packet descriptor when the tx packet is delivered out of the PASS
#define PASAHO_PARX_MULTI_ROUTE 5 |
Instruct PDSP to perform multiple routing
#define PASAHO_PARX_PARSECMD 0 |
Instruct PDSP to parse the receive packet
#define PASAHO_SA_AIR_INFO 2 |
Provide SA with the packet parsing information for the air ciphering operation
#define PASAHO_SA_LONG_INFO 0 |
Provide SA with the packet parsing information in the long form
#define PASAHO_SA_SHORT_INFO 1 |
Provide SA with the packet parsing information in the short form