software/drivers/sd8887/src/wlan/mlan/mlan_11n_rxreorder.c
/**
 *  @brief This function restarts the reordering timeout timer
 *
 *  @param pmadapter        A pointer to mlan_adapter
 *  @param rx_reor_tbl_ptr  A pointer to structure RxReorderTbl
 *
 *  @return                 N/A
 */
@brief This function restarts the reordering timeout timer
@param pmadapter        A pointer to mlan_adapter
@param rx_reor_tbl_ptr  A pointer to structure RxReorderTbl

@return                 N/A
@brief This function restarts the reordering timeout timer @param pmadapter A pointer to mlan_adapter @param rx_reor_tbl_ptr A pointer to structure RxReorderTbl @return N / A
static void
mlan_11n_rxreorder_timer_restart(pmlan_adapter pmadapter,
				 RxReorderTbl *rx_reor_tbl_ptr)
{
	t_u16 min_flush_time = 0;
	ENTER();
	if (rx_reor_tbl_ptr->win_size >= 32)
		min_flush_time = MIN_FLUSH_TIMER_15_MS;
	else
		min_flush_time = MIN_FLUSH_TIMER_MS;
	if (rx_reor_tbl_ptr->timer_context.timer_is_set)
		pmadapter->callbacks.moal_stop_timer(pmadapter->pmoal_handle,
						     rx_reor_tbl_ptr->
						     timer_context.timer);
	pmadapter->callbacks.moal_start_timer(pmadapter->pmoal_handle,
					      rx_reor_tbl_ptr->timer_context.
					      timer, MFALSE,
					      (rx_reor_tbl_ptr->win_size *
					       min_flush_time));
	rx_reor_tbl_ptr->timer_context.timer_is_set = MTRUE;
	LEAVE();
}
static void mlan_11n_rxreorder_timer_restart ( pmlan_adapter pmadapter , RxReorderTbl * rx_reor_tbl_ptr ) { t_u16 min_flush_time = 0 ; ENTER ( ) ; if ( rx_reor_tbl_ptr -> win_size >= 32 ) min_flush_time = MIN_FLUSH_TIMER_15_MS ; else min_flush_time = MIN_FLUSH_TIMER_MS ; if ( rx_reor_tbl_ptr -> timer_context . timer_is_set ) pmadapter -> callbacks . moal_stop_timer ( pmadapter -> pmoal_handle , rx_reor_tbl_ptr -> timer_context . timer ) ; pmadapter -> callbacks . moal_start_timer ( pmadapter -> pmoal_handle , rx_reor_tbl_ptr -> timer_context . timer , MFALSE , ( rx_reor_tbl_ptr -> win_size * min_flush_time ) ) ; rx_reor_tbl_ptr -> timer_context . timer_is_set = MTRUE ; LEAVE ( ) ; }
@brief This function restarts the reordering timeout timer
  @param pmadapter        A pointer to mlan_adapter
  @param rx_reor_tbl_ptr  A pointer to structure RxReorderTbl
@brief This function restarts the reordering timeout timer @param pmadapter A pointer to mlan_adapter @param rx_reor_tbl_ptr A pointer to structure RxReorderTbl