atheros_wifi/custom_src/stack_custom/cust_api_stack_txrx.c
QOSAL_VOID 
Custom_DeliverFrameToNetworkStack(QOSAL_VOID *pCxt, QOSAL_VOID *pReq)
{
	ATH_PROMISCUOUS_CB prom_cb = (ATH_PROMISCUOUS_CB)(GET_DRIVER_CXT(pCxt)->promiscuous_cb);
    		
    if(GET_DRIVER_COMMON(pCxt)->promiscuous_mode){
        prom_cb(pReq);
    }else{
    	custom_receive_tcpip(pCxt,pReq);
	}     
}
/*****************************************************************************/
/*  Custom_DeliverFrameToNetworkStack - Called by API_RxComplete to 
 *   deliver a data frame to the network stack. This code will perform 
 *   platform specific operations.
 *      QOSAL_VOID *pCxt - the driver context. 
 *      QOSAL_VOID *pReq - the packet.
 *****************************************************************************/
Called by API_RxComplete to
deliver a data frame to the network stack. This code will perform
platform specific operations.
QOSAL_VOID *pCxt - the driver context.
QOSAL_VOID *pReq - the packet.
Called by API_RxComplete to deliver a data frame to the network stack . This code will perform platform specific operations . QOSAL_VOID * pCxt - the driver context . QOSAL_VOID * pReq - the packet .
QOSAL_VOID 
Custom_DeliverFrameToNetworkStack(QOSAL_VOID *pCxt, QOSAL_VOID *pReq)
{
	ATH_PROMISCUOUS_CB prom_cb = (ATH_PROMISCUOUS_CB)(GET_DRIVER_CXT(pCxt)->promiscuous_cb);
    if(GET_DRIVER_COMMON(pCxt)->promiscuous_mode){
        prom_cb(pReq);
    }else{
    	custom_receive_tcpip(pCxt,pReq);
	}     
}
QOSAL_VOID Custom_DeliverFrameToNetworkStack ( QOSAL_VOID * pCxt , QOSAL_VOID * pReq ) { ATH_PROMISCUOUS_CB prom_cb = ( ATH_PROMISCUOUS_CB ) ( GET_DRIVER_CXT ( pCxt ) -> promiscuous_cb ) ; if ( GET_DRIVER_COMMON ( pCxt ) -> promiscuous_mode ) { prom_cb ( pReq ) ; } else { custom_receive_tcpip ( pCxt , pReq ) ; } }
Custom_DeliverFrameToNetworkStack - Called by API_RxComplete to
   deliver a data frame to the network stack.
Custom_DeliverFrameToNetworkStack - Called by API_RxComplete to deliver a data frame to the network stack .