ath10k: Add support for extended HTT aggr msg support
PATCH 1/1 ath10k: Add support for extended HTT aggr msg support
HTT aggr message parameter in HL2.0 fw are different in comparison to legacy fw version. Fill correct HTT aggr msg parameter for targets using HL2.0 firmware.
--- drivers/net/wireless/ath/ath10k/htt.c | 2 +- drivers/net/wireless/ath/ath10k/htt.h | 11 ++++++ drivers/net/wireless/ath/ath10k/htt_tx.c | 49 ++++++++++++++++++++++++ 3 files changed, 61 insertions(+), 1 deletion(-)
drivers/net/wireless/ath/ath10k/htt.c +1 -1
@@ -268,7 +268,7 @@ int ath10k_htt_setup(struct ath10k_htt *htt)return status; } - status =ath10k_htt_h2t_aggr_cfg_msg (htt, + status = htt->tx_ops->htt_h2t_aggr_cfg_msg (htt, htt->max_num_ampdu, htt->max_num_amsdu);if (status) {
drivers/net/wireless/ath/ath10k/htt.h +11 -0
@@ -357,6 +357,13 @@ struct htt_aggr_conf {u8 max_num_amsdu_subframes; } __packed; +struct htt_aggr_conf_v2 { +u8 max_num_ampdu_subframes; +/* amsdu_subframes is limited by 0x1F mask */ +u8 max_num_amsdu_subframes; +u8 reserved; +} __packed; +#define HTT_MGMT_FRM_HDR_DOWNLOAD_LEN 32struct htt_mgmt_tx_desc_qca99x0 {__le32 rate;
@@ -1650,6 +1657,7 @@ struct htt_cmd {struct htt_stats_req stats_req;struct htt_oob_sync_req oob_sync_req;struct htt_aggr_conf aggr_conf; +struct htt_aggr_conf_v2 aggr_conf_v2;struct htt_frag_desc_bank_cfg32 frag_desc_bank_cfg32;struct htt_frag_desc_bank_cfg64 frag_desc_bank_cfg64;struct htt_tx_fetch_resp tx_fetch_resp;
@@ -1890,6 +1898,9 @@ struct ath10k_htt_tx_ops { struct sk_buff *msdu);int (*htt_alloc_txbuff)(struct ath10k_htt *htt);void (*htt_free_txbuff)(struct ath10k_htt *htt); +int (*htt_h2t_aggr_cfg_msg)(struct ath10k_htt *htt, +u8 max_subfrms_ampdu, +u8 max_subfrms_amsdu); };static inline int ath10k_htt_send_rx_ring_cfg (struct ath10k_htt *htt)
drivers/net/wireless/ath/ath10k/htt_tx.c +49 -0
67 lines not on this page · raw message
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project
Quoted 6 lines · Govind Singh
HTT aggr message parameter in HL2.0 fw are different in comparison to legacy fw version. Fill correct HTT aggr msg parameter for targets using HL2.0 firmware.
Signed-off-by Govind Singh <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
5cbb11747750 ath10k: Add support for extended HTT aggr msg support
Signature · 9 lines
https://patchwork.kernel.org/patch/10765773/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath10k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath10k
Quoted 6 lines · Govind Singh
HTT aggr message parameter in HL2.0 fw are different in comparison to legacy fw version. Fill correct HTT aggr msg parameter for targets using HL2.0 firmware.
Signed-off-by Govind Singh <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
5cbb11747750 ath10k: Add support for extended HTT aggr msg support
Signature · 3 lines
https://patchwork.kernel.org/patch/10765773/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches