1 /*
2  * Copyright (c) 2024 Nordic Semiconductor ASA
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 /**
8  * @brief Header containing peer handling specific declarations for the
9  * FMAC IF Layer of the Wi-Fi driver.
10  */
11 
12 #ifndef __FMAC_PEER_H__
13 #define __FMAC_PEER_H__
14 
15 #include "system/fmac_structs.h"
16 
17 int nrf_wifi_fmac_peer_get_id(struct nrf_wifi_fmac_dev_ctx *fmac_ctx,
18 			      const unsigned char *mac_addr);
19 
20 int nrf_wifi_fmac_peer_add(struct nrf_wifi_fmac_dev_ctx *fmac_ctx,
21 			   unsigned char if_idx,
22 			   const unsigned char *mac_addr,
23 			   unsigned char is_legacy,
24 			   unsigned char qos_supported);
25 
26 void nrf_wifi_fmac_peer_remove(struct nrf_wifi_fmac_dev_ctx *fmac_ctx,
27 			       unsigned char if_idx,
28 			       int peer_id);
29 
30 void nrf_wifi_fmac_peers_flush(struct nrf_wifi_fmac_dev_ctx *fmac_ctx,
31 			       unsigned char if_idx);
32 
33 #endif /* __FMAC_PEER_H__ */
34