Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3796602rdb; Thu, 14 Sep 2023 03:00:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEL2dQHwYinmHxA9fF0blHxqDilNcUlg7g6pRddqxCqN/rY+cZnsY+kZ2oGP7AF8AeuBBQ6 X-Received: by 2002:a05:6359:625:b0:13a:a85b:ce00 with SMTP id eh37-20020a056359062500b0013aa85bce00mr3958946rwb.31.1694685648683; Thu, 14 Sep 2023 03:00:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694685648; cv=none; d=google.com; s=arc-20160816; b=Q5K6jRipeh/BP8EbGfsAJLVRIHHQAnjUS/pyV5FESiArZinHcqct32Ug/IiVtIjL90 TcRSWvX/SAJp9UEWgzoDD+LJMuZmbdvOmZFnQweuhbQfDkLlqb/QBCEB7WpSSZdb09/L XoQDJ9YkuS9xUAGp9nG/hQcyFvL0XtkEyeL2b6dWL/C16cpWIzxO3pIK3btNn8FLPhyr 7XvMR0XaWepsNddVnCXQR2SFn830QznnpzR6nFQU+cyFlQoeUIGOstoJy1t7Wic5QGeB XKzwtQb9VdXYyNRUVwHipkclgknp55Z5j9fLnT4B41EkKopFkGPE3lDaLdBzMZvczvZj cOBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:subject:from:cc:to :content-language:user-agent:mime-version:date:message-id :dkim-signature; bh=ox8S0AYBWW2vIsLEAJrgWtPvQJNpgJyGEPJ1NUjciHo=; fh=xa7KivWd3mfQhgtC8xAS7/+SF0C0LIYA418piLSj/tU=; b=d9VXDYxMDUaBdo/YEP0SXyP9cbF38Jjy9irgYKqfUE70og12IZtYlosEj0BZIWJ1Q3 w8fLG3HZGhrxMoo1wd/1xgQMhfW7x9SHfiQKXXZybxQxORv6ZZhiZ75Urw8p1J8rz2pV 8iFWUfp6pV50vwvu6++B18lb4g3qk033W6fnbnzpntKHwzt7t0CGcIcFHpW8e23/1MzM 9ve6fM+S6KWXlfcqu96NeBqK4XZDR+z7YUfjiK2wZer3pbok4BKbCj6tRSE7n2Lkesh+ ezP+Vm622OtKKh0WjIXyfejWK0ivdAoQSelGXwmmfqPnop9nkbPAdlix4fs6h1VXTrwS WmcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=Lty76Epb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id d26-20020a63735a000000b0057745d87b4csi1153335pgn.526.2023.09.14.03.00.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Sep 2023 03:00:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=Lty76Epb; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 0D906802139C; Wed, 13 Sep 2023 22:15:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234582AbjINFPw (ORCPT + 57 others); Thu, 14 Sep 2023 01:15:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234197AbjINFPv (ORCPT ); Thu, 14 Sep 2023 01:15:51 -0400 Received: from forward100b.mail.yandex.net (forward100b.mail.yandex.net [178.154.239.147]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62E331BCA for ; Wed, 13 Sep 2023 22:15:47 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:2481:0:640:e0:0]) by forward100b.mail.yandex.net (Yandex) with ESMTP id 8797360089; Thu, 14 Sep 2023 08:15:42 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id fFYVPqGDTOs0-O6ZNxOco; Thu, 14 Sep 2023 08:15:42 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1694668542; bh=ox8S0AYBWW2vIsLEAJrgWtPvQJNpgJyGEPJ1NUjciHo=; h=Subject:From:Cc:To:Date:Message-ID; b=Lty76Epb2apKoBTQgFhWLobldjUD3msG7fyvF7qCxeCAkz9Tpv8TyDrYSrQa9k/KE buwexGnydGTRmWH1/J8KH5z9DGs4whOhmVzTwvfQjIIix+OcvGDdWADku1V+LGDTgP j482wHpKHAfJsE0wkIBj3DEf/zXNamUl7LPEoeqg= Authentication-Results: mail-nwsmtp-smtp-production-main-10.sas.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <9485af8e-3379-f592-0e8f-0eaebf4fbc05@yandex.ru> Date: Thu, 14 Sep 2023 08:15:41 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Jeff Johnson Cc: Kalle Valo , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org From: Dmitry Antipov Subject: On status handling in ath10k_htt_rx_tx_compl_ind() Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 13 Sep 2023 22:15:59 -0700 (PDT) In 'ath10k_htt_rx_tx_compl_ind()', int status = MS(resp->data_tx_completion.flags, HTT_DATA_TX_STATUS); actually is int status = (((resp->data_tx_completion.flags) & 0x07) >> 0); which can't be equal to HTT_DATA_TX_STATUS_DOWNLOAD_FAIL (128) regardless of the 'data_tx_completion.flags' value. This is most likely a weird (but I have no clue how serious it may be) bug. Dmitry