Browse Source

qcacmn: Correct rx_msdu_end_tlv and rx_mpdu_start_tlv len

With CONFIG_NO_TLV_TAGS=n, seeing below values showing in dump.
sizeof(struct rx_msdu_end_tlv) = 136
sizeof(struct rx_mpdu_start_tlv) = 128

Indeed these values match current comments for CONFIG_NO_TLV_TAGS=y.

Therefore correct the comments for rx_msdu_end_tlv and
rx_mpdu_start_tlv length for better readability.

Change-Id: I655f8fb9df09f5f7bb63f4bb2e3f297725354fbe
CRs-Fixed: 3340399
Jia Ding 2 years ago
parent
commit
160d6306ea
1 changed files with 2 additions and 2 deletions
  1. 2 2
      hal/wifi3.0/be/hal_be_rx_tlv.h

+ 2 - 2
hal/wifi3.0/be/hal_be_rx_tlv.h

@@ -417,9 +417,9 @@ struct rx_msdu_end_tlv {
 };
 };
 
 
 struct rx_pkt_tlvs {
 struct rx_pkt_tlvs {
-	struct rx_msdu_end_tlv   msdu_end_tlv;	/*  120 bytes */
+	struct rx_msdu_end_tlv   msdu_end_tlv;	/*  136 bytes */
 	uint8_t rx_padding0[RX_BE_PADDING0_BYTES];	/*  8 bytes */
 	uint8_t rx_padding0[RX_BE_PADDING0_BYTES];	/*  8 bytes */
-	struct rx_mpdu_start_tlv mpdu_start_tlv;	/*  120 bytes */
+	struct rx_mpdu_start_tlv mpdu_start_tlv;	/*  128 bytes */
 #ifndef NO_RX_PKT_HDR_TLV
 #ifndef NO_RX_PKT_HDR_TLV
 	struct rx_pkt_hdr_tlv	pkt_hdr_tlv;		/* 128 bytes */
 	struct rx_pkt_hdr_tlv	pkt_hdr_tlv;		/* 128 bytes */
 #endif
 #endif