software/drivers/sd8887/src/wlan/mlan/mlan_wmm.c
/**
 *  @brief Delete all route address from RA list
 *
 *  @param priv     Pointer to the mlan_private driver data struct
 *
 *  @return         N/A
 */
@brief Delete all route address from RA list
@param priv     Pointer to the mlan_private driver data struct

@return         N/A
@brief Delete all route address from RA list @param priv Pointer to the mlan_private driver data struct @return N / A
static void
wlan_wmm_delete_all_ralist(pmlan_private priv)
{
	raListTbl *ra_list;
	int i;
	pmlan_adapter pmadapter = priv->adapter;
	ENTER();
	for (i = 0; i < MAX_NUM_TID; ++i) {
		PRINTM(MINFO, "RAList: Freeing buffers for TID %d\n", i);
		while ((ra_list =
			(raListTbl *)util_peek_list(pmadapter->pmoal_handle,
						    &priv->wmm.tid_tbl_ptr[i].
						    ra_list, MNULL, MNULL))) {
			util_unlink_list(pmadapter->pmoal_handle,
					 &priv->wmm.tid_tbl_ptr[i].ra_list,
					 (pmlan_linked_list)ra_list, MNULL,
					 MNULL);
			pmadapter->callbacks.moal_mfree(pmadapter->pmoal_handle,
							(t_u8 *)ra_list);
		}
		util_init_list((pmlan_linked_list)
			       &priv->wmm.tid_tbl_ptr[i].ra_list);
		priv->wmm.tid_tbl_ptr[i].ra_list_curr = MNULL;
	}
	LEAVE();
}
static void wlan_wmm_delete_all_ralist ( pmlan_private priv ) { raListTbl * ra_list ; int i ; pmlan_adapter pmadapter = priv -> adapter ; ENTER ( ) ; for ( i = 0 ; i < MAX_NUM_TID ; ++ i ) { PRINTM ( MINFO , " \n " , i ) ; while ( ( ra_list = ( raListTbl * ) util_peek_list ( pmadapter -> pmoal_handle , & priv -> wmm . tid_tbl_ptr [ i ] . ra_list , MNULL , MNULL ) ) ) { util_unlink_list ( pmadapter -> pmoal_handle , & priv -> wmm . tid_tbl_ptr [ i ] . ra_list , ( pmlan_linked_list ) ra_list , MNULL , MNULL ) ; pmadapter -> callbacks . moal_mfree ( pmadapter -> pmoal_handle , ( t_u8 * ) ra_list ) ; } util_init_list ( ( pmlan_linked_list ) & priv -> wmm . tid_tbl_ptr [ i ] . ra_list ) ; priv -> wmm . tid_tbl_ptr [ i ] . ra_list_curr = MNULL ; } LEAVE ( ) ; }
@brief Delete all route address from RA list
  @param priv     Pointer to the mlan_private driver data struct
@brief Delete all route address from RA list @param priv Pointer to the mlan_private driver data struct