Skip to content

Commit

Permalink
rtl8xxxu: Enable RX STBC by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Chiu authored and mschiu77 committed Mar 27, 2021
1 parent 2295263 commit f740aef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -6809,6 +6809,8 @@ static int rtl8xxxu_probe(struct usb_interface *interface,
sband->ht_cap.mcs.rx_mask[1] = 0xff;
sband->ht_cap.cap |= IEEE80211_HT_CAP_SGI_40;
}
/* only one spatial-stream STBC RX supported */
sband->ht_cap.cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT);
sband->ht_cap.mcs.tx_params = IEEE80211_HT_MCS_TX_DEFINED;
/*
* Some APs will negotiate HT20_40 in a noisy environment leading
Expand Down

0 comments on commit f740aef

Please sign in to comment.