|
@@ -75,10 +75,23 @@ ol_txrx_find_peer_by_addr_and_vdev(ol_txrx_pdev_handle pdev,
|
|
|
ol_txrx_vdev_handle vdev,
|
|
|
uint8_t *peer_addr, uint8_t *peer_id);
|
|
|
|
|
|
+#ifdef QCA_SUPPORT_TXRX_LOCAL_PEER_ID
|
|
|
uint16_t ol_txrx_local_peer_id(ol_txrx_peer_handle peer);
|
|
|
-
|
|
|
+ol_txrx_peer_handle ol_txrx_find_peer_by_addr(ol_txrx_pdev_handle pdev,
|
|
|
+ uint8_t *peer_addr,
|
|
|
+ uint8_t *peer_id);
|
|
|
+ol_txrx_peer_handle
|
|
|
+ol_txrx_find_peer_by_addr_and_vdev(ol_txrx_pdev_handle pdev,
|
|
|
+ ol_txrx_vdev_handle vdev,
|
|
|
+ uint8_t *peer_addr, uint8_t *peer_id);
|
|
|
ol_txrx_peer_handle
|
|
|
ol_txrx_peer_find_by_local_id(ol_txrx_pdev_handle pdev, uint8_t local_peer_id);
|
|
|
+#else
|
|
|
+#define ol_txrx_local_peer_id(peer) OL_TXRX_INVALID_LOCAL_PEER_ID
|
|
|
+#define ol_txrx_find_peer_by_addr(pdev, peer_addr, peer_id) NULL
|
|
|
+#define ol_txrx_find_peer_by_addr_and_vdev(pdev, vdev, peer_addr, peer_id) NULL
|
|
|
+#define ol_txrx_peer_find_by_local_id(pdev, local_peer_id) NULL
|
|
|
+#endif /* QCA_SUPPORT_TXRX_LOCAL_PEER_ID */
|
|
|
|
|
|
QDF_STATUS
|
|
|
ol_txrx_peer_state_update(ol_txrx_pdev_handle pdev, uint8_t *peer_addr,
|