Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3755c10d authored by Yeshwanth Sriram Guntuka's avatar Yeshwanth Sriram Guntuka Committed by Gerrit - the friendly Code Review server
Browse files

qcacmn: Allocate memory for fisa pkt history separately

Fisa packet history is around 6KB for each sw fisa
flow entry and this is part of the dp_fisa_rx_sw_ft
structure. The total size of the SW FT as a result is
around 830KB and the higher order memory allocation via
kzalloc for this could fail in low/fragmented memory
scenarios.

Fix is to allocate memory for FISA pkt history separately
and attach it to the SW FT entry.

Change-Id: I7296d7269c1b86ec38ea1668e8a0893335bbdb6f
CRs-Fixed: 2936353
parent e8450e52
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3000,7 +3000,7 @@ struct dp_fisa_rx_sw_ft {
	qdf_time_t flow_init_ts;
	qdf_time_t last_accessed_ts;
#ifdef WLAN_SUPPORT_RX_FISA_HIST
	struct fisa_pkt_hist pkt_hist;
	struct fisa_pkt_hist *pkt_hist;
#endif
};