How to use monitor mode to receive the packets in a specific channel?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
Here are some questions that confused me:

1. Which function do the incoming packets will be forward to?

2. Can I use wiced_wifi_set_channel() to change channel during the monitor mode?

3. Which interface does the monitor mode use? AP or STA?

Thanks
0 Likes
1 Reply
Anonymous
Not applicable
1) Packets received while monitor mode is enabled will be forwarded to a user defined function that should be defined as:

void host_network_process_raw_packet( wiced_buffer_t buffer, wiced_interface_t interface );

2) Yes. You can set the channel using wiced_wifi_set_channel() during monitor moded

3) Monitor mode uses the STA interface
0 Likes