qcacmn: Add support to get MLD mac address from reconfig ML IE
In the driver, add support to get the MLD mac address from a given reconfig variant Multi-link element. Change-Id: I8c54f58f05a89cd5624ea5dc34b6630c06777013 CRs-Fixed: 3348125
This commit is contained in:

committed by
Madan Koyyalamudi

parent
de6b627426
commit
3c3a62b04b
@@ -464,6 +464,27 @@ util_get_prvmlie_persta_link_id(uint8_t *mlieseq,
|
||||
qdf_size_t mlieseqlen,
|
||||
struct mlo_probereq_info *probereq_info);
|
||||
|
||||
/**
|
||||
* util_get_rvmlie_mldmacaddr() - Get the MLD MAC address from a given Reconfig
|
||||
* variant 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
|
||||
* @mldmacaddr: Pointer to the location where the MLD MAC address should be
|
||||
* updated. This should be ignored by the caller if the function returns error.
|
||||
*
|
||||
* Get the MLD MAC address from a given Reconfig variant Multi-Link element
|
||||
* or element fragment sequence.
|
||||
*
|
||||
* 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_rvmlie_mldmacaddr(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
||||
struct qdf_mac_addr *mldmacaddr);
|
||||
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
util_gen_link_assoc_req(uint8_t *frame, qdf_size_t frame_len, bool isreassoc,
|
||||
@@ -574,5 +595,11 @@ util_get_prvmlie_mldid(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
|
||||
static inline QDF_STATUS
|
||||
util_get_rvmlie_mldmacaddr(uint8_t *mlieseq, qdf_size_t mlieseqlen,
|
||||
struct qdf_mac_addr *mldmacaddr)
|
||||
{
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
}
|
||||
#endif /* WLAN_FEATURE_11BE_MLO */
|
||||
#endif /* _WLAN_UTILS_MLO_H_ */
|
||||
|
Reference in New Issue
Block a user