software/drivers/sd8887/src/wlan/mlinux/moal_ioctl.c
/**
 *  @brief Check current multi-channel connections
 *
 *  @param priv          A pointer to moal_private structure
 *  @param wait_option          Wait option
 *  @param new channel 	new channel
 *
 *  @return              N/A
 */
@brief Check current multi-channel connections
@param priv          A pointer to moal_private structure
@param wait_option          Wait option
@param new channel  new channel

@return              N/A
@brief Check current multi - channel connections @param priv A pointer to moal_private structure @param wait_option Wait option @param new channel new channel @return N / A
void
woal_check_mc_connection(moal_private *priv, t_u8 wait_option, t_u8 new_channel)
{
#ifdef UAP_SUPPORT
	moal_handle *handle = priv->phandle;
	int i;
#endif
	t_u16 enable = 0;
	woal_mc_policy_cfg(priv, &enable, wait_option, MLAN_ACT_GET);
	if (!enable)
		return;
#ifdef UAP_SUPPORT
	for (i = 0; i < handle->priv_num; i++) {
		if (GET_BSS_ROLE(handle->priv[i]) == MLAN_BSS_ROLE_UAP) {
			if (handle->priv[i]->bss_started == MTRUE)
				woal_check_uap_dfs_status(handle->priv[i],
							  wait_option,
							  new_channel);
		}
	}
#endif
	return;
}
void woal_check_mc_connection ( moal_private * priv , t_u8 wait_option , t_u8 new_channel ) { #ifdef UAP_SUPPORT moal_handle * handle = priv -> phandle ; int i ; #endif t_u16 enable = 0 ; woal_mc_policy_cfg ( priv , & enable , wait_option , MLAN_ACT_GET ) ; if ( ! enable ) return ; #ifdef UAP_SUPPORT for ( i = 0 ; i < handle -> priv_num ; i ++ ) { if ( GET_BSS_ROLE ( handle -> priv [ i ] ) == MLAN_BSS_ROLE_UAP ) { if ( handle -> priv [ i ] -> bss_started == MTRUE ) woal_check_uap_dfs_status ( handle -> priv [ i ] , wait_option , new_channel ) ; } } #endif return ; }
@brief Check current multi-channel connections
  @param priv          A pointer to moal_private structure
  @param wait_option          Wait option
  @param new channel  new channel
@brief Check current multi - channel connections @param priv A pointer to moal_private structure @param wait_option Wait option @param new channel new channel