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
This commit is contained in:

committed by
nshrivas

parent
a178724b30
commit
457b26718a
@@ -274,6 +274,7 @@ static int target_if_dfs_reg_ocac_event(struct wlan_objmgr_psoc *psoc)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(WLAN_DFS_FULL_OFFLOAD)
|
||||||
QDF_STATUS target_if_dfs_reg_offload_events(
|
QDF_STATUS target_if_dfs_reg_offload_events(
|
||||||
struct wlan_objmgr_psoc *psoc)
|
struct wlan_objmgr_psoc *psoc)
|
||||||
{
|
{
|
||||||
@@ -299,6 +300,7 @@ QDF_STATUS target_if_dfs_reg_offload_events(
|
|||||||
else
|
else
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(QCA_SUPPORT_AGILE_DFS)
|
#if defined(QCA_SUPPORT_AGILE_DFS)
|
||||||
QDF_STATUS target_send_ocac_abort_cmd(struct wlan_objmgr_pdev *pdev)
|
QDF_STATUS target_send_ocac_abort_cmd(struct wlan_objmgr_pdev *pdev)
|
||||||
|
@@ -27,6 +27,7 @@
|
|||||||
#include "../dfs_internal.h"
|
#include "../dfs_internal.h"
|
||||||
#include "../dfs_full_offload.h"
|
#include "../dfs_full_offload.h"
|
||||||
|
|
||||||
|
#if defined(WLAN_DFS_FULL_OFFLOAD)
|
||||||
int dfs_fill_emulate_bang_radar_test(struct wlan_dfs *dfs,
|
int dfs_fill_emulate_bang_radar_test(struct wlan_dfs *dfs,
|
||||||
uint8_t segid, bool is_chirp, int32_t freq_offset,
|
uint8_t segid, bool is_chirp, int32_t freq_offset,
|
||||||
struct dfs_emulate_bang_radar_test_cmd *dfs_unit_test)
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user