Selaa lähdekoodia

qcacmn: keep non intesected phymode in scan db

scan db has intersected phymode. For BSS information via iwlist we need
non intersected phymode.

Change-Id: I62a4aea33a67ac12b5be5bcdd4a3fc4538056df9
CRs-Fixed: 3454700
aloksing 2 vuotta sitten
vanhempi
sitoutus
d8e1a8418c

+ 3 - 0
umac/scan/core/src/wlan_scan_cache_db.c

@@ -1275,6 +1275,9 @@ QDF_STATUS __scm_handle_bcn_probe(struct scan_bcn_probe_event *bcn)
 				continue;
 			}
 		}
+
+		scan_entry->non_intersected_phymode = scan_entry->phy_mode;
+
 		if (scan_obj->cb.update_beacon)
 			scan_obj->cb.update_beacon(pdev, scan_entry);
 

+ 2 - 0
umac/scan/dispatcher/inc/wlan_scan_public_structs.h

@@ -595,6 +595,7 @@ struct ml_info {
  * @raw_frame: contain raw frame and the length of the raw frame
  * @pdev_id: pdev id
  * @ml_info: Multi link information
+ * @non_intersected_phymode: Non intersected phy mode of the AP
  */
 struct scan_cache_entry {
 	uint8_t frm_subtype;
@@ -648,6 +649,7 @@ struct scan_cache_entry {
 #ifdef WLAN_FEATURE_11BE_MLO
 	struct ml_info ml_info;
 #endif
+	enum wlan_phymode non_intersected_phymode;
 };
 
 #define MAX_FAVORED_BSSID 16