From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:59620 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751547AbeA2OqM (ORCPT ); Mon, 29 Jan 2018 09:46:12 -0500 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: ath10k: Make ath10k report discarded packets to mac80211 From: Kalle Valo In-Reply-To: <863ed21f-d2fe-f1e1-6f3c-b4061c777f59@aoifes.com> References: <863ed21f-d2fe-f1e1-6f3c-b4061c777f59@aoifes.com> To: =?utf-8?q?Ignacio_N=C3=BA=C3=B1ez_Hernanz?= Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, =?UTF-8?Q?Ignacio_N=c3=ba=c3=b1ez_Hernanz?= Message-Id: <20180129144612.7F65C608BF@smtp.codeaurora.org> (sfid-20180129_154616_861169_6C89C900) Date: Mon, 29 Jan 2018 14:46:12 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: Ignacio Núñez Hernanz wrote: > Whenever ath10k firmware discards a packet (HTT_TX_COMPL_STATE_DISCARD > flag), the skb is freed and mac80211 does not get feedback through > ieee80211_tx_status(). > > Instead, make sure that the IEEE80211_TX_STAT_ACK flag is disabled and > let the packet go through, like ath9k does. > > Signed-off-by: Ignacio Nunez Hernanz > [kvalo@codeaurora.org: rebase patch manually] > Signed-off-by: Kalle Valo This didn't apply so I rewrote the patch manually. Please check it from the pending branch: https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=74e9f654262e77676c477f01ce5a6f27237b2f25 -- https://patchwork.kernel.org/patch/9859221/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches