@@ -215,7 +215,8 @@ static void mt7915_mac_sta_poll(struct mt7915_dev *dev)
rate->he_gi = (val & (0x3 << offs)) >> offs;
msta->wcid.rate_he_gi = rate->he_gi; /* cache for later */
- } else if (rate->flags & RATE_INFO_FLAGS_VHT_MCS) {
+ } else if (rate->flags &
+ (RATE_INFO_FLAGS_VHT_MCS | RATE_INFO_FLAGS_MCS)) {
if (val & BIT(12 + bw)) {
rate->flags |= RATE_INFO_FLAGS_SHORT_GI;
msta->wcid.rate_short_gi = 1;
@@ -225,7 +226,6 @@ static void mt7915_mac_sta_poll(struct mt7915_dev *dev)
msta->wcid.rate_short_gi = 0;
}
}
- /* TODO: Deal with HT_MCS */
}
rcu_read_unlock();