qcacmn: add fix to send ppdu in sequential order
logic of holding ppdu info list is modified to store it in sequential order. Change-Id: I179e76f4bb1663e141e48df5f274ac5fd1b81bbc
This commit is contained in:
@@ -4038,12 +4038,23 @@ static void dp_htt_ppdu_stats_detach(struct dp_pdev *pdev)
|
||||
struct ppdu_info *ppdu_info, *ppdu_info_next;
|
||||
|
||||
TAILQ_FOREACH_SAFE(ppdu_info, &pdev->ppdu_info_list,
|
||||
ppdu_info_list_elem, ppdu_info_next) {
|
||||
ppdu_info_list_elem, ppdu_info_next) {
|
||||
if (!ppdu_info)
|
||||
break;
|
||||
qdf_assert_always(ppdu_info->nbuf);
|
||||
qdf_nbuf_free(ppdu_info->nbuf);
|
||||
qdf_mem_free(ppdu_info);
|
||||
pdev->list_depth--;
|
||||
}
|
||||
|
||||
TAILQ_FOREACH_SAFE(ppdu_info, &pdev->sched_comp_ppdu_list,
|
||||
ppdu_info_list_elem, ppdu_info_next) {
|
||||
if (!ppdu_info)
|
||||
break;
|
||||
qdf_assert_always(ppdu_info->nbuf);
|
||||
qdf_nbuf_free(ppdu_info->nbuf);
|
||||
qdf_mem_free(ppdu_info);
|
||||
pdev->sched_comp_list_depth--;
|
||||
}
|
||||
|
||||
if (pdev->ppdu_tlv_buf)
|
||||
@@ -12709,6 +12720,7 @@ static inline QDF_STATUS dp_pdev_init(struct cdp_soc_t *txrx_soc,
|
||||
* initialize ppdu tlv list
|
||||
*/
|
||||
TAILQ_INIT(&pdev->ppdu_info_list);
|
||||
TAILQ_INIT(&pdev->sched_comp_ppdu_list);
|
||||
pdev->tlv_count = 0;
|
||||
pdev->list_depth = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user