|
@@ -1575,7 +1575,7 @@ QDF_STATUS lim_populate_own_rate_set(struct mac_context *mac_ctx,
|
|
|
lim_populate_he_mcs_set(mac_ctx, rates, he_caps,
|
|
|
session_entry, session_entry->nss);
|
|
|
lim_populate_eht_mcs_set(mac_ctx, rates, eht_caps,
|
|
|
- session_entry, session_entry->nss);
|
|
|
+ session_entry, session_entry->ch_width);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
@@ -1830,7 +1830,7 @@ QDF_STATUS lim_populate_peer_rate_set(struct mac_context *mac,
|
|
|
lim_populate_he_mcs_set(mac, pRates, peer_he_caps,
|
|
|
pe_session, pe_session->nss);
|
|
|
lim_populate_eht_mcs_set(mac, pRates, eht_caps,
|
|
|
- pe_session, pe_session->nss);
|
|
|
+ pe_session, pe_session->ch_width);
|
|
|
|
|
|
pe_debug("nss 1x1 %d nss %d", pe_session->supported_nss_1x1,
|
|
|
pe_session->nss);
|
|
@@ -2066,7 +2066,7 @@ QDF_STATUS lim_populate_matching_rate_set(struct mac_context *mac_ctx,
|
|
|
lim_populate_he_mcs_set(mac_ctx, &sta_ds->supportedRates, he_caps,
|
|
|
session_entry, session_entry->nss);
|
|
|
lim_populate_eht_mcs_set(mac_ctx, &sta_ds->supportedRates, eht_caps,
|
|
|
- session_entry, session_entry->nss);
|
|
|
+ session_entry, sta_ds->ch_width);
|
|
|
/*
|
|
|
* Set the erpEnabled bit if the phy is in G mode and at least
|
|
|
* one A rate is supported
|