Browse Source

qcacmn: Replace wlan_reg_set_channel_params_for_freq

Replace all occurrences of
wlan_reg_set_channel_params_for_freq  API with new API
wlan_reg_set_channel_params_for_pwrmode.

Change-Id: Id751558b32f2b61bd356e1ebce3238598fbd16c1
CRs-Fixed: 3144794
Divyajyothi Goparaju 2 năm trước cách đây
mục cha
commit
28aa42540e

+ 0 - 15
umac/regulatory/dispatcher/inc/wlan_reg_services_api.h

@@ -1693,21 +1693,6 @@ uint16_t wlan_reg_find_nearest_puncture_pattern(enum phy_ch_width bw,
 }
 #endif
 
-/**
- * wlan_reg_set_channel_params_for_freq() - Sets channel parameteres for
- * given bandwidth
- * @pdev: The physical dev to program country code or regdomain
- * @freq: channel center frequency.
- * @sec_ch_2g_freq: Secondary channel center frequency.
- * @ch_params: pointer to the channel parameters.
- *
- * Return: None
- */
-void wlan_reg_set_channel_params_for_freq(struct wlan_objmgr_pdev *pdev,
-					  qdf_freq_t freq,
-					  qdf_freq_t sec_ch_2g_freq,
-					  struct ch_params *ch_params);
-
 #ifdef CONFIG_REG_6G_PWRMODE
 /**
  * wlan_reg_set_channel_params_for_pwrmode() - Sets channel parameteres for

+ 0 - 11
umac/regulatory/dispatcher/src/wlan_reg_services_api.c

@@ -1269,17 +1269,6 @@ wlan_reg_get_2g_bonded_channel_state_for_freq(struct wlan_objmgr_pdev *pdev,
 							bw);
 }
 
-void wlan_reg_set_channel_params_for_freq(struct wlan_objmgr_pdev *pdev,
-					  qdf_freq_t freq,
-					  qdf_freq_t sec_ch_2g_freq,
-					  struct ch_params *ch_params)
-{
-	reg_set_channel_params_for_freq(pdev, freq, sec_ch_2g_freq, ch_params,
-					true);
-}
-
-qdf_export_symbol(wlan_reg_set_channel_params_for_freq);
-
 #ifdef CONFIG_REG_6G_PWRMODE
 void wlan_reg_set_channel_params_for_pwrmode(struct wlan_objmgr_pdev *pdev,
 					     qdf_freq_t freq,