software/drivers/sd8887/src/wlan/mlan/mlan_11h.c
/**
 *  @brief Check if RADAR_DETECTED handling is blocking data tx
 *
 *  @param pmadapter    Pointer to mlan_adapter
 *
 *  @return MTRUE or MFALSE
 */
@brief Check if RADAR_DETECTED handling is blocking data tx
@param pmadapter    Pointer to mlan_adapter

@return MTRUE or MFALSE
@brief Check if RADAR_DETECTED handling is blocking data tx @param pmadapter Pointer to mlan_adapter @return MTRUE or MFALSE
t_bool
wlan_11h_radar_detected_tx_blocked(mlan_adapter *pmadapter)
{
	if (pmadapter->state_rdh.tx_block)
		return MTRUE;
	switch (pmadapter->state_rdh.stage) {
	case RDH_OFF:
	case RDH_CHK_INTFS:
	case RDH_STOP_TRAFFIC:
		return MFALSE;
	}
	return MTRUE;
}
t_bool wlan_11h_radar_detected_tx_blocked ( mlan_adapter * pmadapter ) { if ( pmadapter -> state_rdh . tx_block ) return MTRUE ; switch ( pmadapter -> state_rdh . stage ) { case RDH_OFF : case RDH_CHK_INTFS : case RDH_STOP_TRAFFIC : return MFALSE ; } return MTRUE ; }
@brief Check if RADAR_DETECTED handling is blocking data tx
  @param pmadapter    Pointer to mlan_adapter
@brief Check if RADAR_DETECTED handling is blocking data tx @param pmadapter Pointer to mlan_adapter