openwrt / mt76

mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
750 stars 342 forks source link

FCC test mode for MT7612 and MT7615 Radio modules #781

Open MaxRF77 opened 1 year ago

MaxRF77 commented 1 year ago

Hello Fellow MediaTek & Openwrt Users,

We need to perform FCC test of a device that contains both the MT7612 and MT7615 Radio modules. We have searched extensively (both on github and other resources) for a way to exercise/stimulate the mini PCIe modules in a Stand-Alone mode on a Linux / ARM platform.  We have not yet found anything that we can use.

For FCC test, we need to be able to: select:

- channels
- data rates
- modulation schemes 
- power levels

A code module and a CLI with instructions would simply be awesome! (If there is such a thing.)

I apologize in advance if this is unintended usage of this user driven & provided online resource but if someone can point us in the right direction i suspect that we should not take up too many resources.

Best Regards, Max    

nachalni commented 1 year ago

Hello, It's currently working on MT7615. The steps are:

  1. Disable any wireless interface on specific phy
  2. Create monitor interface, bring it up iw phy phy0 interface add mon0 type monitor ifconfig mon0 up / ip link set dev mon0 up
  3. Set it to tx mode mt76-test phy0 set state=tx_frames
  4. You can check set parameters with mt76-test phy0 dump
nachalni commented 1 year ago

Of course cfg80211 testmode support has to be enabled and mt76-test tool has to be built

Djfe commented 1 year ago

did this answer your question or did you run into further issues? @MaxRF77