Browse Source

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
Venkateswara Swamy Bandaru 8 years ago
parent
commit
15c68dadff
2 changed files with 4 additions and 0 deletions
  1. 1 0
      dp/wifi3.0/dp_tx.c
  2. 3 0
      dp/wifi3.0/dp_types.h

+ 1 - 0
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

+ 3 - 0
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;