|
@@ -2159,8 +2159,8 @@ QDF_STATUS wlan_reg_get_6g_chan_ap_power(struct wlan_objmgr_pdev *pdev,
|
|
*
|
|
*
|
|
* This function is meant to be called to find the channel frequency power
|
|
* This function is meant to be called to find the channel frequency power
|
|
* information for a client when the device is operating as a client. It will
|
|
* information for a client when the device is operating as a client. It will
|
|
- * fill in the parameter is_psd, tx_power, and eirp_psd_power. eirp_psd_power
|
|
|
|
- * will only be filled if the channel is PSD.
|
|
|
|
|
|
+ * fill in the parameters tx_power and eirp_psd_power. eirp_psd_power will
|
|
|
|
+ * only be filled if the channel is PSD.
|
|
*
|
|
*
|
|
* Return: QDF_STATUS
|
|
* Return: QDF_STATUS
|
|
*/
|
|
*/
|
|
@@ -2168,7 +2168,7 @@ QDF_STATUS
|
|
wlan_reg_get_client_power_for_connecting_ap(struct wlan_objmgr_pdev *pdev,
|
|
wlan_reg_get_client_power_for_connecting_ap(struct wlan_objmgr_pdev *pdev,
|
|
enum reg_6g_ap_type ap_type,
|
|
enum reg_6g_ap_type ap_type,
|
|
qdf_freq_t chan_freq,
|
|
qdf_freq_t chan_freq,
|
|
- bool *is_psd, uint16_t *tx_power,
|
|
|
|
|
|
+ bool is_psd, uint16_t *tx_power,
|
|
uint16_t *eirp_psd_power);
|
|
uint16_t *eirp_psd_power);
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -2309,10 +2309,9 @@ static inline QDF_STATUS
|
|
wlan_reg_get_client_power_for_connecting_ap(struct wlan_objmgr_pdev *pdev,
|
|
wlan_reg_get_client_power_for_connecting_ap(struct wlan_objmgr_pdev *pdev,
|
|
enum reg_6g_ap_type ap_type,
|
|
enum reg_6g_ap_type ap_type,
|
|
qdf_freq_t chan_freq,
|
|
qdf_freq_t chan_freq,
|
|
- bool *is_psd, uint16_t *tx_power,
|
|
|
|
|
|
+ bool is_psd, uint16_t *tx_power,
|
|
uint16_t *eirp_psd_power)
|
|
uint16_t *eirp_psd_power)
|
|
{
|
|
{
|
|
- *is_psd = false;
|
|
|
|
*tx_power = 0;
|
|
*tx_power = 0;
|
|
*eirp_psd_power = 0;
|
|
*eirp_psd_power = 0;
|
|
return QDF_STATUS_E_NOSUPPORT;
|
|
return QDF_STATUS_E_NOSUPPORT;
|