Advertisement
goeiecool9999

R7000 wl command help

Sep 19th, 2018
2,019
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 87.25 KB | None | 0 0
  1. Usage: wl [-a|i <adapter>] [-h] [-d|u|x] <command> [arguments]
  2.  
  3. -h this message and command descriptions
  4. -h [cmd] command description for cmd
  5. -a, -i adapter name or number
  6. -d output format signed integer
  7. -u output format unsigned integer
  8. -x output format hexdecimal
  9.  
  10. ver get version information
  11.  
  12. cmds generate a short list of available commands
  13.  
  14. ioctl_echo
  15. check ioctl functionality
  16.  
  17. up reinitialize and mark adapter up (operational)
  18.  
  19. down reset and mark adapter down (disabled)
  20.  
  21. out mark adapter down but do not reset hardware(disabled)
  22. On dualband cards, cards must be bandlocked before use.
  23.  
  24. clk set board clock state. return error for set_clk attempt if the driver is not down
  25. 0: clock off
  26. 1: clock on
  27.  
  28. restart Restart driver. Driver must already be down.
  29.  
  30. reboot Reboot platform
  31.  
  32. radio Set the radio on or off.
  33. "on" or "off"
  34.  
  35. dump Give suboption "list" to list various suboptions
  36.  
  37. ptdump Give suboption "list" to list various suboptions
  38.  
  39. ol_stats
  40. Give suboption "list" to list various suboptions
  41.  
  42. ol_eventlog
  43. Give suboption "list" to list various suboptions
  44.  
  45. ol_cons Display the ARM console or issue a command to the ARM console
  46. Usage: ol_cons [<cmd>]
  47. "?" - Display the list of active console commands
  48.  
  49. ol_wowl_cons
  50. Give suboption "list" to list various suboptions
  51.  
  52. ol_clr Give suboption "list" to list various suboptions
  53.  
  54. srclear Clears first 'len' bytes of the srom, len in decimal or hex
  55. Usage: srclear <len>
  56.  
  57. srdump print contents of SPROM to stdout
  58.  
  59. srwrite Write the srom: srwrite byteoffset value
  60.  
  61. srcrc Get the CRC for input binary file
  62.  
  63. ciswrite
  64. Write specified <file> to the SDIO/PCIe CIS source (either SROM or OTP) Usage: ciswrite [-p|--pciecis] <file>
  65. -p|--pciecis -- Write OTP for PCIe full-dongle
  66.  
  67. cisupdate
  68. Write a hex byte stream to specified byte offset to the CIS source (either SROM or OTP)
  69. --preview option allows you to review the update without committing it
  70. <byte offset> <hex byte stream> [--preview]
  71.  
  72. cisdump Display the content of the SDIO CIS source
  73. -b <file> -- also write raw bytes to <file>
  74. <len> -- optional count of bytes to display (must be even)
  75.  
  76. cis_source
  77. Display which source is used for the SDIO CIS
  78.  
  79. cisconvert
  80. Print CIS tuple for given name=value pair
  81.  
  82. rdvar Read a named variable to the srom
  83.  
  84. wrvar Write a named variable to the srom
  85.  
  86. nvram_source
  87. Display which source is used for nvram
  88.  
  89. nvram_dump
  90. print nvram variables to stdout
  91.  
  92. nvset set an nvram variable
  93. name=value (no spaces around '=')
  94.  
  95. nvget get the value of an nvram variable
  96.  
  97. nvram_get
  98. get the value of an nvram variable
  99.  
  100. revinfo get hardware revision information
  101.  
  102. customvar1
  103. print the value of customvar1 in hex format
  104.  
  105. msglevel
  106. set driver console debugging message bitvector
  107. type 'wl msglevel ?' for values
  108.  
  109. phymsglevel
  110. set phy debugging message bitvector
  111. type 'wl phymsglevel ?' for values
  112.  
  113. PM set driver power management mode:
  114. 0: CAM (constantly awake)
  115. 1: PS (power-save)
  116. 2: FAST PS mode
  117.  
  118. wake set driver power-save mode sleep state:
  119. 0: core-managed
  120. 1: awake
  121.  
  122. promisc set promiscuous mode ethernet address reception
  123. 0 - disable
  124. 1 - enable
  125.  
  126. monitor set monitor mode
  127. 0 - disable
  128. 1 - enable active monitor mode (interface still operates)
  129.  
  130. frag Deprecated. Use fragthresh.
  131.  
  132. rts Deprecated. Use rtsthresh.
  133.  
  134. cwmin Set the cwmin. (integer [1, 255])
  135.  
  136. cwmax Set the cwmax. (integer [256, 2047])
  137.  
  138. srl Set the short retry limit. (integer [1, 255])
  139.  
  140. lrl Set the long retry limit. (integer [1, 255])
  141.  
  142. rate force a fixed rate:
  143. valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
  144. valid values for 802.11b are (1, 2, 5.5, 11)
  145. valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
  146. -1 (default) means automatically determine the best rate
  147.  
  148. mrate force a fixed multicast rate:
  149. valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
  150. valid values for 802.11b are (1, 2, 5.5, 11)
  151. valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
  152. -1 (default) means automatically determine the best rate
  153.  
  154. a_rate force a fixed rate for the A PHY:
  155. valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
  156. -1 (default) means automatically determine the best rate
  157.  
  158. a_mrate force a fixed multicast rate for the A PHY:
  159. valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
  160. -1 (default) means automatically determine the best rate
  161.  
  162. bg_rate force a fixed rate for the B/G PHY:
  163. valid values for 802.11b are (1, 2, 5.5, 11)
  164. valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
  165. -1 (default) means automatically determine the best rate
  166.  
  167. bg_mrate
  168. force a fixed multicast rate for the B/G PHY:
  169. valid values for 802.11b are (1, 2, 5.5, 11)
  170. valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
  171. -1 (default) means automatically determine the best rate
  172.  
  173. 2g_rate Force a fixed rate for data frames in the 2.4G band:
  174.  
  175. Either "auto", or a simple CCK/DSSS/OFDM rate value:
  176. 1 2 5.5 11 6 9 12 18 24 36 48 54
  177.  
  178. Or options to specify legacy, HT, or VHT rate:
  179. -r R, --rate=R : legacy rate (CCK, DSSS, OFDM)
  180. -h M, --ht=M : HT MCS index [0-23]
  181. -v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
  182. : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
  183. -c cM[sS] : VHT (c notation) MCS index M [0-9],
  184. : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
  185. -s S, --ss=S : VHT Nss [1-8], number of spatial streams, default 1.
  186. : Only used with -v/--vht when MxS format is not used
  187. -x T, --exp=T : Tx Expansion, number of tx chains (NTx) beyond the minimum
  188. : required for the space-time-streams, exp = NTx - Nsts
  189. --stbc : Use STBC expansion, otherwise no STBC
  190. -l, --ldpc : Use LDPC encoding, otherwise no LDPC
  191. -g, --sgi : SGI, Short Guard Interval, otherwise standard GI
  192. -b, --bandwidth : transmit bandwidth MHz; 20, 40, 80
  193.  
  194. 2g_mrate
  195. Force a fixed rate for mulitcast/broadcast data frames in the 2.4G band:
  196.  
  197. Either "auto", or a simple CCK/DSSS/OFDM rate value:
  198. 1 2 5.5 11 6 9 12 18 24 36 48 54
  199.  
  200. Or options to specify legacy, HT, or VHT rate:
  201. -r R, --rate=R : legacy rate (CCK, DSSS, OFDM)
  202. -h M, --ht=M : HT MCS index [0-23]
  203. -v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
  204. : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
  205. -c cM[sS] : VHT (c notation) MCS index M [0-9],
  206. : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
  207. -s S, --ss=S : VHT Nss [1-8], number of spatial streams, default 1.
  208. : Only used with -v/--vht when MxS format is not used
  209. -x T, --exp=T : Tx Expansion, number of tx chains (NTx) beyond the minimum
  210. : required for the space-time-streams, exp = NTx - Nsts
  211. --stbc : Use STBC expansion, otherwise no STBC
  212. -l, --ldpc : Use LDPC encoding, otherwise no LDPC
  213. -g, --sgi : SGI, Short Guard Interval, otherwise standard GI
  214. -b, --bandwidth : transmit bandwidth MHz; 20, 40, 80
  215.  
  216. 5g_rate Force a fixed rate for data frames in the 5G band:
  217.  
  218. Either "auto", or a simple OFDM rate value:
  219. 6 9 12 18 24 36 48 54
  220.  
  221. Or options to specify legacy OFDM, HT, or VHT rate:
  222. -r R, --rate=R : legacy OFDM rate
  223. -h M, --ht=M : HT MCS index [0-23]
  224. -v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
  225. : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
  226. -c cM[sS] : VHT (c notation) MCS index M [0-9],
  227. : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
  228. -s S, --ss=S : VHT Nss [1-8], number of spatial streams, default 1.
  229. : Only used with -v/--vht when MxS format is not used
  230. -x T, --exp=T : Tx Expansion, number of tx chains (NTx) beyond the minimum
  231. : required for the space-time-streams, exp = NTx - Nsts
  232. --stbc : Use STBC expansion, otherwise no STBC
  233. -l, --ldpc : Use LDPC encoding, otherwise no LDPC
  234. -g, --sgi : SGI, Short Guard Interval, otherwise standard GI
  235. -b, --bandwidth : transmit bandwidth MHz; 20, 40, 80
  236.  
  237. 5g_mrate
  238. Force a fixed rate for mulitcast/broadcast data frames in the 5G band:
  239.  
  240. Either "auto", or a simple OFDM rate value:
  241. 6 9 12 18 24 36 48 54
  242.  
  243. Or options to specify legacy OFDM, HT, or VHT rate:
  244. -r R, --rate=R : legacy OFDM rate
  245. -h M, --ht=M : HT MCS index [0-23]
  246. -v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
  247. : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
  248. -c cM[sS] : VHT (c notation) MCS index M [0-9],
  249. : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
  250. -s S, --ss=S : VHT Nss [1-8], number of spatial streams, default 1.
  251. : Only used with -v/--vht when MxS format is not used
  252. -x T, --exp=T : Tx Expansion, number of tx chains (NTx) beyond the minimum
  253. : required for the space-time-streams, exp = NTx - Nsts
  254. --stbc : Use STBC expansion, otherwise no STBC
  255. -l, --ldpc : Use LDPC encoding, otherwise no LDPC
  256. -g, --sgi : SGI, Short Guard Interval, otherwise standard GI
  257. -b, --bandwidth : transmit bandwidth MHz; 20, 40, 80
  258.  
  259. infra Set Infrastructure mode: 0 (IBSS) or 1 (Infra BSS)
  260.  
  261. ap Set AP mode: 0 (STA) or 1 (AP)
  262.  
  263. bssid Set or get the BSS ID value
  264. (mac address, e.g. 00:11:20:11:33:33, colons optional)
  265.  
  266. bssmax get number of BSSes
  267.  
  268. bw_cap Get/set the per-band bandwidth.
  269. Usage: wl bw_cap <2g|5g> [<cap>]
  270. 2g|5g - Band: 2.4GHz or 5GHz respectively
  271. cap:
  272. 0x1 - 20MHz
  273. 0x3 - 20/40MHz
  274. 0x7 - 20/40/80MHz
  275. 0xff - Unrestricted
  276.  
  277. channel Set the channel:
  278. valid channels for 802.11b/g (2.4GHz band) are 1 through 14
  279. valid channels for 802.11a (5 GHz band) are:
  280. 36, 40, 44, 48, 52, 56, 60, 64,
  281. 100, 104, 108, 112, 116,120, 124, 128, 132, 136, 140,
  282. 149, 153, 157, 161,
  283. 184, 188, 192, 196, 200, 204, 208, 212, 216
  284.  
  285. cur_mcsset
  286. Get the current mcs set
  287.  
  288. clmver Get version information for CLM data and tools
  289.  
  290. roam_channels_in_cache
  291. Get a list of channels in roam cache
  292.  
  293. roam_channels_in_hotlist
  294. Get a list of channels in roam hot channel list
  295.  
  296. chanspecs
  297. Get all the valid chanspecs (default: all within current locale):
  298. -b band (5(a) or 2(b/g))
  299. -w bandwidth, 20, 40 or 80
  300. [-c country_abbrev]
  301.  
  302. chanspecs_defset
  303. Get default chanspecs for current driver settings (default: all within current locale)
  304.  
  305. chanspec
  306. Set current or configured channel:
  307. 20MHz : [2g|5g]<channel>[/20]
  308. 40MHz : [2g|5g]<channel>/40[u,l]
  309. 80MHz : [5g]<channel>/80
  310. optional band 2g or 5g, default to 2g if channel <= 14
  311. channel number (0-200)
  312. bandwidth, 20, 40, or 80, default 20
  313. primary sideband for 40MHz on 2g, l=lower, u=upper
  314. OR Set channel with legacy format:
  315. -c channel number (0-224)
  316. -b band (5(a) or 2(b/g))
  317. -w bandwidth 20 or 40
  318. -s ctl sideband, -1=lower, 0=none, 1=upper
  319.  
  320. rclass Get operation class:
  321. chanspec
  322.  
  323.  
  324. dfs_channel_forced
  325. Set <channel>[a,b][n][u,l]
  326. channel number (0-224)
  327. band a=5G, b=2G, default to 2G if channel <= 14
  328. bandwidth, n=10, non for 20 & 40
  329. ctl sideband, l=lower, u=upper
  330. Set channel list using -l option
  331. wl dfs_channel_forced {-l <chanspec list> | 0}
  332. 20MHz : <channel>[/20]
  333. 40MHz : <channel>{{l|u}|/40}
  334. 80MHz : <channel>/80
  335. Channels specified using '-l' option should be
  336. seperated by ','/' ' and should be prefixed with '+'/'-'
  337. Deletes existing configuration when '0' specified
  338.  
  339. tssi Get the tssi value from radio
  340.  
  341. txpwr Set tx power in milliwatts. Range [1, 84].
  342.  
  343. txpwr1 Set tx power in in various units. Choose one of (default: dbm):
  344. -d dbm units
  345. -q quarter dbm units
  346. -m milliwatt units
  347. Can be combined with:
  348. -o turn on override to disable regulatory and other limitations
  349. Use wl txpwr -1 to restore defaults
  350.  
  351. txpathpwr
  352. Turn the tx path power on or off on 2050 radios
  353.  
  354. txpwrlimit
  355. Return current tx power limit
  356.  
  357. powerindex
  358. Set the transmit power for A band(0-63).
  359. -1 - default value
  360.  
  361. atten Set the transmit attenuation for B band. Args: bb radio txctl1.
  362. auto to revert to automatic control
  363. manual to supspend automatic control
  364.  
  365. phyreg Get/Set a phy register:
  366. offset [ value ] [ band ]
  367.  
  368. radioreg
  369. Get/Set a radio register:
  370. offset [ value ] [ band/core ]
  371. HTPHY:
  372. Get a radio register: wl radioreg [ offset ] [ cr0/cr1/cr2 ]
  373. Set a radio register: wl radioreg [ offset ] [ value ] [ cr0/cr1/cr2/all ]
  374. ACPHY:
  375. Get a radio register: wl radioreg [ offset ] [ cr0/cr1/cr2/pll ]
  376. Set a radio register: wl radioreg [ offset ] [ value ] [ cr0/cr1/cr2/pll/all ]
  377.  
  378. ucflags Get/Set ucode flags 1, 2, 3(16 bits each)
  379. offset [ value ] [ band ]
  380.  
  381. shmem Get/Set a shared memory location:
  382. offset [ value ] [band ]
  383.  
  384. macreg Get/Set any mac registers(include IHR and SB):
  385. macreg offset size[2,4] [ value ] [ band ]
  386.  
  387. ucantdiv
  388. Enable/disable ucode antenna diversity (1/0 or on/off)
  389.  
  390. gpioout Set any GPIO pins to any value. Use with caution as GPIOs would be assigned to chipcommon
  391. Usage: gpiomask gpioval
  392.  
  393. devpath print device path
  394.  
  395. help List commands by category
  396.  
  397. iov Get information on driver IOVARs
  398.  
  399. iovars Get information on driver IOVARs
  400.  
  401. shownetworks
  402. Pretty-print the BSSID list
  403.  
  404. loop enable mac-level or mii-level loopback
  405.  
  406. piomode Get/Set piomode
  407.  
  408. shmem_dump
  409. Deprecated. Folded under 'wl dump shmem'
  410.  
  411. pcieregdump
  412. Deprecated.Folded under 'wl dump pcieregs'
  413.  
  414. gpiodump
  415. Deprecated. Folded under 'wl dump gpio'
  416.  
  417. tsf_dump
  418. Deprecated. Folded under 'wl dump tsf'
  419.  
  420. ampdu_dump
  421. Deprecated. Folded under 'wl dump ampdu'
  422.  
  423. amsdu_dump
  424. Deprecated. Folded under 'wl dump amsdu'
  425.  
  426. amsdu_clear_counters
  427. clear amsdu counters
  428.  
  429. fixrate get/set the fixrate per scb/ac:
  430. To get: wl fixrate xx:xx:xx:xx:xx:xx (the remote mac addr).
  431. To set: wl fixrate xx:xx:xx:xx:xx:xx <ac> <rateid>,
  432. where <ac> = -1 means for all ACs, and
  433. <rateid> is the index to the rate set, -1 means auto.
  434.  
  435. ratedump
  436. Print driver rate selection tunables and per-scb state to stdout
  437. based on remote station mac address[xx:xx:xx:xx:xx:xx]
  438.  
  439. dump_rateset
  440. Print per-scb rate set chosen by rate selection stdout
  441. based on remote station mac address[xx:xx:xx:xx:xx:xx]
  442.  
  443. ccreg g/set cc registers
  444.  
  445. corereg !!! internal only !!! g/set ANY registers in ANY core: core offset [val]
  446.  
  447. corewrapperreg
  448. !!! internal only !!! g/set ANY core wrapper register in ANY core: coreidx offset [val]
  449.  
  450. sflags g/set core iostatus flags
  451.  
  452. cflags g/set core ioctrl flags
  453.  
  454. jtagureg
  455. g/set JTAG user registers
  456.  
  457. coma Put the router in a catatonic state
  458.  
  459. pciereg g/set pcie tlp/dlp/plp registers
  460.  
  461. pcicfgreg
  462. g/set pci cfg register
  463.  
  464. n_bw get/set mimo channel bandwidth (10=10MHz, 20=20Mhz, 40=40Mhz), will cause phy to reset
  465.  
  466. mimo_ofdm
  467. get/set stf mode for legacy ofdm frame (0=SISO, 1=CDD)
  468.  
  469. mimo_ps get/set mimo power save mode, (0=Dont send MIMO, 1=proceed MIMO with RTS, 2=N/A, 3=No restriction)
  470.  
  471. ofdm_txbw
  472. get/set ofdm txbw (2=20Mhz(lower), 3=20Mhz upper, 4(not allowed), 5=40Mhz dup)
  473.  
  474. cck_txbw
  475. get/set cck txbw (2=20Mhz(lower), 3=20Mhz upper)
  476.  
  477. aciargs Get/Set various aci tuning parameters. Choices are:
  478. enter: CRS glitch trigger level to start detecting ACI
  479. exit: CRS glitch trigger level to exit ACI mode
  480. glitch Seconds interval between ACI scans when glitchcount is continuously high
  481. spin: Num microsecs to delay between rssi samples
  482.  
  483. enter: (NPHY) CRS glitch trigger level to start detecting ACI
  484. adcpwr_enter: (NPHY) ADC power to enter ACI Mitigation mode
  485. adcpwr_exit: (NPHY) ADC power to exit ACI Mitigation mode
  486. repeat: (NPHY) Number of tries per channel to compute power
  487. samples: (NPHY) Number of samples to use to compute power on a channel
  488. undetect_sz: (NPHY) # Undetects to wait before coming out of ACI Mitigation mode
  489. loaci: (NPHY) bphy energy threshold for low aci pwr
  490. mdaci: (NPHY) bphy energy threshold for medium aci pwr
  491. hiaci: (NPHY) bphy energy threshold for hi aci pwr
  492.  
  493. Usage: wl aciargs [enter x][exit x][spin x][glitch x]
  494.  
  495. hwkeys Dump all keys in h/w
  496.  
  497. pllreset
  498. set the pll to reset value
  499. Usage: wl pllreset
  500.  
  501. timestamp
  502. Get the debug hw timestamp
  503.  
  504. phy_afeoverride
  505. g/set AFE override
  506.  
  507. pcieserdesreg
  508. g/set SERDES registers: dev offset [val]
  509.  
  510. ampdu_activate_test
  511. actiate
  512.  
  513. ampdu_tid
  514. enable/disable per-tid ampdu; usage: wl ampdu_tid <tid> [0/1]
  515.  
  516. ampdu_cfg_txaggr
  517. enable/disable tx aggregation per tid or all tid for specific interface;
  518. get current status: wl ampdu_cfg_txaggr
  519. enable/disable all category(tid): wl ampdu_cfg_txaggr <0/1>
  520. enable/disable per category(tid): wl ampdu_cfg_txaggr [<tid> <0/1>]
  521.  
  522.  
  523. ampdu_retry_limit_tid
  524. Set per-tid ampdu retry limit; usage: wl ampdu_retry_limit_tid <tid> [0~31]
  525.  
  526. ampdu_rr_retry_limit_tid
  527. Set per-tid ampdu regular rate retry limit; usage: wl ampdu_rr_retry_limit_tid <tid> [0~31]
  528.  
  529. ampdu_send_addba
  530. send addba to specified ea-tid; usage: wl ampdu_send_addba <tid> <ea>
  531.  
  532. ampdu_send_delba
  533. send delba to specified ea-tid; usage: wl ampdu_send_delba <tid> <ea> [initiator]
  534.  
  535. ampdu_clear_dump
  536. clear ampdu counters
  537.  
  538. ampdu_txq_prof_start
  539. start sample txq profiling data
  540.  
  541. ampdu_txq_prof_dump
  542. show txq histogram
  543.  
  544. ampdu_txq_ss
  545. take txq snapshot
  546.  
  547. dpt_deny
  548. adds/removes ea to dpt deny list
  549. usage: wl dpt_deny <add,remove> <ea>
  550.  
  551. dpt_endpoint
  552. creates/updates/deletes dpt endpoint for ea
  553. usage: wl dpt_endpoint <create, update, delete> <ea>
  554.  
  555. dpt_pmk sets DPT pre-shared key
  556.  
  557. dpt_fname
  558. sets/gets DPT friendly name
  559.  
  560. dpt_list
  561. gets status of all dpt peers
  562.  
  563. actframe
  564. Send a Vendor specific Action frame to a channel
  565. usage: wl actframe <Dest Mac Addr> <data> channel dwell-time <BSSID>
  566.  
  567. antdiv Set antenna diversity for rx
  568. 0 - force use of antenna 0
  569. 1 - force use of antenna 1
  570. 3 - automatic selection of antenna diversity
  571.  
  572. txant Set the transmit antenna
  573. 0 - force use of antenna 0
  574. 1 - force use of antenna 1
  575. 3 - use the RX antenna selection that was in force during
  576. the most recently received good PLCP header
  577.  
  578. plcphdr Set the plcp header.
  579. "long" or "auto" or "debug"
  580.  
  581. phytype Get phy type
  582.  
  583. rateparam
  584. set driver rate selection tunables
  585. arg 1: tunable id
  586. arg 2: tunable value
  587.  
  588. wepstatus
  589. Set or Get WEP status
  590. wepstatus [on|off]
  591.  
  592. primary_key
  593. Set or get index of primary key
  594.  
  595. addwep Set an encryption key. The key must be 5, 13 or 16 bytes long, or
  596. 10, 26, 32, or 64 hex digits long. The encryption algorithm is
  597. automatically selected based on the key size. keytype is accepted
  598. only when key length is 16 bytes/32 hex digits and specifies
  599. whether AES-OCB or AES-CCM encryption is used. Default is ccm.
  600. WAPI is selected if key len is 32 and arguments contain wapi.
  601. addwep <keyindex> <keydata> [ocb | ccm | wapi] [notx] [xx:xx:xx:xx:xx:xx]
  602.  
  603. rmwep Remove the encryption key at the specified key index.
  604.  
  605. keys Prints a list of the current WEP keys
  606.  
  607. tsc Print Tx Sequence Couter for key at specified key index.
  608.  
  609. wsec_test
  610. Generate wsec errors
  611. wsec_test <test_type> <keyindex|xx:xx:xx:xx:xx:xx>
  612. type 'wl wsec_test ?' for test_types
  613.  
  614. tkip_countermeasures
  615. Enable or disable TKIP countermeasures (TKIP-enabled AP only)
  616. 0 - disable
  617. 1 - enable
  618.  
  619. wsec_restrict
  620. Drop unencrypted packets if WSEC is enabled
  621. 0 - disable
  622. 1 - enable
  623.  
  624. eap restrict traffic to 802.1X packets until 802.1X authorization succeeds
  625. 0 - disable
  626. 1 - enable
  627.  
  628. cur_etheraddr
  629. Get/set the current hw address
  630.  
  631. perm_etheraddr
  632. Get the permanent address from NVRAM
  633.  
  634. authorize
  635. restrict traffic to 802.1X packets until 802.1X authorization succeeds
  636.  
  637. deauthorize
  638. do not restrict traffic to 802.1X packets until 802.1X authorization succeeds
  639.  
  640. deauthenticate
  641. deauthenticate a STA from the AP with optional reason code (AP ONLY)
  642.  
  643. wsec wireless security bit vector
  644. 1 - WEP enabled
  645. 2 - TKIP enabled
  646. 4 - AES enabled
  647. 8 - WSEC in software
  648. 0x80 - FIPS enabled
  649. 0x100 - WAPI enabled
  650. 0x200 - MFP capable
  651. 0x400 - MFP required
  652. 0x800 - MFP use KDF (SHA256)
  653.  
  654. auth set/get 802.11 authentication type. 0 = OpenSystem, 1= SharedKey, 3=Open/Shared
  655.  
  656. wpa_auth
  657. Bitvector of WPA authorization modes:
  658. 1 WPA-NONE
  659. 2 WPA-802.1X/WPA-Professional
  660. 4 WPA-PSK/WPA-Personal
  661. 64 WPA2-802.1X/WPA2-Professional
  662. 128 WPA2-PSK/WPA2-Personal
  663. 0 disable WPA
  664.  
  665. wpa_cap set/get 802.11i RSN capabilities
  666.  
  667. set_pmk Set passphrase for PMK in driver-resident supplicant.
  668.  
  669. sendprb Send a probe request.
  670. -s S, --ssid=S SSIDs to scan
  671. -b MAC, --bssid=MAC particular BSSID MAC address, xx:xx:xx:xx:xx:xx
  672. -d MAC, --da=MAC Destnation Address
  673.  
  674. send_frame
  675. send the ethernet frame provided in hex
  676.  
  677. scan Initiate a scan.
  678. Default to an active scan across all channels for any SSID.
  679. Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
  680. Options:
  681. -s S, --ssid=S SSIDs to scan
  682. -t ST, --scan_type=ST [active|passive|prohibit|offchan|hotspot] scan type
  683. --bss_type=BT [bss/infra|ibss/adhoc] bss type to scan
  684. -b MAC, --bssid=MAC particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
  685. -n N, --nprobes=N number of probes per scanned channel
  686. -a N, --active=N dwell time per channel for active scanning
  687. -p N, --passive=N dwell time per channel for passive scanning
  688. -h N, --home=N dwell time for the home channel between channel scans
  689. -c L, --channels=L comma or space separated list of channels to scan
  690.  
  691. roamscan_parms
  692. set/get roam scan parameters
  693. Use standard scan params syntax below,but only active/passive/home times, nprobes, and type are used.
  694. All other values are silently discarded.
  695. Default to an active scan across all channels for any SSID.
  696. Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
  697. Options:
  698. -s S, --ssid=S SSIDs to scan
  699. -t ST, --scan_type=ST [active|passive|prohibit|offchan|hotspot] scan type
  700. --bss_type=BT [bss/infra|ibss/adhoc] bss type to scan
  701. -b MAC, --bssid=MAC particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
  702. -n N, --nprobes=N number of probes per scanned channel
  703. -a N, --active=N dwell time per channel for active scanning
  704. -p N, --passive=N dwell time per channel for passive scanning
  705. -h N, --home=N dwell time for the home channel between channel scans
  706. -c L, --channels=L comma or space separated list of channels to scan
  707.  
  708. roam_prof
  709. get/set roaming profiles (need to specify band)
  710. Usage: wl roam_prof_2g a|b|2g|5g flags rssi_upper rssi_lower delta, boost_thresh boot_delta nfscan fullperiod initperiod backoff maxperiod
  711.  
  712.  
  713. iscan_s Initiate an incremental scan.
  714. Default to an active scan across all channels for any SSID.
  715. Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
  716. Options:
  717. -s S, --ssid=S SSIDs to scan
  718. -t ST, --scan_type=ST [active|passive|prohibit|offchan|hotspot] scan type
  719. --bss_type=BT [bss/infra|ibss/adhoc] bss type to scan
  720. -b MAC, --bssid=MAC particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
  721. -n N, --nprobes=N number of probes per scanned channel
  722. -a N, --active=N dwell time per channel for active scanning
  723. -p N, --passive=N dwell time per channel for passive scanning
  724. -h N, --home=N dwell time for the home channel between channel scans
  725. -c L, --channels=L comma or space separated list of channels to scan
  726.  
  727. iscan_c Continue an incremental scan.
  728. Default to an active scan across all channels for any SSID.
  729. Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
  730. Options:
  731. -s S, --ssid=S SSIDs to scan
  732. -t ST, --scan_type=ST [active|passive|prohibit|offchan|hotspot] scan type
  733. --bss_type=BT [bss/infra|ibss/adhoc] bss type to scan
  734. -b MAC, --bssid=MAC particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
  735. -n N, --nprobes=N number of probes per scanned channel
  736. -a N, --active=N dwell time per channel for active scanning
  737. -p N, --passive=N dwell time per channel for passive scanning
  738. -h N, --home=N dwell time for the home channel between channel scans
  739. -c L, --channels=L comma or space separated list of channels to scan
  740.  
  741. scancache_clear
  742. clear the scan cache
  743.  
  744. escan Start an escan.
  745. Default to an active scan across all channels for any SSID.
  746. Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
  747. Options:
  748. -s S, --ssid=S SSIDs to scan
  749. -t ST, --scan_type=ST [active|passive|prohibit|offchan|hotspot] scan type
  750. --bss_type=BT [bss/infra|ibss/adhoc] bss type to scan
  751. -b MAC, --bssid=MAC particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
  752. -n N, --nprobes=N number of probes per scanned channel
  753. -a N, --active=N dwell time per channel for active scanning
  754. -p N, --passive=N dwell time per channel for passive scanning
  755. -h N, --home=N dwell time for the home channel between channel scans
  756. -c L, --channels=L comma or space separated list of channels to scan
  757.  
  758. escanabort
  759. Abort an escan.
  760. Default to an active scan across all channels for any SSID.
  761. Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
  762. Options:
  763. -s S, --ssid=S SSIDs to scan
  764. -t ST, --scan_type=ST [active|passive|prohibit|offchan|hotspot] scan type
  765. --bss_type=BT [bss/infra|ibss/adhoc] bss type to scan
  766. -b MAC, --bssid=MAC particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
  767. -n N, --nprobes=N number of probes per scanned channel
  768. -a N, --active=N dwell time per channel for active scanning
  769. -p N, --passive=N dwell time per channel for passive scanning
  770. -h N, --home=N dwell time for the home channel between channel scans
  771. -c L, --channels=L comma or space separated list of channels to scan
  772.  
  773. passive Puts scan engine into passive mode
  774.  
  775. regulatory
  776. Get/Set regulatory domain mode (802.11d). Driver must be down.
  777.  
  778. spect Get/Set 802.11h Spectrum Management mode.
  779. 0 - Off
  780. 1 - Loose interpretation of 11h spec - may join non-11h APs
  781. 2 - Strict interpretation of 11h spec - may not join non-11h APs
  782. 3 - Disable 11h and enable 11d
  783. 4 - Loose interpretation of 11h+d spec - may join non-11h APs
  784.  
  785. scanabort
  786. Abort a scan.
  787.  
  788. scanresults
  789. Return results from last scan.
  790.  
  791. iscanresults
  792. Return results from last iscan. Specify a buflen (max 8188)
  793. to artificially limit the size of the results buffer.
  794. iscanresults [buflen]
  795.  
  796. assoc Print information about current network association.
  797. (also known as "status")
  798.  
  799. status Print information about current network association.
  800. (also known as "assoc")
  801.  
  802. disassoc
  803. Disassociate from the current BSS/IBSS.
  804.  
  805. chanlist
  806. Deprecated. Use channels.
  807.  
  808. channels
  809. Return valid channels for the current settings.
  810.  
  811. channels_in_country
  812. Return valid channels for the country specified.
  813. Arg 1 is the country abbreviation
  814. Arg 2 is the band(a or b)
  815.  
  816. curpower
  817. Return current tx power settings.
  818. -v, --verbose: display the power settings for every rate even when every rate in a rate group has the same power.
  819.  
  820. txpwr_target_max
  821. Return current max tx target power settings.
  822.  
  823.  
  824. chanspec_txpwr_max
  825. Return valid chanspecs with max tx power settings.
  826. -b band (5(a) or 2(b/g))
  827. -w bandwidth, 20, 40, 80, 160 or 8080
  828.  
  829.  
  830. curppr Return current tx power per rate offset.
  831.  
  832. txinstpwr
  833. Return tx power based on instant TSSI
  834.  
  835. scansuppress
  836. Suppress all scans for testing.
  837. 0 - allow scans
  838. 1 - suppress scans
  839.  
  840. evm Start an EVM test on the given channel, or stop EVM test.
  841. Arg 1 is channel number 1-14, or "off" or 0 to stop the test.
  842. Arg 2 is optional rate (1, 2, 5.5 or 11)
  843.  
  844. rateset Returns or sets the supported and basic rateset, (b) indicates basic
  845. With no args, returns the rateset. Args are
  846. rateset "default" | "all" | <arbitrary rateset> [-m|-v <list of mcs masks>]
  847. default - driver defaults
  848. all - all rates are basic rates
  849. arbitrary rateset - list of rates
  850. List of rates are in Mbps and each rate is optionally followed
  851. by "(b)" or "b" for a Basic rate. Example: 1(b) 2b 5.5 11
  852. At least one rate must be Basic for a legal rateset.
  853.  
  854. -m sets HT rates (bitmasks, 00-ff). Least significant bit is MCS0.
  855. example: 'rateset -m 0x3f 0x01' limits rates to MCS0-MCS5 and MCS8
  856.  
  857. -v sets VHT MCS values for each supported count of spatial streams.
  858. example: 'rateset -v 3ff 1ff ff' limits vht rates to MCS 0-9 for 1 stream,
  859. MCS 0-8 for 2 streams, and MCS 0-7 for 3 streams.
  860.  
  861. txbf_rateset
  862. Get rateset consisting of OFDM, HT and VHT rates, and Broadcom-to-Broadcom
  863. group of OFDM, HT and VHT rates by issuing command with no arguments.
  864. OFDM rates printed are in Mbps, and each Basic rate in OFDM list is marked
  865. by (b) behind it. Example: full list of OFDM rates:
  866. 6(b) 9 12(b) 18 24(b) 36 48 54
  867. where 6, 12 and 24 are Basic rates.
  868.  
  869. Set synopsis:
  870. wl txbf_rateset < [ofdm_rate_list] [options ...] >
  871. OFDM rate specification does not need to mark Basic rates because Basic
  872. rates are automatically recognized.
  873. Options are processed in order; thus redundant instances of an option will
  874. result in only the last instance taking effect for that option.
  875. Options:
  876. -m <MCS_bitmask> ...
  877. Set HT rates by bitmask bytes, each ranges from 00 through ff, where
  878. the least significant bit is MCS0.
  879. Example: '-m 3f 01' specifies HT rates MCS0 - MCS5 and MCS8.
  880.  
  881. -v <VHT_bitmask> ...
  882. Set VHT rates for each supported count of spatial streams.
  883. Example: '-v 3ff 1ff ff' specifies VHT rates: MCS0 - MCS9 for 1 stream,
  884. MCS0 - MCS8 for 2 streams, and MCS0 - MCS7 for 3 streams.
  885.  
  886. -b
  887. Set for Broadcom-to-Broadcom group of rates. Otherwise without
  888. the -b option, the standard group of rates are set accordingly.
  889.  
  890.  
  891. default_rateset
  892. Returns supported rateset of given phy.
  893. You have to insert following Args
  894. Arg 1. Phy Type: have to be one of the following: [a, b, g, n, lp, ssn, ht, lcn, lcn40, ac]
  895. Arg 2. Band Type: 2 for 2.4G or 5 for 5G
  896. Arg 3. CCK Only: 1 for CCK Only or 0 for CCK and OFDM rates
  897. Arg 4. Basic Rates: 1 for all rates WITH basic rates or 0 for all rates WITHOUT basic rates
  898. Arg 5. MCS Rates: 1 for all rates WITH MCS rates or 0 for all rates WITHOUT MCS rates
  899. Arg 6. Bandwidth: have to be one of the following: [10, 20, 40, 80, 160]
  900. Arg 7. TX/RX Stream: "tx" for TX streams or "rx" for RX streams
  901. Example: PHY: AC, Band 2.4G, CCK rates only, With Basec rates, WithOut MCS rates, BW: 40 and TX streams
  902. Input: default_rateset ac 2 0 1 0 40 tx
  903.  
  904.  
  905. roam_trigger
  906. Get or Set the roam trigger RSSI threshold:
  907. Get: roam_trigger [a|b]
  908. Set: roam_trigger <integer> [a|b|all]
  909. integer - 0: default
  910. 1: optimize bandwidth
  911. 2: optimize distance
  912. [-1, -99]: dBm trigger value
  913.  
  914. roam_delta
  915. Set the roam candidate qualification delta. roam_delta [integer [, a/b]]
  916.  
  917. roam_scan_period
  918. Set the roam candidate qualification delta. (integer)
  919.  
  920. suprates
  921. Returns or sets the 11g override for the supported rateset
  922. With no args, returns the rateset. Args are a list of rates,
  923. or 0 or -1 to specify an empty rateset to clear the override.
  924. List of rates are in Mbps, example: 1 2 5.5 11
  925.  
  926. scan_channel_time
  927. Get/Set scan channel time
  928.  
  929. scan_unassoc_time
  930. Get/Set unassociated scan channel dwell time
  931.  
  932. scan_home_time
  933. Get/Set scan home channel dwell time
  934.  
  935. scan_passive_time
  936. Get/Set passive scan channel dwell time
  937.  
  938. scan_nprobes
  939. Get/Set scan parameter for number of probes to use per channel scanned
  940.  
  941. scan_ps Get/Set scan power optimization enable/disable
  942.  
  943. prb_resp_timeout
  944. Get/Set probe response timeout
  945.  
  946. channel_qa
  947. Get last channel quality measurment
  948.  
  949. channel_qa_start
  950. Start a channel quality measurment
  951.  
  952. ccode_info
  953. Get Country Code Info
  954.  
  955. country Select Country Code for driver operational region
  956. For simple country setting: wl country <country>
  957. Where <country> is either a long name or country code from ISO 3166; for example "Germany" or "DE"
  958.  
  959. For a specific built-in country definition: wl country <built-in> [<advertised-country>]
  960. Where <built-in> is a country country code followed by '/' and regulatory revision number.
  961. For example, "US/3".
  962. And where <advertised-country> is either a long name or country code from ISO 3166.
  963. If <advertised-country> is omitted, it will be the same as the built-in country code.
  964.  
  965. Use 'wl country list [band(a or b)]' for the list of supported countries
  966.  
  967. country_ie_override
  968. To set/get country ie
  969.  
  970. autocountry_default
  971. Select Country Code for use with Auto Contry Discovery
  972.  
  973. join Join a specified network SSID.
  974. Usage: join <ssid> [key <0-3>:xxxxx] [imode bss|ibss] [amode open|shared|openshared|wpa|wpapsk|wpa2|wpa2psk|wpanone|ftpsk] [options]
  975. Options:
  976. -b MAC, --bssid=MAC BSSID (xx:xx:xx:xx:xx:xx) to scan and join
  977. -c CL, --chanspecs=CL chanspecs (comma or space separated list)
  978. prescanned uses channel and bssid list from scanresults
  979. -p, -passive: force passive assoc scan (useful for P2P)
  980.  
  981. ssid Set or get a configuration's SSID.
  982. wl ssid [-C num]|[--cfg=num] [<ssid>]
  983. If the configuration index 'num' is not given, configuraion #0 is assumed and
  984. setting will initiate an assoication attempt if in infrastructure mode,
  985. or join/creation of an IBSS if in IBSS mode,
  986. or creation of a BSS if in AP mode.
  987.  
  988. mac Set or get the list of source MAC address matches.
  989. wl mac xx:xx:xx:xx:xx:xx [xx:xx:xx:xx:xx:xx ...]
  990. To Clear the list: wl mac none
  991.  
  992. acksup enable or disable ack suppresion
  993. wl acksup [1|0]
  994. Note: ack suppression is only configurable when macmode is 2(Allow Mode)
  995.  
  996. macmode Set the mode of the MAC list.
  997. 0 - Disable MAC address matching.
  998. 1 - Deny association to stations on the MAC list.
  999. 2 - Allow association to stations on the MAC list.
  1000.  
  1001. wds Set or get the list of WDS member MAC addresses.
  1002. Set using a space separated list of MAC addresses.
  1003. wl wds xx:xx:xx:xx:xx:xx [xx:xx:xx:xx:xx:xx ...]
  1004.  
  1005. lazywds Set or get "lazy" WDS mode (dynamically grant WDS membership to anyone).
  1006.  
  1007. noise Get noise (moving average) right after tx in dBm
  1008.  
  1009. fqacurcy
  1010. Manufacturing test: set frequency accuracy mode.
  1011. freqacuracy syntax is: fqacurcy <channel>
  1012. Arg is channel number 1-14, or 0 to stop the test.
  1013.  
  1014. crsuprs Manufacturing test: set carrier suppression mode.
  1015. carriersuprs syntax is: crsuprs <channel>
  1016. Arg is channel number 1-14, or 0 to stop the test.
  1017.  
  1018. longtrain
  1019. Manufacturing test: set longtraining mode.
  1020. longtrain syntax is: longtrain <channel>
  1021. Arg is A band channel number or 0 to stop the test.
  1022.  
  1023. band Returns or sets the current band
  1024. auto - auto switch between available bands (default)
  1025. a - force use of 802.11a band
  1026. b - force use of 802.11b band
  1027.  
  1028. bands Return the list of available 802.11 bands
  1029.  
  1030. phylist Return the list of available phytypes
  1031.  
  1032. shortslot
  1033. Get current 11g Short Slot Timing mode. (0=long, 1=short)
  1034.  
  1035. shortslot_override
  1036. Get/Set 11g Short Slot Timing mode override. (-1=auto, 0=long, 1=short)
  1037.  
  1038. shortslot_restrict
  1039. Get/Set AP Restriction on associations for 11g Short Slot Timing capable STAs.
  1040. 0 - Do not restrict association based on ShortSlot capability
  1041. 1 - Restrict association to STAs with ShortSlot capability
  1042.  
  1043. ignore_bcns
  1044. AP only (G mode): Check for beacons without NONERP element(0=Examine beacons, 1=Ignore beacons)
  1045.  
  1046. pktcnt Get the summary of good and bad packets.
  1047.  
  1048. upgrade Upgrade the firmware on an embedded device
  1049.  
  1050. gmode Set the 54g Mode (LegacyB|Auto||GOnly|BDeferred|Performance|LRS)
  1051.  
  1052. gmode_protection
  1053. Get G protection mode. (0=disabled, 1=enabled)
  1054.  
  1055. gmode_protection_control
  1056. Get/Set 11g protection mode control alg.(0=always off, 1=monitor local association, 2=monitor overlapping BSS)
  1057.  
  1058. gmode_protection_override
  1059. Get/Set 11g protection mode override. (-1=auto, 0=disable, 1=enable)
  1060.  
  1061. protection_control
  1062. Get/Set protection mode control alg.(0=always off, 1=monitor local association, 2=monitor overlapping BSS)
  1063.  
  1064. legacy_erp
  1065. Get/Set 11g legacy ERP inclusion (0=disable, 1=enable)
  1066.  
  1067. scb_timeout
  1068. AP only: inactivity timeout value for authenticated stas
  1069.  
  1070. assoclist
  1071. AP only: Get the list of associated MAC addresses.
  1072.  
  1073. isup Get driver operational state (0=down, 1=up)
  1074.  
  1075. rssi Get the current RSSI val, for an AP you must specify the mac addr of the STA
  1076.  
  1077. rssi_event
  1078. Set parameters associated with RSSI event notification
  1079. usage: wl rssi_event <rate_limit> <rssi_levels>
  1080. rate_limit: Number of events posted to application will be limited to 1 per this rate limit. Set to 0 to disable rate limit.
  1081. rssi_levels: Variable number of RSSI levels (maximum 8) in increasing order (e.g. -85 -70 -60). An event will be posted each time the RSSI of received beacons/packets crosses a level.
  1082.  
  1083. chq_event
  1084. Set parameters associated with channel quality event notification
  1085. usage: wl chq_event <rate_limit> <cca_levels> <nf_levels> <nf_lte_levels>
  1086. rate_limit: Number of events posted to application will be limited to 1 per this rate limit. Set to 0 to disable rate limit.
  1087. csa/nf/nf_lte levels: Variable number of threshold levels (maximum 8) in pairs of hi-to-low/lo-to-hi, and in increasing order (e.g. -90 -85 -80). A 0 0 pair terminates level array for one metric. An event will be posted whenever a threshold is being crossed.
  1088.  
  1089. fasttimer
  1090. Deprecated. Use fast_timer.
  1091.  
  1092. slowtimer
  1093. Deprecated. Use slow_timer.
  1094.  
  1095. glacialtimer
  1096. Deprecated. Use glacial_timer.
  1097.  
  1098. radar Enable/Disable radar
  1099.  
  1100. radarargs
  1101. Get/Set Radar parameters in
  1102. order as version, npulses, ncontig, min_pw, max_pw, thresh0,
  1103. thresh1, blank, fmdemodcfg, npulses_lp, min_pw_lp, max_pw_lp,
  1104. min_fm_lp, max_span_lp, min_deltat, max_deltat,
  1105. autocorr, st_level_time, t2_min, fra_pulse_err, npulses_fra,
  1106. npulses_stg2, npulses_stg3, percal_mask, quant,
  1107. min_burst_intv_lp, max_burst_intv_lp, nskip_rst_lp, max_pw_tol, feature_mask
  1108.  
  1109. radarargs40
  1110. Get/Set Radar parameters for 40Mhz channel in
  1111. order as version, npulses, ncontig, min_pw, max_pw, thresh0,
  1112. thresh1, blank, fmdemodcfg, npulses_lp, min_pw_lp, max_pw_lp,
  1113. min_fm_lp, max_span_lp, min_deltat, max_deltat,
  1114. autocorr, st_level_time, t2_min, fra_pulse_err, npulses_fra,
  1115. npulses_stg2, npulses_stg3, percal_mask, quant,
  1116. min_burst_intv_lp, max_burst_intv_lp, nskip_rst_lp, max_pw_tol, feature_mask
  1117.  
  1118. radarthrs
  1119. Set Radar threshold for both 20 & 40MHz & 80MHz BW:
  1120. order as thresh0_20_lo, thresh1_20_lo, thresh0_40_lo, thresh1_40_lo
  1121. thresh0_80_lo, thresh1_80_lo, thresh0_20_hi, thresh1_20_hi
  1122. thresh0_40_hi, thresh1_40_hi, thresh0_80_hi, thresh1_80_hi
  1123.  
  1124.  
  1125. dfs_status
  1126. Get dfs status
  1127.  
  1128. radar_status
  1129. Get radar detection status
  1130.  
  1131. clear_radar_status
  1132. Clear radar detection status
  1133.  
  1134. interference
  1135. NON-ACPHY. Get/Set interference mitigation mode. Choices are:
  1136. 0 = none
  1137. 1 = non wlan
  1138. 2 = wlan manual
  1139. 3 = wlan automatic
  1140. 4 = wlan automatic with noise reduction
  1141.  
  1142. ACPHY. Get/Set interference mitigation mode. Bit-Mask:
  1143. 0 = desense based on glitches
  1144. 1 = limit pktgain based on hwaci (high pwr aci)
  1145. 2 = limit pktgain based on w2/nb (high pwr aci)
  1146. 3 = enable preemption
  1147. So a value of 15 would enable all four
  1148.  
  1149.  
  1150. interference_override
  1151. NON-ACPHY. Get/Set interference mitigation override. Choices are:
  1152. 0 = no interference mitigation
  1153. 1 = non wlan
  1154. 2 = wlan manual
  1155. 3 = wlan automatic
  1156. 4 = wlan automatic with noise reduction
  1157. -1 = remove override, override disabled
  1158.  
  1159. ACPHY. Get/Set interference mitigation mode. Bit-Mask:
  1160. -1 = remove override, override disabled 0 = desense based on glitches
  1161. 1 = limit pktgain based on hwaci (high pwr aci)
  1162. 2 = limit pktgain based on w2/nb (high pwr aci)
  1163. 3 = enable preemption
  1164. So a value of 15 would enable all four
  1165.  
  1166.  
  1167. frameburst
  1168. Disable/Enable frameburst mode
  1169.  
  1170. pwr_percent
  1171. Get/Set power output percentage
  1172.  
  1173. toe Enable/Disable tcpip offload feature
  1174.  
  1175. toe_ol Get/Set tcpip offload components
  1176.  
  1177. toe_stats
  1178. Display checksum offload statistics
  1179.  
  1180. toe_stats_clear
  1181. Clear checksum offload statistics
  1182.  
  1183. arpoe Enable/Disable arp agent offload feature
  1184.  
  1185. arp_ol Get/Set arp offload components
  1186.  
  1187. arp_peerage
  1188. Get/Set age of the arp entry in minutes
  1189.  
  1190. arp_table_clear
  1191. Clear arp cache
  1192.  
  1193. arp_hostip
  1194. Add a host-ip address or display them
  1195.  
  1196. arp_hostip_clear
  1197. Clear all host-ip addresses
  1198.  
  1199. ns_hostip
  1200. Add a ns-ip address or display then
  1201.  
  1202. ns_hostip_clear
  1203. Clear all ns-ip addresses
  1204.  
  1205. arp_stats
  1206. Display ARP offload statistics
  1207.  
  1208. arp_stats_clear
  1209. Clear ARP offload statistics
  1210.  
  1211. wet Get/Set wireless ethernet bridging mode
  1212.  
  1213. bi Get/Set the beacon period (bi=beacon interval)
  1214.  
  1215. dtim Get/Set DTIM
  1216.  
  1217. wds_remote_mac
  1218. Get WDS link remote endpoint's MAC address
  1219.  
  1220. wds_wpa_role_old
  1221. Get WDS link local endpoint's WPA role (old)
  1222.  
  1223. wds_wpa_role
  1224. Get/Set WDS link local endpoint's WPA role
  1225.  
  1226. authe_sta_list
  1227. Get authenticated sta mac address list
  1228.  
  1229. autho_sta_list
  1230. Get authorized sta mac address list
  1231.  
  1232. measure_req
  1233. Send an 802.11h measurement request.
  1234. Usage: wl measure_req <type> <target MAC addr>
  1235. Measurement types are: TPC, Basic, CCA, RPI
  1236. Target MAC addr format is xx:xx:xx:xx:xx:xx
  1237.  
  1238. quiet Send an 802.11h quiet command.
  1239. Usage: wl quiet <TBTTs until start>, <duration (in TUs)>, <offset (in TUs)>
  1240.  
  1241. csa Send an 802.11h channel switch anouncement with chanspec:
  1242. <mode> <count> <channel>[a,b][n][u,l][frame type]
  1243. mode (0 or 1)
  1244. count (0-254)
  1245. channel format:
  1246. 20MHz : [2g|5g]<channel>[/20]
  1247. 40MHz : [2g|5g]<channel>/40[u,l]
  1248. 80MHz : [5g]<channel>/80
  1249. optional band 2g or 5g, default to 2g if channel <= 14
  1250. channel number (0-200)
  1251. bandwidth, 20, 40, or 80, default 20
  1252. primary sideband for 40MHz on 2g, l=lower, u=upper
  1253. csa frame type(optional), default is broadcast if not specified, u=unicast
  1254.  
  1255. constraint
  1256. Send an 802.11h Power Constraint IE
  1257. Usage: wl constraint 1-255 db
  1258.  
  1259. rm_req Request a radio measurement of type basic, cca, or rpi
  1260. specify a series of measurement types each followed by options.
  1261. example: wl rm_req cca -c 1 -d 50 cca -c 6 cca -c 11
  1262. Options:
  1263. -t n numeric token id for measurement set or measurement
  1264. -c n channel
  1265. -d n duration in TUs (1024 us)
  1266. -p parallel flag, measurement starts at the same time as previous
  1267.  
  1268. Each measurement specified uses the same channel and duration as the
  1269. previous unless a new channel or duration is specified.
  1270.  
  1271. rm_rep Get current radio measurement report
  1272.  
  1273. join_pref
  1274. Set/Get join target preferences.
  1275.  
  1276. assoc_pref
  1277. Set/Get association preference.
  1278. Usage: wl assoc_pref [auto|a|b|g]
  1279.  
  1280. wme Set WME (Wireless Multimedia Extensions) mode (0=off, 1=on, -1=auto)
  1281.  
  1282. wme_ac wl wme_ac ap|sta [be|bk|vi|vo [ecwmax|ecwmin|txop|aifsn|acm <value>] ...]
  1283.  
  1284. wme_apsd
  1285. Set APSD (Automatic Power Save Delivery) mode on AP (0=off, 1=on)
  1286.  
  1287. wme_apsd_sta
  1288. Set APSD parameters on STA. Driver must be down.
  1289. Usage: wl wme_apsd_sta <max_sp_len> <be> <bk> <vi> <vo>
  1290. <max_sp_len>: number of frames per USP: 0 (all), 2, 4, or 6
  1291. <xx>: value 0 to disable, 1 to enable U-APSD per AC
  1292.  
  1293. wme_dp Set AC queue discard policy.
  1294. Usage: wl wme_dp <be> <bk> <vi> <vo>
  1295. <xx>: value 0 for newest-first, 1 for oldest-first
  1296.  
  1297. wme_counters
  1298. print WMM stats
  1299.  
  1300. wme_clear_counters
  1301. clear WMM counters
  1302.  
  1303. wme_tx_params
  1304. wl wme_tx_params [be|bk|vi|vo [short|sfb|long|lfb|max_rate <value>] ...]
  1305.  
  1306. wme_maxbw_params
  1307. wl wme_maxbw_params [be|bk|vi|vo <value> ....]
  1308.  
  1309. lifetime
  1310. Set Lifetime parameter (milliseconds) for each ac.
  1311. wl lifetime be|bk|vi|vo [<value>]
  1312.  
  1313. reinit Reinitialize device
  1314.  
  1315. sta_info
  1316. wl sta_info <xx:xx:xx:xx:xx:xx>
  1317.  
  1318. staprio Set/Get sta priority
  1319. Usage: wl staprio <xx:xx:xx:xx:xx:xx> <prio>
  1320. <prio>: 0~3
  1321.  
  1322. pktq_stats
  1323. Dumps packet queue log info for [C] common, [A] AMPDU, [N] NAR or [P] power save queues
  1324. A:, N: or P: are used to prefix a MAC address (a colon : separator is necessary),
  1325. or else C: is used alone. The '+' option after the colon gives more details.
  1326. Up to 4 parameters may be given, the common queue is default when no parameters
  1327. are supplied
  1328. Use '/<PREC>' as suffix to restrict to certain prec indices; multiple /<PREC>/<PREC>/...can be used
  1329. Also, '//' as a suffix to the MAC address or 'C://' will enable automatic logging of
  1330. all prec as they are seen.
  1331. Full automatic operation is also possible with the shorthand
  1332. 'A:' (or 'A://'), 'P:' (or 'P://') etc which scans through all known addresses for
  1333. those parameters that take a MAC address.
  1334. wl pktq_stats [C:[+]]|[A:[+]|P:[+]|N:[+]<xx:xx:xx:xx:xx:xx>][/<PREC>[/<PREC>]][//]...
  1335.  
  1336. bs_data Display per station band steering data
  1337. usage: bs_data [options]
  1338. options are:
  1339. -comma Use commas to separate values rather than blanks.
  1340. -tab Use <TAB> to separate values rather than blanks.
  1341. -raw Display raw values as received from driver.
  1342. -noidle Do not display idle stations
  1343. -noreset Do not reset counters after reading
  1344.  
  1345. cap driver capabilities
  1346.  
  1347. malloc_dump
  1348. Deprecated. Folded under 'wl dump malloc
  1349.  
  1350. chan_info
  1351. channel info
  1352.  
  1353. add_ie Add a vendor proprietary IE to 802.11 management packets
  1354. Usage: wl add_ie <pktflag> length OUI hexdata
  1355. <pktflag>: Bit 0 - Beacons
  1356. Bit 1 - Probe Rsp
  1357. Bit 2 - Assoc/Reassoc Rsp
  1358. Bit 3 - Auth Rsp
  1359. Bit 4 - Probe Req
  1360. Bit 5 - Assoc/Reassoc Req
  1361. Example: wl add_ie 3 10 00:90:4C 0101050c121a03
  1362. to add this IE to beacons and probe responses
  1363.  
  1364. del_ie Delete a vendor proprietary IE from 802.11 management packets
  1365. Usage: wl del_ie <pktflag> length OUI hexdata
  1366. <pktflag>: Bit 0 - Beacons
  1367. Bit 1 - Probe Rsp
  1368. Bit 2 - Assoc/Reassoc Rsp
  1369. Bit 3 - Auth Rsp
  1370. Bit 4 - Probe Req
  1371. Bit 5 - Assoc/Reassoc Req
  1372. Example: wl del_ie 3 10 00:90:4C 0101050c121a03
  1373.  
  1374. list_ie Dump the list of vendor proprietary IEs
  1375.  
  1376. rand Get a 2-byte Random Number from the MAC's PRNG
  1377. Usage: wl rand
  1378.  
  1379. otpraw Read/Write raw data to on-chip otp
  1380. Usage: wl otpraw <offset> <bits> [<data>]
  1381.  
  1382. otpw Write an srom image to on-chip otp
  1383. Usage: wl otpw file
  1384.  
  1385. nvotpw Write nvram to on-chip otp
  1386. Usage: wl nvotpw file
  1387.  
  1388. bcmerrorstr
  1389. errorstring
  1390.  
  1391. freqtrack
  1392. Set Frequency Tracking Mode (0=Auto, 1=On, 2=OFF)
  1393.  
  1394. eventing
  1395. set/get hex filter bitmask for MAC event reporting up to application layer
  1396.  
  1397. event_msgs
  1398. set/get hex filter bitmask for MAC event reporting via packet indications
  1399.  
  1400. event_msgs_ext
  1401. set/get bit arbitrary size hex filter bitmask for MAC
  1402.  
  1403. counters
  1404. Return driver counter values
  1405.  
  1406. wlc_ver returns wlc interface version
  1407.  
  1408. delta_stats_interval
  1409. set/get the delta statistics interval in seconds (0 to disable)
  1410.  
  1411. delta_stats
  1412. get the delta statistics for the last interval
  1413.  
  1414. assoc_info
  1415. Returns the assoc req and resp information [STA only]
  1416.  
  1417. beacon_info
  1418. Returns the 802.11 management frame beacon information
  1419. Usage: wl beacon_info [-f file] [-r]
  1420. -f Write beacon data to file
  1421. -r Raw hex dump of beacon data
  1422.  
  1423. probe_resp_info
  1424. Returns the 802.11 management frame probe response information
  1425. Usage: wl probe_resp_info [-f file] [-r]
  1426. -f Write probe response data to file
  1427. -r Raw hex dump of probe response data
  1428.  
  1429. autochannel
  1430. auto channel selection:
  1431. 1 to issue a channel scanning;
  1432. 2 to set chanspec based on the channel scan result;
  1433. without argument to only show the chanspec selected;
  1434. ssid must set to null before this process, RF must be up
  1435.  
  1436. csscantimer
  1437. auto channel scan timer in minutes (0 to disable)
  1438.  
  1439. closed hides the network from active scans, 0 or 1.
  1440. 0 is open, 1 is hide
  1441.  
  1442. pmkid_info
  1443. Returns the pmkid table
  1444.  
  1445. probresp_mac_filter
  1446. Set/Get MAC filter based Probe response mode.
  1447. 0 - Disable MAC filter based Probe response mode.
  1448. 1 - Enable MAC filter based Probe response mode.
  1449. No parameter - Returns the current setting.
  1450.  
  1451. bss set/get BSS enabled status: up/down
  1452.  
  1453. closednet
  1454. set/get BSS closed network attribute
  1455.  
  1456. ap_isolate
  1457. set/get AP isolation
  1458.  
  1459. eap_restrict
  1460. set/get EAP restriction
  1461.  
  1462. diag diag testindex(1-interrupt, 2-loopback, 3-memory, 4-led); precede by 'wl down' and follow by 'wl up'
  1463.  
  1464. reset_d11cnts
  1465. reset 802.11 MIB counters
  1466.  
  1467. staname get/set station name:
  1468. Maximum name length is 15 bytes
  1469.  
  1470. apname get AP name
  1471.  
  1472. otpdump Dump raw otp
  1473.  
  1474. otpstat Dump OTP status
  1475.  
  1476. sr_verify
  1477. SR sanity check
  1478.  
  1479. nrate "auto" to clear a rate override, or:
  1480. -r legacy rate (CCK, OFDM)
  1481. -m HT MCS index
  1482. -s stf mode (0=SISO,1=CDD,2=STBC,3=SDM)
  1483. -w Override MCS only to support STA's with/without STBC capability
  1484.  
  1485. mimo_txbw
  1486. get/set mimo txbw (2=20Mhz(lower), 3=20Mhz upper, 4=40Mhz, 4=40Mhz(DUP)
  1487. 6=80Mhz(20LL), 7=80Mhz(20LU), 8=80Mhz(20UL), 9=80Mhz(20UU)
  1488. 10=80Mhz(40L), 11=80Mhz(40U), 12=80Mhz)
  1489.  
  1490. cac_addts
  1491. add TSPEC, error if STA is not associated or WME is not enabled
  1492. arg: TSPEC parameter input list
  1493.  
  1494. cac_delts
  1495. delete TSPEC, error if STA is not associated or WME is not enabled
  1496. arg: TSINFO for the target tspec
  1497.  
  1498. cac_delts_ea
  1499. delete TSPEC, error if STA is not associated or WME is not enabled
  1500. arg1: Desired TSINFO for the target tspec
  1501. arg2: Desired MAC address
  1502.  
  1503. cac_tslist
  1504. Get the list of TSINFO in driver
  1505. eg. 'wl cac_tslist' get a list of TSINFO
  1506.  
  1507. cac_tslist_ea
  1508. Get the list of TSINFO for given STA in driver
  1509. eg. 'wl cac_tslist_ea ea' get a list of TSINFO
  1510.  
  1511. cac_tspec
  1512. Get specific TSPEC with matching TSINFO
  1513. eg. 'wl cac_tspec 0xaa 0xbb 0xcc' where 0xaa 0xbb & 0xcc are TSINFO octets
  1514.  
  1515. cac_tspec_ea
  1516. Get specific TSPEC for given STA with matching TSINFO
  1517. eg. 'wl cac_tspec 0xaa 0xbb 0xcc xx:xx:xx:xx:xx:xx'
  1518. where 0xaa 0xbb & 0xcc are TSINFO octets and xx is mac address
  1519.  
  1520. overlay overlay virt_addr phy_addr size
  1521.  
  1522. phy_txpwrindex
  1523. usage: (set) phy_txpwrindex core0_idx core1_idx core2_idx core3_idx (get) phy_txpwrindex, return format: core0_idx core1_idx core2_idx core3_idxSet/Get txpwrindex
  1524.  
  1525. rssi_cal_freq_grp_2g
  1526. usage: wl_rssi_cal_freq_grp_2g [chan_1_2,chan_3_4,...,chan_13_14]
  1527. Each of the variables like - chan_1_2 is a byteUpper nibble of this byte is for chan1 and lower for chan2MSB of the nibble tells if the channel is used for calibration3 LSB's tell which group the channel falls inSet/get rssi calibration frequency grouping
  1528.  
  1529. phy_rssi_gain_delta_2gb0
  1530. usage: phy_rssi_gain_delta_2gb0 [val0 val1 ....]
  1531. Number of arguments can be - 8 for single core (4345 and 4350) 9 by specifying core_num followed by 8 arguments (4345 and 4350) 16 for both cores (4350)Set/get rssi gain delta values
  1532.  
  1533. phy_rssi_gain_delta_2gb1
  1534. usage: phy_rssi_gain_delta_2gb1 [val0 val1 ....]
  1535. Number of arguments can be - 8 for single core (4345 and 4350) 9 by specifying core_num followed by 8 arguments (4345 and 4350) 16 for both cores (4350)Set/get rssi gain delta values
  1536.  
  1537. phy_rssi_gain_delta_2gb2
  1538. usage: phy_rssi_gain_delta_2gb2 [val0 val1 ....]
  1539. Number of arguments can be - 8 for single core (4345 and 4350) 9 by specifying core_num followed by 8 arguments (4345 and 4350) 16 for both cores (4350)Set/get rssi gain delta values
  1540.  
  1541. phy_rssi_gain_delta_2gb3
  1542. usage: phy_rssi_gain_delta_2gb3 [val0 val1 ....]
  1543. Number of arguments can be - 8 for single core (4345 and 4350) 9 by specifying core_num followed by 8 arguments (4345 and 4350) 16 for both cores (4350)Set/get rssi gain delta values
  1544.  
  1545. phy_rssi_gain_delta_2gb4
  1546. usage: phy_rssi_gain_delta_2gb4 [val0 val1 ....]
  1547. Number of arguments can be - 8 for single core (4345 and 4350) 9 by specifying core_num followed by 8 arguments (4345 and 4350) 16 for both cores (4350)Set/get rssi gain delta values
  1548.  
  1549. phy_rssi_gain_delta_2g
  1550. usage: phy_rssi_gain_delta_2g [val0 val1 ....]
  1551. Set/get rssi gain delta values
  1552.  
  1553. phy_rssi_gain_delta_5gl
  1554. usage: phy_rssi_gain_delta_5gl [val0 val1 ....]
  1555. Set/get rssi gain delta values
  1556.  
  1557. phy_rssi_gain_delta_5gml
  1558. usage: phy_rssi_gain_delta_5gml [val0 val1 ....]
  1559. Set/get rssi gain delta values
  1560.  
  1561. phy_rssi_gain_delta_5gmu
  1562. usage: phy_rssi_gain_delta_5gmu [val0 val1 ....]
  1563. Set/get rssi gain delta values
  1564.  
  1565. phy_rssi_gain_delta_5gh
  1566. usage: phy_rssi_gain_delta_5gh [val0 val1 ....]
  1567. Set/get rssi gain delta values
  1568.  
  1569. phy_rxgainerr_2g
  1570. usage: phy_rxgainerr_2g [val0 val1 ....]
  1571. Set/get rx gain delta values
  1572.  
  1573. phy_rxgainerr_5gl
  1574. usage: phy_rxgainerr_5gl [val0 val1 ....]
  1575. Set/get rx gain delta values
  1576.  
  1577. phy_rxgainerr_5gm
  1578. usage: phy_rxgainerr_5gml [val0 val1 ....]
  1579. Set/get rx gain delta values
  1580.  
  1581. phy_rxgainerr_5gh
  1582. usage: phy_rxgainerr_5gmu [val0 val1 ....]
  1583. Set/get rx gain delta values
  1584.  
  1585. phy_rxgainerr_5gu
  1586. usage: phy_rxgainerr_5gh [val0 val1 ....]
  1587. Set/get rx gain delta values
  1588.  
  1589. phy_test_tssi
  1590. wl phy_test_tssi val
  1591.  
  1592. phy_test_tssi_offs
  1593. wl phy_test_tssi_offs val
  1594.  
  1595. phy_rssiant
  1596. wl phy_rssiant antindex(0-3)
  1597.  
  1598. phy_rssi_ant
  1599. Get RSSI per antenna (only gives RSSI of current antenna for SISO PHY)
  1600.  
  1601. lcnphy_papdepstbl
  1602. print papd eps table; Usage: wl lcnphy_papdepstbl
  1603.  
  1604. phy_test_idletssi
  1605. get idletssi for the given core; wl phy_test_idletssi corenum
  1606.  
  1607. phy_setrptbl
  1608. populate the reciprocity compensation table based on SROM cal content
  1609.  
  1610. usage: wl phy_setrptbl
  1611.  
  1612. phy_forceimpbf
  1613. force the beamformer into implicit TXBF mode and ready to construct steering matrix
  1614.  
  1615. usage: wl phy_forceimpbf
  1616.  
  1617. phy_forcesteer
  1618. force the beamformer to apply steering matrix when TXBF is turned on
  1619.  
  1620. usage: wl phy_forcesteer 1/0
  1621.  
  1622. phy_force_gainlevel
  1623. Force rxgain level
  1624. 0 : force to init gain
  1625. 1 : force to clip hi gain
  1626. 2 : force to clip md gain
  1627. 3 : force to clip lo gain
  1628. 4 : force to adc clip gain
  1629. 5 : force to nb clip gain
  1630. 6 : force to wb clip gain
  1631. -1 : disable
  1632. usage: wl phy_force_gainlevel <int32 var>
  1633.  
  1634. phy_force_fdiqi
  1635. Enable/disable FDIQI Cal/Comp
  1636. 0 : disable
  1637. 1 : enable
  1638. usage: wl phy_force_fdiqi <int32 var>
  1639.  
  1640. phy_btcoex_desense
  1641. Enable/disable btcoex desense
  1642. 0 : disable
  1643. 1 : mode 1
  1644. usage: wl phy_btcoex_desense <int32 var>
  1645.  
  1646. phy_debug_cmd
  1647. general purpose command for phy debugging
  1648. phy function call can be added to wlc_phy_cmn.c
  1649. usage: wl phy_debug_cmd <int32 var>
  1650.  
  1651. rifs set/get the rifs status; usage: wl rifs <1/0> (On/Off)
  1652.  
  1653. rifs_advert
  1654. set/get the rifs mode advertisement status; usage: wl rifs_advert <-1/0> (Auto/Off)
  1655.  
  1656. phy_rxiqest
  1657. Get phy RX IQ noise in dBm:
  1658. -s # of samples (2^n)
  1659. -a antenna select, 0,1 or 3
  1660. -r resolution select, 0 (coarse) or 1 (fine)
  1661. -f lpf hpc override select, 0 (hpc unchanged) or 1 (overridden to ltrn mode)
  1662. -w dig lpf override select, 0 (lpf unchanged) or 1 (overridden to ltrn_lpf mode) or 2 (bypass)
  1663. -g gain-correction select, 0 (disable), 1(enable full correction)
  1664. 2 (enable temperature correction) or 3(verify rssi_gain_delta)
  1665. -e extra INITgain in dB on top of default. Valid values = {0, 3, 6, .., 21, 24}
  1666. -i gain mode select, 0 (default gain), 1 (init gain) or 4 (clip LO gain).
  1667.  
  1668.  
  1669. phy_txiqcc
  1670. usage: phy_txiqcc [a b]
  1671. Set/get the iqcc a, b values
  1672.  
  1673. phy_txlocc
  1674. usage: phy_txlocc [di dq ei eq fi fq]
  1675. Set/get locc di dq ei eq fi fq values
  1676.  
  1677. phytable
  1678. usage: wl phytable table_id offset width_of_table_element [table_element]
  1679. Set/get table element of a table with the given ID at the given offset
  1680. Note that table width supplied should be 8 or 16 or 32
  1681. table ID, table offset can not be negative
  1682.  
  1683. ota_teststop
  1684. Usage: ota_teststop
  1685.  
  1686.  
  1687. ota_loadtest
  1688. Usage: ota_loadtest [filename]
  1689. picks up ota_test.txt if file is not given
  1690.  
  1691.  
  1692. ota_stream
  1693. Usage: wl ota_stream start : to start the test
  1694. wl ota_stream ota_sync
  1695. wl ota_stream test_setup synchtimeoout(seconds) synchbreak/loop synchmac txmac rxmac
  1696. wl ota_stream ota_tx chan bandwidth contrlchan rates stf txant rxant tx_ifs tx_lennum_pkt pwrctrl start:delta:end
  1697. wl ota_stream ota_rx chan bandwidth contrlchan -1 stf txant rxant tx_ifstx_len num_pkt
  1698. wl ota_stream stop : to stop the test
  1699.  
  1700.  
  1701. ota_teststatus
  1702. Usage: otatest_status Displays current running test details otatest_status n displays test arguments for nth line
  1703.  
  1704.  
  1705. force_vsdb_chans
  1706. Set/get channels for forced vsdb mode
  1707. usage: wl force_vsdb_chans chan1 chan2
  1708. Note: Give chan in the same format as chanspec: eg force_vsdb_chans 1l 48u
  1709.  
  1710.  
  1711. pavars Set/get temp PA parameters
  1712. usage: wl down
  1713. wl pavars pa2gw0a0=0x1 pa2gw1a0=0x2 pa2gw2a0=0x3 ...
  1714. wl pavars
  1715. wl up
  1716. override the PA parameters after driver attach(srom read), before diver up
  1717. These override values will be propogated to HW when driver goes up
  1718. PA parameters in one band range (2g, 5gl, 5g, 5gh) must all present if
  1719. one of them is specified in the command, otherwise it will be filled with 0
  1720.  
  1721. povars Set/get temp power offset
  1722. usage: wl down
  1723. wl povars cck2gpo=0x1 ofdm2gpo=0x2 mcs2gpo=0x3 ...
  1724. wl povars
  1725. wl up
  1726. override the power offset after driver attach(srom read), before diver up
  1727. These override values will be propogated to HW when driver goes up
  1728. power offsets in one band range (2g, 5gl, 5g, 5gh) must all present if
  1729. one of them is specified in the command, otherwise it will be filled with 0 cck(2g only), ofdm, and mcs(0-7) for NPHY are supported
  1730.  
  1731. rpcalvars
  1732. Set/get temp RPCAL parameters
  1733. usage: wl down
  1734. wl rpcalvars rpcal2g=0x1
  1735. wl rpcalvars
  1736. wl up
  1737. override the RPCAL parameters after driver attach(srom read), before diver up
  1738. These override values will be propogated to HW when driver goes up
  1739. Only the RPCAL parameter specified in the command is updated, the rest is untouched
  1740.  
  1741.  
  1742. fem Set temp fem2g/5g value
  1743. usage: wl fem (tssipos2g=0x1 extpagain2g=0x2 pdetrange2g=0x1 triso2g=0x1 antswctl2g=0)
  1744. (tssipos5g=0x1 extpagain5g=0x2 pdetrange5g=0x1 triso5g=0x1 antswctl5g=0)
  1745.  
  1746. antgain Set temp ag0/1 value
  1747. usage: wl antgain ag0=0x1 ag1=0x2
  1748.  
  1749. maxpower
  1750. Set temp maxp2g(5g)a0(a1) value
  1751. usage: wl maxpower maxp2ga0=0x1 maxp2ga1=0x2 maxp5ga0=0xff maxp5ga1=0xff
  1752. maxp5gla0=0x3 maxp5gla1=0x4 maxp5gha0=0x5 maxp5gha1=0x6
  1753.  
  1754. bt_regs_read
  1755. read bt regsusage: wl bt_regs_read start_addr size
  1756.  
  1757. phy_antsel
  1758. get/set antenna configuration
  1759. set: -1(AUTO), 0xAB(fixed antenna selection)
  1760. where A and B is the antenna numbers used for RF chain 1 and 0 respectively
  1761. query: <utx>[AUTO] <urx>[AUTO] <dtx>[AUTO] <drx>[AUTO]
  1762. where utx = TX unicast antenna configuration
  1763. urx = RX unicast antenna configuration
  1764. dtx = TX default (non-unicast) antenna configuration
  1765. drx = RX default (non-unicast) antenna configuration
  1766. advanced paramaters to set: <utx> <urx> <dtx> <drx>
  1767. where utx = TX unicast antenna configuration -1 = AUTO
  1768. urx = RX unicast antenna configuration, -1 = AUTO
  1769. dtx = TX default (non-unicast) antenna configuration, -1 = AUTO
  1770. drx = RX default (non-unicast) antenna configuration, -1 = AUTO
  1771.  
  1772. txcore Usage: wl txcore -k <CCK core mask> -o <OFDM core mask> -s <1..4> -c <core bitmap>
  1773. -k CCK core mask
  1774. -o OFDM core mask
  1775. -s # of space-time-streams
  1776. -c active core (bitmask) to be used when transmitting frames
  1777.  
  1778. txcore_override
  1779. Usage: wl txcore_override
  1780. get the user override of txcore
  1781.  
  1782. txchain_pwr_offset
  1783. Usage: wl txchain_pwr_offset [qdBm offsets]
  1784. Get/Set the current offsets for each core in qdBm (quarter dBm)
  1785.  
  1786. sample_collect
  1787. Optional parameters ACPHY/HTPHY/(NPHY with NREV >= 7) are:
  1788. -f File name to dump the sample buffer (default "sample_collect.dat")
  1789. -t Trigger condition (default now)
  1790. now, good_fcs, bad_fcs, bad_plcp, crs, crs_glitch, crs_deassert
  1791. -b PreTrigger duration in us (default 10)
  1792. -a PostTrigger duration in us (default 10)
  1793. -m Sample collect mode (default 1)
  1794. SC_MODE_0_sd_adc 0
  1795. SC_MODE_1_sd_adc_5bits 1
  1796. SC_MODE_2_cic0 2
  1797. SC_MODE_3_cic1 3
  1798. SC_MODE_4s_rx_farrow_1core 4
  1799. SC_MODE_4m_rx_farrow 5
  1800. SC_MODE_5_iq_comp 6
  1801. SC_MODE_6_dc_filt 7
  1802. SC_MODE_7_rx_filt 8
  1803. SC_MODE_8_rssi 9
  1804. SC_MODE_9_rssi_all 10
  1805. SC_MODE_10_tx_farrow 11
  1806. SC_MODE_11_gpio 12
  1807. SC_MODE_12_gpio_trans 13
  1808. SC_MODE_14_spect_ana 14
  1809. SC_MODE_5s_iq_comp 15
  1810. SC_MODE_6s_dc_filt 16
  1811. SC_MODE_7s_rx_filt 17
  1812. HTPHY: 0=adc, 1..3=adc+rssi, 4=gpio
  1813. NPHY: 1=Dual-Core adc[9:2], 2=Core0 adc[9:0], 3=Core1 adc[9:0], gpio=gpio
  1814. -g GPIO mux select (default 0)
  1815. use only for gpio mode
  1816. -d Downsample enable (default 0)
  1817. use only for HTPHY
  1818. -e BeDeaf enable (default 0)
  1819. -i Timeout in units of 10us. (ACPHY is in 10ms unit) (default 1000)
  1820. Optional parameters (NPHY with NREV < 7) are:
  1821. -f File name to dump the sample buffer (binary format, default "sample_collect.dat")
  1822. -u Sample collect duration in us (default 60)
  1823. -c Cores to do sample collect, only if BW=40MHz (default both)
  1824. Optional parameters LCN40PHY are:
  1825. -f File name to dump the sample buffer (default "sample_collect.dat")
  1826. -t Trigger condition (default now)
  1827. now
  1828. -s Trigger State (default 0)
  1829. -x Module_Sel1 (default 2)
  1830. -y Module_Sel2 (default 6)
  1831. -n Number of samples (Max 2048, default 2048)
  1832. For (NREV < 7), the NPHY buffer returned has the format:
  1833. In 20MHz [(uint16)num_bytes, <I(core0), Q(core0), I(core1), Q(core1)>]
  1834. In 40MHz [(uint16)num_bytes(core0), <I(core0), Q(core0)>,
  1835. (uint16)num_bytes(core1), <I(core1), Q(core1)>]
  1836.  
  1837. txfifo_sz
  1838. set/get the txfifo size; usage: wl txfifo_sz <fifonum> <size_in_bytes>
  1839.  
  1840. hs20_ie set hotspot 2.0 indication IE
  1841. usage: wl hs20_ie <length> <hexdata>
  1842.  
  1843.  
  1844. rate_histo
  1845. Get rate hostrogram
  1846.  
  1847. phy_adj_tssi
  1848. Read last adjusted tssi: wl phy_adj_tssi core
  1849.  
  1850. phy_read_estpwrlut
  1851. Read EstPwr LUT: wl phy_read_estpwrlut core
  1852.  
  1853. txcal_gainsweep
  1854. start Gain Sweep for TX Cal: wl txcal_gainsweep <xx:xx:xx:xx:xx:xx> [ipg] [len] [nframes] [gidx_start:step:gidx_stop]
  1855. ipg: inter packet gap in us
  1856. len: packet length
  1857. nframes: number of frames; 0 indicates continuous tx test
  1858. gidx_start: Starting TX gain Index
  1859. gidx_stop: Stopping TX gain Index
  1860. step:step size for tx gain index increment
  1861.  
  1862. txcal_gainsweep_meas
  1863. Get TSSI/PWR measurments from last TX Cal Gain Sweep: wl txcal_gainsweep_meas
  1864. Set PWR measurements for TX Cal Gain Sweep: wl txcal_gainsweep_meas core p0 p1 ... p127
  1865.  
  1866. txcal_pwr_tssi_tbl
  1867. Get the saved consolidated TSSI/PWR table: wl txcal_pwr_tssi_tbl
  1868. Generate consolidated TSSI/PWR table from last TX Cal Gain Sweep: wl txcal_pwr_tssi_tbl <core> <Ps> <N> <Ch>
  1869. Ps: Starting Power in 6.3 format
  1870. N: Number of entries in the table covering the power range (Ps : (Ps+N-1))
  1871. Set the cosolidated TSSI/PWR table: wl txcal_pwr_tssi_tbl <core> <Ps> <N> <Ch> <Tssi_Ps Tssi_Ps+1 .. Tssi_Ps+N-1>
  1872. Ps: Starting Power in 6.3 format
  1873. N: Number of entries in the table covering the power range (Ps : (Ps+N-1))
  1874. Ch: Channel Number
  1875. Tssi_X: Adjusted TSSI corresponding to Power X
  1876.  
  1877.  
  1878. pkteng_start
  1879. start packet engine tx usage: wl pkteng_start <xx:xx:xx:xx:xx:xx> <tx|txwithack> [(async)|sync] [ipg] [len] [nframes] [src]
  1880. start packet engine rx usage: wl pkteng_start <xx:xx:xx:xx:xx:xx> <rx|rxwithack> [(async)|sync] [rxframes] [rxtimeout]
  1881. sync: synchronous mode
  1882. ipg: inter packet gap in us
  1883. len: packet length
  1884. nframes: number of frames; 0 indicates continuous tx test
  1885. src: source mac address
  1886. rxframes: number of receive frames (sync mode only)
  1887. rxtimeout: maximum timout in msec (sync mode only)
  1888.  
  1889. pkteng_stop
  1890. stop packet engine; usage: wl pkteng_stop <tx|rx>
  1891.  
  1892. pkteng_stats
  1893. packet engine stats; usage: wl pkteng_stats
  1894.  
  1895. wowl Enable/disable WOWL events
  1896. 0 - Clear all events
  1897. Bit 0 - Wakeup on Magic Packet
  1898. Bit 1 - Wakeup on NetPattern (use 'wl wowl_pattern' to configure pattern)
  1899. Bit 2 - Wakeup on loss-of-link due to Disassociation/Deauth
  1900. Bit 3 - Wakeup on retrograde tsf
  1901. Bit 4 - Wakeup on loss of beacon (use 'wl wowl_bcn_loss' to configure time)
  1902.  
  1903. wowl_bcn_loss
  1904. Set #of seconds of beacon loss for wakeup event
  1905.  
  1906. wowl_pattern
  1907. usage: wowl_pattern [ [clr | [[ add | del ] offset mask value ]]]
  1908. No options -- lists existing pattern list
  1909. add -- Adds the pattern to the list
  1910. del -- Removes a pattern from the list
  1911. clr -- Clear current list
  1912. offset -- Starting offset for the pattern
  1913. mask -- Mask to be used for pattern. Bit i of mask => byte i of the pattern
  1914. value -- Value of the pattern
  1915.  
  1916. wowl_keepalive
  1917. Send specified keep alive packet periodically in wowl mode.
  1918. Usage: wl wowl_keepalive <index0-1> <period> <packet>
  1919. index: 0 - 1.
  1920. period: Re-transmission period in milli-seconds. 0 to disable packet transmits.
  1921. packet: Hex packet contents to transmit. The packet contents should include the entire ethernet packet (ethernet header, IP header, UDP header, and UDP payload) specified in network byte order.
  1922.  
  1923. e.g. Send keep alive packet every 30 seconds using id-1:
  1924. wl wowl_keepalive 1 30000 0x0014a54b164f000f66f45b7e08004500001e000040004011c52a0a8830700a88302513c413c4000a00000a0d
  1925.  
  1926.  
  1927. wowl_wakeind
  1928. usage: wowl_wakeind [clear]
  1929. Shows last system wakeup event indications from PCI and D11 cores
  1930. clear - Clear the indications
  1931.  
  1932. patrim Get PA trim option
  1933.  
  1934. wowl_status
  1935. usage: wowl_status [clear]
  1936. Shows last system wakeup setting
  1937.  
  1938. wowl_pkt
  1939. Send a wakeup frame to wakup a sleeping STA in WAKE mode
  1940. Usage: wl wowl_pkt <len> <dst ea | bcast | ucast <STA ea>>[ magic [<STA ea>] | net <offset> <pattern> <reason code> ]
  1941. e.g. To send bcast magic frame -- wl wowl_pkt 102 bcast magic 00:90:4c:AA:BB:CC
  1942. To send ucast magic frame -- wl wowl_pkt 102 ucast 00:90:4c:aa:bb:cc magic
  1943. To send a frame with L2 unicast - wl wowl_pkt 102 00:90:4c:aa:bb:cc net 0 0x00904caabbcc 0x03
  1944. NOTE: offset for netpattern frame starts from "Dest EA" of ethernet frame.So dest ea will be used only when offset is >= 6
  1945. To send a eapol identity frame with L2 unicast - wl wowl_pkt 102 00:90:4c:aa:bb:cc eapid id-string
  1946.  
  1947. wowl_ext_magic
  1948. Set 6-byte extended magic pattern
  1949. Usage: wl wowl_ext_magic 0x112233445566
  1950.  
  1951. auth_rekey_init
  1952. init/de-init group key rekey(for send_wpa_m1 cmd)
  1953. Must be enabled before connection for sending
  1954.  
  1955. wpa_m1 send a WPA M1 to mac address
  1956. Usage: wl wpa_m1 <ptk | gtk | gtk_bad> xx:xx:xx:xx:xx:xx
  1957. ptk: Send a WPA PTK M1
  1958. gtk: Send a WPA GTK M1
  1959. gtk_bad: Send a invalid WPA GTK M1
  1960.  
  1961. wme_apsd_trigger
  1962. Set Periodic APSD Trigger Frame Timer timeout in ms (0=off)
  1963.  
  1964. wme_autotrigger
  1965. Enable/Disable sending of APSD Trigger frame when all ac are delivery enabled
  1966.  
  1967. reassoc Initiate a (re)association request.
  1968. Usage: wl reassoc <bssid> [options]
  1969. Options:
  1970. -c CL, --chanspecs=CL chanspecs (comma or space separated list)
  1971.  
  1972. send_nulldata
  1973. Sed a null frame to the specified hw address
  1974.  
  1975. btc_params
  1976. g/set BT Coex parameters
  1977.  
  1978. btc_flags
  1979. g/set BT Coex flags
  1980.  
  1981. obss_scan_params
  1982. set/get Overlapping BSS scan parameters
  1983. Usage: wl obss_scan a b c d e ...; where
  1984. a-Passive Dwell, {5-1000TU}, default = 100
  1985. b-Active Dwell, {10-1000TU}, default = 20
  1986. c-Width Trigger Scan Interval, {10-900sec}, default = 300
  1987. d-Passive Total per Channel, {200-10000TU}, default = 200
  1988. e-Active Total per Channel, {20-1000TU}, default = 20
  1989. f-Channel Transition Delay Factor, {5-100}, default = 5
  1990. g-Activity Threshold, {0-100%}, default = 25
  1991.  
  1992. mkeep_alive
  1993. Send specified "mkeep-alive" packet periodically.
  1994. Usage: wl mkeep_alive <index0-3> <period> <packet>
  1995. index: 0 - 3.
  1996. period: Re-transmission period in milli-seconds. 0 to disable packet transmits.
  1997. packet: Hex packet contents to transmit. The packet contents should include the entire ethernet packet (ethernet header, IP header, UDP header, and UDP payload) specified in network byte order. If no packet is specified, a nulldata frame will be sent instead.
  1998.  
  1999. e.g. Send keep alive packet every 30 seconds using id-1:
  2000. wl mkeep_alive 1 30000 0x0014a54b164f000f66f45b7e08004500001e000040004011c52a0a8830700a88302513c413c4000a00000a0d
  2001.  
  2002. keep_alive
  2003. Send specified "keep-alive" packet periodically.
  2004. Usage: wl keep_alive <period> <packet>
  2005. period: Re-transmission period in milli-seconds. 0 to disable packet transmits.
  2006. packet: Hex packet contents to transmit. The packet contents should include the entire ethernet packet (ethernet header, IP header, UDP header, and UDP payload) specified in network byte order.
  2007.  
  2008. e.g. Send keep alive packet every 30 seconds:
  2009. wl keep_alive 30000 0x0014a54b164f000f66f45b7e08004500001e000040004011c52a0a8830700a88302513c413c4000a00000a0d
  2010.  
  2011. srchmem g/set ucode srch engine memory
  2012.  
  2013. pkt_filter_add
  2014. Install a packet filter.
  2015. Usage: wl pkt_filter_add <id> <polarity> <type> <offset> <bitmask> <pattern>
  2016. id: Integer. User specified id.
  2017. type: 0 (Pattern matching filter)
  2018. 1 (Magic pattern match (variable offset)
  2019. 2 (Extended pattern list)
  2020. offset: (type 0): Integer offset in received packet to start matching.
  2021. (type 1): Integer offset, match here are anywhere later.
  2022. (type 2): [<base>:]<offset>. Symbolic packet loc plus relative
  2023. offset, use wl_pkt_filter_add -l for a <base> list.
  2024. polarity: Set to 1 to negate match result. 0 is default.
  2025. bitmask: Hex bitmask that indicates which bits of 'pattern' to match.
  2026. Must be same size as 'pattern'. Bit 0 of bitmask corresponds
  2027. to bit 0 of pattern, etc. If bit N of bitmask is 0, then do
  2028. *not* match bit N of the pattern with the received payload. If
  2029. bit N of bitmask is 1, then perform match.
  2030. pattern: Hex pattern to match. Must be same size as <bitmask>.
  2031. Syntax: same as bitmask, but for type 2 (pattern list), a '!'
  2032. may be used to negate that pattern match (e.g. !0xff03).
  2033. For type 2: [<base>:]<offset> <bitmask> [!]<pattern> triple may be
  2034. repeated; all sub-patterns must match for the filter to match.
  2035.  
  2036.  
  2037. pkt_filter_clear_stats
  2038. Clear packet filter statistic counter values.
  2039. Usage: wl pkt_filter_clear_stats <id>
  2040.  
  2041. pkt_filter_enable
  2042. Enable/disable a packet filter.
  2043. Usage: wl pkt_filter_enable <id> <0|1>
  2044.  
  2045. pkt_filter_list
  2046. List installed packet filters.
  2047. Usage: wl pkt_filter_list [val]
  2048. val: 0 (disabled filters) 1 (enabled filters)
  2049.  
  2050. pkt_filter_mode
  2051. Set packet filter match action.
  2052. Usage: wl pkt_filter_mode <value>
  2053. value: 1 - Forward packet on match, discard on non-match (default).
  2054. 0 - Discard packet on match, forward on non-match.
  2055.  
  2056. pkt_filter_delete
  2057. Uninstall a packet filter.
  2058. Usage: wl pkt_filter_delete <id>
  2059.  
  2060. pkt_filter_stats
  2061. Retrieve packet filter statistic counter values.
  2062. Usage: wl pkt_filter_stats <id>
  2063.  
  2064. pkt_filter_ports
  2065. Set up additional port filters for TCP and UDP packets.
  2066. Usage: wl pkt_filter_ports [<port-number>] ...
  2067. wl pkt_filter_ports none (to clear/disable)
  2068.  
  2069. seq_start
  2070. Initiates command batching sequence. Subsequent IOCTLs will be queued until
  2071. seq_stop is received.
  2072.  
  2073. seq_stop
  2074. Defines the end of command batching sequence. Queued IOCTLs will be executed.
  2075.  
  2076. seq_delay
  2077. Driver should spin for the indicated amount of time.
  2078. It is only valid within the context of batched commands.
  2079.  
  2080. seq_error_index
  2081. Used to retrieve the index (starting at 1) of the command that failed within a batch
  2082.  
  2083. clmload Used to download CLM data onto the dongle
  2084.  
  2085. bmac_reboot
  2086. Reboot BMAC
  2087.  
  2088. txmcsset
  2089. get Transmit MCS rateset for 11N device
  2090.  
  2091. rxmcsset
  2092. get Receive MCS rateset for 11N device
  2093.  
  2094. mimo_ss_stf
  2095. get/set SS STF mode.
  2096. Usage: wl mimo_ss_stf <value> <-b a | b>
  2097. value: 0 - SISO; 1 - CDD
  2098. -b(band): a - 5G; b - 2.4G
  2099.  
  2100. assertlog
  2101. get external assert logs
  2102. Usage: wl assertlog
  2103.  
  2104. assert_type
  2105. set/get the asset_bypass flag; usage: wl assert_type <1/0> (On/Off)
  2106.  
  2107. ledbh set/get led behavior
  2108. Usage: wl ledbh [0-3] [0-15]
  2109.  
  2110. obss_coex_action
  2111. send OBSS 20/40 Coexistence Mangement Action Frame
  2112. Usage: wl obss_coex_action -i <1/0> -w <1/0> -c <channel list>
  2113. -i: 40MHz intolerate bit; -w: 20MHz width Req bit;
  2114. -c: channel list, 1 - 14
  2115. At least one option must be provided
  2116.  
  2117. chanim_state
  2118. get channel interference state
  2119. Usage: wl chanim_state channel
  2120. Valid channels: 1 - 14
  2121. returns: 0 - Acceptable; 1 - Severe
  2122.  
  2123. chanim_mode
  2124. get/set channel interference measure (chanim) mode
  2125. Usage: wl chanim_mode <value>
  2126. value: 0 - disabled; 1 - detection only; 2 - detection and avoidance
  2127.  
  2128. ledbh set/get led behavior
  2129. Usage: wl ledbh [0-3] [0-15]
  2130.  
  2131. led_blink_sync
  2132. set/get led_blink_sync
  2133. Usage: wl led_blink_sync [0-3] [0/1]
  2134.  
  2135. cca_get_stats
  2136. Usage: wl cca_stats [-c channel] [-s num seconds][-n]
  2137. -c channel: Optional. specify channel. 0 = All channels. Default = current channel
  2138. -n: no analysis of results
  2139. -s num_seconds: Optional. Default = 10, Max = 60
  2140. -i: list individual measurements in addition to the averages
  2141. -curband: Only recommend channels on current band
  2142.  
  2143. itfr_get_stats
  2144. get interference source information
  2145.  
  2146. itfr_enab
  2147. get/set STA interference detection mode(STA only)
  2148. 0 - disable
  2149. 1 - enable maual detection
  2150. 2 - enable auto detection
  2151.  
  2152. itfr_detect
  2153. issue an interference detection request
  2154.  
  2155. smfstats
  2156. get/clear selected management frame (smf) stats wl smfstats [-C num]|[--cfg=num] [auth]|[assoc]|[reassoc]|[clear]
  2157. clear - to clear the stats
  2158.  
  2159. manfinfo
  2160. show chip package info in OTP
  2161.  
  2162. rrm enable or disable RRM feature
  2163. Usage: wl rrm [0/1] to disable/enable RRM feature
  2164.  
  2165. rrm_bcn_req
  2166. send 11k beacon measurement request
  2167. Usage: wl rrm_bcn_req [bcn mode] [da] [duration] [random int] [channel] [ssid] [repetitions]
  2168.  
  2169. rrm_chload_req
  2170. send 11k channel load measurement request
  2171. Usage: wl rrm_chload_req [regulatory] [da] [duration] [random int] [channel] [repetitions]
  2172.  
  2173. rrm_noise_req
  2174. send 11k noise measurement request
  2175. Usage: wl rrm_noise_req [regulatory] [da] [duration] [random int] [channel] [repetitions]
  2176.  
  2177. rrm_frame_req
  2178. send 11k frame measurement request
  2179. Usage: wl rrm_frame_req [regulatory] [da] [duration] [random int] [channel] [ta] [repetitions]
  2180.  
  2181. rrm_stat_req
  2182. send 11k stat measurement request
  2183. Usage: wl rrm_stat_req [da] [random int] [duration] [peer] [group id] [repetitions]
  2184.  
  2185. rrm_stat_rpt
  2186. Read 11k stat measurement report from STA
  2187. Usage: wl rrm_stat_rpt [mac]
  2188.  
  2189. rrm_lm_req
  2190. send 11k link measurement request
  2191. Usage: wl rrm_lm_req [da]
  2192.  
  2193. rrm_nbr_req
  2194. send 11k neighbor report measurement request
  2195. Usage: wl rrm_nbr_req [ssid]
  2196.  
  2197. rrm_nbr_list
  2198. get 11k neighbor report list
  2199. Usage: wl rrm_nbr_list
  2200.  
  2201. rrm_nbr_del_nbr
  2202. delete node from 11k neighbor report list
  2203. Usage: wl rrm_nbr_del_nbr [bssid]
  2204.  
  2205. rrm_nbr_add_nbr
  2206. add node to 11k neighbor report list
  2207. Usage: wl rrm_nbr_add_nbr [bssid] [bssid info] [regulatory] [channel] [phytype]
  2208.  
  2209. wnm set driver wnm feature mask
  2210. type 'wl msglevel ?' for values
  2211.  
  2212. wnm_bsstq
  2213. send 11v BSS transition management query
  2214. Usage: wl wnm_bsstq [ssid]
  2215.  
  2216. tclas_add
  2217. add tclas frame classifier type entry
  2218. Usage: wl tclas_add <user priority> <type> <mask> <...>
  2219. type 0 eth2: <src mac> <dst mac> <ether type>
  2220. type 1/4 ipv4: <ver> <src> <dst> <s_port> <d_port> <dscp> <prot>
  2221. type 2 802.1Q: <vlan tag>
  2222. type 3 filter: <offset> <value> <mask>
  2223. type 4 ipv6: <ver> <src> <dst> <s_port> <d_port> <dscp> <nxt_hdr> <flw_lbl>
  2224. type 5 802.1D/Q: <802.1Q PCP> <802.1Q CFI> <802.1Q VID>
  2225.  
  2226. tclas_del
  2227. delete tclas frame classifier type entry
  2228. Usage: wl tclas_del [<idx> [<len>]]
  2229.  
  2230. tclas_list
  2231. list the added tclas frame classifier type entry
  2232. Usage: wl tclas_list
  2233.  
  2234. wnm_tfsreq_add
  2235. add one tfs request element and send tfs request frame
  2236. Usage: wl wnm_tfsreq_add <tfs_id> <tfs_action_code> <tfs_subelem_id> <send>
  2237. tfs_id: a non-zero value (1 ~ 255)
  2238. tfs_action_code bitfield: 1: delete after match, 2: notify
  2239. tfs_subelem_id: TFS subelement (0 for none or 1 for previous tclas_add)
  2240. send: 0: store element, 1: send all stored elements
  2241.  
  2242. wnm_dms_set
  2243. Optionally add pending DMS desc (after tclas_add) and optionally register all desc
  2244. on AP side to enable the service (with send=1) Usage: wl wnm_dms_set <send> [<user_id> [<tc_pro>]]
  2245. send: 0: store descriptor, 1: send all stored descs/enable DMS on AP
  2246. user_id: new ID to assign to the created desc (if TCLAS added)
  2247. or existing ID to enable on AP (if no TCLAS added), 0 for all desc
  2248. tc_pro: TCLAS processing element (if several TCLAS added)
  2249.  
  2250. wnm_dms_status
  2251. list all DMS descriptors and provide their internal and AP status
  2252. Usage: wl wnm_dms_status
  2253.  
  2254. wnm_dms_term
  2255. Disable registered DMS des on AP side and optionally discard them
  2256. Usage: wl wnm_dms_term <del> [<user_id>]
  2257. del: Discard desc after disabling the service on AP side
  2258. user_id: desc to disable/delete, 0 for all desc
  2259.  
  2260. wnm_service_term
  2261. Disable service. Check specific wnm_XXX_term for more info
  2262. Usage: wl wnm_service_term <srv> <service realted params>
  2263. srv: 1 for DMS, 2 for FMS, 3 for TFS
  2264.  
  2265. wnm_timbc_offset
  2266. get/set TIM broadcast offset by -32768 period > offset(us) > 32768
  2267. CAUTION!! Due to resource limitation, one radio can have only one set of TIMBC offset
  2268. setting. MBSS need to share the same setting
  2269. Usage: wl wnm_timbc_offset <offset> [<tsf_present> [<fix_interval> [<rate_ovreride>]]]
  2270. offset: in unit of us. Transmit TIM frame in specific TBTT transmit time time
  2271. tsf_present: can be omitted. If set to 1, timestamp field will present in TIM frame.If omitted, default setup to 1
  2272. fix_interval: can be omitted. If set with non-zero value, override STA request interval in TIM Broadcast request. If omitted, default setup to 0
  2273. rate_override: can be omitted. In unit of 500k, max setup to 108. If set, overrideoverride high rate used to transmit TIM broadcast high rate frame
  2274.  
  2275. wnm_timbc_set
  2276. Enable/disable TIM Broadcast. Station will send appropriate request if AP suport TIMBC
  2277. Usage: wl wnm_timbc_set <interval> [<flags> [<min_rate> [<max_rate>]]]
  2278. interval: Beacon interval requested for TIM frames, 0 to disable TIM BC
  2279. flags: Bitfield with minimal requirements to keep the service enabled (check doc)
  2280. min_rate: Minimal rate requirement, in Mbps, for TIM high or low rate frames
  2281. max_rate: Maximal rate requirement
  2282.  
  2283. wnm_timbc_status
  2284. Retrieve TIM Broadcast configuration set with current AP
  2285.  
  2286. wnm_maxidle
  2287. setup WNM BSS Max Idle Period interval and option
  2288. Usage: wl wnm_maxidle <Idle Period> <Option>
  2289. Idle Period: in unit of 1000TU(1.024s)
  2290. Option: protected keep alive required(0 ~ 1)
  2291.  
  2292. wnm_bsstrans_query
  2293. send 11v BSS transition management query
  2294. Usage: wl wnm_bsstrans_query [ssid]
  2295.  
  2296. wnm_bsstrans_req
  2297. send BSS transition management request frame with BSS termination included bit set
  2298. Usage: wl wnm_bsstrans_req <reqmode> <tbtt> <dur> [unicast]
  2299. reqmode: request mode of BSS transition request
  2300. tbtt: time of BSS to end of life, in unit of TBTT, max to 65535
  2301. dur: time of BSS to keep off, in unit of minute, max to 65535
  2302. unicast: [1|0] unicast or broadcast to notify STA in BSS. Default in unicast.
  2303.  
  2304.  
  2305. wnm_keepalives_max_idle
  2306. Usage: wl wnm_keepalives_max_idle <keepalives_per_bss_max_idle> <mkeepalive_index> [<max_interval>]
  2307. set/get the number of keepalives, mkeep-alive index and max_interval configured per BSS-Idle period.
  2308.  
  2309.  
  2310. pm_dur Retrieve accumulated PM duration information (GET only)
  2311.  
  2312.  
  2313. mpc_dur Retrieve accumulated MPC duration information in ms (GET) or clear accumulator (SET)
  2314. Usage: wl mpc_dur <any-number-to-clear>
  2315.  
  2316. chanim_acs_record
  2317. get the auto channel scan record.
  2318. Usage: wl acs_record
  2319.  
  2320. chanim_stats
  2321. get chanim stats
  2322. Usage: wl chanim_stats
  2323.  
  2324. txdelay_params
  2325. get chanim stats
  2326. Usage: wl txdelay_params ratio cnt period tune
  2327.  
  2328. intfer_params
  2329. set/get intfer params
  2330. Usage: wl intfer_params period (in sec) cnt(0~4) txfail_thresh tcptxfail_thresh
  2331. period=0: disable Driver monitor txfail
  2332.  
  2333. dngl_wd enable or disable dongle keep alive watchdog timer
  2334. Usage: wl dngl_wd 0\1 (to turn off\on)
  2335.  
  2336. tsf set/get tsf register
  2337. Usage: wl tsf [<high> <low>]
  2338.  
  2339. tpc_mode
  2340. Enable/disable AP TPC.
  2341. Usage: wl tpc_mode <mode>
  2342. 0 - disable, 1 - BSS power control, 2 - AP power control, 3 - Both (1) and (2)
  2343.  
  2344. tpc_period
  2345. Set AP TPC periodicity in secs.
  2346. Usage: wl tpc_period <secs>
  2347.  
  2348. tpc_lm Get current link margins.
  2349.  
  2350. tpc_rpt_override
  2351. set/get tpc report txpwr and linkmargin values
  2352. Usage: wl tpc_rpt_override [<txpwr> <link_margin>]
  2353.  
  2354. mfp_config
  2355. Config PMF capability
  2356. usage: wl mfp 0/disable, 1/capable, 2/requred
  2357.  
  2358. mfp_sha256
  2359. Config SHA256 capability
  2360. usage: wl sha256 0/disable, 1/enable
  2361.  
  2362. mfp_sa_query
  2363. Send a sa query req/resp to a peer
  2364. usage: wl mfp_sa_query flag action id
  2365.  
  2366. mfp_disassoc
  2367. send bogus disassoc
  2368. Usage: wl mfp_disassoc
  2369.  
  2370. mfp_deauth
  2371. send bogus deauth
  2372. Usage: wl mfp_dedauth
  2373.  
  2374. mfp_assoc
  2375. send assoc
  2376. Usage: wl mfp_assoc
  2377.  
  2378. mfp_auth
  2379. send auth
  2380. Usage: wl mfp_auth
  2381.  
  2382. mfp_reassoc
  2383. send reassoc
  2384. Usage: wl mfp_reassoc
  2385.  
  2386. mfp_bip_test
  2387. bip test
  2388. Usage: wl mfp_bip_test
  2389.  
  2390. monitor_lq
  2391. Start/Stop monitoring link quality metrics - RSSI and SNR
  2392. Usage: wl monitor_lq <0: turn off / 1: turn on
  2393.  
  2394. monitor_lq_status
  2395. Returns averaged link quality metrics - RSSI and SNR values
  2396.  
  2397. mac_rate_histo
  2398. Usage: wl mac_rate_histo <mac address> <access category> <num_pkts>
  2399. (MAC address e.g. 00:11:20:11:33:33)
  2400. (Access Category(AC) - 0x10:for entire MAC or 0x4:for video AC for this MAC)
  2401. (num_pkts (optional) - Number of packets to average - max 64 for AC 0x10, max 32 for AC 0x4)
  2402.  
  2403. rpmt rpmt <pm1-to> <pm0-to>
  2404.  
  2405.  
  2406. spatial_policy
  2407. set/get spatial_policy
  2408. Usage: wl spatial_policy <-1: auto / 0: turn off / 1: turn on>
  2409. to control individual band/sub-band use
  2410. wl spatial_policy a b c d e
  2411. where a is 2.4G band setting
  2412. where b is 5G lower band setting
  2413. where c is 5G middle band setting
  2414. where d is 5G high band setting
  2415. where e is 5G upper band setting
  2416.  
  2417. ie set/get IE
  2418. Usage: For set: wl ie type length hexdata
  2419. For get: wl ie type
  2420.  
  2421. wnm_url set/get wnm session information url
  2422. Usage for set: wl wnm_url length urlstring
  2423. Usage for get: wl wnm_url
  2424.  
  2425. ratetbl_ppr
  2426. Usage: For get: wl ratetbl_ppr
  2427. For set: wl ratetbl_ppr <rate> <ppr>
  2428.  
  2429. wowl_wakeup_reason
  2430. Returns pattern id and associated wakeup reason
  2431.  
  2432. mempool Get memory pool statistics
  2433.  
  2434. sr_enable
  2435. Get/Set SaveRestore functionality
  2436.  
  2437. nwoe_ifconfig
  2438. Configure the network offload interface, or display current settings
  2439. Usage: wl nwoe_ifconfig [<ip> <netmask> <gateway>]
  2440.  
  2441.  
  2442. antdiv_bcnloss
  2443. 0 - Disable Rx antenna flip feature based on consecutive beacon loss
  2444. X - beacon loss count after which Rx ant will be flipped
  2445. Usage: wl antdiv_bcnloss <beaconloss_count>
  2446.  
  2447.  
  2448. lpc_params
  2449. Set/Get Link Power Control params
  2450. Usage: wl powersel_params <tp_ratio_thresh> <rate_stab_thresh>
  2451. <pwr_stab_thresh> <pwr_sel_exp_time>
  2452.  
  2453.  
  2454. mode_reqd
  2455. Set/Get operational capabilities required for STA to associate to the BSS supported by the interface.
  2456. Usage: wl [-i ifname] mode_reqd [value]
  2457. wl mode_reqd [-C bss_idx ] [value]
  2458. <ifname> is the name of the interface corresponding to the BSS.
  2459. If the <ifname> is not given, the primary BSS is assumed.
  2460. <bss_idx> is the the BSS configuration index.
  2461. If the <bss_idx> is not given, configuraion #0 is assumed
  2462. <value> is the numeric values in the range [0..3]
  2463. 0 - no requirements on joining devices.
  2464. 1 - devices must advertise ERP (11g) capabilities to be allowed to associate
  2465. to a 2.4 GHz BSS.
  2466. 2 - devices must advertise HT (11n) capabilities to be allowed to associate
  2467. to a BSS.
  2468. 3 - devices must advertise VHT (11ac) capabilities to be allowed to associate
  2469. to a BSS.
  2470. The command returns an error if the BSS interface is up.
  2471. This configuration can only be changed while the BSS interface is down.
  2472. Note that support for HT implies support for ERP,
  2473. and support for VHT implies support for HT.
  2474.  
  2475. nar_clear_dump
  2476. Clear non-aggregated regulation counters
  2477.  
  2478. sar_limit
  2479. Set/Get sar_limit
  2480. usage: (set) sar_limit <2Gcore0 2Gcore1 2Gcore2 2Gcore3 5G[0]core0 5G[0]core1...>
  2481. (get) sar_limit, return sar limit table
  2482. unit: all input/output values are absolute and in unit of qdbm
  2483.  
  2484.  
  2485. bmon_bssid
  2486. Set monitored BSSID
  2487. usage: bmon_bssid xx:xx:xx:xx:xx:xx 0|1
  2488.  
  2489.  
  2490. rmc_ackmac
  2491. Set/Get ACK required multicast mac address
  2492. usage: wl rmc_ackmac -i [index] -t [multicast mac address]
  2493.  
  2494.  
  2495. rmc_ackreq
  2496. Set/Get ACK rmc_mode 0 disable, 1 enable transmitter, 2 enable initiator
  2497. usage: wl rmc_ackreq [mode]
  2498.  
  2499.  
  2500. rmc_txrate
  2501. Set/Get a fixed transmit rate for the reliable multicast:
  2502. valid values for 802.11ac are (6, 9, 12, 18, 24, 36, 48, 54)
  2503. -1 (default) means automatically determine the best rate
  2504.  
  2505.  
  2506. rmc_status
  2507. Display reliable multicast client status
  2508.  
  2509.  
  2510. rmc_actf_time
  2511. Set/Get mcast action frame tx time period in ms
  2512. usage: wl rmc_actf_time [value]
  2513.  
  2514.  
  2515. rmc_ar_timeout
  2516. Set/Get rmc active receiver timeout in ms
  2517. usage: wl rmc_ar_timeout [duration in ms]
  2518.  
  2519.  
  2520. rmc_rssi_thresh
  2521. Set/Get minimum rssi needed for a station to be an active receiver
  2522. usage: wl rmc_rssi_thresh [value]
  2523.  
  2524.  
  2525. rmc_stats
  2526. Display/Clear reliable multicast client statistical counters
  2527. usage: wl rmc_stats [arg]
  2528.  
  2529.  
  2530. rmc_rssi_delta
  2531. Display/Set RSSI delta to switch receive leader
  2532. usage: wl rmc_rssi_delta [arg]
  2533.  
  2534.  
  2535. rmc_vsie
  2536. Display/Set vendor specific IE contents
  2537. usage: wl rmc_vsie [OUI] [Data]
  2538.  
  2539.  
  2540. wci2_config
  2541. Get/Set LTE coex MWS signaling config
  2542. Usage: wl wci2_config <rxassert_off> <rxassert_jit> <rxdeassert_off> <rxdeassert_jit> <txassert_off> <txassert_jit> <txdeassert_off> <txdeassert_jit> <patassert_off> <patassert_jit> <inactassert_off> <inactassert_jit> <scanfreqassert_off> <scanfreqassert_jit> <priassert_off_req>
  2543.  
  2544. mws_params
  2545. Get/Set LTE coex MWS channel params
  2546. Usage: wl mws_params <rx_center_freq> <tx_center_freq> <rx_channel_bw> <tx_channel_bw> <channel_en> <channel_type>
  2547.  
  2548.  
  2549. mws_debug_msg
  2550. Get/Set LTE coex BT-SIG message
  2551. Usage: wl mws_debug_msg <Message> <Interval 20us-32000us> <Repeats>
  2552.  
  2553.  
  2554. pm2_sleep_ret_ext
  2555. Get/Set Dynamic Fast Return To Sleep params
  2556.  
  2557. btcx_clear_dump
  2558. clear btcoex debug counters
  2559.  
  2560. sta_monitor
  2561. wl sta_monitor [enable|disable] | [<add/del> <xx:xx:xx:xx:xx:xx>]
  2562.  
  2563. monitor_promisc_level
  2564. Set a bitmap of different MAC promiscuous level of monitor mode.
  2565.  
  2566. Usage: wl monitor_promisc_level [<bitmap> | <+|-name>]
  2567. bitmap values and corresponding name are the following:
  2568. Args:
  2569. bit:0:promisc: When set, address filter accepts all received frames.When cleared, the address filter accepts only those frames that match the BSSID or local MAC address
  2570. bit:1:ctrl: When set, the RX filter accepts all received control frames that are accepted by the address filter. When cleared, the RX filter rejects all control frames other than PS poll frames. bit:3:fcs: When set, the RX filter forwards received frames with FCS errors to the driver.When cleared, frames with FCS errors are discarded.
  2571.  
  2572. Example: wl monitor_promisc_level +promisc
  2573. Example: wl monitor_promisc_level 0x2
  2574. Example: wl monitor_promisc_level 0
  2575.  
  2576. taf wl taf <MAC> [<scheduler_id> [<priority>]]
  2577. wl taf <scheduler_id> [coeff [<coeff>]|dump|list]
  2578. wl taf enable [0|1]|order [0|1]|bypass [0|1]|high [<val>]|low [<val>]|force [<val>]|list
  2579.  
  2580. aibss_bcn_force_config
  2581. Get/Set AIBSS beacon force configuration
  2582. wl aibss_bcn_force_config <initial_min_bcn_dur,min_bcn_dur,initial_bcn_flood_dur>
  2583.  
  2584.  
  2585. bcnlenhist
  2586. Usage: wl bcnlenhist [0]
  2587.  
  2588. wds_type
  2589. Indicate whether the interface to which this IOVAR is sent is of WDS or DWDS type.
  2590.  
  2591. Usage: wl wds_type -i <ifname>
  2592. ifname is the name of the interface to query the type.
  2593. Return values:
  2594. 0:The interface type is neither WDS nor DWDS.
  2595. 1:The interface is WDS type.
  2596. 2:The interface is DWDS type.
  2597.  
  2598.  
  2599. bss_peer_info
  2600. Get BSS peer info of all the peer's in the indivudual interface
  2601. If a non-zero MAC address is specified, gets the peer info of the PEER alone
  2602. Usage: wl bss_peer_info [MAC address]
  2603.  
  2604. pwrstats
  2605. Get power usage statistics
  2606. Usage: wl pwrstats [<type>] ...
  2607.  
  2608. drift_stats_reset
  2609. Reset drift statistics
  2610.  
  2611. pfn_roam_alert_thresh
  2612. Get/Set PFN and roam alert threshold
  2613. Usage: wl pfn_roam_alert_thresh [pfn_alert_thresh] [roam_alert_thresh]
  2614.  
  2615.  
  2616. bssload_static
  2617. get or set static BSS load
  2618. usage: wl bssload_static [off | <sta_count> <chan_util> <acc>]
  2619.  
  2620.  
  2621. obss_prot
  2622. Get/set OBSS protection (-1=auto, 0=disable, 1=enable)
  2623.  
  2624.  
  2625. dump_obss
  2626. Usage:
  2627. wl dump_obss [-d num msecs] to begin measurement
  2628. wl dump_obss to query for the measurement results
  2629.  
  2630. aibss_txfail_config
  2631. Set/Get txfail configuration for bcn_timeout and max tx retries
  2632. Usage: wl aibss_txfail_config [bcn_timeout, max_retry]
  2633.  
  2634. ibss_route_tbl
  2635. Get/Set ibss route table
  2636. Usage: wl ibss_route_tbl num_entries [{ip_addr1, mac_addr1}, ...]
  2637.  
  2638. ip_route_table
  2639. Get/Set ip route table
  2640. Usage: wl ip_route_tbl num_entries [{ip_addr1, mac_addr1}, ...]
  2641.  
  2642. uartparams
  2643. Set uart baud rate for different uart interfaces
  2644. Usage(Get): wl uartparams [-i interface]
  2645. -i interface: Optional, 0- UART0, 1- UART1 etc. Default = UART0
  2646. Usage(Set): 1. wl uartparams [baudrate]
  2647. Usage(Set): 2. wl uartparams [-i interface][-b baudrate]
  2648. -i interface: Optional, 0- UART0, 1- UART1 etc. Default = UART0
  2649. -b baud rate
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement