qca-wifi: Add ADFS compile-time macros
For a 16-MB profile, while insmoding "umac.ko" unknown symbol error for function "dfs_translate_radar_params_for_agile_chan" is seen. The actual definition of function "dfs_translate_radar_params_for_agile_chan" is present in the dfs_zero_cac.c which is not compiled for a 16-MB profile. Therefore, the unknown symbol error is seen. Add ADFS compile-time macros QCA_SUPPORT_AGILE_DFS and QCA_SUPPORT_ADFS_RCAC to the declaration of the ADFS specific function dfs_translate_radar_params_for_agile_chan(). As the macros are not present in 16-MB profile, the function becomes an empty function in the zero_cac.h and definition of the function dfs_translate_radar_params_for_agile_chan() is present (though empty) in the umac.ko. Change-Id: I873231c703796c4ff17ec9a15fe2df7ddde1b8dc CRs-Fixed: 2801858
Dieser Commit ist enthalten in:
@@ -5168,7 +5168,9 @@ exit:
|
||||
return status;
|
||||
}
|
||||
#endif
|
||||
#if defined(WLAN_DFS_TRUE_160MHZ_SUPPORT) && defined(WLAN_DFS_FULL_OFFLOAD)
|
||||
|
||||
#if (defined(QCA_SUPPORT_AGILE_DFS) || defined(QCA_SUPPORT_ADFS_RCAC)) && \
|
||||
defined(WLAN_DFS_TRUE_160MHZ_SUPPORT) && defined(WLAN_DFS_FULL_OFFLOAD)
|
||||
void dfs_translate_radar_params_for_agile_chan(struct wlan_dfs *dfs,
|
||||
struct radar_found_info *r_info)
|
||||
{
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren