Typedefs
NWAL External Call backs
NWAL Module API

Typedefs

typedef void nwal_CmdCallBack (nwal_AppId appId, nwal_TransID_t transId, nwal_RetValue ret)
 nwal_CmdCallBack Callback function for non blocking configuration request
typedef void nwal_rxPktCallBack (uint32_t appCookie, uint16_t numPkts, nwalRxPktInfo_t *pPktInfo, uint64_t timestamp, nwal_Bool_t *pFreePkt)
 nwal_rxPktCallBack Callback function for incoming packets from NWAL
typedef void nwal_CmdPaStatsReply (nwal_AppId appId, nwal_TransID_t transId, paSysStats_t *stats)
 nwal_CmdPaStatsReply Callback function for statistics response
typedef void nwal_rxDmCallback (uint32_t appCookie, uint16_t numPkts, nwalDmRxPayloadInfo_t *pDmRxPayloadInfo, nwal_Bool_t *pFreePkt)
 nwal_rxDmCallback function callback to be used for Data Mode payload received from SA
typedef int nwal_rxReassemProc (Ti_Pkt *pPkt, NWAL_queueHnd destQ)
 nwal_rxReassemProc function callback being called from NWAL if NWAL_CTRL_CFG_PA_ASSISTED_REASSEM is enabled through

Typedef Documentation

typedef void nwal_CmdCallBack(nwal_AppId appId, nwal_TransID_t transId, nwal_RetValue ret)

nwal_CmdCallBack Callback function for non blocking configuration request

The call back function need to be registered by application in the case of all asynchronous configuration command request to NetCP. Call back is initiated after results for configuration request is available from NetCP module.

typedef void nwal_CmdPaStatsReply(nwal_AppId appId, nwal_TransID_t transId, paSysStats_t *stats)

nwal_CmdPaStatsReply Callback function for statistics response

The call back function will be called in the case of all asynchronous stats command request to NetCP. NWAL will call call back to provide the result for configuration request to application.

typedef void nwal_rxDmCallback(uint32_t appCookie, uint16_t numPkts, nwalDmRxPayloadInfo_t *pDmRxPayloadInfo, nwal_Bool_t *pFreePkt)

nwal_rxDmCallback function callback to be used for Data Mode payload received from SA

The call back function need to be registered by application

Parameters:
[in]appCookieApplication cookie passed per poll API call.
[in]numPktsNumber of Packets. Max Value
See also:
NWAL_MAX_RX_PKT_THRESHOLD
Parameters:
[in]pDmPayloadArray of Data Mode Payload
[out]pFreePktArray per packet. To be set by application to indicate if packet needs to be freed by NWAL after callback returns. Set to nwal_TRUE if packet needs to be freed by NWAL
typedef void nwal_rxPktCallBack(uint32_t appCookie, uint16_t numPkts, nwalRxPktInfo_t *pPktInfo, uint64_t timestamp, nwal_Bool_t *pFreePkt)

nwal_rxPktCallBack Callback function for incoming packets from NWAL

The call back function need to be registered by application

Parameters:
[in]appCookieApplication cookie passed per poll API call.
[in]numPktsNumber of Packets. Max Value
See also:
NWAL_MAX_RX_PKT_THRESHOLD
Parameters:
[in]pPktInfoArray of packets with meta information
[in]timestampTimestamp for incoming packet when callback is initiated
[out]pFreePktArray per packet. To be set by application to indicate if packet needs to be freed by NWAL after callback returns. Set to nwal_TRUE if packet needs to be freed by NWAL
typedef int nwal_rxReassemProc(Ti_Pkt *pPkt, NWAL_queueHnd destQ)

nwal_rxReassemProc function callback being called from NWAL if NWAL_CTRL_CFG_PA_ASSISTED_REASSEM is enabled through

See also:
nwal_control. Callback is called at Application for SW IP reassembly of fragmented packet.PA Sample reassembly routine paEx_reassemLibProc() can optionally be used for reassembly

The call back function need to be registered by application

Parameters:
[in]pPktApplication cookie passed per poll API call.
[in]destQApplicable for PASS-assisted IP reassembly NWAL_CTRL_CFG_PA_ASSISTED_REASSEM: Application to push the fully reassembled packets destination queue

Copyright 2014, Texas Instruments Incorporated