qcacmn: Add API wlan_reg_get_next_lower_bandwidth
Add API wlan_reg_get_next_lower_bandwidth Change-Id: Iff8f112cc848373ea7b0275b4a8613cd43047166 CRs-Fixed: 3639903
This commit is contained in:

committed by
Rahul Choudhary

parent
55bf01b553
commit
34c894f480
@@ -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,
|
QDF_STATUS wlan_reg_read_default_country(struct wlan_objmgr_psoc *psoc,
|
||||||
uint8_t *country);
|
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
|
* wlan_reg_get_max_5g_bw_from_country_code() - Get the max 5G
|
||||||
* bandwidth from country code
|
* bandwidth from country code
|
||||||
|
@@ -51,6 +51,11 @@ QDF_STATUS wlan_reg_read_default_country(struct wlan_objmgr_psoc *psoc,
|
|||||||
return reg_read_default_country(psoc, country);
|
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,
|
QDF_STATUS wlan_reg_read_current_country(struct wlan_objmgr_psoc *psoc,
|
||||||
uint8_t *country)
|
uint8_t *country)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user