2137321_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2137321_en-US

2137321_en-US

Transmit and receive Raw packet through Wifi SDK

Dear Reader

 

I am working on NXP RW612 SoC and trying to send and receive a raw wifi packet using NXP Wifi driver between two devices without any handshake.

Do you have any idea how I can implement it?


The following functions have not been implemented yet, and only their signature is available in the Wifi.h file :

int wifi_raw_packet_send(const t_u8 *packet, t_u32 length);

int wifi_raw_packet_recv(t_u8 **data, t_u32 *pkt_type);


Do I need to set the receiver in monitoring mode and use the following function in the transmitter?


int wifi_inject_frame(const enum wlan_bss_type bss_type, const uint8_t *buff, const size_t len)

Re: Transmit and receive Raw packet through Wifi SDK

I have tested the wifi_test_mode example, and I noticed that it only sends an 802.11 frame with a fixed payload pattern.
In my case, I need to send and receive raw 802.11 frames with a custom payload.

Can I use the following function for this purpose?

int wifi_inject_frame(const enum wlan_bss_type bss_type, const uint8_t *buff, const size_t len);

If so, how can I receive the packets on the receiver side?

Thank you in advance for your support.

Best regards,

Re: Transmit and receive Raw packet through Wifi SDK

Hi,

The wifi_test_mode application demonstrates the CLI support for various RF and regulatory compliance tests.

You will find more details on section 4.9.1.7 Transmit standard 802.11 packets (UM11799).


Regards,

Daniel.

Re: Transmit and receive Raw packet through Wifi SDK

For more information. I actually need to send and receive data over the 80.11 MAC layer.

Re: Transmit and receive Raw packet through Wifi SDK

Dear Daniel,

Thank you for your reply.

I have reviewed the wifi_test_mode SDK example. However, this example still creates a STA and uAP. What I actually need is to transmit and receive data without any handshake. Do you know how I can implement that?

Also, I have made significant efforts to use monitor mode, but I haven't been able to start it successfully. Could you please provide a sample code for monitor mode?

Thank you in advance for your support.

Best regards,
Mohsen

Re: Transmit and receive Raw packet through Wifi SDK

Hi,

To send raw Wi-Fi packets you can try wifi_test_mode SDK example.


Regards,

Daniel.

タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-20-2025 04:46 PM
更新者: