From 9a6d5e5e7ccb4a44c688b733637fa916d772232a Mon Sep 17 00:00:00 2001 From: Sourav Mohapatra Date: Thu, 17 Oct 2019 09:48:01 +0530 Subject: [PATCH] qcacld-3.0: Add proper rates for MCS9 in host table Currently the MCS9 rates are not populated correctly in the host stored MCS tables. The current rates entered are (1560, 1733) which is incorrect. Since MCS9 is not defined in the spec but rather an internal implementation, rectify the rates by confirmation from firmware team. The new rates entered are (1730, 1920) Change-Id: Idebc3afae8b1f251ea843b6578170e74f7152629 CRs-Fixed: 2517704 --- core/hdd/src/wlan_hdd_hostapd.c | 2 +- core/hdd/src/wlan_hdd_stats.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index c64ad17d2aa9..03d5d0615000 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/core/hdd/src/wlan_hdd_hostapd.c @@ -187,7 +187,7 @@ static const struct index_vht_data_rate_type supported_vht_mcs_rate_nss2[] = { {6, {5265, 5850}, {2430, 2700}, {1170, 1300} }, {7, {5850, 6500}, {2700, 3000}, {1300, 1444} }, {8, {7020, 7800}, {3240, 3600}, {1560, 1733} }, - {9, {7800, 8667}, {3600, 4000}, {1560, 1733} } + {9, {7800, 8667}, {3600, 4000}, {1730, 1920} } }; /* Function definitions */ diff --git a/core/hdd/src/wlan_hdd_stats.c b/core/hdd/src/wlan_hdd_stats.c index 66d0c9c8a355..71966da4bc93 100644 --- a/core/hdd/src/wlan_hdd_stats.c +++ b/core/hdd/src/wlan_hdd_stats.c @@ -159,7 +159,7 @@ static struct index_vht_data_rate_type supported_vht_mcs_rate_nss2[] = { {6, {5265, 5850}, {2430, 2700}, {1170, 1300} }, {7, {5850, 6500}, {2700, 3000}, {1300, 1444} }, {8, {7020, 7800}, {3240, 3600}, {1560, 1733} }, - {9, {7800, 8667}, {3600, 4000}, {1560, 1733} } + {9, {7800, 8667}, {3600, 4000}, {1730, 1920} } }; /*array index ponints to MCS and array value points respective rssi*/