software/drivers/sd8887/src/wlan/mlan/mlan_11n_rxreorder.c
/**
 *  @brief This function will dispatch amsdu packet and
 *         forward it to kernel/upper layer
 *
 *  @param priv     A pointer to mlan_private
 *  @param pmbuf    A pointer to the received buffer
 *
 *  @return         MLAN_STATUS_SUCCESS or MLAN_STATUS_FAILURE
 */
@brief This function will dispatch amsdu packet and
forward it to kernel/upper layer

@param priv     A pointer to mlan_private
@param pmbuf    A pointer to the received buffer


@brief This function will dispatch amsdu packet and forward it to kernel / upper layer @param priv A pointer to mlan_private @param pmbuf A pointer to the received buffer
static mlan_status
wlan_11n_dispatch_amsdu_pkt(mlan_private *priv, pmlan_buffer pmbuf)
{
	RxPD *prx_pd;
	prx_pd = (RxPD *)(pmbuf->pbuf + pmbuf->data_offset);
	ENTER();
	if (prx_pd->rx_pkt_type == PKT_TYPE_AMSDU) {
		pmbuf->data_len = prx_pd->rx_pkt_length;
		pmbuf->data_offset += prx_pd->rx_pkt_offset;
		wlan_11n_deaggregate_pkt(priv, pmbuf);
		LEAVE();
		return MLAN_STATUS_SUCCESS;
	}
	LEAVE();
	return MLAN_STATUS_FAILURE;
}
static mlan_status wlan_11n_dispatch_amsdu_pkt ( mlan_private * priv , pmlan_buffer pmbuf ) { RxPD * prx_pd ; prx_pd = ( RxPD * ) ( pmbuf -> pbuf + pmbuf -> data_offset ) ; ENTER ( ) ; if ( prx_pd -> rx_pkt_type == PKT_TYPE_AMSDU ) { pmbuf -> data_len = prx_pd -> rx_pkt_length ; pmbuf -> data_offset += prx_pd -> rx_pkt_offset ; wlan_11n_deaggregate_pkt ( priv , pmbuf ) ; LEAVE ( ) ; return MLAN_STATUS_SUCCESS ; } LEAVE ( ) ; return MLAN_STATUS_FAILURE ; }
@brief This function will dispatch amsdu packet and
         forward it to kernel/upper layer
@brief This function will dispatch amsdu packet and forward it to kernel / upper layer