HTT isn't credit-based and we don't need to have an artificial limit here. Signed-off-by: Michal Kazior <michal.kaz...@tieto.com> --- drivers/net/wireless/ath/ath10k/htt.c | 6 ------ drivers/net/wireless/ath/ath10k/htt.h | 15 --------------- 2 files changed, 21 deletions(-)
diff --git a/drivers/net/wireless/ath/ath10k/htt.c b/drivers/net/wireless/ath/ath10k/htt.c index e1fa279..b39f5de 100644 --- a/drivers/net/wireless/ath/ath10k/htt.c +++ b/drivers/net/wireless/ath/ath10k/htt.c @@ -33,12 +33,6 @@ static int ath10k_htt_htc_attach(struct ath10k_htt *htt) conn_req.ep_ops.ep_tx_complete = ath10k_htt_htc_tx_complete; conn_req.ep_ops.ep_rx_complete = ath10k_htt_t2h_msg_handler; - /* - * Specify how deep to let a queue get before ath10k_htc_send will - * call the ep_send_full function due to excessive send queue depth. - */ - conn_req.max_send_queue_depth = HTT_MAX_SEND_QUEUE_DEPTH; - /* connect to control service */ conn_req.service_id = ATH10K_HTC_SVC_ID_HTT_DATA_MSG; diff --git a/drivers/net/wireless/ath/ath10k/htt.h b/drivers/net/wireless/ath/ath10k/htt.h index f3c22df..85de0b3 100644 --- a/drivers/net/wireless/ath/ath10k/htt.h +++ b/drivers/net/wireless/ath/ath10k/htt.h @@ -1302,21 +1302,6 @@ struct htt_rx_desc { #define HTT_MAC_ADDR_LEN 6 /* - * HTT_MAX_SEND_QUEUE_DEPTH - - * How many packets HTC should allow to accumulate in a send queue - * before calling the ep_send_full callback to see whether to retain - * or drop packets. - * This is not relevant for LL, where tx descriptors should be immediately - * downloaded to the target. - * This is not very relevant for HL either, since it is anticipated that - * the HL tx download scheduler will not work this far in advance - rather, - * it will make its decisions just-in-time, so it can be responsive to - * changing conditions. - * Hence, this queue depth threshold spec is mostly just a formality. - */ -#define HTT_MAX_SEND_QUEUE_DEPTH (HTT_MAX_NUM_PENDING_TX) - -/* * FIX THIS * Should be: sizeof(struct htt_host_rx_desc) + max rx MSDU size, * rounded up to a cache line size. -- 1.7.9.5 _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel