|
@@ -383,31 +383,12 @@ bool reg_ignore_default_country(struct wlan_regulatory_psoc_priv_obj *soc_reg,
|
|
|
* Return: AP power type
|
|
|
*/
|
|
|
enum reg_6g_ap_type reg_decide_6g_ap_pwr_type(struct wlan_objmgr_pdev *pdev);
|
|
|
-
|
|
|
-/**
|
|
|
- * reg_set_ap_pwr_and_update_chan_list() - Set the AP power mode and recompute
|
|
|
- * the current channel list
|
|
|
- *
|
|
|
- * @pdev: pdev ptr
|
|
|
- * @ap_pwr_type: the AP power type to update to
|
|
|
- *
|
|
|
- * Return: QDF_STATUS
|
|
|
- */
|
|
|
-QDF_STATUS reg_set_ap_pwr_and_update_chan_list(struct wlan_objmgr_pdev *pdev,
|
|
|
- enum reg_6g_ap_type ap_pwr_type);
|
|
|
#else
|
|
|
static inline enum reg_6g_ap_type
|
|
|
reg_decide_6g_ap_pwr_type(struct wlan_objmgr_pdev *pdev)
|
|
|
{
|
|
|
return REG_CURRENT_MAX_AP_TYPE;
|
|
|
}
|
|
|
-
|
|
|
-static inline
|
|
|
-QDF_STATUS reg_set_ap_pwr_and_update_chan_list(struct wlan_objmgr_pdev *pdev,
|
|
|
- enum reg_6g_ap_type ap_pwr_type)
|
|
|
-{
|
|
|
- return QDF_STATUS_E_NOSUPPORT;
|
|
|
-}
|
|
|
#endif /* CONFIG_BAND_6GHZ */
|
|
|
#else
|
|
|
static inline QDF_STATUS reg_read_current_country(struct wlan_objmgr_psoc *psoc,
|
|
@@ -512,13 +493,6 @@ reg_decide_6g_ap_pwr_type(struct wlan_objmgr_pdev *pdev)
|
|
|
{
|
|
|
return REG_CURRENT_MAX_AP_TYPE;
|
|
|
}
|
|
|
-
|
|
|
-static inline
|
|
|
-QDF_STATUS reg_set_ap_pwr_and_update_chan_list(struct wlan_objmgr_pdev *pdev,
|
|
|
- enum reg_6g_ap_type ap_pwr_type)
|
|
|
-{
|
|
|
- return QDF_STATUS_E_NOSUPPORT;
|
|
|
-}
|
|
|
#endif /* CONFIG_REG_CLIENT */
|
|
|
|
|
|
#if defined(WLAN_FEATURE_DSRC) && defined(CONFIG_REG_CLIENT)
|