qcacmn: Correct issues in DFS Full Offload featurization
Change I498ac1f8cd1d6423032d7b3b8c233656c5f0bf22 ("qcacmn: Have separate macros for DA/PO/FO to reduce the code size") introduced featurization of the DFS logic. Two functions, target_if_dfs_reg_offload_events() and dfs_fill_emulate_bang_radar_test(), were not correctly featurized, resulting in compilation failures when WLAN_DFS_FULL_OFFLOAD is not enabled. To prevent these failures properly featurize the functions. CRs-Fixed: 2366596 Change-Id: I4bcecf95d92cb3ebe2ff893c17755385dda11429
这个提交包含在:
@@ -274,6 +274,7 @@ static int target_if_dfs_reg_ocac_event(struct wlan_objmgr_psoc *psoc)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(WLAN_DFS_FULL_OFFLOAD)
|
||||
QDF_STATUS target_if_dfs_reg_offload_events(
|
||||
struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
@@ -299,6 +300,7 @@ QDF_STATUS target_if_dfs_reg_offload_events(
|
||||
else
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(QCA_SUPPORT_AGILE_DFS)
|
||||
QDF_STATUS target_send_ocac_abort_cmd(struct wlan_objmgr_pdev *pdev)
|
||||
|
@@ -27,6 +27,7 @@
|
||||
#include "../dfs_internal.h"
|
||||
#include "../dfs_full_offload.h"
|
||||
|
||||
#if defined(WLAN_DFS_FULL_OFFLOAD)
|
||||
int dfs_fill_emulate_bang_radar_test(struct wlan_dfs *dfs,
|
||||
uint8_t segid, bool is_chirp, int32_t freq_offset,
|
||||
struct dfs_emulate_bang_radar_test_cmd *dfs_unit_test)
|
||||
@@ -60,3 +61,4 @@ int dfs_fill_emulate_bang_radar_test(struct wlan_dfs *dfs,
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
在新工单中引用
屏蔽一个用户