qcacmn: Add API wlan_reg_get_next_lower_bandwidth

Add API wlan_reg_get_next_lower_bandwidth

Change-Id: Iff8f112cc848373ea7b0275b4a8613cd43047166
CRs-Fixed: 3639903
Dieser Commit ist enthalten in:
Jianmin Zhu
2023-10-11 21:44:18 +08:00
committet von Rahul Choudhary
Ursprung 55bf01b553
Commit 34c894f480
2 geänderte Dateien mit 13 neuen und 0 gelöschten Zeilen

Datei anzeigen

@@ -529,6 +529,14 @@ qdf_freq_t wlan_reg_ch_to_freq(uint32_t ch_enum);
QDF_STATUS wlan_reg_read_default_country(struct wlan_objmgr_psoc *psoc,
uint8_t *country);
/**
* wlan_get_next_lower_bandwidth() - Get next lower bandwidth
* @ch_width: Channel width
*
* Return: Channel width
*/
enum phy_ch_width wlan_get_next_lower_bandwidth(enum phy_ch_width ch_width);
/**
* wlan_reg_get_max_5g_bw_from_country_code() - Get the max 5G
* bandwidth from country code

Datei anzeigen

@@ -51,6 +51,11 @@ QDF_STATUS wlan_reg_read_default_country(struct wlan_objmgr_psoc *psoc,
return reg_read_default_country(psoc, country);
}
enum phy_ch_width wlan_get_next_lower_bandwidth(enum phy_ch_width ch_width)
{
return get_next_lower_bandwidth(ch_width);
}
QDF_STATUS wlan_reg_read_current_country(struct wlan_objmgr_psoc *psoc,
uint8_t *country)
{