wlan :Increase the number of channel in channel avoidance support.
For CxM support for LTE-Carrier aggregation coexistence with wlan,
increase the number of channel in channel avoidance support from
4 to 15.
CRs-Fixed: 855340
Change-Id: I72e9b1a7eda79713af872e70e2cbef889dc235c7
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index a4f2be4..0592a2a 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -30948,6 +30948,10 @@
pEventData->pEventData,
sizeof(tHalAvoidFreqRangeIndParams));
+ /* Avoid Over flow */
+ if (WLAN_HAL_MAX_AVOID_FREQ_RANGE < chAvoidIndicationParam.avoidCnt)
+ chAvoidIndicationParam.avoidCnt = WLAN_HAL_MAX_AVOID_FREQ_RANGE;
+
wdiInd.wdiIndicationType = WDI_CH_AVOID_IND;
wdiInd.wdiIndicationData.wdiChAvoidInd.avoidRangeCount =
chAvoidIndicationParam.avoidCnt;