Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp271034pxa; Tue, 11 Aug 2020 02:32:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoTpMlEClMHzX0TBRhHFL7QmlsfOMsamwa8Tr3rjT1mxDyUJGrbL1cMrDiUTBevt4P+yjS X-Received: by 2002:a17:907:208e:: with SMTP id pv14mr27164413ejb.438.1597138335222; Tue, 11 Aug 2020 02:32:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597138335; cv=none; d=google.com; s=arc-20160816; b=wJmKadQQ/dD//gcliCRDNfEMpx3a5UStXsJ8CbxniMJWvdYJbr3aD+1RnjijOt6ehI rEdNItx281ncMgp7ZMu4X1Q+G9Cqgygb6XkH4o5SR88g4FiMqsUAowWM9ZE5hlAEU2BQ k6yMnxNWrOeclxRHllx9KYPfduBp/rT+50cnJjvP0THXkJjPSZs6Zd8KsYYZEgFszL6S bDC0p7939r7oAK4y4eUdHnFRTnfiGiPPTXQyr1A4mYiUkOQ/DaVW0H2gAC9OlQtRChX8 Mfo91O7lBOvanFGU6uGF5iteZR83YUJR30Ca0Yejz4V8S+Y4OzRX+a64V3WuTRK2N4Yv FGUg== 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:mime-version :message-id:date:references:in-reply-to:subject:cc:to:from :dkim-signature; bh=BeFHlVEM1atMd3LCirP1AEYTOK32W8KWrO3HGDqDN08=; b=VT8WUIeGXLRxyRFD7oGmRBOYDa8OfNg/Mft+VZd7A23CfMlBXVGkOwIOZ0nwWyqi4G ni9reS/32uR2YUt8HMvESr1qScYuLAr8CdrCz+42XOM+ptqNcYpOQ+5F0SrfeeyrOR9Y bePaeJlfVr9zpTKeyygvbOwvsUnDM1HdxrIKLoU+JPsFjGR0iboKdlSrR2NLLL5Z8twE ajDQl99k7hXxPcEdv2Wn9hietj2+3otIAxnOjgALRzAGr1+JdiyBzz+Aou0vysneJwF8 +FUK8rnXVVsHbWA2guuCrTJnxOgJaYQBXtdqddSUqJxYx92pJqJWge5Zsr2VpqBENmGc Xeig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="MpoYM/K0"; 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 qc14si13161234ejb.714.2020.08.11.02.31.50; Tue, 11 Aug 2020 02:32:15 -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="MpoYM/K0"; 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 S1728464AbgHKJb3 (ORCPT + 99 others); Tue, 11 Aug 2020 05:31:29 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:46145 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728397AbgHKJb3 (ORCPT ); Tue, 11 Aug 2020 05:31:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597138288; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BeFHlVEM1atMd3LCirP1AEYTOK32W8KWrO3HGDqDN08=; b=MpoYM/K0mTBNEbia0gvsXRCmKlDmHdAh3uxLXTPKKH3FohY0a8SpWfN2HThiTM6aebBQ0v K1z2bPOozEX45TmzLD50gcnpWrVPFmX8IEY1ptka7EVZCJiOBzfKpiorpsytIbl9jXBbDe bwyiPQQsSJUvhUd74JQoFneFBxWUme0= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-505-Td71DCctO8qyQABiC7_5-g-1; Tue, 11 Aug 2020 05:31:26 -0400 X-MC-Unique: Td71DCctO8qyQABiC7_5-g-1 Received: by mail-wr1-f71.google.com with SMTP id k11so5354681wrv.1 for ; Tue, 11 Aug 2020 02:31:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=BeFHlVEM1atMd3LCirP1AEYTOK32W8KWrO3HGDqDN08=; b=aWjpX6GsynRj9spFhIoJT+qBWfeqI+cWo7fsgAJofXuYWVqdsT6G2LofBto9wSbVCZ JaHgSeeWVuFijnF4qg73VbSiIWc5qaSpBLajvo8w27ydFZ/qTmSvEsTa6nWZ7WFTFL9S +CB69NIPYUNoTKBEYA2DysZ3riK+v09uORs9u33ZI0p4hW0XFvVMqHDeemRs+F9QtGdq +qHml7csFhMgOhaUyG1DyA63hodGiP3qNNk67sSx/+IOjIBgRzM9HjcLBptPAwQ3dkxJ KObpBOJY5SQxV+UzY/khujT5Wye6kfx5XHJVZZyYrUHP2tZv9oaaOELvsy4BmuZCUdp9 NDSA== X-Gm-Message-State: AOAM531+W9fmz3RRtCiTY1vTam1wQ1iEm2kK0vhXYFpEsByvGUn6ig6R yF0hGOhdz02IYx8QUqaiMPyqrYj45C6J6K44FYmZxqp54Kt7xvj0M9r8cz+rhlWLtOK7bSK4V3g oFlr/Os2s0L6UTRlPBPkdJuq98cc= X-Received: by 2002:a5d:514c:: with SMTP id u12mr29703464wrt.90.1597138285403; Tue, 11 Aug 2020 02:31:25 -0700 (PDT) X-Received: by 2002:a5d:514c:: with SMTP id u12mr29703453wrt.90.1597138285259; Tue, 11 Aug 2020 02:31:25 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk ([45.145.92.2]) by smtp.gmail.com with ESMTPSA id j24sm27551419wrb.49.2020.08.11.02.31.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2020 02:31:17 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 497C618282F; Tue, 11 Aug 2020 11:31:16 +0200 (CEST) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Felix Fietkau , linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: Re: [PATCH] mac80211: remove STA txq pending airtime underflow warning In-Reply-To: <20200725084533.13829-1-nbd@nbd.name> References: <20200725084533.13829-1-nbd@nbd.name> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 11 Aug 2020 11:31:16 +0200 Message-ID: <87a6z134wr.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Felix Fietkau writes: > This warning can trigger if there is a mismatch between frames that were > sent with the sta pointer set vs tx status frames reported for the sta ad= dress. > > This can happen due to race conditions on re-creating stations, or even > in the case of .sta_add/remove being used instead of .sta_state, which ca= n cause > frames to be sent to a station that has not been uploaded yet. > > If there is an actual underflow issue, it should show up in the device ai= rtime > warning below, so it is better to remove this one. Fair enough. Acked-by: Toke H=C3=B8iland-J=C3=B8rgensen