software/drivers/sd8887/src/wlan/mlan/mlan_wmm.c
/**
 *   @brief Get ralist node
 *
 *   @param priv     Pointer to the mlan_private driver data struct
 *   @param tid      TID
 *   @param ra_addr  Pointer to the route address
 *
 *   @return         ra_list or MNULL
 */
@brief Get ralist node
@param priv     Pointer to the mlan_private driver data struct
@param tid      TID
@param ra_addr  Pointer to the route address

@return         ra_list or MNULL
@brief Get ralist node @param priv Pointer to the mlan_private driver data struct @param tid TID @param ra_addr Pointer to the route address @return ra_list or MNULL
raListTbl *
wlan_wmm_get_ralist_node(pmlan_private priv, t_u8 tid, t_u8 *ra_addr)
{
	raListTbl *ra_list;
	ENTER();
	ra_list =
		(raListTbl *)util_peek_list(priv->adapter->pmoal_handle,
					    &priv->wmm.tid_tbl_ptr[tid].ra_list,
					    MNULL, MNULL);
	while (ra_list && (ra_list != (raListTbl *)
			   &priv->wmm.tid_tbl_ptr[tid].ra_list)) {
		if (!memcmp
		    (priv->adapter, ra_list->ra, ra_addr,
		     MLAN_MAC_ADDR_LENGTH)) {
			LEAVE();
			return ra_list;
		}
		ra_list = ra_list->pnext;
	}
	LEAVE();
	return MNULL;
}
raListTbl * wlan_wmm_get_ralist_node ( pmlan_private priv , t_u8 tid , t_u8 * ra_addr ) { raListTbl * ra_list ; ENTER ( ) ; ra_list = ( raListTbl * ) util_peek_list ( priv -> adapter -> pmoal_handle , & priv -> wmm . tid_tbl_ptr [ tid ] . ra_list , MNULL , MNULL ) ; while ( ra_list && ( ra_list != ( raListTbl * ) & priv -> wmm . tid_tbl_ptr [ tid ] . ra_list ) ) { if ( ! memcmp ( priv -> adapter , ra_list -> ra , ra_addr , MLAN_MAC_ADDR_LENGTH ) ) { LEAVE ( ) ; return ra_list ; } ra_list = ra_list -> pnext ; } LEAVE ( ) ; return MNULL ; }
@brief Get ralist node
   @param priv     Pointer to the mlan_private driver data struct
   @param tid      TID
   @param ra_addr  Pointer to the route address
@brief Get ralist node @param priv Pointer to the mlan_private driver data struct @param tid TID @param ra_addr Pointer to the route address