Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1268004lqb; Thu, 30 May 2024 05:46:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXh5gRiN8ijPmpHSfIlBjJ+oD/9kf8NlQPJcy+H1m7FE6AD/bYzcb2ZJ7+dLrxP82G8oe4Fp/OaO4ROA4I4UUhrlzpkG+TcYYsgGKAZjA== X-Google-Smtp-Source: AGHT+IH1x/GQid934eI2crkVPrrD+Nck2UrXsfMx/HcCnO2wi9WOuDWi4Yl6auE2SimkG1o8ADAB X-Received: by 2002:a05:6808:d8:b0:3c9:6370:a814 with SMTP id 5614622812f47-3d1dcd18808mr1733054b6e.41.1717073198404; Thu, 30 May 2024 05:46:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717073198; cv=pass; d=google.com; s=arc-20160816; b=omqqTl77TLvxgw8WH+igr6Smral0w0I0IkWAFRBDIFOTW7vyerzDqCfESXaXkJHKRe VkCZ4bYH8BvzPevLaVFPIn24Sim5vmER1RhHYLNvxxnVw0sDbV5yoAx7G+9w0DmlFgWh Q9bJDf5rPy/f8OWjICC1Cbn0In35PFOfZUW+9esOEg/3AE8T8RrDDgWt/SA0uTfky5Mv xM2UMZ1m59u3gqt9HczEFSzJnSXpMs4wd4uaIzhRrM1fShuk1saCN9kNkhRxl0nl0bk1 1bx2wky66v+zVgFGug5aNqS/9fUyK4GeKv31CtIbSc59urGeD2N+Ub4hcr/wB2F4UL/B 8BQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:references :cc:to:from:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=zYGq4EHSKfHIOX67qHZBni7kCft57gh+IHahPaxuDp4=; fh=d4wIfaetamdO7U55Di7IonJD6ChhfoQu9LIV/bKlos8=; b=twNZTIa/yyXnTUyyjbvM+t68btoaOaAZOHb0nv6DSy5r+UYmZ9muifRaqpOwE0Trjo BSfCNegoQRLh1qn3vnpiecMxuhEx5hzTi0hw4opLXrA4Vg3f3KMwjNyCCqMViX6NT1pa jkCH4bW6KQVScwW7V6aLAdTAONJp6ukDFCE+wthVscKDtnxb0kF1Z+hI2az4smwYBWuY 7VOg7/cTEVwwITWVO85Pjx2Hqapsxz4w5MFK4coEutknHxFUbgoqmjK4k5/VPPWPER/Z bzoYDnaEI2/2szbWr+vIod3IE9jHViXrdaeSGd3P0GSX5GLUHjLKNrYPFtOkopLeqaWK Irsw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=v9SEEwfX; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-wireless+bounces-8313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6ac06f50934si150879626d6.121.2024.05.30.05.46.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 05:46:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless+bounces-8313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=v9SEEwfX; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-wireless+bounces-8313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-8313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 1FCFB1C221DD for ; Thu, 30 May 2024 12:46:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77FF81E521; Thu, 30 May 2024 12:46:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="v9SEEwfX" X-Original-To: linux-wireless@vger.kernel.org Received: from fllv0016.ext.ti.com (fllv0016.ext.ti.com [198.47.19.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A8EED1E492; Thu, 30 May 2024 12:46:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717073196; cv=none; b=QErkuSA2M0jK0lOhVrOb+MsIgxX1d+ZIIKeiQ97fWgZZ5scF0FNSAugaDm4uKq5VsLlGbpstPlYigALtfxvNzcvkGAjFZVhvNbyQoCrN7n2BrQdMBB9rrYMXTDB1vd3sun8DZlAJ9KgbTyqFU1DpvqYdS5uFnD58BuSnhuUuVOI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717073196; c=relaxed/simple; bh=M5cLfJOtV1h8PSu49sdoWyPeSFo/8tAvf2DXyneFJQI=; h=Message-ID:Date:MIME-Version:Subject:From:To:CC:References: In-Reply-To:Content-Type; b=JNbPMJP4FEIByox5Ps2TEVrWhE4/upOquZbwzbInZk2Ou/vEquZTb5khXzEwpr8EeYEfpiROBd3iae4txrJakJNNnD14X0VGSknnh2y3IX8J6AZvijStLocHLzJ7BKyQpeS2ySUH0qtYMbFT19MDl+H6vP4Ov1TLcvRLbNo7vig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=v9SEEwfX; arc=none smtp.client-ip=198.47.19.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 44UCkLNc077883; Thu, 30 May 2024 07:46:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1717073181; bh=zYGq4EHSKfHIOX67qHZBni7kCft57gh+IHahPaxuDp4=; h=Date:Subject:From:To:CC:References:In-Reply-To; b=v9SEEwfXB8H9R4J9eJXJSvrSDQOTeCmace4MGu45KjaZoRWXhuD4O4gRSxHBSkkup pRyrTrcCgazsB3/sfyem9hvrjX6uJHbWtsBZwwOuHdPu89En06UYIhbRu1zyTH/QTu BSq/tKkDMa6W6eR5SNKylw3UWm8yc0GgaO2t7cto= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 44UCkLeh014887 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 30 May 2024 07:46:21 -0500 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Thu, 30 May 2024 07:46:20 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Thu, 30 May 2024 07:46:20 -0500 Received: from [137.167.6.219] (lt5cg1094w5k.dhcp.ti.com [137.167.6.219]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 44UCkJsR019315; Thu, 30 May 2024 07:46:19 -0500 Message-ID: <24be3582-1b2d-4f94-9a16-26ab70da36b8@ti.com> Date: Thu, 30 May 2024 15:46:18 +0300 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH wireless-next 6/8] wifi: wlcore: add pn16 support From: "Nemanov, Michael" To: "Russell King (Oracle)" CC: Kalle Valo , Johannes Berg , , References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 5/30/2024 3:25 PM, Nemanov, Michael wrote: [...] > > On 5/30/2024 11:20 AM, Russell King (Oracle) wrote: > [...] >> > The original code was > tx_lnk_free_pkts = >> status->counters.tx_lnk_free_pkts[i]; > diff = (tx_lnk_free_pkts - >> lnk->prev_freed_pkts) & 0xff; > > if (diff == 0) > continue; > > I >> wonder if comparing tx_lnk_free_pkts to 0 was added intentionally? >> This is > monotonously incremented counter so 0 is not significant, >> unlike the diff. > Have I missed something? You are... While you're [...] And sorry for making a mess of the quoted text on the previous message, got it sorted now. Michael.