qcacmn: Add support to get min and max bw of chan enum

Add support to get min and max band width of provided
channel enum, so that configured bandwidth can be validated
whether it lies in the range of bandwidth or not.

Change-Id: I765b4e8013d021eaca41b37789d1ef3f1d57fa7d
CRs-Fixed: 3402928
Este commit está contenido en:
Sheenam Monga
2023-01-11 15:30:11 +05:30
cometido por Madan Koyyalamudi
padre 94461d8894
commit 7453254a0c
Se han modificado 5 ficheros con 64 adiciones y 15 borrados

Ver fichero

@@ -660,8 +660,10 @@ void wlan_scan_get_last_scan_ageout_time(struct wlan_objmgr_psoc *psoc,
struct wlan_scan_obj *scan_obj;
scan_obj = wlan_psoc_get_scan_obj(psoc);
if (!scan_obj)
if (!scan_obj) {
*last_scan_ageout_time = 0;
return;
}
*last_scan_ageout_time =
scan_obj->scan_def.last_scan_ageout_time;
}