diff --git a/dp/inc/cdp_txrx_mscs.h b/dp/inc/cdp_txrx_mscs.h index cd729e5278..5e468d4104 100644 --- a/dp/inc/cdp_txrx_mscs.h +++ b/dp/inc/cdp_txrx_mscs.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2020-2021 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -31,13 +31,14 @@ * This function checks if there is a peer for this mac adress with MSCS * enabled flag set and nbuf priority is valid from user priority bitmap. * - * @param peer_mac - mac address of peer + * @param src_mac - source mac address of peer + * @param dst_mac - destination mac address of peer * @param nbuf - nbuf pointer * @return - 0 for non error case, 1 for failure */ static inline int cdp_mscs_peer_lookup_n_get_priority(ol_txrx_soc_handle soc, - uint8_t *peer_mac, + uint8_t *src_mac, uint8_t *dst_mac, qdf_nbuf_t nbuf) { if (!soc || !soc->ops || !soc->ops->mscs_ops) { @@ -48,7 +49,7 @@ cdp_mscs_peer_lookup_n_get_priority(ol_txrx_soc_handle soc, if (soc->ops->mscs_ops->mscs_peer_lookup_n_get_priority) return soc->ops->mscs_ops->mscs_peer_lookup_n_get_priority(soc, - peer_mac, nbuf); + src_mac, dst_mac, nbuf); return 0; } #endif diff --git a/dp/inc/cdp_txrx_ops.h b/dp/inc/cdp_txrx_ops.h index baf5b59707..599d61ffcc 100644 --- a/dp/inc/cdp_txrx_ops.h +++ b/dp/inc/cdp_txrx_ops.h @@ -1720,8 +1720,9 @@ struct cdp_cfr_ops { */ struct cdp_mscs_ops { int (*mscs_peer_lookup_n_get_priority)(struct cdp_soc_t *soc, - uint8_t *peer_mac, - qdf_nbuf_t nbuf); + uint8_t *src_mac, + uint8_t *dst_mac, + qdf_nbuf_t nbuf); }; #endif