lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.18 159/879] mt76: mt7915: accept rx frames with non-standard VHT MCS10-11
    Date
    From: Felix Fietkau <nbd@nbd.name>

    [ Upstream commit 77045a3740fa3d2325293cf8623899532b39303e ]

    The hardware receives them properly, they should not be dropped

    Signed-off-by: Felix Fietkau <nbd@nbd.name>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/net/wireless/mediatek/mt76/mt7915/mac.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
    index e9e7efbf350d..a8df65cc115f 100644
    --- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
    +++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
    @@ -521,7 +521,7 @@ mt7915_mac_fill_rx_rate(struct mt7915_dev *dev,
    status->encoding = RX_ENC_VHT;
    if (gi)
    status->enc_flags |= RX_ENC_FLAG_SHORT_GI;
    - if (i > 9)
    + if (i > 11)
    return -EINVAL;
    break;
    case MT_PHY_TYPE_HE_MU:
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-06-08 00:22    [W:3.015 / U:0.880 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site