Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2591402pxb; Fri, 8 Oct 2021 10:49:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJze3ZmmwbqZgGiAfPQ43VOS+RL4d6GP8KS+Re37Ny59UHG6ui6cmP1peCu1fNlcybIygqgX X-Received: by 2002:a17:906:5689:: with SMTP id am9mr6148226ejc.416.1633715390287; Fri, 08 Oct 2021 10:49:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633715390; cv=none; d=google.com; s=arc-20160816; b=GluuSU8knAQxDm+06gbsDIB40YPFIXSgbjTygVX+pr2YPLt8cq5/zOMPBIE++BgtJG ne2Q7daixiazZ73ml8GmtGSjaEhm4U2KkYFXqLDXr4o2m368JvrAR7m7phswFLthPRzR ZPGS/IKWTMJzocnbcMfDiHX184uqbXmOpHuhrBYeB4AvcD5QoXzesahHhQxM3KxH1uVg UemloMVS6B3tR8QrStxUhlWoRhjdbw+bWDv3gZ/awFV46nwTqiFmLPAPNx8rPcsSBCeh mIBLeef3EpyNYktcBSgt4QW/QavCmPf1LL1panS1c94zuy6kwJ5gPKsOKLuC9FeH72Sr D4DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=0suhflFBkWX+ROdsQZsJ0FUFlsRFs43TIcGHOoe9WpM=; b=DRDKEgDANqTefQNemFWWpzYho3YAOQAwVn+xufjPacfl6/IX5W4coRMIrhgJf7fIiK ishqyYTQ8ZCx2RpYo5x4+5/Iz6G6APGPfpIn8Qsmz0PVTf3LQ/KjOIrKKHgz7g1DDmqm /g2ldLqw2jwT1xKKkvq2VbmnnIdWbyT7wLQE9W1WWSiRYydNo/RcOeIhXX7KVHcDZ8V0 C6kOv5RwHERfHh++8QqRMB72IULmChomKdMehph3A2OFprcne/Efdeh/aobmff7f4NNR UA9irFx03jAkAMNSq380F1aDj3XUoGlgWfSEauCI61C2XG0kM2bMaon8G911ip/JE4MI /iPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Gu3Q6rQE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si24936ejy.385.2021.10.08.10.49.19; Fri, 08 Oct 2021 10:49:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Gu3Q6rQE; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236109AbhJHRrS (ORCPT + 76 others); Fri, 8 Oct 2021 13:47:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:56370 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231237AbhJHRrR (ORCPT ); Fri, 8 Oct 2021 13:47:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633715121; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0suhflFBkWX+ROdsQZsJ0FUFlsRFs43TIcGHOoe9WpM=; b=Gu3Q6rQEBtkqDjHK2kQSpt70UOdDKkzC8ZsJFT4Ym4D1uf6r3behmHsTUMaRpHMzbLK4Pe PiAsltiq8mDzr8JoUAA1vXfjvCBGjtfk7YShqNXFOHRIbrAKJ2AZDKXXCZkZ1dbEzGOtfi Rjf0wKPgmaUylSu0wMN3ZXA53dO0fH8= Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-538-qR-ZxMfFN2SvxyFLMm5kbg-1; Fri, 08 Oct 2021 13:45:20 -0400 X-MC-Unique: qR-ZxMfFN2SvxyFLMm5kbg-1 Received: by mail-ed1-f69.google.com with SMTP id d11-20020a50cd4b000000b003da63711a8aso9840803edj.20 for ; Fri, 08 Oct 2021 10:45:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=0suhflFBkWX+ROdsQZsJ0FUFlsRFs43TIcGHOoe9WpM=; b=s3vAxZgD046xWUaAQxKeL70x73E8HRDluUaYexBPyMG4AMlg6z9mS3M+OShZWYImVU 2W0HWqIk+e0jfHLKvV7UjbC/5Hrzu4zg3P2zAnf83C381Ad7pF1nPB5q+MEmQJq2HiCp vSz5Q/PI9kLtz5piVqSkoEdmLJQ8PIZ9iymGAsDmdYTnWUJnP4bYwPDC/bhLBCTSSsIm 9PapVNRp9lox7CnZ/EhphcvcNDGwEbc0UHLWHEYvgVK0V0jOaLhIKEXaC750uGZ9r5lt uca1AyaQiDB9dAFSBk/dqhYb8gJIKHskgmFssMSMP3atiw/DTI7W3dvRm0nKYapuKXEI +tTQ== X-Gm-Message-State: AOAM533W7FCUdoklP+YBklfck8xf6WWUd6hwLzf7R/RBBVlVlkthl25h +ghWu2ttl8iu6zgabRSQl8BDToakgUAZKG95xToA/K6Wic3TIXFAENa32qhspHHRpIcGyI/iYvZ PM1XYdLmkHE1mTaNW1w2DEQRPO44= X-Received: by 2002:a17:907:76e1:: with SMTP id kg1mr5817811ejc.329.1633715117173; Fri, 08 Oct 2021 10:45:17 -0700 (PDT) X-Received: by 2002:a17:907:76e1:: with SMTP id kg1mr5817686ejc.329.1633715116108; Fri, 08 Oct 2021 10:45:16 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([2a0c:4d80:42:443::2]) by smtp.gmail.com with ESMTPSA id g9sm1175560ejo.60.2021.10.08.10.45.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Oct 2021 10:45:15 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id CA95C180151; Fri, 8 Oct 2021 19:45:14 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Ping-Ke Shih , kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org Subject: Re: [PATCH v7 08/24] rtw89: implement mac80211 ops In-Reply-To: <20211008035627.19463-9-pkshih@realtek.com> References: <20211008035627.19463-1-pkshih@realtek.com> <20211008035627.19463-9-pkshih@realtek.com> X-Clacks-Overhead: GNU Terry Pratchett Date: Fri, 08 Oct 2021 19:45:14 +0200 Message-ID: <87h7drl8b9.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Ping-Ke Shih writes: > To yield better TX performance, wake TX queue is implemented. I went looking for this, and was happy to find it! :) Do you also support airtime reporting and/or AQL? And if not, any plans to do so? One small nit below: > +static void rtw89_ops_wake_tx_queue(struct ieee80211_hw *hw, > + struct ieee80211_txq *txq) > +{ > + struct rtw89_dev *rtwdev = hw->priv; > + > + ieee80211_schedule_txq(hw, txq); > + queue_work(rtwdev->txq_wq, &rtwdev->txq_work); Why the call to ieee80211_schedule_txq()? mac80211 calls that before calling wake_tx_queue() (through the schedule_and_wake_txq() helper), so it seems a bit superfluous here? -Toke