qcacld-3.0: Update MCS index appropriately

qcacld-2.0 to qcacld-3.0 propagation

When AP is configured with MCS index less than 4(43Mbps) then Host
reports invalid MCS Index to upper-layer, leading to display invalid
link speed on GUI.
Updating MCS index with valid value and thereby updating correct MCS
index to upper-layer

Change-Id: Ibd1503be3825c879b7fa52bdfb6ff07423c39023
CRs-Fixed: 855022
This commit is contained in:
Hanumantha Reddy Pothula
2015-10-01 14:14:46 +05:30
committed by Satish Singh
父節點 104e1a73b7
當前提交 7cc833c783

查看文件

@@ -2181,6 +2181,9 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy,
supported_mcs_rate[j].
supported_rate
[rateFlag];
maxMCSIdx =
supported_mcs_rate[j].
beacon_rate_index;
break;
}
}
@@ -2188,11 +2191,8 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy,
if ((j < MAX_HT_MCS_IDX)
&& (currentRate > maxRate)) {
maxRate = currentRate;
maxSpeedMCS = 1;
maxMCSIdx =
supported_mcs_rate[j].
beacon_rate_index;
}
maxSpeedMCS = 1;
}
}
}