qcacmn: Enable channel avoid event ignore feature

CH_AVOID_RULE_DO_NOT_RESTART has existed, can be used to support
channel avoid event ignore feature by ini
restart_beaconing_on_chan_avoid_event.

In automobile special requirement, LTE co-ex event needs to be
ignored to avoid mcc.

Change-Id: If24c9132c0098f3c463d3eefc6e957335ddedef1
CRs-Fixed: 2476111
This commit is contained in:
Jianmin Zhu 2019-06-20 19:07:19 +08:00 • committed by nshrivas
commit f9a03d090a

View file

@ -190,6 +190,11 @@ QDF_STATUS reg_process_ch_avoid_event(struct wlan_objmgr_psoc *psoc,
reg_err("reg psoc private obj is NULL");
return QDF_STATUS_E_FAILURE;
}
if (CH_AVOID_RULE_DO_NOT_RESTART ==
psoc_priv_obj->restart_beaconing) {
reg_debug("skipping all LTE Coex unsafe channel range");
return QDF_STATUS_SUCCESS;
}
/* Make unsafe channel list */
reg_debug("band count %d", ch_avoid_event->ch_avoid_range_cnt);