qcacld-3.0: Change the max wow config in FW to 5
FW offload has no wow-wakeup-filter for GC vdev because the number of filters is limited to two but Host tries to add filter from VDEV-0 to VDEV-2. To address this, change the max wow config in FW to five. Change-Id: Ie44403ef127cf0160f39aa001deddee2205b4696 CRs-Fixed: 2505367
This commit is contained in:
@@ -462,21 +462,16 @@ uint8_t pmo_get_num_wow_filters(struct wlan_objmgr_psoc *psoc)
|
|||||||
{
|
{
|
||||||
struct pmo_psoc_priv_obj *psoc_ctx;
|
struct pmo_psoc_priv_obj *psoc_ctx;
|
||||||
bool apf = false;
|
bool apf = false;
|
||||||
bool arp_ns = false;
|
|
||||||
bool pkt_filter = false;
|
bool pkt_filter = false;
|
||||||
|
|
||||||
pmo_psoc_with_ctx(psoc, psoc_ctx) {
|
pmo_psoc_with_ctx(psoc, psoc_ctx) {
|
||||||
apf = pmo_intersect_apf(psoc_ctx);
|
apf = pmo_intersect_apf(psoc_ctx);
|
||||||
arp_ns = pmo_intersect_arp_ns_offload(psoc_ctx);
|
|
||||||
pkt_filter = pmo_intersect_packet_filter(psoc_ctx);
|
pkt_filter = pmo_intersect_packet_filter(psoc_ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!apf && !pkt_filter)
|
if (!apf && !pkt_filter)
|
||||||
return PMO_WOW_FILTERS_MAX;
|
return PMO_WOW_FILTERS_MAX;
|
||||||
|
|
||||||
if (arp_ns)
|
|
||||||
return PMO_WOW_FILTERS_ARP_NS;
|
|
||||||
|
|
||||||
return PMO_WOW_FILTERS_PKT_OR_APF;
|
return PMO_WOW_FILTERS_PKT_OR_APF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user