Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1118143ybl; Wed, 8 Jan 2020 11:19:22 -0800 (PST) X-Google-Smtp-Source: APXvYqw01afWKXVn1CijTldj/YfacGEiM2m3ZLiTIfT/wm5ixT4ybZfQXALFIQl+3vvxr1rWDsLP X-Received: by 2002:a05:6830:ce:: with SMTP id x14mr5548297oto.105.1578511162550; Wed, 08 Jan 2020 11:19:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578511162; cv=none; d=google.com; s=arc-20160816; b=igaSl/bsGaUdjoevgzqmrCEHEqEZGkP5nR3chXsLSExUGoeduMwpvInKYWeiGrvfXf ASAe6DzLzDyJrw0TES+Ln6pwvBeVxlU6if6lqGRs/mYJxqmetBw9JiewiOdnASIwIejk zOQwBUqmOxLT8uEfgLoOR6kMGjAC+APBLHe0vLuE+g0JPEJhmvUUjhfa01iCoF8qohOX zdESfxqs6KmADpJHiSKa+8dxF8XRiLwCcr8tz/SQ61ysPkj9xUef93Ecr8Bdtjmoa/N+ dsZy8g/KVpYzy/S0HpGfjLCZkS1ueyC9fSl+8Bj9Lh5O9pIFfRXS1RS/WBlFc9Iw9YU1 JNwA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id :organization:subject:from:to:dkim-signature:dkim-filter; bh=ZTbdYgfpPTt/pgutOKrSElbA7UmgpdVaDJX8a/Njszw=; b=qxlN7KW9CIuKUyXgM9WqYkPYx+bwNiNG1/bsHtSe3r1zEVxG/2BuQTWSo+qa+xrEMK 3aKmytIWDnkUz3NX+6+4tX5Dff9sJRShyCTbn0NzmraRuR9lnNQWOrttny021zE2322h a53sSw6uf6oUstzp9M4M9ESIwfi11kuMBr1hoo6aCRXPHWEJYFDgzba4Lj6wehVAPCHN yLwXAHkW3Dn/JpOgBtBHfWrkAmyd82K2BtsUC/DGwEjhYeI7+u1ILN6g1T76aMmzi6qJ krTmBKrnZsXKqfLxFqY1834AbDY/rPuGzLjX90SQumCq/OtirKV8ooJ+0UvxTQ2Aatb7 cGCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=WxkdEKRf; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si2202613otq.217.2020.01.08.11.19.01; Wed, 08 Jan 2020 11:19:22 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@candelatech.com header.s=default header.b=WxkdEKRf; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=candelatech.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728099AbgAHRyt (ORCPT + 99 others); Wed, 8 Jan 2020 12:54:49 -0500 Received: from mail2.candelatech.com ([208.74.158.173]:47128 "EHLO mail3.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbgAHRyt (ORCPT ); Wed, 8 Jan 2020 12:54:49 -0500 Received: from [192.168.100.195] (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail3.candelatech.com (Postfix) with ESMTPSA id C45DF13C340 for ; Wed, 8 Jan 2020 09:54:48 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com C45DF13C340 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1578506088; bh=zGanaNGSpfMubaMAL7C+H8kveJA9BkkHMFGXf7s+CcI=; h=To:From:Subject:Date:From; b=WxkdEKRfxlyqG0CcacSfAeHBjH3q18LAasEBcR53FHvyfoHeTus0zpgc5AwRtFCTc TDLAB4FrWwzfhwK3Ar2+7u2WJcpMr18XriHTexPmV9OIjYCLHyqYGIOmD0SKSdDDoO H2u5BhL7Md6yGA/TID6gBNV4SHhc7oI16LLwc2Sg= To: "linux-wireless@vger.kernel.org" From: Ben Greear Subject: Does ath10k firmware need to do congestion control? Organization: Candela Technologies Message-ID: <20d8f9cf-1b5c-6617-f0a6-4f0083c6d64c@candelatech.com> Date: Wed, 8 Jan 2020 09:54:48 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hello, While debugging some packet drops in the tx path with ath10k-ct wave-2 stuff, we found that the firmware congestion control was causing packets to be discarded. The congestion control tries to reserve a certain number of descriptors for higher priority packets, so the driver never applies any real back pressure since it will have some tx descriptors available (though firmware will immediately drop them). If the upper stacks are already doing QoS/WMM type logic, then there should be little use of leaving the congestion control compiled into the firmware. So question is: What is the state of the upper stack with regard to QoS/WMM congestion control and throttling? Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com