Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp17356181rwd; Tue, 27 Jun 2023 01:41:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ46dXzLeCobNmNIA/O5IIveCFvNy+M6I5ABMZhR6ycXjiuwD1LSOWJr2UsTYGUedh7u+ysb X-Received: by 2002:a17:906:fe01:b0:974:1838:88d8 with SMTP id wy1-20020a170906fe0100b00974183888d8mr22779947ejb.57.1687855269490; Tue, 27 Jun 2023 01:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687855269; cv=none; d=google.com; s=arc-20160816; b=fRdKBnfChJc3j8SnnbQsW0Ihjv6w1uLNtp39vCsXv+VOJxH2sJrDgle4k5XkXyryyV rsw+reLbgaxJaMwbI8vgY+G02LlOr7Za8imb6AsDVaGDRZPQwvuYsN5SmiPNauFshtUz F/iWQZVQXxIVoKbV1O2mP08+rvyVyTs3jCBRFUyn+mwd2sHl2xsl14IAQDtQ/HuZBas5 d3WyHvWvs4w8YenLb+jWAlBUKGAEhvmbIKqT5mWoEyRJBUl6CWnhjHr1t1rilhJg2Dk9 qWh8Fnt1IElBTkxroAfFN5sG8xGhAT9aUFi2U+1GonmEHv9akGhmDai+MJO5Z5O3mV1+ BU3Q== 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=hakL7BjN+BcGr7YlsiDRREnVAT8x3VowUe+Fkt4Ncr0=; fh=YZHUcEOQoPrWER2cqEdjQDuLJsyLDv3e64Owo0hkI74=; b=eW0oBdGdg4bWUAuqUYOknGa+nGhOsOWwaedzmwRb1lyOKou6Yyj7tkhPjzF4HTu5Rq /co4q/Gllw9CWDIOMTSqf7k+cJWnjqmz57zlfp8lFZR/H6740Yad+rBZw2Nq3UvVGDm0 MuyvefEeNXCBlKhxeAAO2A6lcULcPj1mK3X4IIVCRwh0MdKN5sv/SBU4BRX9ojoqo7Ht 7DrwVw2N0S6g+mrkKpO89GnrwYzzx8sJoxrGXQ+btO9b+T6f8KPkBu5wq9dqpRECS5cA KzwIFR3h+eRmP1Hih/YWT6uD+CrVhIg0WJyRZoVkbWnBo1LdwxCjj8pY58Bezl66swFd d6bQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=TRJQmjVd; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h20-20020a1709063b5400b00991cb7517b8si1846312ejf.945.2023.06.27.01.40.50; Tue, 27 Jun 2023 01:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@yandex.ru header.s=mail header.b=TRJQmjVd; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=yandex.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231211AbjF0Ifo (ORCPT + 58 others); Tue, 27 Jun 2023 04:35:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232064AbjF0Ifd (ORCPT ); Tue, 27 Jun 2023 04:35:33 -0400 Received: from forward100c.mail.yandex.net (forward100c.mail.yandex.net [178.154.239.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 97F05B8 for ; Tue, 27 Jun 2023 01:35:30 -0700 (PDT) Received: from mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:1380:0:640:6985:0]) by forward100c.mail.yandex.net (Yandex) with ESMTP id CCE96600DC; Tue, 27 Jun 2023 11:35:27 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id RZGYc36WrOs0-vvuISYYa; Tue, 27 Jun 2023 11:35:27 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1687854927; bh=hakL7BjN+BcGr7YlsiDRREnVAT8x3VowUe+Fkt4Ncr0=; h=Subject:From:Cc:To:Date:Message-ID; b=TRJQmjVdeQNFxKUe31/Tfj2bIYFSqQ6mJSOQbPlOvAf6iqszxLCuarfjE3ayE6hzp vOY/Mycp3wDBovRL8OlC561iSDxj3klkiW5DPq0+GWDyXpBVSSDe4B3BBKWr+YgmHX XorMc0hFXJhSUH+uPmZLMsxNeUxqbOo7wNN5QjHM= Authentication-Results: mail-nwsmtp-smtp-production-main-54.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: Date: Tue, 27 Jun 2023 11:35:27 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: Larry Finger Cc: linux-wireless@vger.kernel.org From: Dmitry Antipov Subject: On CORDIC arithmetic in b43 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org To everyone still interested in b43 driver: In 'lpphy_start_tx_tone()', how 'CORDIC_FLOAT((sample.i * max) & 0xFF)' may be non-zero? Basically it is (<32-bit> & 0xff) shifted right by 15 bits. Dmitry