怎样利用Broadcom公版程式读取Chip

jiangfengli917 2007-08-18 02:37:23
这是我在DOS下运行Broadcom公版程式WL.exe出现的命令,求助如何用这些命令去读取Chip的EEPROM

authe_sta_list
Get authenticated sta mac address list

autho_sta_list
Get authorized sta mac address list

measure_req
Send an 802.11h measurement request.
Usage: wl measure_req <type> <target MAC addr>
Measurement types are: TPC, Basic, CCA, RPI
Target MAC addr format is xx:xx:xx:xx:xx:xx

quiet Send an 802.11h quiet command.
Usage: wl quiet <TBTTs until start>, <duration (in TUs)>, <offset (in TU
s)>

csa Send an 802.11h channel switch anouncement
Usage wl csa <mode> <when (in TBTTs)> <channel>

constraint
Send an 802.11h Power Constraint IE
Usage: wl constraint 1-255 db

rm_req Request a radio measurement of type basic, cca, or rpi
specify a series of measurement types each followed by options.
example: wl rm_req cca -c 1 -d 50 cca -c 6 cca -c 11
Options:
-t n numeric token id for measurement set or measurement
-c n channel
-d n duration in TUs (1024 us)
-p parallel flag, measurement starts at the same time as previous

Each measurement specified uses the same channel and duration as the
previous unless a new channel or duration is specified.

rm_rep Get current radio measurement report

join_pref
Set/Get join target preferences.

assoc_pref
Set/Get association preference.
Usage: wl assoc_pref [auto|a|b|g]

wme Set WME (Wireless Multimedia Extensions) mode (0=off, 1=on, -1=auto)

wme_ac wl wme_ac ap|sta [be|bk|vi|vo [ecwmax|ecwmin|txop|aifsn|acm <value>] ...
]

wme_apsd
Set APSD (Automatic Power Save Delivery) mode on AP (0=off, 1=on)

wme_apsd_sta
Set APSD parameters on STA. Driver must be down.
Usage: wl wme_apsd_sta <max_sp_len> <be> <bk> <vi> <vo>
<max_sp_len>: number of frames per USP: 0 (all), 2, 4, or 6
<xx>: value 0 to disable, 1 to enable U-APSD per AC

wme_dp Set AC queue discard policy.
Usage: wl wme_dp <be> <bk> <vi> <vo>
<xx>: value 0 for newest-first, 1 for oldest-first

wme_counters
print WMM stats

lifetime
Set Lifetime parameter (milliseconds) for each ac.
wl lifetime be|bk|vi|vo [<value>]

reinit Reinitialize device

sta_info
wl sta_info <xx:xx:xx:xx:xx:xx>

cap driver capabilities

malloc_dump
debug malloc info

chan_info
channel info

add_ie Add a vendor proprietary IE to 802.11 management packets
Usage: wl add_ie <pktflag> length OUI hexdata
<pktflag>: Bit 0 - Beacons
Bit 1 - Probe Rsp
Bit 2 - Assoc/Reassoc Rsp
Bit 3 - Auth Rsp
Example: wl add_ie 3 10 00:90:4C 0101050c121a03
to add this IE to beacons and probe responses

del_ie Delete a vendor proprietary IE from 802.11 management packets
Usage: wl del_ie <pktflag> length OUI hexdata
<pktflag>: Bit 0 - Beacons
Bit 1 - Probe Rsp
Bit 2 - Assoc/Reassoc Rsp
Bit 3 - Auth Rsp
Example: wl del_ie 3 10 00:90:4C 0101050c121a03

list_ie Dump the list of vendor proprietary IEs

rand Get a 2-byte Random Number from the MAC's PRNG
Usage: wl rand

otpw Write an srom image to on-chip otp
Usage: wl otpw file

nvotpw Write nvram to on-chip otp
Usage: wl nvotpw file

bcmerrorstr
errorstring

freqtrack
Set Frequency Tracking Mode (0=Auto, 1=On, 2=OFF)

eventing
set/get 128-bit hex filter bitmask for MAC event reporting up to applica
tion layer

event_msgs
set/get 128-bit hex filter bitmask for MAC event reporting via packet in
dications

counters
Return driver counter values

assoc_info
Returns the assoc req and resp information [STA only]

autochannel
auto channel selection:
1 to issue a channel scanning;
2 to set channel based on the channel scanning result;
without argument to only show the channel selected;
ssid must set to null before this process, RF must be up

closed hides the network from active scans, 0 or 1.
0 is open, 1 is hide

pmkid_info
Returns the pmkid table

abminrate
get/set afterburner minimum rate threshold

bss set/get BSS enabled status: up/down

closednet
set/get BSS closed network attribute

diag diag testindex(1-interrupt, 2-loopback, 3-memory, 4-led); precede by 'wl
down' and follow by 'wl up'

reset_d11cnts
reset 802.11 MIB counters

staname get/set station name:
Maximum name length is 15 bytes

apname get AP name

otpdump Dump raw otp

cac_addts
add TSPEC, error if STA is not associated or WME is not enabled

cac_delts
delete TSPEC, error if STA is not associated or WME is not enabled

cac_tslist
Get the list of TSINFO in driver
eg. 'wl cac_tslist' get a list of TSINFO


cac_tspec
Get specific TSPEC with matching TSINFO
eg. 'wl cac_tspec 0xaa 0xbb 0xcc' where 0xaa 0xbb & 0xcc are TSINFO octe
ts
...全文
259 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

6,127

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 硬件设计
社区管理员
  • 硬件设计社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧