qcacmn: populate actual framelength for MGMTCTRL TLV
for HTT_PPDU_STATS_TX_MGMTCTRL_PAYLOAD_TLV get the length from TLV data Change-Id: I84526a36ebac5a267530d697a4fe51646d0c9cbd
This commit is contained in:

committed by
nshrivas

parent
b5549d6468
commit
b8db1bd02b
@@ -2938,8 +2938,10 @@ static struct ppdu_info *dp_htt_process_tlv(struct dp_pdev *pdev,
|
||||
*/
|
||||
if (tlv_type == HTT_PPDU_STATS_TX_MGMTCTRL_PAYLOAD_TLV) {
|
||||
pdev->mgmtctrl_frm_info.mgmt_buf = tlv_buf;
|
||||
pdev->mgmtctrl_frm_info.mgmt_buf_len = tlv_length;
|
||||
pdev->mgmtctrl_frm_info.ppdu_id = ppdu_id;
|
||||
pdev->mgmtctrl_frm_info.mgmt_buf_len =
|
||||
HTT_PPDU_STATS_TX_MGMTCTRL_TLV_FRAME_LENGTH_GET
|
||||
(*(msg_word + 1));
|
||||
msg_word =
|
||||
(uint32_t *)((uint8_t *)tlv_buf + tlv_length);
|
||||
length -= (tlv_length);
|
||||
|
Reference in New Issue
Block a user