EAP101 Monitor mode

Hi All,
I have an EAP101 device, I installed a TIP image on it. Everything seems fine but I had a problems with the monitor mode. First I wasn’t able to inject packet through it, I don’t know if it supports packet injection though.
Also when i run tcpdump, all I see is a unrecognised packet or malformat packets.
does anyone have the same problem?

Question from @nizar

Hello, @nizar .

Thanks for using Edgecore devices and write us a message on the OpenWiFi User Forum. Tell us more about your issue and scenarios.

  1. What is your firmware version? Is your deployment using 2.4.0 uCentral?
  2. What do you mean by “Inject Packet”? Are you using a packet generator? Please tell us more about your network environment and reproducing steps.
  3. For tcpdump results, you can also attach the PCAP file and tell us what is your expected results.

Thanks
Nick Ho
Edgecore OpenWiFi Support Team Taipei Office
support@edge-core.com

Answered by @NickHo

Hi @NickHo ,
Thank you for your quick response.
I cloned the latest version of wlan-ap repository (commitb95762020826cda034b88e68e51b916bbaf636e1).
I tried packet injection with mac80211 through the monitor interface, using dev_queue_xmit after adding the needed headers( it works with wifi5 devices).
I am not using uCentral for now. I just need to send some packets between two devices for a proprietary application.
I attached a screenshot of tcpdump (I couldn’t add pcap file).

tcpdump

this is the meshpoint config:
phy#1
Interface wlan1
ifindex 15
wdev 0x100000002
addr f8:8e:a1:52:40:c0
type mesh point
channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
txpower 30.00 dBm
phy#0
Interface mon-phy0
ifindex 17
wdev 0x3
addr f8:8e:a1:52:40:c1
type monitor
txpower 0.00 dBm
Interface wlan0
ifindex 16
wdev 0x2
addr f8:8e:a1:52:40:c1
type mesh point
channel 36 (5180 MHz), width: 20 MHz (no HT), center1: 5180 MHz
txpower 23.00 dBm

from @nizar

Hello, @nizar .

Thanks for the info about the mac80211.

About your question, I think we could discuss and consult in the TIP Slack .

We can find TIP developers there, and we can discuss the packet injection scenarios & mac80211. You can tag me on the TIP slack so that I could follow up on your post and join the discussion together.

Answered by @NickHo