nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
nrf71_wifi_coex.h File Reference

nRF71 Wi-Fi driver coexistence transport API. More...

#include <stddef.h>
#include <stdbool.h>

Go to the source code of this file.

Typedefs

typedef void(* nrf71_wifi_coex_event_cb_t) (void *ctx, const void *event, size_t len)
 Coexistence event callback.
 

Functions

bool nrf71_wifi_coex_is_ready (void)
 Check whether the Wi-Fi FMAC transport is ready for coex commands.
 
int nrf71_wifi_coex_cmd_send (const void *cmd, size_t len)
 Send a Coexistence Driver -> Coexistence Manager command to the RPU.
 
int nrf71_wifi_coex_register_event_cb (nrf71_wifi_coex_event_cb_t cb, void *ctx)
 Register a callback for received coexistence (CM2CD) events.
 
void nrf71_wifi_coex_on_event (const void *event, size_t len)
 Deliver a received coexistence (CM2CD) event to the registered handler.
 

Detailed Description

nRF71 Wi-Fi driver coexistence transport API.

The nRF71 is a single-die Wi-Fi + Short-Range (BLE) combo SoC. Coexistence between the two radios is arbitrated on-chip by the Coexistence Controller (COEXC) hardware and a Coexistence Manager (CM) that runs in the RPU/LMAC firmware.

Commands from the host-side Coexistence Driver (CD) to the CM are carried over the Wi-Fi FMAC host<->RPU control path, which is owned by this Wi-Fi driver. This header exposes a small, stable transport so the coexistence driver (drivers/nrf71_sr_coex) does not need to reach into the Wi-Fi driver's private FMAC context.