24 lines
945 B
C
24 lines
945 B
C
#pragma once
|
|||
|
|
|
||
|
|
// Sourced from OpenTrafficMap's its-g5-receiver-firmware_txenabled, main/tx_custom.h
|
||
|
|
// (https://codeberg.org/opentrafficmap/its-g5-receiver-firmware_txenabled, pinned commit
|
||
|
|
// 674e34128279235ba34c9f8d778f43cf1d075397, no stated license). That project reverse-engineered
|
||
|
|
// this ESP32-C5 ROM/libphy entry point -- it is not documented or supported by Espressif.
|
||
|
|
// See experiments/evidence/c5-radio-characterization/phy-internals-investigation.md for what
|
||
|
|
// this repository independently verified (by disassembling libphy.a) versus what is still an
|
||
|
|
// unverified upstream guess.
|
||
|
|
|
||
|
|
#include "esp_wifi.h"
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
esp_err_t esp_wifi_80211_tx_custom(wifi_interface_t ifx, const void *buffer, int32_t len,
|
||
|
|
bool en_sys_seq, wifi_tx_rate_config_t *tx_rate_config,
|
||
|
|
wifi_band_t band, wifi_bandwidth_t bw);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|