Transmit a frame to the RPU.
- Parameters
-
| fmac_dev_ctx | Pointer to the UMAC IF context for a RPU WLAN device. |
| if_idx | Index of the interface on which the frame is to be transmitted. |
| netbuf | Pointer to the OS specific network buffer. |
This function takes care of transmitting a frame to the RPU firmware. It does the following:
- Queues the frames to a transmit queue.
- Based on token availability, sends one or more frames to the RPU using
the command for transmission.
- The firmware sends an event once the command has
been processed to indicate whether the frame(s) have been
transmitted/aborted.
- The driver can cleanup the frame buffers after receiving this event.
- Return values
-
| NRF_WIFI_STATUS_SUCCESS | On success |
| NRF_WIFI_STATUS_FAIL | On failure to execute command |