qcacld-3.0: Optimize processing of DFS phy events
qcacld-2.0 to qcacld-3.0 propagation Optimize by avoiding processing of DFS phy events in below scenario's 1)Once radar indication given to UMAC. 2)Vdev restart in SAP interface Change-Id: Ib175feed4a611a5c7185202e3d50abc3e84fc781 CRs-Fixed: 910586
这个提交包含在:
@@ -224,6 +224,16 @@ int dfs_process_radarevent(struct ath_dfs *dfs, struct ieee80211_channel *chan)
|
||||
ATH_DFSEVENTQ_UNLOCK(dfs);
|
||||
|
||||
found = 0;
|
||||
cdf_spin_lock_bh(&dfs->ic->chan_lock);
|
||||
if (dfs->ic->disable_phy_err_processing) {
|
||||
ATH_DFSQ_LOCK(dfs);
|
||||
empty = STAILQ_EMPTY(&(dfs->dfs_radarq));
|
||||
ATH_DFSQ_UNLOCK(dfs);
|
||||
cdf_spin_unlock_bh(&dfs->ic->chan_lock);
|
||||
continue;
|
||||
}
|
||||
|
||||
cdf_spin_unlock_bh(&dfs->ic->chan_lock);
|
||||
if (re.re_chanindex < DFS_NUM_RADAR_STATES)
|
||||
rs = &dfs->dfs_radar[re.re_chanindex];
|
||||
else {
|
||||
|
在新工单中引用
屏蔽一个用户