fix(ng): remove inlining for raw throughput
if (!len)
return -1;
- if (len > SPI_BUFFER_SIZE) {
- ESP_LOGE(TAG, "rx_pkt len[%u]>max[%u], dropping it", len, SPI_BUFFER_SIZE);
-
+ if (len+offset > SPI_BUFFER_SIZE) {
+ ESP_LOGE(TAG, "rx_pkt len+offset[%u]>max[%u], dropping it", len+offset, SPI_BUFFER_SIZE);
return -1;
}
test_raw_tp__host_to_esp = 0;
}
-inline void esp_raw_tp_queue_resume(void)
+void esp_raw_tp_queue_resume(void)
{
if (traffic_open_init_done)
if (!completion_done(&traffic_open))
#define ESP_TEST_RAW_TP__RX 0
#define ESP_TEST_RAW_TP__TX 1
-inline void esp_raw_tp_queue_resume(void);
+void esp_raw_tp_queue_resume(void);
#endif
void test_raw_tp_cleanup(void);