diff options
| author | Naveen Rawat <naveenrawat@codeaurora.org> | 2016-11-21 12:55:12 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-11-21 17:44:47 -0800 |
| commit | 582f3316a00b164e65aa402d4c4145454e352cb2 (patch) | |
| tree | 576e18da174955c5a9faa111d55007e8e48d32a4 /core | |
| parent | f2e58ed7897cfcb46e1b561a6872aac1e51abf71 (diff) | |
qcacld-3.0: Send 5G vht_caps followed by 2G vht_caps to firmware
In function lim_send_ies_per_band, send 5G vht_caps to firmware, before
zeroing 80/160 mhz fields for 2G vht_caps.
Change-Id: I7d5d50eaa38a19a86c29b5c754e93cc9846301d5
CRs-Fixed: 1092054
Diffstat (limited to 'core')
| -rw-r--r-- | core/mac/src/pe/lim/lim_utils.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c index e0fa701f5376..394887010a96 100644 --- a/core/mac/src/pe/lim/lim_utils.c +++ b/core/mac/src/pe/lim/lim_utils.c @@ -6576,17 +6576,8 @@ QDF_STATUS lim_send_ies_per_band(tpAniSirGlobal mac_ctx, vht_caps[0] = DOT11F_EID_VHTCAPS; vht_caps[1] = DOT11F_IE_VHTCAPS_MAX_LEN; - /* Get LDPC and over write for 2G */ lim_set_vht_caps(mac_ctx, session, vht_caps, DOT11F_IE_VHTCAPS_MIN_LEN + 2); - p_vht_cap->ldpcCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_6); - /* Self VHT 80/160/80+80 channel width for 2G is 0 */ - p_vht_cap->supportedChannelWidthSet = 0; - p_vht_cap->shortGI80MHz = 0; - p_vht_cap->shortGI160and80plus80MHz = 0; - lim_send_ie(mac_ctx, vdev_id, DOT11F_EID_VHTCAPS, - CDS_BAND_2GHZ, &vht_caps[2], DOT11F_IE_VHTCAPS_MIN_LEN); - /* * Get LDPC and over write for 5G - using channel 64 because it * is available in all reg domains. @@ -6596,6 +6587,15 @@ QDF_STATUS lim_send_ies_per_band(tpAniSirGlobal mac_ctx, lim_send_ie(mac_ctx, vdev_id, DOT11F_EID_VHTCAPS, CDS_BAND_5GHZ, &vht_caps[2], DOT11F_IE_VHTCAPS_MIN_LEN); + /* Get LDPC and over write for 2G */ + p_vht_cap->ldpcCodingCap = lim_get_rx_ldpc(mac_ctx, CHAN_ENUM_6); + /* Self VHT 80/160/80+80 channel width for 2G is 0 */ + p_vht_cap->supportedChannelWidthSet = 0; + p_vht_cap->shortGI80MHz = 0; + p_vht_cap->shortGI160and80plus80MHz = 0; + lim_send_ie(mac_ctx, vdev_id, DOT11F_EID_VHTCAPS, + CDS_BAND_2GHZ, &vht_caps[2], DOT11F_IE_VHTCAPS_MIN_LEN); + return QDF_STATUS_SUCCESS; } |
