|
@@ -5773,7 +5773,7 @@ QDF_STATUS lim_send_ies_per_band(struct mac_context *mac_ctx,
|
|
lim_set_ht_caps(mac_ctx, session, ht_caps,
|
|
lim_set_ht_caps(mac_ctx, session, ht_caps,
|
|
DOT11F_IE_HTCAPS_MIN_LEN + 2);
|
|
DOT11F_IE_HTCAPS_MIN_LEN + 2);
|
|
/* Get LDPC and over write for 2G */
|
|
/* Get LDPC and over write for 2G */
|
|
- p_ht_cap->advCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_6);
|
|
|
|
|
|
+ p_ht_cap->advCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_2437);
|
|
/* Get self cap for HT40 support in 2G */
|
|
/* Get self cap for HT40 support in 2G */
|
|
if (mac_ctx->roam.configParam.channelBondingMode24GHz) {
|
|
if (mac_ctx->roam.configParam.channelBondingMode24GHz) {
|
|
p_ht_cap->supportedChannelWidthSet = 1;
|
|
p_ht_cap->supportedChannelWidthSet = 1;
|
|
@@ -5797,7 +5797,7 @@ QDF_STATUS lim_send_ies_per_band(struct mac_context *mac_ctx,
|
|
* Get LDPC and over write for 5G - using channel 64 because it
|
|
* Get LDPC and over write for 5G - using channel 64 because it
|
|
* is available in all reg domains.
|
|
* is available in all reg domains.
|
|
*/
|
|
*/
|
|
- p_ht_cap->advCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_64);
|
|
|
|
|
|
+ p_ht_cap->advCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_5320);
|
|
/* Get self cap for HT40 support in 5G */
|
|
/* Get self cap for HT40 support in 5G */
|
|
if (mac_ctx->roam.configParam.channelBondingMode5GHz) {
|
|
if (mac_ctx->roam.configParam.channelBondingMode5GHz) {
|
|
p_ht_cap->supportedChannelWidthSet = 1;
|
|
p_ht_cap->supportedChannelWidthSet = 1;
|
|
@@ -5819,7 +5819,7 @@ QDF_STATUS lim_send_ies_per_band(struct mac_context *mac_ctx,
|
|
* Get LDPC and over write for 5G - using channel 64 because it
|
|
* Get LDPC and over write for 5G - using channel 64 because it
|
|
* is available in all reg domains.
|
|
* is available in all reg domains.
|
|
*/
|
|
*/
|
|
- p_vht_cap->ldpcCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_64);
|
|
|
|
|
|
+ p_vht_cap->ldpcCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_5320);
|
|
lim_populate_mcs_set_vht_per_vdev(mac_ctx, vht_caps,
|
|
lim_populate_mcs_set_vht_per_vdev(mac_ctx, vht_caps,
|
|
vdev_id, NSS_CHAINS_BAND_5GHZ);
|
|
vdev_id, NSS_CHAINS_BAND_5GHZ);
|
|
|
|
|
|
@@ -5834,7 +5834,7 @@ QDF_STATUS lim_send_ies_per_band(struct mac_context *mac_ctx,
|
|
CDS_BAND_5GHZ, &vht_caps[2], DOT11F_IE_VHTCAPS_MIN_LEN);
|
|
CDS_BAND_5GHZ, &vht_caps[2], DOT11F_IE_VHTCAPS_MIN_LEN);
|
|
|
|
|
|
/* Get LDPC and over write for 2G */
|
|
/* Get LDPC and over write for 2G */
|
|
- p_vht_cap->ldpcCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_6);
|
|
|
|
|
|
+ p_vht_cap->ldpcCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_2437);
|
|
/* Self VHT 80/160/80+80 channel width for 2G is 0 */
|
|
/* Self VHT 80/160/80+80 channel width for 2G is 0 */
|
|
p_vht_cap->supportedChannelWidthSet = 0;
|
|
p_vht_cap->supportedChannelWidthSet = 0;
|
|
p_vht_cap->shortGI80MHz = 0;
|
|
p_vht_cap->shortGI80MHz = 0;
|