cancel
Showing results for 
Search instead for 
Did you mean: 

Wi-Fi Bluetooth for Linux

maku_2263101
New Contributor II

Hello,

Unable to start Tx traffic using pkteng utility with wl commands.

Driver and Firmware Details:

  • version details:

          [root@AT91SAM9 wifi]# wl ver

          1.141 RC77.0

          wl0: Apr 13 2016 02:45:38 version 6.10.190.61 (r631123 WLTEST) FWID 01-3ff1

  • Driver: Driver taken from Murata vendor. Dongle Host Driver, version 1.141.77 (r533071)
  • Firmware: Downloaded mfgtest firmware from bcm_imx_08_12_2016.tar.gz tar ball from below location.

          Quick Start with iMX6 Ultralite EVK and Mass Market Modules

Below are the steps followed:

  • Driver Loading with mfg firmware:
    • insmod ./dhd.ko iface_name=wlan0 firmware_path=./firmware/fw_bcmdhd_mfgtest.bin nvram_path=./nvram/bcm943340wlagb_p203.txt
  • wlan interface bring-up:
    • ifconfig wlan0 up
    • wl mpc 0
    • wl up
    • wl phy_watchdog 0
  • Starting pkteng for generating Tx traffic:
    • wl pkteng_start 00:23:a7:7a:b8:98 tx 300 1500 0
    • At this step below error is returned

               dhd_wl_ioctl: WLC_SET_VAR: pkteng, ret = -1

               wl: Undefined error

Observations:

  • when running pkteng in Rx mode using below command it returns no errors.
    • wl pkteng_start 00:23:a7:7a:b8:98 rx 300 1500
  • Also pkteng_stats displays stats only related to Rx mode.
    • wl pkteng_stats

Logs:

Please find Attachment

Please provide me the necessary steps to run pkteng in Tx mode.

1 Solution
user_2235601
New Contributor II

Hi Chi-hsien Lin,

Forcing the pktengine rate before starting it seems to solve my issue.

Thanks!

View solution in original post

8 Replies
MichaelF_56
Moderator
Moderator

Adding vsb

0 Likes
Anonymous
Not applicable

Do we have support for pkgeng utility on BCM43340 module?

Can anyone respond to the thread please..

0 Likes
user_2235601
New Contributor II

Hello,

We are having the very same issue using a custom imx6ul board & Murata 1BW. (Same errors messages, ...).

We tried different versions of the BCM43340 firmware available on the "Quick Start with iMX6 Ultralite EVK and Mass Market Modules" page.

Thanks !

0 Likes
Chi-HsienL_21
Employee

Hi kevin_2235601,

Could you please try forcing the rate before the packet engine and see if it still fail?

For example, forcing to mcs 7 -

wl nrate -m 7

Thanks.

Chi-hsien Lin

user_2235601
New Contributor II

Hi Chi-hsien Lin,

Forcing the pktengine rate before starting it seems to solve my issue.

Thanks!

View solution in original post

Chi-HsienL_21
Employee

Thanks for confirming.

Could you please share how you know about the packet engine command? I would like to make sure the related document gets updated so people will not run into this again in the future.

user_2235601
New Contributor II

I was using a Murata document called "Example Subset of WL Tool Commands & RF Transmit Test Sequences" along with some scripts we used to certifiy another product (with a Murata Type ZP).

I don't think the "Example Subset of WL Tool Commands & RF Transmit Test Sequences" needs an update as the packet engine rate is always set before the start of the packet engine on the available examples. We were just doing it wrong on our scripts.

Thanks !

Chi-HsienL_21
Employee

I see. Thanks a lot for clarifying!

0 Likes