Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4699750pxj; Tue, 22 Jun 2021 06:14:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxA93NMd7XAp6zChZNH4EgONqpWQhlFzMtZF0eb5+TBlEtS3H8EEpaCsdsluAlRYQNUQH3g X-Received: by 2002:a02:1988:: with SMTP id b130mr3976664jab.44.1624367686914; Tue, 22 Jun 2021 06:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624367686; cv=none; d=google.com; s=arc-20160816; b=wKy+vhuLCpqWAlmmi4jsG8st9sbhPFZ/TQq9A5I+CgwH0bDJ43fSj61KZzvcBqgeHe 01YR61+EvVsvitBTOcBNqAa41G1FPb1uFw0zsqVDqeYcpQTpLFpju8BzTTEGwe/5Z9Mm v3KGLIDwGh9RPtiQvtxyyCsRjo9Akuj+Ls55GKAkbUna0NMpMXdmoqzFhVA6El/pPhif ajvcSg5q8qE+6XDvZ1mEX6bm930UCXDqIN/ATQsH/pKbo+M12dAsA+/FFDrZpDbDg/sU Mk+SYxBuydhkqDyHEe/CTqozXv0/n5mYcT913h+OTHgVsTQCFfosknnKxwi0Hh1rw9nD 1/6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=77HnC0dTisnKWDPVh1Io+8wCN1+6InnJC2WdQmork9k=; b=Dy3X/Ctkzq2V/Ufq54MbVwZkUZgu7Cz0P+sRuxYFb8YsbCGWlFsEGi7Bjw7YnfOXsr Q6HyI0zvobz2Jc7X8bZzYGA0m9gQyv6Y6qSh/Dbt2x7DW87a1APOxqBN+4F/3ojrXofH 6KJbxqJzrnmrC0YqG5eA4TH10E2tPuDFmvwmWe6CyOu6tK6W1zJBEyNihaFs1jVwMgdQ Wd7c2qZSM+yCIbIqfSOGJPLZW02QV/NQURXDHAXXm736/0cUdesGeBAZS95TrQNZd2cz djuecQDLSETm4EniWoAK3gKkiffFoNZhC8LHfnDWBDuOeSUP/Cfhry3zmPlir5SrDujc KxBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eV3bi0QW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l8si16543681ilg.90.2021.06.22.06.14.31; Tue, 22 Jun 2021 06:14:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@gmail.com header.s=20161025 header.b=eV3bi0QW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231899AbhFVNNa (ORCPT + 99 others); Tue, 22 Jun 2021 09:13:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231370AbhFVNMn (ORCPT ); Tue, 22 Jun 2021 09:12:43 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 22422C06175F for ; Tue, 22 Jun 2021 06:10:26 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id l7-20020a05600c1d07b02901b0e2ebd6deso2225799wms.1 for ; Tue, 22 Jun 2021 06:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=77HnC0dTisnKWDPVh1Io+8wCN1+6InnJC2WdQmork9k=; b=eV3bi0QWiS3dhAEukWk//V78hWjn1gLyuq01ztKAwHaJpvOxgK4ny0+fP8C3gt/vLU SEc4jsi4UEgeMDnfnz2sbrpl9pDuSwg8FAjlcnGGH3Q/M/mr7zd62FIVq9A4xunx/vMQ 4oSj8GshgGw18zZGfEsRiWbNwzfCWmifzbRh3E6pwKZrig+f5NRcAnv9au+PYabNaF3F Fnus9byJgmfxx01prjaVst8aAc3nGIUPAtWqv2A4+zjZpqGSagr/WyVWIIc0Gr6vADkH 7Mvb/X2blOXE35Wmrox7EckfLaUdLmFI8Nz/mqQfV4Z0V8+68cC2SbyhX1+SU43Pyuz6 uesg== 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:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=77HnC0dTisnKWDPVh1Io+8wCN1+6InnJC2WdQmork9k=; b=QoV/Q3lahb36vVjllqPr1AXcOczqedRudsZiT00zEk1gqYLDn5YwAdFbmpPqoDcdA4 LoAgX06mOCWGBqtJ6rLDUbkAtqrDqPcClAkhCVaSiWNWT2HNCrrbvkUSipd2vbM1Maeo XRxk6kb5rWViXKrAWZHDf7F0BMbaDze0THs7ClqlJv53vY90s+Z3m1h7cmcnr0+XfYoq VsGP187wCTLRLfQPm43mP6DRekNDFeqfdDg9VhTwUMrKsg2dXyCQ/srPhLX5Zic3aIqi 2awafiBxQIRlvIRz1Iem5qiKgVOWAqzbiy6eRHGmJRRU6yD7s6T+WHBONZH3mmTI7sNZ MAyA== X-Gm-Message-State: AOAM533Z/IKacSa27ldoP4LXlo5ww0QF6jozJ+k2G4ee67r4Smgrb1WU SxUyuZfHht/1ASuLdda8bnwX+kN7DUEqKA== X-Received: by 2002:a05:600c:4f8f:: with SMTP id n15mr4299272wmq.116.1624367424579; Tue, 22 Jun 2021 06:10:24 -0700 (PDT) Received: from agape ([5.171.73.108]) by smtp.gmail.com with ESMTPSA id b71sm2451847wmb.2.2021.06.22.06.10.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 06:10:24 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: hdegoede@redhat.com, Larry.Finger@lwfinger.net, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v3 14/17] staging: rtl8723bs: fix macro value for 2.4Ghz only device Date: Tue, 22 Jun 2021 15:09:58 +0200 Message-Id: <0b4a876929949248aa18cb919da3583c65e4ee4e.1624367072.git.fabioaiuto83@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix IQK_Matrix_Settings_NUM macro value to 14 which is the max channel number value allowed in a 2.4Ghz device. Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/odm.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/odm.h b/drivers/staging/rtl8723bs/hal/odm.h index c349de205f93..abf6547518fb 100644 --- a/drivers/staging/rtl8723bs/hal/odm.h +++ b/drivers/staging/rtl8723bs/hal/odm.h @@ -195,10 +195,7 @@ struct odm_rate_adaptive { #define AVG_THERMAL_NUM 8 #define IQK_Matrix_REG_NUM 8 -#define IQK_Matrix_Settings_NUM (14 + 24 + 21) /* Channels_2_4G_NUM - * + Channels_5G_20M_NUM - * + Channels_5G - */ +#define IQK_Matrix_Settings_NUM 14 /* Channels_2_4G_NUM */ #define DM_Type_ByFW 0 #define DM_Type_ByDriver 1 -- 2.20.1