|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2016 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2016, 2019 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
|
|
@@ -22,7 +22,8 @@
|
|
|
/**
|
|
|
* cdp_get_pn_info() - Returns pn info from peer
|
|
|
* @soc - data path soc handle
|
|
|
- * @peer: handle to peer
|
|
|
+ * @peer_mac: peer mac address
|
|
|
+ * @vdev_id: virtual device/interface id
|
|
|
* @last_pn_valid: return last_rmf_pn_valid value from peer.
|
|
|
* @last_pn: return last_rmf_pn value from peer.
|
|
|
* @rmf_pn_replays: return rmf_pn_replays value from peer.
|
|
@@ -30,8 +31,9 @@
|
|
|
* Return: NONE
|
|
|
*/
|
|
|
static inline void
|
|
|
-cdp_get_pn_info(ol_txrx_soc_handle soc, void *peer, uint8_t **last_pn_valid,
|
|
|
- uint64_t **last_pn, uint32_t **rmf_pn_replays)
|
|
|
+cdp_get_pn_info(ol_txrx_soc_handle soc, uint8_t *peer_mac, uint8_t vdev_id,
|
|
|
+ uint8_t **last_pn_valid, uint64_t **last_pn,
|
|
|
+ uint32_t **rmf_pn_replays)
|
|
|
{
|
|
|
if (!soc || !soc->ops || !soc->ops->pmf_ops) {
|
|
|
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
|
|
@@ -40,8 +42,9 @@ cdp_get_pn_info(ol_txrx_soc_handle soc, void *peer, uint8_t **last_pn_valid,
|
|
|
}
|
|
|
|
|
|
if (soc->ops->pmf_ops->get_pn_info)
|
|
|
- return soc->ops->pmf_ops->get_pn_info(
|
|
|
- peer, last_pn_valid, last_pn, rmf_pn_replays);
|
|
|
+ return soc->ops->pmf_ops->get_pn_info(soc, peer_mac, vdev_id,
|
|
|
+ last_pn_valid,
|
|
|
+ last_pn, rmf_pn_replays);
|
|
|
|
|
|
return;
|
|
|
}
|