Advertisement
divx118

wl --help

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