From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= Subject: Re: [PATCH 31/49] ath11k: add mac.c Date: Wed, 21 Aug 2019 12:08:52 +0200 Message-ID: <875zmqsudn.fsf@toke.dk> References: <1566316095-27507-1-git-send-email-kvalo@codeaurora.org> <1566316095-27507-32-git-send-email-kvalo@codeaurora.org> <8736hvu6e6.fsf@toke.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: Sender: linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Vasanthakumar Thiagarajan Cc: Kalle Valo , linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, ath11k-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-wireless-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org Vasanthakumar Thiagarajan writes: > On 2019-08-20 22:21, Toke Høiland-Jørgensen wrote: >> [... snip ... ] >> >>> +static const struct ieee80211_ops ath11k_ops = { >>> + .tx = ath11k_mac_op_tx, >> >> No wake_tx_queue? :( > > Yes, packet queueing is handled in firmware. This makes sense > especially when we enable 802.11 encap offload support where most of > the data path processing in mac80211 will be skipped and packet is > given to driver/firmware in 802.3 format itself. Then firmware would > take care of all the classification, queueing and encapsulation > operations. Well, so does ath10k, and yet we still saw a significant improvement by moving queueing back into the host where it can be handled by the FQ-CoDel-enabled queueing structure. So, *how* does the firmware handle the queueing? Does it have per-stations queues? Per-flow queues? What's the latency under load figures for the firmware queues? -Toke