From f283c299434d806026ac941b8c1260319eb93cf7 Mon Sep 17 00:00:00 2001 From: Christian B Date: Tue, 3 Jul 2018 09:38:14 +0200 Subject: [PATCH] ioctl_cfg80211.init_vht_capab: print highest rates that are set there --- os_dep/linux/ioctl_cfg80211.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/os_dep/linux/ioctl_cfg80211.c b/os_dep/linux/ioctl_cfg80211.c index e2fa44e..8d95c8b 100644 --- a/os_dep/linux/ioctl_cfg80211.c +++ b/os_dep/linux/ioctl_cfg80211.c @@ -7042,8 +7042,9 @@ static void rtw_cfg80211_init_vht_capab(_adapter *padapter, struct ieee80211_sta HighestRate = (HighestRate+1) >> 1; - vht_cap->vht_mcs.tx_highest = HighestRate; //indicate we support highest rx rate is 600Mbps. - vht_cap->vht_mcs.rx_highest = HighestRate; //indicate we support highest rx rate is 600Mbps. + vht_cap->vht_mcs.tx_highest = HighestRate; + vht_cap->vht_mcs.rx_highest = HighestRate; + RTW_INFO("[VHT] Highest rate value: %d\n", HighestRate); } #endif //CONFIG_VHT_EXTRAS