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
This commit is contained in:
Jeevan Kukkalli
2018-09-04 17:20:25 +05:30
committed by nshrivas
parent e4de76596e
commit 1ef2b73707

View File

@@ -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