qcacmn: Do not free Tx flow pool in case of MLO link switch

In case of MLO same adapter maps to both vdevs. Tx is done with
primary link vdev pool. In link switch case vdev0 flow pool is
deleted and traffic will continue to flow with same vdev0 flow_id
This is resulting in packets drops within the driver due non-availibilty
of flow pool.
Fix this by skipping flow pool deletion in case of STA MLO connection.

Change-Id: Ie56ea221f7f254484bd31ec4880f2155779fb513
CRs-Fixed: 3292979
This commit is contained in:
Prakash Manjunathappa
2022-09-17 21:47:42 -07:00
committed by Madan Koyyalamudi
parent 4db1255f94
commit 44ece0c600
3 changed files with 51 additions and 7 deletions

View File

@@ -382,6 +382,7 @@ dp_tx_desc_alloc(struct dp_soc *soc, uint8_t desc_pool_id)
}
qdf_spin_unlock_bh(&pool->flow_pool_lock);
} else {
dp_err_rl("NULL desc pool pool_id %d", desc_pool_id);
soc->pool_stats.pkt_drop_no_pool++;
}