Преглед изворни кода

qcacmn: Add scan utility to get BV ML IE

Add a scan utility to get the basic variant ML IE
from the scan entry.

Change-Id: I741665ea7ca0d99014e37bddda50ae4eaa334b33
CRs-Fixed: 3857501
Surya Prakash Sivaraj пре 1 година
родитељ
комит
fa75e6cc25
1 измењених фајлова са 12 додато и 0 уклоњено
  1. 12 0
      umac/scan/dispatcher/inc/wlan_scan_utils_api.h

+ 12 - 0
umac/scan/dispatcher/inc/wlan_scan_utils_api.h

@@ -1662,6 +1662,12 @@ util_scan_entry_bw_ind(struct scan_cache_entry *scan_entry)
 #endif
 
 #ifdef WLAN_FEATURE_11BE_MLO
+static inline uint8_t*
+util_scan_entry_bv_ml_ie(struct scan_cache_entry *scan_entry)
+{
+	return scan_entry->ie_list.multi_link_bv;
+}
+
 static inline uint8_t*
 util_scan_entry_t2lm(struct scan_cache_entry *scan_entry)
 {
@@ -1676,6 +1682,12 @@ util_scan_entry_t2lm(struct scan_cache_entry *scan_entry)
  */
 uint32_t util_scan_entry_t2lm_len(struct scan_cache_entry *scan_entry);
 #else
+static inline uint8_t*
+util_scan_entry_bv_ml_ie(struct scan_cache_entry *scan_entry)
+{
+	return NULL;
+}
+
 static inline uint8_t*
 util_scan_entry_t2lm(struct scan_cache_entry *scan_entry)
 {