mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: Configure phyerr filter offload before sap starts
Do not send phyerr filter offload to FW when dfs module is doing initialization, because in target_if_dfs_set_phyerr_filter_offload routine GET_WMI_HDL_FROM_PDEV returns NULL at this time. Configure phyerr filter offload before sap starts. Change-Id: I60436fc1e142937383a3714c727166bc5fa8d0db CRs-Fixed: 2204683
This commit is contained in:
parent
8d33d9b7a8
commit
7fd216a629
2 changed files with 0 additions and 19 deletions
|
|
@ -2154,11 +2154,4 @@ wlan_psoc_get_dfs_txops(struct wlan_objmgr_psoc *psoc);
|
|||
*/
|
||||
void dfs_nol_free_list(struct wlan_dfs *dfs);
|
||||
|
||||
/**
|
||||
* dfs_set_phyerr_filter_offload - config phyerr filter offload.
|
||||
* @dfs: Pointer to wlan_dfs structure.
|
||||
*
|
||||
* Return: None
|
||||
*/
|
||||
void dfs_set_phyerr_filter_offload(struct wlan_dfs *dfs);
|
||||
#endif /* _DFS_H_ */
|
||||
|
|
|
|||
|
|
@ -276,7 +276,6 @@ int dfs_main_attach(struct wlan_dfs *dfs)
|
|||
dfs->dfs_phyerr_w53_counter = 0;
|
||||
dfs->dfs_pri_multiplier = 2;
|
||||
dfs_get_radars(dfs);
|
||||
dfs_set_phyerr_filter_offload(dfs);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
@ -1080,14 +1079,3 @@ void dfs_update_cur_chan_flags(struct wlan_dfs *dfs,
|
|||
dfs->dfs_curchan->dfs_ch_flags = flags;
|
||||
dfs->dfs_curchan->dfs_ch_flagext = flagext;
|
||||
}
|
||||
|
||||
#ifdef QCA_MCL_DFS_SUPPORT
|
||||
void dfs_set_phyerr_filter_offload(struct wlan_dfs *dfs)
|
||||
{
|
||||
tgt_dfs_set_phyerr_filter_offload(dfs->dfs_pdev_obj);
|
||||
}
|
||||
#else
|
||||
void dfs_set_phyerr_filter_offload(struct wlan_dfs *dfs)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue