qcacmn: Add API to get FCC constraint info
Add API to get FCC constraint info from regulatory pdev private object. Change-Id: I038f7e35c15d36213d898f349b6c521b2a2360f2 CRs-Fixed: 2431414
此提交包含在:
@@ -177,6 +177,16 @@ QDF_STATUS wlan_reg_get_channel_list_with_power(struct wlan_objmgr_pdev *pdev,
|
||||
QDF_STATUS wlan_reg_read_default_country(struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *country);
|
||||
|
||||
/**
|
||||
* wlan_reg_get_fcc_constraint() - Check FCC constraint on given frequency
|
||||
* @pdev: physical dev to get
|
||||
* @freq: frequency to be checked
|
||||
*
|
||||
* Return: If FCC constraint is on applied given frequency return true
|
||||
* else return false.
|
||||
*/
|
||||
bool wlan_reg_get_fcc_constraint(struct wlan_objmgr_pdev *pdev, uint32_t freq);
|
||||
|
||||
#ifdef CONFIG_REG_CLIENT
|
||||
/**
|
||||
* wlan_reg_read_current_country() - Read the current country for the regdomain
|
||||
|
新增問題並參考
封鎖使用者