Raw TX Packet Transmission Issues with nRF WiFi

I'm trying to use raw packet transmission (IN combination with wifi promiscous mode and raw sockets eventually) with my nRF WiFi device. I have both the sample raw_tx_packet application and my modified version which attempts to send UDP packets over WiFi, but neither seems to be working correctly. The packets appear to be sent according to my application logs, but I can't see any traffic in Wireshark when monitoring in promiscuous mode, except for the initial ARP requests.

Unmodified Sample Issues

The unmodified sample gives me the following errors:

Fullscreen
1
2
3
4
[00:00:13.243,591] <wrn> net_conn: pkt cloning failed, pkt 0x200682f8 dropped
[00:00:23.688,385] <err> wifi_nrf: hal_rpu_event_get: Unable to alloc HAL msg for event
[00:00:23.688,690] <err> wifi_nrf: hal_rpu_event_get: Unable to alloc HAL msg for event
[00:00:23.688,964] <err> wifi_nrf: hal_rpu_event_get: Unable to alloc HAL msg for event
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


Modified Sample Issues

My modified sample appears to successfully construct and send UDP packets (with logs showing successful transmission and returning proper byte counts), but no packets are visible in Wireshark monitoring.

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# Copyright (c) 2023 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#
CONFIG_WIFI=y
CONFIG_WIFI_NRF700X=y
CONFIG_NRF_WIFI_LOW_POWER=n
CONFIG_NRF700X_RAW_DATA_TX=y
CONFIG_RAW_TX_PKT_SAMPLE_INTER_FRAME_DELAY_MS=100
# WPA supplicant
CONFIG_WPA_SUPP=y
CONFIG_WIFI_MGMT_EXT=y
CONFIG_WIFI_CREDENTIALS=y
CONFIG_WIFI_CREDENTIALS_STATIC=y
CONFIG_WIFI_CREDENTIALS_STATIC_SSID="xxxxxxxx"
CONFIG_WIFI_CREDENTIALS_STATIC_PASSWORD="xxxxxxx"
CONFIG_RAW_TX_PKT_SAMPLE_CONNECTION_MODE=y
# Networking
CONFIG_NETWORKING=y
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX




  • How can I verify that the generic sample is actually sending packets? Are there any debug logs or hardware indicators I should be looking for or any errors from the nrf7000 i can read back?
  • Can anyone recreate this issue with the standard raw TX sample? It would help to know if others can successfully see the packets in Wireshark or if this is a widespread issue.