qcacld-3.0: Update assoc channel width as per mlo vdev

The issue is host always uses assoc link channel width
to calculate the list of the channel(s) to trigger
wide band scan for both links.

In the case of N link MLO connection, the associated
channel and associated channel width may be different
for assoc link and non-assoc link(s).

Fix is to choose the proper associated channel width
and prepare the channel list for each link(s).

Change-Id: I2fce5d1153d396f1bfc9575572d90d2cfec0ac8a
CRs-Fixed: 3539444
Цей коміт міститься в:
Abhinav Kumar
2023-06-27 02:03:21 -07:00
зафіксовано Rahul Choudhary
джерело 73b5f14437
коміт 4704ced888
8 змінених файлів з 213 додано та 82 видалено

Переглянути файл

@@ -6886,7 +6886,7 @@ wlan_mlme_send_ch_width_update_with_notify(struct wlan_objmgr_psoc *psoc,
}
associated_ch_width =
mlme_priv->connect_info.chan_info_orig.ch_width_orig;
mlme_priv->connect_info.assoc_chan_info.assoc_ch_width;
if (associated_ch_width == CH_WIDTH_INVALID ||
ch_width > associated_ch_width) {
mlme_debug("vdev %d: Invalid new chwidth:%d, assoc ch_width:%d",