qcacld-3.0: Update proper channel width during roam

Currently, the driver doesn't consider the force 20 MHz in
2.4 GHz configuration while calculating the channel width
for the session during roam. Therefore, fw and host will be
out-of-sync wrt the channel width of the connection.

Consider the force override 20 MHz in 2.4 GHz config which is
based on the ht40 cap of connect request for the channel width
computation.

Change-Id: Id616dd1ceefd5b2c2130be1b88067a92121e0fa1
CRs-Fixed: 3768406
Этот коммит содержится в:
Surya Prakash Sivaraj
2024-03-27 16:41:41 +05:30
коммит произвёл Ravindra Konda
родитель ac043815d9
Коммит 0530c3b2a3
2 изменённых файлов: 8 добавлений и 10 удалений

Просмотреть файл

@@ -5001,8 +5001,8 @@ wlan_cm_set_force_20mhz_in_24ghz(struct wlan_objmgr_vdev *vdev,
return;
/*
* Force 20 MHz in 2.4 GHz only if "override_ht20_40_24g" ini
* is set and userspace connect req doesn't have 40 MHz HT caps
* Force the connection to 20 MHz in 2.4 GHz if the userspace
* connect req doesn't support 40 MHz in HT caps.
*/
if (mlme_priv->connect_info.force_20mhz_in_24ghz != !is_40mhz_cap)
send_ie_to_fw = true;