詢問Adaptivity …Carrier Sensing 的完整WL command

公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

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

cross mob
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

Cypress CYW43340 要如何下WL command來完成Adaptivity 和 Carrier Sensing 測試項目

WL command文件可以參考嗎?

0 点赞
1 解答
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

有一些经验先共享下:

1.  试下这个指令是否可以用:

  wl phy_ed_thresh -70

This command is to adjust the Energy Detect (adaptivity) sensitivity level.

Range is from -20 to -75

2.   添加这些指令到NVRAM中,看是否有效果, 范围可以在实验室自行调整测试。

  edonthd40=-81

  edoffthd40=-87

  edonthd20u=-81

  edonthd20l=-81

  edoffthd20ul=-87

3.  添加如下指令:

这个我的理解是和 phy_ed_thresh 是一样的效果, 也可以在NV中添加测试。

// for US

ed_thresh2g = -75

ed_thresh5g = -75

//for EU

eu_edthresh2g = -75

eu_edthresh5g = -75

在原帖中查看解决方案

0 点赞
19 回复数
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked
0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

您給的連結..打不開….

無法顯示此網頁

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

sorry, 从这个链接看是否可以打开:

New Document Release: AN225347 - Cypress Wi-Fi CLM Regulatory Manual

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

剛看連結中Adaptivity 2.4G & 5G….指令有支持

WICED 6.X版嗎???

wl ver

6.10 RC0.0

wl0: May 7 2018 22:01:39 version 6.49.26 (r689667) FWID 01-b1820e03

wl down

wl glacial_timer 3000

wl: error -23

wl frameburst 0

wl ampdu 0

wl up

wl country GB

wl mpc 0

wl phy_watchdog 0

wl: error -23

wl disassoc

wl scansuppress 0

wl join MRTest_2G

wl status

SSID: "est_2G"

Mode: Managed RSSI: -40 dBm SNR: 44 dB noise: -85 dBm Flags: RSSI on-channel Channel: 11

BSSID: 18:A6:F7:32:C2:B3 Capability: ESS ShortPre ShortSlot

Supported Rates:

802.11N Capable:

Chanspec: 2.4GHz channel 11 20MHz (0x2b0b)

Control channel: 11

802.11N Capabilities: SGI20

Supported MCS :

wl scansuppress 1

wl phy_ed_thresh -78

wl: error -23

ping -c 4 192.168.1.1

Could not find host -c

ERROR: Unknown Error

Usage: ping ]

ping 192.168.1.1

PING 192.168.1.1

Ping error

--- 192.168.1.1 ping statistics ---

1 packets transmitted, 0 received, 100% packet loss, time 0ms

rtt min/avg/max/mdev = 0/0.0/0/0 ms

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

hello:

    有啊, 你切换到我们的测试模式就可以, 需要先download image:

43xxx_Wi-Fi\apps\test\mfg_test

然后参考wiced中的factory 测试文档, 里面会有描述如何输入wl command。

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

目前我們是用WICED 編輯出來的使用test.console.app去連外部wifi ap 來達成Adaptivity test

wl ver

wl down

wl glacial_timer 3000 (Please ignore “Unsupported” first)

wl frameburst 0

wl ampdu 0

wl ampdu_mpdu 0

wl up

wl country GB

wl mpc 0

wl phy_watchdog 0 (Please ignore “Unsupported” first)

wl disassoc

wl scansuppress 0

wl join " by “wl status”)

wl status

wl scansuppress 1

wl phy_ed_thresh -78 (Trying to adjust/decrease this value if the testing is still fail)

(make sure ping works with AP or testbed)

ping -c 4 192.168.1.1

還是會有以下的問題~

WiFi 2.4G/WiFi 5G Adaptivity

WiFi 2.4G和WiFi 5G相同狀況,測試Adaptivity時於干擾後有跳開但Short control signal Fail

WiFi 2.4G/WiFi 5G Carrier Sensing

WiFi 2.4G和WiFi 5G相同狀況,測試Carrier Sensing時於干擾後沒有跳開,判定為Fail

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

现在是什么问题?  是command 输入有问题, 还是输入command 都是ok, 但是测试有问题 , 现在使用的firwmare 是最新的wiced 里面的吗?

0 点赞
lock attach
Attachments are accessible only for community members.
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

目前連線的指令是可以

>eboot

Rebooting...

Starting WICED vWiced_006.002.001.0002

Platform WL2012 initialised

Started FreeRTOS v9.0.0

Initialising LwIP v2.0.3

DHCP CLIENT hostname WICED IP

WLAN MAC Address : 80:D2:1D:66:F5:63

WLAN Firmware : wl0: May 7 2018 22:01:39 version 6.49.26 (r689667) FWID 01-b1820e03

WLAN CLM : API: 7.2 Data: 6.2.4 Compiler: 1.9.3 ClmImport: 1.9.3 Inc Data: 9.10.31 Inc Compiler: 1.36.3 Inc ClmImport: 1.36.3

Console app

join MRTest_5G open

Joining : MRTest_5G

Successfully joined : MRTest_5G

Setting IPv6 link-local address

Obtaining IPv4 address via DHCP

IPv6 Network ready IP: FE80::82D2:1DFF:FE66:F563

IPv4 Network ready IP: 192.168.1.31

country GB

Country is (GB)

但Adaptivity指令一樣會Fail,”wl phy_ed_thresh -78”的”-78”從-10調整至-300後測試皆會Fail(訊號未跳開),

不過輸入此行後會出現Error,不確定是否有影響,下圖為此次最新指令截圖。

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

请尝试在nvram中添加测试看一下:

// for US

ed_thresh2g = -75

ed_thresh5g = -75

//for EU

eu_edthresh2g = -75

eu_edthresh5g = -75

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

所以還是沒有針對Carrier Sensing 的WL CMD?

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hi DS:

麻烦告知下carrier sensing 的测试,  CW ?

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

載波偵聽多路存取(英語:Carrier Sense Multiple Access,縮寫:CSMA)是一種媒介存取控制 <https://zh.wikipedia.org/wiki/%E4%BB%8B%E8%B4%A8%E8%AE%BF%E9%97%AE%E6%8E%A7%E5%88%B6> (MAC)的協定。載波偵聽(英語:Carrier Sense)指任何連接到媒介的裝置在欲傳送影格前,必須對媒介進行偵聽,當確認其空閒時,才可以傳送。多路存取(英語:Multiple Access)指多個裝置可以同時存取媒介,一個裝置傳送的影格也可以被多個裝置接收。

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

了解, 但是以往没有客户要求以wl command的形式来测试载波侦听, 你现在测试的时候碰到什么问题了?

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

試Carrier Sensing時於干擾後沒有跳開,判定為Fail

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

所以過往有相關的經驗嗎??

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

有一些经验先共享下:

1.  试下这个指令是否可以用:

  wl phy_ed_thresh -70

This command is to adjust the Energy Detect (adaptivity) sensitivity level.

Range is from -20 to -75

2.   添加这些指令到NVRAM中,看是否有效果, 范围可以在实验室自行调整测试。

  edonthd40=-81

  edoffthd40=-87

  edonthd20u=-81

  edonthd20l=-81

  edoffthd20ul=-87

3.  添加如下指令:

这个我的理解是和 phy_ed_thresh 是一样的效果, 也可以在NV中添加测试。

// for US

ed_thresh2g = -75

ed_thresh5g = -75

//for EU

eu_edthresh2g = -75

eu_edthresh5g = -75

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

我會在TRY一下~~另Adaptivity的指令有針對WICED VER 6.X的完整指令嗎

0 点赞
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

sorry, 暂时没有完整指令, 这个一般都是不同案例去调整测试的。

0 点赞
DS_Lin
Level 5
Level 5
Distributor - Zenitron(GC)
First comment on blog 100 sign-ins 50 replies posted

Hi Sir,

謝謝您的幫忙

0 点赞