qcacmn: Add regulatory rx_ops for setting DFS channels availability
Add regulatory rx_ops for setting DFS channels availability to be called from Offload layer. Change-Id: I15cec0f119baf5668052618dc3a2552470d1f14f CRs-Fixed: 2384202
This commit is contained in:
@@ -964,6 +964,8 @@ struct wlan_lmac_if_reg_rx_ops {
|
||||
uint16_t regdmn);
|
||||
QDF_STATUS (*reg_get_current_regdomain)(struct wlan_objmgr_pdev *pdev,
|
||||
struct cur_regdmn_info *cur_regdmn);
|
||||
QDF_STATUS (*reg_enable_dfs_channels)(struct wlan_objmgr_pdev *pdev,
|
||||
bool dfs_enable);
|
||||
};
|
||||
|
||||
#ifdef CONVERGED_P2P_ENABLE
|
||||
|
@@ -316,6 +316,9 @@ static void wlan_lmac_if_umac_reg_rx_ops_register(
|
||||
|
||||
rx_ops->reg_rx_ops.reg_get_current_regdomain =
|
||||
wlan_reg_get_curr_regdomain;
|
||||
|
||||
rx_ops->reg_rx_ops.reg_enable_dfs_channels =
|
||||
ucfg_reg_enable_dfs_channels;
|
||||
}
|
||||
|
||||
#ifdef CONVERGED_P2P_ENABLE
|
||||
|
Reference in New Issue
Block a user