software/drivers/sd8887/src/wlan/mlan/mlan_11h.c
/**
 *  @brief This function gets current radar detect flags
 *
 *  @param pmadapter    A pointer to mlan_adapter structure
 *
 *  @return             11H MIB setting for radar detect
 */
@brief This function gets current radar detect flags
@param pmadapter    A pointer to mlan_adapter structure

@return             11H MIB setting for radar detect
@brief This function gets current radar detect flags @param pmadapter A pointer to mlan_adapter structure @return 11H MIB setting for radar detect
static t_u32
wlan_11h_get_current_radar_detect_flags(mlan_adapter *pmadapter)
{
	t_u32 radar_det_flags = 0;
	ENTER();
	if (pmadapter->state_11h.is_master_radar_det_active)
		radar_det_flags |= MASTER_RADAR_DET_MASK;
	if (pmadapter->state_11h.is_slave_radar_det_active)
		radar_det_flags |= SLAVE_RADAR_DET_MASK;
	PRINTM(MINFO, "%s: radar_det_state_curr=0x%x\n",
	       __func__, radar_det_flags);
	LEAVE();
	return radar_det_flags;
}
static t_u32 wlan_11h_get_current_radar_detect_flags ( mlan_adapter * pmadapter ) { t_u32 radar_det_flags = 0 ; ENTER ( ) ; if ( pmadapter -> state_11h . is_master_radar_det_active ) radar_det_flags |= MASTER_RADAR_DET_MASK ; if ( pmadapter -> state_11h . is_slave_radar_det_active ) radar_det_flags |= SLAVE_RADAR_DET_MASK ; PRINTM ( MINFO , " \n " , __func__ , radar_det_flags ) ; LEAVE ( ) ; return radar_det_flags ; }
@brief This function gets current radar detect flags
  @param pmadapter    A pointer to mlan_adapter structure
@brief This function gets current radar detect flags @param pmadapter A pointer to mlan_adapter structure