Zephyr API Documentation 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
off_raw_tx_api.h File Reference
#include <stdbool.h>
#include <stdint.h>
#include "osal_api.h"

Go to the source code of this file.

Data Structures

struct  nrf_wifi_off_raw_tx_stats
 This structure defines the Offloaded raw tx debug statistics. More...
 
struct  nrf_wifi_off_raw_tx_conf
 
  • Configuration parameters for offloaded raw TX Parameters which can be used to configure the offloaded raw TX operation.
More...
 

Macros

#define NRF_WIFI_OFF_RAW_TX_FRAME_SIZE_MIN   26
 
#define NRF_WIFI_OFF_RAW_TX_FRAME_SIZE_MAX   600
 
#define NRF_WIFI_COUNTRY_CODE_LEN   2
 

Enumerations

enum  nrf_wifi_off_raw_tx_rate {
  RATE_1M , RATE_2M , RATE_5_5M , RATE_11M ,
  RATE_6M , RATE_9M , RATE_12M , RATE_18M ,
  RATE_24M , RATE_36M , RATE_48M , RATE_54M ,
  RATE_MCS0 , RATE_MCS1 , RATE_MCS2 , RATE_MCS3 ,
  RATE_MCS4 , RATE_MCS5 , RATE_MCS6 , RATE_MCS7 ,
  RATE_MAX
}
 
  • Transmission rates Rate to be used for transmitting a packet.
More...
 
enum  nrf_wifi_off_raw_tx_he_gi { HE_GI_800NS , HE_GI_1600NS , HE_GI_3200NS , HE_GI_MAX }
 
  • HE guard interval value Value of the guard interval to be used between symbols when transmitting using HE.
More...
 
enum  nrf_wifi_off_raw_tx_he_ltf { HE_LTF_3200NS , HE_LTF_6400NS , HE_LTF_12800NS , HE_LTF_MAX }
 
  • HE long training field duration Value of the long training field duration to be used when transmitting using HE.
More...
 
enum  nrf_wifi_off_raw_tx_tput_mode {
  TPUT_MODE_LEGACY , TPUT_MODE_HT , TPUT_MODE_VHT , TPUT_MODE_HE_SU ,
  TPUT_MODE_HE_ER_SU , TPUT_MODE_HE_TB , TPUT_MODE_MAX
}
 
  • Throughput mode Throughput mode to be used for transmitting the packet.
More...
 

Functions

int nrf70_off_raw_tx_init (uint8_t *mac_addr, unsigned char *country_code)
 Initialize the nRF70 for operating in the offloaded raw TX mode.
 
void nrf70_off_raw_tx_deinit (void)
 Initialize the nRF70 for operating in the offloaded raw TX mode.
 
int nrf70_off_raw_tx_conf_update (struct nrf_wifi_off_raw_tx_conf *conf)
 Update the configured offloaded raw TX parameters.
 
int nrf70_off_raw_tx_start (struct nrf_wifi_off_raw_tx_conf *conf)
 Start the offloaded raw TX.
 
int nrf70_off_raw_tx_stop (void)
 Stop the offloaded raw TX.
 
int nrf70_off_raw_tx_mac_addr_get (uint8_t *mac_addr)
 Get the MAC address of the nRF70 device.
 
int nrf70_off_raw_tx_stats (struct nrf_wifi_off_raw_tx_stats *off_raw_tx_stats)
 Get statistics of the offloaded raw TX.