mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Fill Chan width for 6Ghz
Incase of non-6ghz, the peer width is updated while extracting HT and VHT capability. For 6Ghz, the HT and VHT capabilities may not be present and because of which the peer channel width gets updated as zero (20 Mhz). To fix this, fill the channel width for peer if session is 6ghz and peer supports HE Capabilities. Change-Id: Ie4d8f3a3a364af2c47e6b3d7309ee1287652ae06 CRs-Fixed: 3010063
This commit is contained in:
parent
cfa2a77b91
commit
ba83af2b77
1 changed files with 8 additions and 1 deletions
|
|
@ -1104,9 +1104,16 @@ static void lim_tdls_update_node_he_caps(struct mac_context *mac,
|
|||
|
||||
lim_log_he_cap(mac, &sta->he_config);
|
||||
|
||||
if (lim_is_he_6ghz_band(pe_session))
|
||||
if (lim_is_he_6ghz_band(pe_session)) {
|
||||
lim_tdls_populate_dot11f_6hgz_he_caps(mac, add_sta_req,
|
||||
&sta->he_6g_band_cap);
|
||||
/*
|
||||
* In 6Ghz, vht and ht ie may not present, peer channel width
|
||||
* is populated while extracting HT and VHT cap itself. So,
|
||||
* incase of 6ghz fill the chan_width.
|
||||
*/
|
||||
lim_update_stads_he_6ghz_op(pe_session, sta);
|
||||
}
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue