|
@@ -116,6 +116,33 @@ QDF_STATUS
|
|
util_get_bvmlie_mldmacaddr(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
|
util_get_bvmlie_mldmacaddr(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
|
bool *mldmacaddrfound,
|
|
bool *mldmacaddrfound,
|
|
struct qdf_mac_addr *mldmacaddr);
|
|
struct qdf_mac_addr *mldmacaddr);
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * util_get_bvmlie_primary_linkid - Get the link identifier from a given Basic
|
|
|
|
+ * variant Multi-Link element or element fragment sequence, of the AP that
|
|
|
|
+ * transmits the Multi-Link element/element fragment sequence or the
|
|
|
|
+ * nontransmitted BSSID in the same multiple BSSID set as the AP that transmits
|
|
|
|
+ * the Multi-Link element/element fragment sequence and that is affiliated with
|
|
|
|
+ * the MLD that is described in the Multi-Link element.
|
|
|
|
+ *
|
|
|
|
+ * @mlieseq: Starting address of the Multi-Link element or Multi-Link element
|
|
|
|
+ * fragment sequence
|
|
|
|
+ * @mlieseqlen: Total length of the Multi-Link element or Multi-Link element
|
|
|
|
+ * fragment sequence
|
|
|
|
+ * @linkidfound: Pointer to the location where a boolean status should be
|
|
|
|
+ * updated indicating whether the link identifier was found or not. This should
|
|
|
|
+ * be ignored by the caller if the function returns error.
|
|
|
|
+ * @linkid: Pointer to the location where the value of the link identifier
|
|
|
|
+ * should be updated. This should be ignored by the caller if the function
|
|
|
|
+ * returns error, or if the function indicates that the link identifier was not
|
|
|
|
+ * found.
|
|
|
|
+ *
|
|
|
|
+ * Return: QDF_STATUS_SUCCESS in the case of success, QDF_STATUS value giving
|
|
|
|
+ * the reason for error in the case of failure
|
|
|
|
+ */
|
|
|
|
+QDF_STATUS
|
|
|
|
+util_get_bvmlie_primary_linkid(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
|
|
|
+ bool *linkidfound, uint8_t *linkid);
|
|
#else
|
|
#else
|
|
static inline QDF_STATUS
|
|
static inline QDF_STATUS
|
|
util_gen_link_assoc_rsp(uint8_t *frame, qdf_size_t len,
|
|
util_gen_link_assoc_rsp(uint8_t *frame, qdf_size_t len,
|
|
@@ -145,5 +172,12 @@ util_get_bvmlie_mldmacaddr(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
|
{
|
|
{
|
|
return QDF_STATUS_E_NOSUPPORT;
|
|
return QDF_STATUS_E_NOSUPPORT;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+static inline QDF_STATUS
|
|
|
|
+util_get_bvmlie_primary_linkid(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
|
|
|
+ bool *linkidfound, uint8_t *linkid)
|
|
|
|
+{
|
|
|
|
+ return QDF_STATUS_E_NOSUPPORT;
|
|
|
|
+}
|
|
#endif /* WLAN_FEATURE_11BE_MLO */
|
|
#endif /* WLAN_FEATURE_11BE_MLO */
|
|
#endif /* _WLAN_UTILS_MLO_H_ */
|
|
#endif /* _WLAN_UTILS_MLO_H_ */
|