software/drivers/sd8887/src/wlan/mlan/mlan_wmm.c
/**
 *  @brief Clean up the wmm queue
 *
 *  @param priv  Pointer to the mlan_private driver data struct
 *
 *  @return      N/A
 */
@brief Clean up the wmm queue
@param priv  Pointer to the mlan_private driver data struct

@return      N/A
@brief Clean up the wmm queue @param priv Pointer to the mlan_private driver data struct @return N / A
static void
wlan_wmm_cleanup_queues(pmlan_private priv)
{
	int i;
	ENTER();
	for (i = 0; i < MAX_NUM_TID; i++) {
		wlan_wmm_del_pkts_in_ralist(priv,
					    &priv->wmm.tid_tbl_ptr[i].ra_list);
		priv->wmm.pkts_queued[i] = 0;
		priv->wmm.pkts_paused[i] = 0;
	}
	util_scalar_write(priv->adapter->pmoal_handle,
			  &priv->wmm.tx_pkts_queued, 0, MNULL, MNULL);
	util_scalar_write(priv->adapter->pmoal_handle,
			  &priv->wmm.highest_queued_prio, HIGH_PRIO_TID, MNULL,
			  MNULL);
	LEAVE();
}
static void wlan_wmm_cleanup_queues ( pmlan_private priv ) { int i ; ENTER ( ) ; for ( i = 0 ; i < MAX_NUM_TID ; i ++ ) { wlan_wmm_del_pkts_in_ralist ( priv , & priv -> wmm . tid_tbl_ptr [ i ] . ra_list ) ; priv -> wmm . pkts_queued [ i ] = 0 ; priv -> wmm . pkts_paused [ i ] = 0 ; } util_scalar_write ( priv -> adapter -> pmoal_handle , & priv -> wmm . tx_pkts_queued , 0 , MNULL , MNULL ) ; util_scalar_write ( priv -> adapter -> pmoal_handle , & priv -> wmm . highest_queued_prio , HIGH_PRIO_TID , MNULL , MNULL ) ; LEAVE ( ) ; }
@brief Clean up the wmm queue
  @param priv  Pointer to the mlan_private driver data struct
@brief Clean up the wmm queue @param priv Pointer to the mlan_private driver data struct