mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
qcacld-3.0: Update stations bw info field value in HT20 scenario
qcacld-2.0 to qcacld-3.0 propagation After station is associatied in HT20, when cfg80211_get_station is triggered, update station info txrate bw field for HT20 Change-Id: Icc2c5f318d7812696202705edda17c7352f66fba CRs-Fixed: 2121005
This commit is contained in:
parent
ec912b999d
commit
bc115203de
1 changed files with 3 additions and 0 deletions
|
|
@ -4281,6 +4281,9 @@ static int wlan_hdd_get_sta_stats(struct wiphy *wiphy,
|
|||
if (rate_flags & TX_RATE_HT40)
|
||||
hdd_set_rate_bw(&sinfo->txrate,
|
||||
HDD_RATE_BW_40);
|
||||
else if (rate_flags & TX_RATE_HT20)
|
||||
hdd_set_rate_bw(&sinfo->txrate,
|
||||
HDD_RATE_BW_20);
|
||||
} else {
|
||||
sinfo->txrate.flags |= RATE_INFO_FLAGS_VHT_MCS;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue