Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7db200f1 authored by Surabhi Vishnoi's avatar Surabhi Vishnoi
Browse files

ath10k: Indicate MSDU_ID_NEW_PARTITION support in host cap flags



The HL1.0 firmware uses msdu desc_id above 3000 as a reference
to indicate tx completion on a different endpoint. Due to this, if the
host driver uses more than 3000 msdu desc_id, the tx completion
for the msdu with desc_id above 3000 is sent to a different endpoint.

Setting the MSDU_ID_NEW_PARTITION host driver capability support
in the wmi ready flags indicates to the HL1.0 firmware to change
this threshold reference to a higher value.

Change-Id: If7bbddb6827bbe2be995c153328611930319d74e
Signed-off-by: default avatarSurabhi Vishnoi <svishnoi@codeaurora.org>
parent e57ab328
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1509,7 +1509,8 @@ static struct sk_buff *ath10k_wmi_tlv_op_gen_init(struct ath10k *ar)
	cfg->num_ocb_vdevs = __cpu_to_le32(0);
	cfg->num_ocb_channels = __cpu_to_le32(0);
	cfg->num_ocb_schedules = __cpu_to_le32(0);
	cfg->host_capab = __cpu_to_le32(0);
	cfg->host_capab =
		__cpu_to_le32(WMI_TLV_TX_MSDU_ID_NEW_PARTITION_SUPPORT);

	ath10k_wmi_put_host_mem_chunks(ar, chunks);

+2 −0
Original line number Diff line number Diff line
@@ -1254,6 +1254,8 @@ struct wmi_tlv_rdy_ev {
	__le32 status;
} __packed;

#define WMI_TLV_TX_MSDU_ID_NEW_PARTITION_SUPPORT  BIT(10)

struct wmi_tlv_resource_config {
	__le32 num_vdevs;
	__le32 num_peers;