lkml.org 
[lkml]   [2020]   [Apr]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/17] staging: wfx: fix highest Rx value declared in ieee80211_supported_band
    Date
    From: Jérôme Pouiller <jerome.pouiller@silabs.com>

    The highest Rx value declared in ieee80211_supported_band had two
    problems:
    1. The value should be little endian
    2. ShortGI was not taken into account. So value should be 72 instead
    of 65.

    Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
    ---
    drivers/staging/wfx/main.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c
    index 1093584373ad..742a286c9207 100644
    --- a/drivers/staging/wfx/main.c
    +++ b/drivers/staging/wfx/main.c
    @@ -106,7 +106,7 @@ static const struct ieee80211_supported_band wfx_band_2ghz = {
    .ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE,
    .mcs = {
    .rx_mask = { 0xFF }, // MCS0 to MCS7
    - .rx_highest = 65,
    + .rx_highest = cpu_to_le16(72),
    .tx_params = IEEE80211_HT_MCS_TX_DEFINED,
    },
    },
    --
    2.26.1
    \
     
     \ /
      Last update: 2020-04-27 15:43    [W:4.128 / U:0.124 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site