lkml.org 
[lkml]   [2021]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.14 262/315] staging: rtl8723bs: fix macro value for 2.4Ghz only device
    Date
    From: Fabio Aiuto <fabioaiuto83@gmail.com>

    [ Upstream commit 6d490a27e23c5fb79b766530016ab8665169498e ]

    fix IQK_Matrix_Settings_NUM macro value to 14 which is
    the max channel number value allowed in a 2.4Ghz device.

    Acked-by: Hans de Goede <hdegoede@redhat.com>
    Signed-off-by: Fabio Aiuto <fabioaiuto83@gmail.com>
    Link: https://lore.kernel.org/r/0b4a876929949248aa18cb919da3583c65e4ee4e.1624367072.git.fabioaiuto83@gmail.com
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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 87a76bafecb3..7424c25b52ce 100644
    --- a/drivers/staging/rtl8723bs/hal/odm.h
    +++ b/drivers/staging/rtl8723bs/hal/odm.h
    @@ -209,10 +209,7 @@ typedef 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.30.2


    \
     
     \ /
      Last update: 2021-07-19 17:52    [W:4.028 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site