From 68a8c472322e534c993b56292f1769082980da99 Mon Sep 17 00:00:00 2001 From: Krishna Rao Date: Wed, 19 Oct 2022 10:36:14 +0530 Subject: [PATCH] qcacmn: Add clarification for util_find_mlie() Add further clarification for util_find_mlie() that the buffer passed should contain only 802.11 Information Elements, and should not contain other information like 802.11 header, 802.11 fields that are not elements, etc. Change-Id: Id577cdc08189cd0f60053b1345ee15b3bb4f0eca CRs-Fixed: 3316369 --- umac/mlo_mgr/inc/utils_mlo.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/umac/mlo_mgr/inc/utils_mlo.h b/umac/mlo_mgr/inc/utils_mlo.h index 77b6e68210..214d1f1d4b 100644 --- a/umac/mlo_mgr/inc/utils_mlo.h +++ b/umac/mlo_mgr/inc/utils_mlo.h @@ -146,10 +146,13 @@ util_gen_link_probe_rsp(uint8_t *frame, qdf_size_t frame_len, * returns error, or if the function indicates that the element or element * fragment sequence was not found by providing a starting address of NULL. * - * Find the first Multi-Link element or the start of the first - * Multi-Link element fragment sequence in a given buffer containing elements, - * if a Multi-Link element or element fragment sequence exists in the given - * buffer. + * Find the first Multi-Link element or the start of the first Multi-Link + * element fragment sequence in a given buffer containing elements, if a + * Multi-Link element or element fragment sequence exists in the given buffer. + * The buffer should contain only 802.11 Information elements, and thus should + * not contain other information like 802.11 header, 802.11 frame body + * components like fields that are not elements (e.g. Capability Information + * field, Beacon Interval field), etc. * * Return: QDF_STATUS_SUCCESS in the case of success, QDF_STATUS value giving * the reason for error in the case of failure