qca-wifi: Convert host pdev to target pdev id

Convert host pdev id to target pdev id before sending
WMI_PDEV_UPDATE_PKT_ROUTING_CMDID cmd. This is needed for HK_PHYB
RDP where 0 host pdev corresponds to target pdev 2

Change-Id: I2bb63453a19d899896b7d87d90ac4c78721c7a31
This commit is contained in:
Nandha Kishore Easwaran
2020-06-05 11:17:15 +05:30
committed by Gerrit - the friendly Code Review server
父節點 0d19542bc1
當前提交 43707528ce

查看文件

@@ -1703,7 +1703,8 @@ static QDF_STATUS set_rx_pkt_type_routing_tag_update_tlv(
WMITLV_TAG_STRUC_wmi_pdev_update_pkt_routing_cmd_fixed_param,
WMITLV_GET_STRUCT_TLVLEN(
wmi_pdev_update_pkt_routing_cmd_fixed_param));
cmd->pdev_id = param->pdev_id;
cmd->pdev_id = wmi_hdl->ops->convert_pdev_id_host_to_target(wmi_hdl,
param->pdev_id);
cmd->op_code = (A_UINT32) param->op_code;
cmd->routing_type_bitmap = param->routing_type_bitmap;
cmd->dest_ring = param->dest_ring;