88w9098 TX continuous mode

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

88w9098 TX continuous mode

3,015件の閲覧回数
javadR3
Contributor III

Hi,

I am using M2-JODY-W377 module and want to set the TX power in the tx_countinuous mode.

used these commands:

echo "rf_test_mode=1" >> /proc/mwlan/adapter0/config
echo "band=1" >> /proc/mwlan/adapter0/config
echo "channel=128" >> /proc/mwlan/adapter0/config
echo "bw=4" >> /proc/mwlan/adapter0/config
echo "tx_power=10 2 2" >> /proc/mwlan/adapter0/config
echo "tx_continuous=1 1 0xAAA 0 3 7" >> /proc/mwlan/adapter0/config

but it seems, module doesn't start to transmit(can't see anything on spectrum analyzer).

if I don't set the "tx_power", it start to transmit but it doesn't stop with 'echo "tx_continuous=0" >> /proc/mwlan/adapter0/config' command.

Another question: In UM11490 document it is mentioned that "The commands(tx_power) only set power if caldata is already loaded in the firmware", But it isn't explained HOW? What is this caldata?

ラベル(3)
タグ(2)
0 件の賞賛
返信
10 返答(返信)

2,956件の閲覧回数
javadR3
Contributor III

Hi @shaun_wu,

Thanks for your reply. I also changed the bandwidth but still same results. when I use the following set of commands

~# modprobe moal mod_para=nxp/wifi_mod_para.conf
~# echo "rf_test_mode=1" >> /proc/mwlan/adapter0/config
~# echo "band=1" >> /proc/mwlan/adapter0/config
~# echo "channel=128" >> /proc/mwlan/adapter0/config
~# echo "bw=0" >> /proc/mwlan/adapter0/config
~# echo "tx_continuous=1 1 0xAAA 0 3 7" >> /proc/mwlan/adapter0/config

it starts to transmit but doesn't stop by 

~# echo "tx_continuous=0" >> /proc/mwlan/adapter0/config

 And by using the below set of commands, it even doesn't start to transmit.

~# echo "rf_test_mode=1" >> /proc/mwlan/adapter0/config
~# echo "band=1" >> /proc/mwlan/adapter0/config
~# echo "channel=128" >> /proc/mwlan/adapter0/config
~# echo "bw=0" >> /proc/mwlan/adapter0/config
~# echo "tx_power=10 0 2" >> /proc/mwlan/adapter0/config
~# echo "tx_continuous=1 1 0xAAA 0 3 7" >> /proc/mwlan/adapter0/config
~# echo "tx_continuous=0" >> /proc/mwlan/adapter0/config

 I also tried different parameter values for "tx_power", but nothing changed.

Here are the output messages of the driver.

[  191.410174] mlan: loading out-of-tree module taints kernel.
[  191.488541] wlan: Loading MWLAN driver
[  191.492676] wlan: Driver loaded successfully
[  191.492742] wlan: Register to Bus Driver...
[  191.501376] wlan_pcie 0000:01:00.0: enabling device (0000 -> 0002)
[  191.507647] Attach moal handle ops, card interface type: 0x206
[  191.516593] PCIE9098: init module param from usr cfg
[  191.521615] card_type: PCIE9098, config block: 0
[  191.526247] cfg80211_wext=0xf
[  191.529213] max_vir_bss=1
[  191.531847] cal_data_cfg=none
[  191.534841] mac_addr=00:50:43:20:12:34
[  191.538605] fw_name=nxp/pcieuart9098_combo_v1.bin
[  191.543317] txpwrlimit_cfg=nxp/txpower_DE.bin
[  191.547700] rx_work=1 cpu_num=4
[  191.550868] Attach mlan adapter operations.card_type is 0x206.
[  191.558000] Request firmware: nxp/pcieuart9098_combo_v1.bin
[  192.149434] FW download over, size 620880 bytes
[  193.666012] WLAN FW is active
[  193.668984] on_time is 193607003595
[  193.672492] Download txpwrlimit_cfg=nxp/txpower_DE.bin
[  193.702222] fw_cap_info=0x81c3fa3, dev_cap_mask=0xffffffff
[  193.707760] max_p2p_conn = 8, max_sta_conn = 64
[  193.726792] wlan: version = PCIE9098--17.92.5.p11-MM5X17283.p2-GPL-(FP92) 
[  193.734596] wlan_pcie 0000:01:00.1: enabling device (0000 -> 0002)
[  193.740890] Attach moal handle ops, card interface type: 0x206
[  193.747616] PCIE9098: init module param from usr cfg
[  193.752679] card_type: PCIE9098, config block: 1
[  193.757377] cfg80211_wext=0xf
[  193.760377] max_vir_bss=1
[  193.763068] cal_data_cfg=none
[  193.769911] mac_addr=00:50:43:20:52:56
[  193.773758] fw_name=nxp/pcieuart9098_combo_v1.bin
[  193.778515] txpwrlimit_cfg=nxp/txpower_DE.bin
[  193.782940] rx_work=1 cpu_num=4
[  193.786133] Attach mlan adapter operations.card_type is 0x206.
[  193.802091] Request firmware: nxp/pcieuart9098_combo_v1.bin
[  193.808335] WLAN FW already running! Skip FW download
[  193.813438] WLAN FW is active
[  193.816462] on_time is 193754473516
[  193.820002] Download txpwrlimit_cfg=nxp/txpower_DE.bin
[  193.835859] fw_cap_info=0x81c3fa3, dev_cap_mask=0xffffffff
[  193.841400] max_p2p_conn = 8, max_sta_conn = 64
[  193.861533] wlan: version = PCIE9098--17.92.5.p11-MM5X17283.p2-GPL-(FP92) 
[  193.869024] wlan: Register to Bus Driver Done
[  200.512779] Sleep confirm command failed
[  200.518036] Sleep confirm command failed

 

Regards,

Javad

0 件の賞賛
返信

2,919件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @javadR3 

 

You should set tx and rx antenna configuration.

echo "tx_antenna=1" >> /proc/mwlan/adapterX/config

echo "rx_antenna=1" >> /proc/mwlan/adapterX/config

 

Best Regards

Shaun

0 件の賞賛
返信

2,908件の閲覧回数
javadR3
Contributor III

Hi @shaun_wu,

 

Tried that too, but still same results. Couldn't that be because of firmware version? The driver uses firmware version  17.92.5.p11.

 

Regards,

Javad 

0 件の賞賛
返信

2,980件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @javadR3 

 

I mean which platform you use. Could you share your test environment to us? UM11490 is for i.mx platform only.

 

Best Regards

Shaun

0 件の賞賛
返信

2,973件の閲覧回数
javadR3
Contributor III

Hi @shaun_wu,

 

I use a Started Kit with i.MX8 as processor and runs Yocto Linux. And also use M2-JODY-W377 which is connected to the starter kit through PCI.

Firmware: pcieuart9098_combo_v1.bin

Driver Version: PCIE9098--17.92.5.p11-MM5X17283.p2-GPL-(FP92)

card_type: PCIE9098

 

Regards

Javad

 

 

 

0 件の賞賛
返信

2,960件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @javadR3 

 

Channel 128 is for 20 MHz configuration. You cannot set 80 MHz on this channel.

 

Best Regards

Shaun

タグ(1)
0 件の賞賛
返信

2,982件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @javadR3 

 

I mean which platform you use. Could you share your test environment to us? UM11490 is for i.mx platform only.

 

Best Regards

Shaun

0 件の賞賛
返信

3,000件の閲覧回数
javadR3
Contributor III

Hello @shaun_wu,

I'm using Linux (pci uart driver).

Thanks 

0 件の賞賛
返信

3,005件の閲覧回数
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @javadR3 

 

Which host you use?

 

Best Regards

Shaun

0 件の賞賛
返信

2,479件の閲覧回数
JBuesch
Contributor I

Hi everyone,

I am facing a similar problem using the test modes exposed via proc-fs (under "/proc/mwlan/adapter0/config").

I am using an iMX8 based platform with a custom Yocto based Linux.

Tuning the radio to 20MHz channels works without an issue, but using higher bandwidths doesn't work at all.

$ cat /proc/mwlan/adapter0/config 
hardware_status=0
netlink_num=31
drv_mode=7
hssetpara=7,0xff,200,400
rf_test_mode=1
tx_antenna=1
rx_antenna=1
band=1
bw=4
channel=36
radio_mode[0]=1
radio_mode[1]=9
total rx pkt count=0
rx multicast/broadcast pkt count=0
rx fcs error pkt count=0
tx_power=
tx_continuous=0
tx_frame=1 110 0xaaa 256 1 20 0 0 0 0 0 0 0 -1 -1 -1 -1 -1 -1 -1 00:00:00:00:00:00
he_tb_tx=0
trigger_frame=0

I tried all sorts of different channel / bw / mcs_rate combinations (e.g. using channel 42, which is a defined 80MHz), but never got more than 20MHz out of the 88W9098.

We are currently on  PCIE9098--17.68.1.p136.32-MXM5X17366.p16-GPL-(FP68)(R38).


Best regards

0 件の賞賛
返信