From 1ef2b73707b3708d9e6827a922a73180540c0f91 Mon Sep 17 00:00:00 2001 From: Jeevan Kukkalli Date: Tue, 4 Sep 2018 17:20:25 +0530 Subject: [PATCH] qcacmn: Add function to read MDIE Add function to return a pointer pointing to Mobility Domain IE of a scan entry. Change-Id: I61254bfc3de117a2d7cfb187665ac228c9ea383e CRs-Fixed: 2311319 --- umac/scan/dispatcher/inc/wlan_scan_utils_api.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/umac/scan/dispatcher/inc/wlan_scan_utils_api.h b/umac/scan/dispatcher/inc/wlan_scan_utils_api.h index e45f15adf7..0e7dfa24d0 100644 --- a/umac/scan/dispatcher/inc/wlan_scan_utils_api.h +++ b/umac/scan/dispatcher/inc/wlan_scan_utils_api.h @@ -1548,4 +1548,18 @@ util_scan_entry_extenderie(struct scan_cache_entry *scan_entry) return scan_entry->ie_list.extender; } +/** + * util_scan_entry_mdie() - function to read Mobility Domain IE + * @scan_entry: scan entry + * + * API, function to read Mobility Domain IE + * + * Return: MDIE or NULL if IE is not present + */ +static inline uint8_t* +util_scan_entry_mdie(struct scan_cache_entry *scan_entry) +{ + return scan_entry->ie_list.mdie; +} + #endif