|
@@ -42,7 +42,7 @@
|
|
|
- REG_CH_TO_FREQ(reg_get_chan_enum(curchan)) \
|
|
|
> REG_SBS_SEPARATION_THRESHOLD)
|
|
|
|
|
|
-#ifdef CONFIG_MCL_REGDB
|
|
|
+#ifdef CONFIG_REG_CLIENT
|
|
|
/**
|
|
|
* reg_chan_has_dfs_attribute() - check channel has dfs attribue or not
|
|
|
* @ch: channel number.
|
|
@@ -385,7 +385,7 @@ bool reg_ignore_default_country(struct wlan_regulatory_psoc_priv_obj *soc_reg,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-#if defined(WLAN_FEATURE_DSRC) && defined(CONFIG_MCL_REGDB)
|
|
|
+#if defined(WLAN_FEATURE_DSRC) && defined(CONFIG_REG_CLIENT)
|
|
|
/**
|
|
|
* reg_is_dsrc_chan () - Checks the channel for DSRC or not
|
|
|
* @chan: channel
|
|
@@ -411,7 +411,7 @@ reg_is_etsi13_srd_chan_allowed_master_mode(struct wlan_objmgr_pdev *pdev)
|
|
|
{
|
|
|
return true;
|
|
|
}
|
|
|
-#elif defined(CONFIG_MCL_REGDB)
|
|
|
+#elif defined(CONFIG_REG_CLIENT)
|
|
|
static inline bool reg_is_dsrc_chan(struct wlan_objmgr_pdev *pdev,
|
|
|
uint32_t chan)
|
|
|
{
|
|
@@ -469,7 +469,7 @@ static inline bool reg_is_etsi13_srd_chan(struct wlan_objmgr_pdev *pdev,
|
|
|
}
|
|
|
#endif
|
|
|
|
|
|
-#if defined(DISABLE_CHANNEL_LIST) && defined(CONFIG_MCL_REGDB)
|
|
|
+#if defined(DISABLE_CHANNEL_LIST) && defined(CONFIG_REG_CLIENT)
|
|
|
/**
|
|
|
* set_disable_channel_state() - Set disable channel state flag
|
|
|
* @pdev_priv_obj: Pointer to pdev object
|