Skip to content
Permalink
Browse files

Make sure bandwith is initialized.

Signed-off-by: David Lin <dlin@marvell.com>
  • Loading branch information...
yuhhaurlin committed Nov 2, 2017
1 parent e119077 commit cbb631e06a7c3d88f3e5ad44cb56129278899252
Showing with 2 additions and 0 deletions.
  1. +2 −0 hif/pcie/dev.h
@@ -755,13 +755,15 @@ static inline void pcie_rx_prepare_status(struct mwl_priv *priv, u16 format,
switch (format) {
case RX_RATE_INFO_FORMAT_11N:
status->encoding = RX_ENC_HT;
status->bw = RATE_INFO_BW_20;
if (bw == RX_RATE_INFO_HT40)
status->bw = RATE_INFO_BW_40;
if (gi == RX_RATE_INFO_SHORT_INTERVAL)
status->enc_flags |= RX_ENC_FLAG_SHORT_GI;
break;
case RX_RATE_INFO_FORMAT_11AC:
status->encoding = RX_ENC_VHT;
status->bw = RATE_INFO_BW_20;
if (bw == RX_RATE_INFO_HT40)
status->bw = RATE_INFO_BW_40;
if (bw == RX_RATE_INFO_HT80)

2 comments on commit cbb631e

@p3x-robot

This comment has been minimized.

Copy link

p3x-robot replied Nov 2, 2017

hey, what does it mean, this update?

@jbsky

This comment has been minimized.

Copy link

jbsky replied Nov 3, 2017

iwconfig finally displays information about the cards and their capabilities since this update.

Thank you

Please sign in to comment.
You can’t perform that action at this time.