From 15c68dadff3b430b9185e71e501d949cc73f880f Mon Sep 17 00:00:00 2001 From: Venkateswara Swamy Bandaru Date: Thu, 18 May 2017 11:54:20 +0530 Subject: [PATCH] qcacmn: Fix channel information mesh frame tx completion Added channel info to meta header in mesh frame tx completion. Change-Id: If032ee92330cc76c683f2b81af3707bccfe76fa9 CRs-Fixed: 2003389 --- dp/wifi3.0/dp_tx.c | 1 + dp/wifi3.0/dp_types.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/dp/wifi3.0/dp_tx.c b/dp/wifi3.0/dp_tx.c index 47c0560bfe91..a0ab47086ece 100644 --- a/dp/wifi3.0/dp_tx.c +++ b/dp/wifi3.0/dp_tx.c @@ -1733,6 +1733,7 @@ void dp_tx_comp_fill_tx_completion_stats(struct dp_tx_desc_s *tx_desc, mhdr = (struct meta_hdr_s *)qdf_nbuf_data(netbuf); mhdr->rssi = ts->ack_frame_rssi; + mhdr->channel = tx_desc->pdev->operating_channel; } #else diff --git a/dp/wifi3.0/dp_types.h b/dp/wifi3.0/dp_types.h index 890101a7c5c6..8688bd4f32d9 100644 --- a/dp/wifi3.0/dp_types.h +++ b/dp/wifi3.0/dp_types.h @@ -783,6 +783,9 @@ struct dp_pdev { struct hal_rx_ppdu_info ppdu_info; + /* operating channel */ + uint8_t operating_channel; + qdf_nbuf_queue_t rx_status_q; uint32_t mon_ppdu_id; uint32_t mon_ppdu_status;