If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:wlctl

From BoxMatrix
(Redirected from wlctl)


BoxMatrix >> Shell-Commands >> wlctl @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

Chipset-Command

Goto:   Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

wlctl accesses and controls Broadcom wireless hardware.

Up to fw 7.1x it is a frontend to libwlctl.so with an alias symlink wl.
Starting with fw 7.20 it is a symlink to wl which seems to statically link the library.

wlctl provides an enormous amount of commands - "short" list of commands - 7581 fw 7.17:

root@fritz:/var/mod/root# wlctl cmds

a_rate            escan             pwr_percent       srl               
a_mrate           escanabort        pwr_percent_mw    sc_chan           
actframe          eventing          pm_mute_tx        shmem             
antdiv            event_msgs_ext    pktq_stats        shmemx            
authorize         event_msgs        pmkid_info        set_pmk           
auth              eap_restrict      probresp_mac_filter scan            
assoc             escan_event_check phy_antsel        spect             
autocountry_default escanresults    pm_dur            scanabort         
arpoe             event_log_set_init pm2_sleep_ret_ext scanresults      
assoc_pref        event_log_set_expand pwrstats       status            
add_ie            event_log_set_shrink pcie_bus_tput  suprates          
assoc_info        event_log_tag_control phy_read_estpwrlut ssid         
autochannel       evm               pmac              shortslot         
apname            frag              phymsglevel       shortslot_override 
antgain           fasttimer         powerindex        slowtimer         
assoclistinfo     freqtrack         phyreg            sta_info          
assertlog         fbt_r0kh_id       phy_afeoverride   staprio           
assert_type       fbt_r1kh_id       pcieserdesreg     staname           
antdiv_bcnloss    fbt_auth_resp     phy_txpwrindex    send_nulldata     
aibss_bcn_force_config fqacurcy     phy_rssi_gain_delta_2gb0 srchmem    
aibss_txfail_config force_vsdb_chans phy_rssi_gain_delta_2gb1 stainfo   
atim              fem               phy_rssi_gain_delta_2gb2 scblist    
atten             frameburst        phy_rssi_gain_delta_2gb3 smfstats   
arp_ol            gmode             phy_rssi_gain_delta_2gb4 sar_limit  
arp_peerage       gmode_protection  phy_rssi_gain_delta_2g sta_monitor  
arp_table_clear   gmode_protection_control phy_rssi_gain_delta_5gl svmp_mem 
arp_hostip        gmode_protection_override phy_rssi_gain_delta_5gml sample_collect spatial_policy                                                      
ect spatial_policy                                                      
arp_stats         gpioout           phy_rssi_gain_delta_5gh shortslot_restrict 
arp_stats_clear   hs20_ie           phy_rxgainerr_2g  scb_timeout       
ap                ht_features       phy_rxgainerr_5gl srcrc             
assoclist         infra             phy_rxgainerr_5gm scancache_clear   
authe_sta_list    iscan_s           phy_rxgainerr_5gh scansuppress      
autho_sta_list    iscan_c           phy_rxgainerr_5gu scan_channel_time 
ap_isolate        iscanresults      phy_test_tssi     scan_unassoc_time 
ampdu_tid         isup              phy_test_tssi_offs scan_home_time   
ampdu_txaggr      intfer_params     phy_rssiant       scan_passive_time 
ampdu_rxaggr      ie                phy_rssi_ant      scan_nprobes      
ampdu_retry_limit_tid ibss_route_tbl phy_test_idletssi scan_ps          
ampdu_rr_retry_limit_tid ip_route_table phy_setrptbl  scanmac           
ampdu_send_addba  interface_create  phy_forceimpbf    seq_start         
ampdu_send_delba  interface_remove  phy_forcesteer    seq_stop          
ampdu_txq_prof_start interference   phy_rxiqest       seq_delay         
ampdu_txq_prof_dump interference_override phy_txiqcc  seq_error_index   
ampdu_txq_ss      ignore_bcns       phy_txlocc        txpwr             
ampdu_activate_test itfr_get_stats  phytable          txpwr1            
ampdu_clear_dump  itfr_enab         pavars            txpwrlimit        
addwep            itfr_detect       povars            txant             
bg_rate           join              pkteng_start      txpwr_target_max  
bg_mrate          join_pref         pkteng_stop       txbf_rateset      
bssid             keep_alive        pkteng_stats      toe               
bssmax            keys              phy_force_crsmin  txfifo_sz         
band              lrl               phy_dyn_switch_th txdelay_params    
bands             legacy_erp        patrim            tsf               
bi                lifetime          pkt_filter_add    taf               
bs_data           list_ie           pkt_filter_clear_stats txcal_gainsweep 
bcmerrorstr       lpc_params        pkt_filter_enable txcal_gainsweep_meas 
bmac_reboot       longtrain         pkt_filter_list   txcal_pwr_tssi_tbl 
bmon_bssid        lcnphy_papdepstbl pkt_filter_mode   tssi              
bcnlenhist        lazywds           pkt_filter_delete txpathpwr         
bss_peer_info     ledbh             pkt_filter_stats  txinstpwr         
bcntrim_stats     led_blink_sync    pkt_filter_ports  tclas_add         
bssload_static    msglevel          probe_resp_info   tclas_del         
beacon_info       monitor           primary_key       tclas_list        
bss               mrate             passive           txcore            
bw_cap            macreg            quiet             txcore_override   
btc_params        macregx           reboot            txchain_pwr_offset 
btc_flags         mac               radio             tpc_mode          
cmds              macmode           rdvar             tpc_period        
clk               measure_req       revinfo           tpc_lm            
ciswrite          malloc_dump       rts               toe_ol            
cisupdate         manfinfo          rate              toe_stats         
cisdump           mpc_dur           roam_channels_in_cache toe_stats_clear 
cisconvert        mac_rate_histo    roam_channels_in_hotlist tkip_countermeasures txmcsset                                                              
s txmcsset                                                              
cwmax             monitor_promisc_level rateparam     tsc               
channel           memuse            roamscan_parms    up                
clmver            modesw_timecal    roam_prof         ucflags           
chanspecs         mu_rate           regulatory        ucantdiv          
chanspecs_defset  mu_group          rateset           upgrade           
chanspec          mu_policy         roam_trigger      ver               
cur_etheraddr     maxpower          roam_delta        vasip_counters_clear 
chanlist          mfp_config        roam_scan_period  wrvar             
channels          mfp_sha256        rssi              wake              
channels_in_country mfp_sa_query    radar_status      wsec_restrict     
curpower          mfp_disassoc      radar_sc_status   wsec              
chanspec_txpwr_max mfp_deauth       radar_subband_status wpa_auth       
channel_qa        mfp_assoc         rm_req            wpa_cap           
channel_qa_start  mfp_auth          rm_rep            wet               
country           mfp_reassoc       reinit            wme               
country_ie_override mimo_ss_stf     rand              wme_ac            
clear_radar_status mkeep_alive      reset_cnts        wme_apsd          
csa               mode_reqd         reset_d11cnts     wme_apsd_sta      
constraint        mimo_ps           rate_histo        wme_dp            
cap               mimo_txbw         reassoc           wme_counters      
chan_info         monitor_lq        rpmt              wme_clear_counters 
counters          monitor_lq_status rmc_ar            wme_tx_params     
csscantimer       mws_params        rsdb_mode         wme_maxbw_params  
closed            mws_debug_msg     restart           wlc_ver           
clmload           nvram_dump        radioreg          wme_apsd_trigger  
calload           nvset             rssi_cal_freq_grp_2g wme_autotrigger 
caldump           nvget             rifs              wds_ap_ifname     
cca_get_stats     nvram_get         rifs_advert       wnm               
crsuprs           nar_clear_dump    rpcalvars         wnm_bsstq         
cac_addts         noise             radarargs         wnm_tfsreq_add    
cac_delts         ns_hostip         radarargs40       wnm_dms_set       
cac_delts_ea      ns_hostip_clear   radarthrs         wnm_dms_status    
cac_tslist        nvram_source      radarthrs2        wnm_dms_term      
cac_tslist_ea     nvotpw            rmc_ackmac        wnm_service_term  
cac_tspec         nrate             rmc_ackreq        wnm_timbc_offset  
cac_tspec_ea      out               rmc_txrate        wnm_timbc_set     
curppr            overlay           rmc_status        wnm_timbc_status  
closednet         olpc_anchoridx    rmc_actf_time     wnm_maxidle       
cis_source        ota_teststop      rmc_ar_timeout    wnm_bsstrans_query 
customvar1        ota_loadtest      rmc_rssi_thresh   wnm_bsstrans_req  
cur_mcsset        ota_stream        rmc_stats         wnm_keepalives_max_idle 
cck_txbw          ota_teststatus    rmc_rssi_delta    wnm_url           
chq_event         ol_stats          rmc_vsie          wnm_bsstrans_roamthrottle wnm_bsstrans_rssi_rate_map                                              
wnm_bsstrans_rssi_rate_map                                              
chanim_mode       ol_cons           rrm_bcn_req       wowl              
chanim_acs_record ol_wowl_cons      rrm_chload_req    wowl_bcn_loss     
chanim_stats      ol_clr            rrm_noise_req     wowl_pattern      
down              ol_notify_bcn_ie  rrm_frame_req     wowl_wakeind      
dump              ol_arp_hostip     rrm_stat_req      wowl_status       
dfs_channel_forced ol_nd_hostip     rrm_stat_rpt      wowl_pkt          
deauthorize       otpraw            rrm_lm_req        wowl_ext_magic    
deauthenticate    otpw              rrm_nbr_req       wowl_wakeup_reason 
disassoc          otpdump           rrm_nbr_list      wds               
default_rateset   otpstat           rrm_nbr_del_nbr   wds_remote_mac    
dfs_status        ofdm_txbw         rrm_nbr_add_nbr   wds_wpa_role_old  
dfs_status_all    obss_scan_params  rrm_txstrm_req    wds_wpa_role      
dtim              obss_coex_action  rrm_lci_req       wds_type          
del_ie            obss_prot         rrm_civic_req     wepstatus         
delta_stats_interval PM             rrm_locid_req     wsec_test         
delta_stats       promisc           rrm_config        wci2_config       
dngl_wd           phy_vcore         ratetbl_ppr       
drift_stats_reset plcphdr           radar             
desired_bssid     phytype           rxmcsset          
dfs_ap_move       perm_etheraddr    rmwep             
devpath           prb_resp_timeout  rssi_event        
diag              phylist           srclear           
dyn_bwsw_params   pktcnt            srdump            
eap               protection_control srwrite          

And the long list:

root@fritz:/var/mod/root# wlctl

Usage: wlctl [-a|i <adapter>] [-h] [-d|u|x] [-w|--wlc <index>] <command> [arguments]

  -h        this message and command descriptions
  -h [cmd]  command description for cmd
  -a, -i    adapter name or number
  -d        output format signed integer
  -u        output format unsigned integer
  -x        output format hexdecimal
  -w <idx>  index of WLC for RSDB only

ver	get version information

cmds	generate a short list of available commands

up	reinitialize and mark adapter up (operational)

down	reset and mark adapter down (disabled)

out	mark adapter down but do not reset hardware(disabled)
	On dualband cards, cards must be bandlocked before use.

clk	set board clock state. return error for set_clk attempt if the driver is not down
	0: clock off
	1: clock on

reboot	Reboot platform

radio	Set the radio on or off.
	"on" or "off"

dump	Give suboption "list" to list various suboptions

srclear	Clears first 'len' bytes of the srom, len in decimal or hex
	Usage: srclear <len>

srdump	print contents of SPROM to stdout

srwrite	Write the srom: srwrite byteoffset value

ciswrite
	Write specified <file> to the SDIO/PCIe CIS source (either SROM or OTP)	Usage: ciswrite [-p|--pciecis] <file>
	-p|--pciecis -- Write OTP for PCIe full-dongle

cisupdate
	Write a hex byte stream to specified byte offset to the CIS source (either SROM or OTP)
--preview option allows you to review the update without committing it
	<byte offset> <hex byte stream> [--preview]

cisdump	Display the content of the SDIO CIS source
	-b <file> -- also write raw bytes to <file>
	<len> -- optional count of bytes to display (must be even)

cisconvert
	Print CIS tuple for given name=value pair

rdvar	Read a named variable to the srom

wrvar	Write a named variable to the srom

nvram_dump
	print nvram variables to stdout

nvset	set an nvram variable
	name=value (no spaces around '=')

nvget	get the value of an nvram variable

nvram_get
	get the value of an nvram variable

revinfo	get hardware revision information

msglevel
	set driver console debugging message bitvector
	type 'wl msglevel ?' for values

PM	set driver power management mode:
	0: CAM (constantly awake)
	1: PS  (power-save)
	2: FAST PS mode

wake	set driver power-save mode sleep state:
	0: core-managed
	1: awake

promisc	set promiscuous mode ethernet address reception
	0 - disable
	1 - enable

monitor	set monitor mode
	0 - disable
	1 - enable active monitor mode (interface still operates)

frag	Deprecated. Use fragthresh.

rts	Deprecated. Use rtsthresh.

cwmin	Set the cwmin.  (integer [1, 255])

cwmax	Set the cwmax.  (integer [256, 2047])

srl	Set the short retry limit.  (integer [1, 255])

lrl	Set the long retry limit.  (integer [1, 255])

rate	force a fixed rate:
	valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
	valid values for 802.11b are (1, 2, 5.5, 11)
	valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
	-1 (default) means automatically determine the best rate

mrate	force a fixed multicast rate:
	valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
	valid values for 802.11b are (1, 2, 5.5, 11)
	valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
	-1 (default) means automatically determine the best rate

a_rate	force a fixed rate for the A PHY:
	valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
	-1 (default) means automatically determine the best rate

a_mrate	force a fixed multicast rate for the A PHY:
	valid values for 802.11a are (6, 9, 12, 18, 24, 36, 48, 54)
	-1 (default) means automatically determine the best rate

bg_rate	force a fixed rate for the B/G PHY:
	valid values for 802.11b are (1, 2, 5.5, 11)
	valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
	-1 (default) means automatically determine the best rate

bg_mrate
	force a fixed multicast rate for the B/G PHY:
	valid values for 802.11b are (1, 2, 5.5, 11)
	valid values for 802.11g are (1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54)
	-1 (default) means automatically determine the best rate

2g_rate	Force a fixed rate for data frames in the 2.4G band:

	Either "auto", or a simple CCK/DSSS/OFDM rate value:
	1 2 5.5 11 6 9 12 18 24 36 48 54

	Or options to specify legacy, HT, or VHT rate:
	-r R, --rate=R        : legacy rate (CCK, DSSS, OFDM)
	-h M, --ht=M          : HT MCS index [0-23]
	-v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
	-c cM[sS]             : VHT (c notation) MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
	-s S, --ss=S          : VHT Nss [1-8], number of spatial streams, default 1.
	                      : Only used with -v/--vht when MxS format is not used
	-x T, --exp=T         : Tx Expansion, number of tx chains (NTx) beyond the minimum
	                      : required for the space-time-streams, exp = NTx - Nsts
	--stbc                : Use STBC expansion, otherwise no STBC
	-l, --ldpc            : Use LDPC encoding, otherwise no LDPC
	-g, --sgi             : SGI, Short Guard Interval, otherwise standard GI
	-b, --bandwidth       : transmit bandwidth MHz; 2.5, 5, 10, 20, 40, 80, 160

2g_mrate
	Force a fixed rate for mulitcast/broadcast data frames in the 2.4G band:

	Either "auto", or a simple CCK/DSSS/OFDM rate value:
	1 2 5.5 11 6 9 12 18 24 36 48 54

	Or options to specify legacy, HT, or VHT rate:
	-r R, --rate=R        : legacy rate (CCK, DSSS, OFDM)
	-h M, --ht=M          : HT MCS index [0-23]
	-v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
	-c cM[sS]             : VHT (c notation) MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
	-s S, --ss=S          : VHT Nss [1-8], number of spatial streams, default 1.
	                      : Only used with -v/--vht when MxS format is not used
	-x T, --exp=T         : Tx Expansion, number of tx chains (NTx) beyond the minimum
	                      : required for the space-time-streams, exp = NTx - Nsts
	--stbc                : Use STBC expansion, otherwise no STBC
	-l, --ldpc            : Use LDPC encoding, otherwise no LDPC
	-g, --sgi             : SGI, Short Guard Interval, otherwise standard GI
	-b, --bandwidth       : transmit bandwidth MHz; 2.5, 5, 10, 20, 40, 80, 160

5g_rate	Force a fixed rate for data frames in the 5G band:

	Either "auto", or a simple OFDM rate value:
	6 9 12 18 24 36 48 54

	Or options to specify legacy OFDM, HT, or VHT rate:
	-r R, --rate=R        : legacy OFDM rate
	-h M, --ht=M          : HT MCS index [0-23]
	-v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
	-c cM[sS]             : VHT (c notation) MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
	-s S, --ss=S          : VHT Nss [1-8], number of spatial streams, default 1.
	                      : Only used with -v/--vht when MxS format is not used
	-x T, --exp=T         : Tx Expansion, number of tx chains (NTx) beyond the minimum
	                      : required for the space-time-streams, exp = NTx - Nsts
	--stbc                : Use STBC expansion, otherwise no STBC
	-l, --ldpc            : Use LDPC encoding, otherwise no LDPC
	-g, --sgi             : SGI, Short Guard Interval, otherwise standard GI
	-b, --bandwidth       : transmit bandwidth MHz; 2.5, 5, 10, 20, 40, 80, 160

5g_mrate
	Force a fixed rate for mulitcast/broadcast data frames in the 5G band:

	Either "auto", or a simple OFDM rate value:
	6 9 12 18 24 36 48 54

	Or options to specify legacy OFDM, HT, or VHT rate:
	-r R, --rate=R        : legacy OFDM rate
	-h M, --ht=M          : HT MCS index [0-23]
	-v M[xS], --vht=M[xS] : VHT MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. 5x2 is MCS=5, Nss=2
	-c cM[sS]             : VHT (c notation) MCS index M [0-9],
	                      : and optionally Nss S [1-8], eg. c5s2 is MCS=5, Nss=2
	-s S, --ss=S          : VHT Nss [1-8], number of spatial streams, default 1.
	                      : Only used with -v/--vht when MxS format is not used
	-x T, --exp=T         : Tx Expansion, number of tx chains (NTx) beyond the minimum
	                      : required for the space-time-streams, exp = NTx - Nsts
	--stbc                : Use STBC expansion, otherwise no STBC
	-l, --ldpc            : Use LDPC encoding, otherwise no LDPC
	-g, --sgi             : SGI, Short Guard Interval, otherwise standard GI
	-b, --bandwidth       : transmit bandwidth MHz; 2.5, 5, 10, 20, 40, 80, 160

infra	Set Infrastructure mode: 0 (IBSS) or 1 (Infra BSS)

bssid	Get the BSSID value, error if STA and not associated

bssmax	get number of BSSes 

channel	Set the channel:
	valid channels for 802.11b/g (2.4GHz band) are 1 through 14
	valid channels for 802.11a  (5 GHz band) are:
		36, 40, 44, 48, 52, 56, 60, 64,
		100, 104, 108, 112, 116,120, 124, 128, 132, 136, 140, 144,
		149, 153, 157, 161,
		184, 188, 192, 196, 200, 204, 208, 212, 216

clmver	Get version information for CLM data and tools

roam_channels_in_cache
	Get a list of channels in roam cache

roam_channels_in_hotlist
	Get a list of channels in roam hot channel list

chanspecs
	Get all the valid chanspecs (default: all within current locale):
	-b band (5(a) or 2(b/g))
	-w bandwidth, 20, 40 or 80
	[-c country_abbrev]

chanspecs_defset
	Get default chanspecs for current driver settings (default: all within current locale)

chanspec
	Set current or configured channel:
	20MHz : [2g|5g]<channel>[/20]
	40MHz : [2g|5g]<channel>/40[u,l]
	80MHz :    [5g]<channel>/80
	optional band 2g or 5g, default to 2g if channel <= 14
	channel number (0-200)
	bandwidth, 2.5, 5, 10, 20, 40, or 80, default 20
	primary sideband for 40MHz on 2g, l=lower, u=upper
OR Set channel with legacy format:
	-c channel number (0-224)
	-b band (5(a) or 2(b/g))
	-w bandwidth 20 or 40
	-s ctl sideband, -1=lower, 0=none, 1=upper

sc_chan	Set current or configured channel:
	20MHz : [2g|5g]<channel>[/20]
	40MHz : [2g|5g]<channel>/40[u,l]
	80MHz :    [5g]<channel>/80
	optional band 2g or 5g, default to 2g if channel <= 14
	channel number (0-200)
	bandwidth, 2.5, 5, 10, 20, 40, or 80, default 20
	primary sideband for 40MHz on 2g, l=lower, u=upper
OR Set channel with legacy format:
	-c channel number (0-224)
	-b band (5(a) or 2(b/g))
	-w bandwidth 20 or 40
	-s ctl sideband, -1=lower, 0=none, 1=upper

phy_vcore
	get virtual core related capabilities


rclass	Get operation class:
	 chanspec 


dfs_channel_forced
	Set <channel>[a,b][n][u,l]
	channel number (0-224)
	band a=5G, b=2G, default to 2G if channel <= 14
	bandwidth, n=10, non for 20 & 40
	ctl sideband, l=lower, u=upper
Set channel list using -l option 
	wl dfs_channel_forced {-l <chanspec list> | 0}
	20MHz : <channel>[/20]
	40MHz : <channel>{{l|u}|/40}
	80MHz : <channel>/80
	Channels specified using '-l' option should be
seperated by ','/' ' and should be prefixed with '+'/'-'
Deletes existing configuration when '0' specified

txpwr	Set tx power in milliwatts.  Range [1, 84].

txpwr1	Set tx power in in various units. Choose one of (default: dBm): 
	-d dBm units (range: -32 - 31)
	-q quarter dBm units (range: -128 - 127)
	-m milliwatt units
Can be combined with:
	-o turn on override to disable regulatory and other limitations
Use wl txpwr -1 to restore defaults

txpwrlimit
	Return current tx power limit

ucflags	Get/Set ucode flags 1, 2, 3(16 bits each)
	offset [ value ] [ band ]

shmem	Get/Set a shared memory location:
	offset [ value ] [band ]

macreg	Get/Set any mac registers(include IHR and SB):
	macreg offset size[2,4] [ value ] [ band ]

shmemx	Get/Set a shared memory location of PSMX:
	offset [ value ] [band ]

macregx	Get/Set any mac registers(include IHR and SB) of PSMX:
	macreg offset size[2,4] [ value ] [ band ]

ucantdiv
	Enable/disable ucode antenna diversity (1/0 or on/off)

actframe
	Send a Vendor specific Action frame to a channel
	usage: wl actframe <Dest Mac Addr> <data> channel dwell-time <BSSID>

antdiv	Set antenna diversity for rx
	0 - force use of antenna 0
	1 - force use of antenna 1
	3 - automatic selection of antenna diversity

txant	Set the transmit antenna
	0 - force use of antenna 0
	1 - force use of antenna 1
	3 - use the RX antenna selection that was in force during
	    the most recently received good PLCP header

plcphdr	Set the plcp header.
	"long" or "auto" or "debug"

phytype	Get phy type

rateparam
	set driver rate selection tunables
	arg 1: tunable id
	arg 2: tunable value

wsec_restrict
	Drop unencrypted packets if WSEC is enabled
	0 - disable
	1 - enable

eap	restrict traffic to 802.1X packets until 802.1X authorization succeeds
	0 - disable
	1 - enable

cur_etheraddr
	Get/set the current hw address

perm_etheraddr
	Get the permanent address from NVRAM

authorize
	restrict traffic to 802.1X packets until 802.1X authorization succeeds

deauthorize
	do not restrict traffic to 802.1X packets until 802.1X authorization succeeds

deauthenticate
	deauthenticate a STA from the AP with optional reason code (AP ONLY)

wsec	wireless security bit vector
	1 - WEP enabled
	2 - TKIP enabled
	4 - AES enabled
	8 - WSEC in software
	0x80 - FIPS enabled
	0x100 - WAPI enabled

auth	set/get 802.11 authentication type. 0 = OpenSystem, 1= SharedKey, 3=Open/Shared

wpa_auth
	Bitvector of WPA authorization modes:
	1	WPA-NONE
	2	WPA-802.1X/WPA-Professional
	4	WPA-PSK/WPA-Personal
	64	WPA2-802.1X/WPA2-Professional
	128	WPA2-PSK/WPA2-Personal
	0	disable WPA

wpa_cap	set/get 802.11i RSN capabilities

set_pmk	Set passphrase for PMK in driver-resident supplicant.

scan	Initiate a scan.
	Default to an active scan across all channels for any SSID.
	Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
	Options:
	-s S, --ssid=S		SSIDs to scan
	-t ST, --scan_type=ST	[active|passive|prohibit|offchan|hotspot] scan type
	--bss_type=BT		[bss/infra|ibss/adhoc] bss type to scan
	-b MAC, --bssid=MAC	particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
	-n N, --nprobes=N	number of probes per scanned channel
	-a N, --active=N	dwell time per channel for active scanning
	-p N, --passive=N	dwell time per channel for passive scanning
	-h N, --home=N		dwell time for the home channel between channel scans
	-c L, --chanspecs=L	comma or space separated list of chanspecs to scan

roamscan_parms
	set/get roam scan parameters
Use standard scan params syntax below,but only active/passive/home times, nprobes, type,and channels are used.
All other values are silently discarded.
	Default to an active scan across all channels for any SSID.
	Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
	Options:
	-s S, --ssid=S		SSIDs to scan
	-t ST, --scan_type=ST	[active|passive|prohibit|offchan|hotspot] scan type
	--bss_type=BT		[bss/infra|ibss/adhoc] bss type to scan
	-b MAC, --bssid=MAC	particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
	-n N, --nprobes=N	number of probes per scanned channel
	-a N, --active=N	dwell time per channel for active scanning
	-p N, --passive=N	dwell time per channel for passive scanning
	-h N, --home=N		dwell time for the home channel between channel scans
	-c L, --chanspecs=L	comma or space separated list of chanspecs to scan

roam_prof
	get/set roaming profiles (need to specify band)
	Usage: wl roam_prof_2g a|b|2g|5g flags rssi_upper rssi_lower delta, boost_thresh boot_delta nfscan fullperiod initperiod backoff maxperiod


iscan_s	Initiate an incremental scan.
	Default to an active scan across all channels for any SSID.
	Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
	Options:
	-s S, --ssid=S		SSIDs to scan
	-t ST, --scan_type=ST	[active|passive|prohibit|offchan|hotspot] scan type
	--bss_type=BT		[bss/infra|ibss/adhoc] bss type to scan
	-b MAC, --bssid=MAC	particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
	-n N, --nprobes=N	number of probes per scanned channel
	-a N, --active=N	dwell time per channel for active scanning
	-p N, --passive=N	dwell time per channel for passive scanning
	-h N, --home=N		dwell time for the home channel between channel scans
	-c L, --chanspecs=L	comma or space separated list of chanspecs to scan

iscan_c	Continue an incremental scan.
	Default to an active scan across all channels for any SSID.
	Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
	Options:
	-s S, --ssid=S		SSIDs to scan
	-t ST, --scan_type=ST	[active|passive|prohibit|offchan|hotspot] scan type
	--bss_type=BT		[bss/infra|ibss/adhoc] bss type to scan
	-b MAC, --bssid=MAC	particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
	-n N, --nprobes=N	number of probes per scanned channel
	-a N, --active=N	dwell time per channel for active scanning
	-p N, --passive=N	dwell time per channel for passive scanning
	-h N, --home=N		dwell time for the home channel between channel scans
	-c L, --chanspecs=L	comma or space separated list of chanspecs to scan

escan	Start an escan.
	Default to an active scan across all channels for any SSID.
	Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
	Options:
	-s S, --ssid=S		SSIDs to scan
	-t ST, --scan_type=ST	[active|passive|prohibit|offchan|hotspot] scan type
	--bss_type=BT		[bss/infra|ibss/adhoc] bss type to scan
	-b MAC, --bssid=MAC	particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
	-n N, --nprobes=N	number of probes per scanned channel
	-a N, --active=N	dwell time per channel for active scanning
	-p N, --passive=N	dwell time per channel for passive scanning
	-h N, --home=N		dwell time for the home channel between channel scans
	-c L, --chanspecs=L	comma or space separated list of chanspecs to scan

escanabort
	Abort an escan.
	Default to an active scan across all channels for any SSID.
	Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
	Options:
	-s S, --ssid=S		SSIDs to scan
	-t ST, --scan_type=ST	[active|passive|prohibit|offchan|hotspot] scan type
	--bss_type=BT		[bss/infra|ibss/adhoc] bss type to scan
	-b MAC, --bssid=MAC	particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
	-n N, --nprobes=N	number of probes per scanned channel
	-a N, --active=N	dwell time per channel for active scanning
	-p N, --passive=N	dwell time per channel for passive scanning
	-h N, --home=N		dwell time for the home channel between channel scans
	-c L, --chanspecs=L	comma or space separated list of chanspecs to scan

regulatory
	Get/Set regulatory domain mode (802.11d). Driver must be down.

spect	Get/Set 802.11h Spectrum Management mode.
	0 - Off
	1 - Loose interpretation of 11h spec - may join non-11h APs
	2 - Strict interpretation of 11h spec - may not join non-11h APs
	3 - Disable 11h and enable 11d
	4 - Loose interpretation of 11h+d spec - may join non-11h APs

scanabort
	Abort a scan.

scanresults
	Return results from last scan.

iscanresults
	Return results from last iscan. Specify a buflen (max 8188)
	to artificially limit the size of the results buffer.
	iscanresults [buflen]

assoc	Print information about current network association.
	(also known as "status")

status	Print information about current network association.
	(also known as "assoc")

disassoc
	Disassociate from the current BSS/IBSS.

chanlist
	Deprecated. Use channels.

channels
	Return valid channels for the current settings.

channels_in_country
	Return valid channels for the country specified.
	Arg 1 is the country abbreviation
	Arg 2 is the band(a or b)

curpower
	Return current tx power settings.
	-v, --verbose: display the power settings for every rate even when every rate in a rate group has the same power.

txpwr_target_max
	Return current max tx target power settings.


chanspec_txpwr_max
	Return valid chanspecs with max tx power settings.
	-b band (5(a) or 2(b/g))
	-w bandwidth, 20, 40, 80, 160 or 8080


rateset	Returns or sets the supported and basic rateset, (b) indicates basic
	With no args, returns the rateset. Args are
	rateset "default" | "all" | <arbitrary rateset> [-m|-v <list of mcs masks>]
		default - driver defaults
		all - all rates are basic rates
		arbitrary rateset - list of rates
	List of rates are in Mbps and each rate is optionally followed
	by "(b)" or "b" for a Basic rate. Example: 1(b) 2b 5.5 11
	At least one rate must be Basic for a legal rateset.

	-m  sets HT rates (bitmasks, 00-ff). Least significant bit is MCS0.
	    example: 'rateset -m 0x3f 0x01' limits rates to MCS0-MCS5 and MCS8

	-v  sets VHT MCS values for each supported count of spatial streams.
	    example: 'rateset -v 3ff 1ff ff' limits vht rates to MCS 0-9 for 1 stream,
	                             MCS 0-8 for 2 streams, and MCS 0-7 for 3 streams.

txbf_rateset
	Get rateset consisting of OFDM, HT and VHT rates, and Broadcom-to-Broadcom
	group of OFDM, HT and VHT rates by issuing command with no arguments.
	OFDM rates printed are in Mbps, and each Basic rate in OFDM list is marked
	by (b) behind it.  Example: full list of OFDM rates:
		6(b) 9 12(b) 18 24(b) 36 48 54
	where 6, 12 and 24 are Basic rates.

	Set synopsis:
		wl txbf_rateset < [ofdm_rate_list] [options ...] >
	OFDM rate specification does not need to mark Basic rates because Basic
	rates are automatically recognized.
	Options are processed in order; thus redundant instances of an option will
	result in only the last instance taking effect for that option.
	Options:
	-m <MCS_bitmask> ...
		Set HT rates by bitmask bytes, each ranges from 00 through ff, where
		the least significant bit is MCS0.
		Example: '-m 3f 01' specifies HT rates MCS0 - MCS5 and MCS8.

	-v <VHT_bitmask> ...
		Set VHT rates for each supported count of spatial streams.
		Example: '-v 3ff 1ff ff' specifies VHT rates: MCS0 - MCS9 for 1 stream,
		MCS0 - MCS8 for 2 streams, and MCS0 - MCS7 for 3 streams.

	-b
		Set for Broadcom-to-Broadcom group of rates.  Otherwise without
		the -b option, the standard group of rates are set accordingly.


default_rateset
	Returns supported rateset of given phy.
	You have to insert following Args
		Arg 1. Phy Type: have to be one of the following: [a, b, g, n, lp, ssn, ht, lcn, lcn40, ac]
		Arg 2. Band Type: 2 for 2.4G or 5 for 5G
		Arg 3. CCK Only: 1 for CCK Only or 0 for CCK and OFDM rates
		Arg 4. Basic Rates: 1 for all rates WITH basic rates or 0 for all rates WITHOUT basic rates
		Arg 5. MCS Rates: 1 for all rates WITH MCS rates or 0 for all rates WITHOUT MCS rates
		Arg 6. Bandwidth: have to be one of the following: [10, 20, 40, 80, 160]
		Arg 7. TX/RX Stream: "tx" for TX streams or "rx" for RX streams
		Example: PHY: AC, Band 2.4G, CCK rates only, With Basec rates, WithOut MCS rates, BW: 40 and TX streams
		Input: default_rateset ac 2 0 1 0 40 tx


roam_trigger
	Get or Set the roam trigger RSSI threshold:
	Get: roam_trigger [a|b]
	Set: roam_trigger <integer> [a|b|all]
	integer -   0: default
	            1: optimize bandwidth
	            2: optimize distance
	    [-1, -99]: dBm trigger value

roam_delta
	Set the roam candidate qualification delta. roam_delta [integer [, a/b]]

roam_scan_period
	Set the roam candidate qualification delta.  (integer)

suprates
	Returns or sets the 11g override for the supported rateset
	With no args, returns the rateset. Args are a list of rates,
	or 0 or -1 to specify an empty rateset to clear the override.
	List of rates are in Mbps, example: 1 2 5.5 11

prb_resp_timeout
	Get/Set probe response timeout

channel_qa
	Get last channel quality measurment

channel_qa_start
	Start a channel quality measurment

country	Select Country Code for driver operational region
	For simple country setting: wl country <country>
	Where <country> is either a long name or country code from ISO 3166; for example "Germany" or "DE"

	For a specific built-in country definition: wl country <built-in> [<advertised-country>]
	Where <built-in> is a country country code followed by '/' and regulatory revision number.
	For example, "US/3".
	And where <advertised-country> is either a long name or country code from ISO 3166.
	If <advertised-country> is omitted, it will be the same as the built-in country code.

	Use 'wl country list [band(a or b)]' for the list of supported countries

country_ie_override
	To set/get country ie

autocountry_default
	Select Country Code for use with Auto Contry Discovery

join	Join a specified network SSID.
	Usage: join <ssid> [key <0-3>:xxxxx] [imode bss|ibss] [amode open|shared|openshared|wpa|wpapsk|wpa2|wpa2psk|wpanone|ftpsk] [options]
	Options:
	-b MAC, --bssid=MAC 	BSSID (xx:xx:xx:xx:xx:xx) to scan and join
	-c CL, --chanspecs=CL 	chanspecs (comma or space separated list)
	prescanned 	uses channel and bssid list from scanresults
	-p, -passive: force passive assoc scan (useful for P2P)

ssid	Set or get a configuration's SSID.
	wl ssid [-C num]|[--cfg=num] [<ssid>]
	If the configuration index 'num' is not given, configuraion #0 is assumed and
	setting will initiate an assoication attempt if in infrastructure mode,
	or join/creation of an IBSS if in IBSS mode,
	or creation of a BSS if in AP mode.

mac	Set or get the list of source MAC address matches.
	wl mac xx:xx:xx:xx:xx:xx [xx:xx:xx:xx:xx:xx ...]
	To Clear the list: wl mac none

macmode	Set the mode of the MAC list.
	0 - Disable MAC address matching.
	1 - Deny association to stations on the MAC list.
	2 - Allow association to stations on the MAC list.

band	Returns or sets the current band
	auto - auto switch between available bands (default)
	a - force use of 802.11a band
	b - force use of 802.11b band

bands	Return the list of available 802.11 bands

phylist	Return the list of available phytypes

shortslot
	Get current 11g Short Slot Timing mode. (0=long, 1=short)

shortslot_override
	Get/Set 11g Short Slot Timing mode override. (-1=auto, 0=long, 1=short)

pktcnt	Get the summary of good and bad packets.

upgrade	Upgrade the firmware on an embedded device

gmode	Set the 54g Mode (LegacyB|Auto||GOnly|BDeferred|Performance|LRS)

gmode_protection
	Get G protection mode. (0=disabled, 1=enabled)

gmode_protection_control
	Get/Set 11g protection mode control alg.(0=always off, 1=monitor local association, 2=monitor overlapping BSS)

gmode_protection_override
	Get/Set 11g protection mode override. (-1=auto, 0=disable, 1=enable)

protection_control
	Get/Set protection mode control alg.(0=always off, 1=monitor local association, 2=monitor overlapping BSS)

legacy_erp
	Get/Set 11g legacy ERP inclusion (0=disable, 1=enable)

isup	Get driver operational state (0=down, 1=up)

rssi	Get the current RSSI val, for an AP you must specify the mac addr of the STA

fasttimer
	Deprecated. Use fast_timer.

slowtimer
	Deprecated. Use slow_timer.

glacialtimer
	Deprecated. Use glacial_timer.

dfs_status
	Get dfs status

dfs_status_all
	Get dfs status of multiple cores or parallel radar scans

radar_status
	Get radar detection status

clear_radar_status
	Clear radar detection status

radar_sc_status
	Get/clear sc radar detection status

radar_subband_status
	Get/clear subband radar detection status

pwr_percent
	Get/Set power output percentage

pwr_percent_mw
	Get/Set power output percentage mw

toe	Enable/Disable tcpip offload feature

arpoe	Enable/Disable arp agent offload feature

wet	Get/Set wireless ethernet bridging mode

bi	Get/Set the beacon period (bi=beacon interval)

dtim	Get/Set DTIM

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

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

pm_mute_tx
	Sets parameters for power save mode with muted transmission path. Usage:
	wl pm_mute_tx 1 <deadline>	: attempts to enable mode as soon as
			  timer of <deadline> (milliseconds) expires.
	wl pm_mute_tx 0	: disables mode


csa	Send an 802.11h channel switch anouncement with chanspec:
	<mode> <count> <channel>[a,b][n][u,l][frame type]
	mode (0 or 1)
	count (0-254)
	channel format:
	20MHz : [2g|5g]<channel>[/20]
	40MHz : [2g|5g]<channel>/40[u,l]
	80MHz :    [5g]<channel>/80
	optional band 2g or 5g, default to 2g if channel <= 14
	channel number (0-200)
	bandwidth, 20, 40, or 80, default 20
	primary sideband for 40MHz on 2g, l=lower, u=upper
	csa frame type(optional), default is broadcast if not specified, u=unicast

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

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

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

rm_rep	Get current radio measurement report

join_pref
	Set/Get join target preferences.

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

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

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

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

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

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

wme_counters
	print WMM stats

wme_clear_counters
	clear WMM counters

wme_tx_params
	wl wme_tx_params [be|bk|vi|vo [short|sfb|long|lfb|max_rate <value>] ...]

wme_maxbw_params
	wl wme_maxbw_params [be|bk|vi|vo <value> ....]

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

reinit	Reinitialize device

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

staprio	Set/Get sta priority 
Usage: wl staprio <xx:xx:xx:xx:xx:xx> <prio> 
<prio>: 0~3

pktq_stats
	Dumps packet queue log info for [C] common, [A] AMPDU, [N] NAR or [P] power save queues
A:, N: or P: are used to prefix a MAC address (a colon : separator is necessary),
or else C: is used alone. The '+' option after the colon gives more details.
Up to 4 parameters may be given, the common queue is default when no parameters
are supplied
Use '/<PREC>' as suffix to restrict to certain prec indices; multiple /<PREC>/<PREC>/...can be used
Also, '//' as a suffix to the MAC address or 'C://' will enable automatic logging of
all prec as they are seen.
Full automatic operation is also possible with the shorthand
'A:' (or 'A://'), 'P:' (or 'P://') etc which scans through all known addresses for
those parameters that take a MAC address.
wl pktq_stats [C:[+]]|[A:[+]|P:[+]|N:[+]<xx:xx:xx:xx:xx:xx>][/<PREC>[/<PREC>]][//]...

bs_data	Display per station band steering data
usage: bs_data [options]
  options are:
    -comma    Use commas to separate values rather than blanks.
    -tab      Use <TAB> to separate values rather than blanks.
    -raw      Display raw values as received from driver.
    -noidle   Do not display idle stations
    -noreset  Do not reset counters after reading

cap	driver capabilities

malloc_dump
	Deprecated. Folded under 'wl dump malloc

chan_info
	channel info

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

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

list_ie	Dump the list of vendor proprietary IEs

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

bcmerrorstr
	errorstring

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

eventing
	set/get hex filter bitmask for MAC event reporting up to application layer

event_msgs_ext
	set/get bit arbitrary size hex filter bitmask for MAC

event_msgs
	set/get hex filter bitmask for MAC event reporting via packet indications

counters
	Return driver counter values

reset_cnts
	Clear driver counter values

wlc_ver	returns wlc interface version

delta_stats_interval
	set/get the delta statistics interval in seconds (0 to disable)

delta_stats
	get the delta statistics for the last interval

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

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

csscantimer
	auto channel scan timer in minutes (0 to disable)

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

pmkid_info
	Returns the pmkid table

probresp_mac_filter
	Set/Get MAC filter based Probe response mode. 
	0 - Disable MAC filter based Probe response mode.
	1 - Enable MAC filter based Probe response mode.
	No parameter - Returns the current setting.

eap_restrict
	set/get EAP restriction

reset_d11cnts
	reset 802.11 MIB counters

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

apname	get AP name

overlay	overlay virt_addr phy_addr size

antgain	Set temp ag0/1 value
usage: wl antgain ag0=0x1 ag1=0x2

phy_antsel
	get/set antenna configuration 
	set: -1(AUTO), 0xAB(fixed antenna selection)
		where A and B is the antenna numbers used for RF chain 1 and 0 respectively
	query: <utx>[AUTO] <urx>[AUTO] <dtx>[AUTO] <drx>[AUTO]
		where utx = TX unicast antenna configuration
			urx = RX unicast antenna configuration
			dtx = TX default (non-unicast) antenna configuration
			drx = RX default (non-unicast) antenna configuration

txfifo_sz
	set/get the txfifo size; usage: wl txfifo_sz <fifonum> <size_in_bytes>

escan_event_check
	Listen and prints the escan events from the dongle
	escan_event_check syntax is: escan_event_check ifname flag
	flag 1 = sync_id info, 2 = bss info, 4 = state + bss info [default], 8 = TLV check for IEs

escanresults
	Start escan and display results.
	Default to an active scan across all channels for any SSID.
	Optional arg: SSIDs, list of [up to 10] SSIDs to scan (comma or space separated).
	Options:
	-s S, --ssid=S		SSIDs to scan
	-t ST, --scan_type=ST	[active|passive|prohibit|offchan|hotspot] scan type
	--bss_type=BT		[bss/infra|ibss/adhoc] bss type to scan
	-b MAC, --bssid=MAC	particular BSSID MAC address to scan, xx:xx:xx:xx:xx:xx
	-n N, --nprobes=N	number of probes per scanned channel
	-a N, --active=N	dwell time per channel for active scanning
	-p N, --passive=N	dwell time per channel for passive scanning
	-h N, --home=N		dwell time for the home channel between channel scans
	-c L, --chanspecs=L	comma or space separated list of chanspecs to scan

hs20_ie	set hotspot 2.0 indication IE
	usage: wl hs20_ie <length> <hexdata>


rate_histo
	Get rate hostrogram

wme_apsd_trigger
	Set Periodic APSD Trigger Frame Timer timeout in ms (0=off)

wme_autotrigger
	Enable/Disable sending of APSD Trigger frame when all ac are delivery enabled

reassoc	Initiate a (re)association request.
	Usage: wl reassoc <bssid> [options]
	Options:
	-c CL, --chanspecs=CL 	chanspecs (comma or space separated list)

send_nulldata
	Sed a null frame to the specified hw address

srchmem	g/set ucode srch engine memory

clmload	Download CLM data into a driver.  Driver must be down.
	Usage: wl clmload <clm blob file name>
	  Note obsolete syntax 'wl clmload 0/1 <clm blob file name>' is still accepted
	  but the download type 0/1 is no longer applicable and is ignored.  Incremental
	  CLM download is no longer supported.  Also reverting to the original built-in
	  CLM is no longer supported.  (This syntax was 'wl clmload 0/1')

calload	Download CAL data into a driver.  Driver must be down.
	Usage: wl calload <cal file name> to download existing calibration data file


caldump	Dump calibration data and save it with calibration storage format.
	Usage: wl caldump <cal file name> to dump current calibration info to file


bmac_reboot
	Reboot BMAC

stainfo	get dhdsta information

assoclistinfo
	AP only: Get the list of yet another form of associated station info

scblist	AP only: Get STA list

assertlog
	get external assert logs
	Usage: wl assertlog

assert_type
	set/get the asset_bypass flag; usage: wl assert_type <1/0> (On/Off)

cca_get_stats
	Usage: wl cca_stats [-c channel] [-s num seconds][-n]
	 -c channel: Optional. specify channel. 0 = All channels. Default = current channel 
	 -n: no analysis of results
	 -s num_seconds: Optional. Default = 10, Max = 60
	 -i: list individual measurements in addition to the averages
	 -curband: Only recommend channels on current band

smfstats
	get/clear selected management frame (smf) stats	wl smfstats [-C num]|[--cfg=num] [auth]|[assoc]|[reassoc]|[clear]
	clear - to clear the stats

manfinfo
	show chip package info in OTP

pm_dur	Retrieve accumulated PM duration information (GET only)


mpc_dur	Retrieve accumulated MPC duration information in ms (GET) or clear accumulator (SET)
	Usage: wl mpc_dur <any-number-to-clear>

txdelay_params
	get chanim stats 
	 Usage: wl txdelay_params ratio cnt period tune

intfer_params
	set/get intfer params 
	Usage: wl intfer_params period (in sec) cnt(0~4) txfail_thresh tcptxfail_thresh
	period=0: disable Driver monitor txfail

dngl_wd	enable or disable dongle keep alive watchdog timer
	Usage: wl dngl_wd 0\1 (to turn off\on)

tsf	set/get tsf register
	Usage: wl tsf [<high> <low>]

mac_rate_histo
	Usage: wl mac_rate_histo <mac address> <access category> <num_pkts>
	(MAC address e.g. 00:11:20:11:33:33)
	(Access Category(AC) - 0x10:for entire MAC or 0x4:for video AC for this MAC)
	(num_pkts (optional) - Number of packets to average - max 64 for AC 0x10, max 32 for AC 0x4)

rpmt	rpmt <pm1-to> <pm0-to>

ie	set/get IE
	Usage: For set: wl ie type length hexdata
	     For get: wl ie type

mempool	Get memory pool statistics

antdiv_bcnloss
	0	- Disable Rx antenna flip feature based on consecutive beacon loss
	X - beacon loss count after which Rx ant will be flipped
	Usage: wl antdiv_bcnloss <beaconloss_count>


lpc_params
	Set/Get Link Power Control params
	Usage: wl powersel_params <tp_ratio_thresh> <rate_stab_thresh>
		<pwr_stab_thresh> <pwr_sel_exp_time>


nar_clear_dump
	Clear non-aggregated regulation counters

sar_limit
	Set/Get sar_limit
	usage: (set) sar_limit <2Gcore0 2Gcore1 2Gcore2 2Gcore3 5G[0]core0 5G[0]core1...>
	       (get) sar_limit, return sar limit table
	unit: all input/output values are absolute and in unit of qdbm


bmon_bssid
	Set monitored BSSID
	usage: bmon_bssid xx:xx:xx:xx:xx:xx 0|1


event_log_set_init
	Initialize an event log set
	Usage: wl event_log_set_init <set> <size>


event_log_set_expand
	Increase the size of an event log set
	Usage: wl event_log_set_expand <set> <size>


event_log_set_shrink
	Decrease the size of an event log set
	Usage: wl event_log_set_expand <set>


event_log_tag_control
	Modify the state of an event log tag
	Usage: wl event_log_tag_control <tag> <set> <flags>


rmc_ar	Set active receiver to the one that matches the provided mac address
If there is no match among current RMC receivers, it will return fail
If mac address is set to all 0 (00:00:00:00:00:00), auto selection mode is enabled
and the transmitter will choose the active receiver automatically by RSSI
	usage: wl rmc_ar [mac address]
Get the device mac that is set to be the active receiver for this transmitter
	usage: wl rmc_ar


pm2_sleep_ret_ext
	Get/Set Dynamic Fast Return To Sleep params

sta_monitor
	wl sta_monitor [enable|disable|counters|reset_cnts] | [<add/del> <xx:xx:xx:xx:xx:xx>]

monitor_promisc_level
	Set a bitmap of different MAC promiscuous level of monitor mode.

	Usage: wl monitor_promisc_level [<bitmap> | <+|-name>]
	bitmap values and corresponding name are the following:
	Args:
		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
		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.

	Example: wl monitor_promisc_level +promisc
	Example: wl monitor_promisc_level 0x2
	Example: wl monitor_promisc_level 0

taf	wl taf <MAC> [<scheduler_id> [<priority>]]
wl taf <scheduler_id> [coeff [<coeff>]|dump|list]
wl taf enable [0|1]|order [0|1]|bypass [0|1]|high [<val>]|low [<val>]|force [<val>]|list

aibss_bcn_force_config
	Get/Set AIBSS beacon force configuration 
wl aibss_bcn_force_config <initial_min_bcn_dur,min_bcn_dur,initial_bcn_flood_dur>


bcnlenhist
	Usage: wl bcnlenhist [0]

bss_peer_info
	Get BSS peer info of all the peer's in the indivudual interface
	If a non-zero MAC address is specified, gets the peer info of the PEER alone
	Usage: wl bss_peer_info [MAC address]

pwrstats
	Get power usage statistics
Usage: wl pwrstats [<type>] ...

memuse	Get memory usage statistics
Usage: wl memuse

drift_stats_reset
	Reset drift statistics

aibss_txfail_config
	Set/Get txfail configuration for bcn_timeout, max tx retries and max atim failures
	Usage: wl aibss_txfail_config [bcn_timeout max_retry max_atim_failure]

ibss_route_tbl
	Get/Set ibss route table
	Usage: wl ibss_route_tbl num_entries [{ip_addr1, mac_addr1}, ...]

ip_route_table
	Get/Set ip route table
	Usage: wl ip_route_tbl num_entries [{ip_addr1, mac_addr1}, ...]

rsdb_mode
	Set/Get the RSDB mode. Possible values auto(-1), mimo(0), rsdb(1), 80p80(2)

desired_bssid
	Set or get the desired BSS ID value
	Usage: wl desired_bssid [BSSID]

ht_features
	disable/enable/force proprietary 11n rates support. Interface must be down.

modesw_timecal
	Usage: 
	 wl modesw_timecal 0~1 for disable /enable 
	 wl modesw_timecal to get Time statistics

atim	Set/Get the current ATIM window size

pcie_bus_tput
	Measure the pcie bus througput
Usage: wl pcie_bus_tput -n 64


interface_create
	create an AP/STA interface on a WLC instance that receives the IOVAR
	Usage: wl interface_create ap/sta [MAC-address]
MAC-address: xx:xx:xx:xx:xx:xx

interface_remove
	Deletes the interface on which this command is received
	Usage:
	 wl interface_remove
	 wl -i <interface_name> interface_remove 
	 wl interface_remove -C <bss_cfg_index> 


phy_read_estpwrlut
	Read EstPwr LUT: wl phy_read_estpwrlut core

txcal_gainsweep
	start Gain Sweep for TX Cal: wl txcal_gainsweep <xx:xx:xx:xx:xx:xx> [ipg] [len] [nframes] [gidx_start:step:gidx_stop]
	ipg: inter packet gap in us
	len: packet length
	nframes: number of frames; 0 indicates continuous tx test
	gidx_start: Starting TX gain Index
	gidx_stop: Stopping TX gain Index
	step:step size for tx gain index increment

txcal_gainsweep_meas
	Get TSSI/PWR measurments from last TX Cal Gain Sweep: wl txcal_gainsweep_meas
Set PWR measurements for TX Cal Gain Sweep: wl txcal_gainsweep_meas core p0 p1 ... p127

txcal_pwr_tssi_tbl
	Get the saved consolidated TSSI/PWR table: wl txcal_pwr_tssi_tbl <core> <chan>
	Generate consolidated TSSI/PWR table from last TX Cal Gain Sweep: wl txcal_pwr_tssi_tbl <core> <Ps> <N> <Ch>
		Ps: Starting Power in 6.3 format
		N: Number of entries in the table covering the power range (Ps : (Ps+N-1))
	Set the cosolidated TSSI/PWR table: wl txcal_pwr_tssi_tbl <core> <Ps> <N> <Ch> <Tssi_Ps Tssi_Ps+1 .. Tssi_Ps+N-1>
		Ps: Starting Power in 6.3 format
		N: Number of entries in the table covering the power range (Ps : (Ps+N-1))
		Ch: Channel Number
		Tssi_X: Adjusted TSSI corresponding to Power X
	Max number of channel data allowed: 32


olpc_anchoridx
	Get the saved tx power idx and temperature at the olpc anchor power level:
wl olpc_anchoridx <core> <chan>
Set the temperature and tx power idx at the olpc anchor power level:
wl olpc_anchoridx <core> <chan> <idx> <temp>
olpc anchor power level is specified via nvram paramter or iovar.


bcntrim_stats
	Get Beacon Trim Statistics
	Usage: wl bcntrim_stats


dfs_ap_move
	Move the AP interface to dfs channel specified:
	 Default: Get the dfs scan status
	 -1: Abort recent AP move request (if in progress)
	 -2: Stunt recent AP move request (if in progress)
	20MHz : [5g]<channel>[/20]
	40MHz : [5g]<channel>/40[u,l]
	80MHz :    [5g]<channel>/80
	channel number (36-200)
	bandwidth, 20, 40, or 80, default 20
	primary sideband for 40MHz on 2g, l=lower, u=upper
OR Set channel with legacy format:
	-c channel number (36-224)
	-w bandwidth 20 or 40
	-s ctl sideband, -1=lower, 0=none, 1=upper

pmac	Get mac obj values such as of SHM and IHR
	usage: wl pmac <type> <addresses up to 16> -s <step size> -n <num> -b <bitmap> -w <write val> -r
<addresses> : a single address, or multiple, upto 16 addresses, in Decimal or Hex
<step size> = 0 or 2 or 4
<num> : how many to print
<bitmap> : 32-bit value
<w_val> : write value to the registers
-r option is used to specify internal address:

vasip_counters_clear
	clear vasip counters

svmp_mem
	Usage: wl svmp_mem <offset> <len> [ <val> ]
With 2 params, read svmp memory at offset for len of 16-bit width.
With 3rd param, set the same range to the given value


mu_rate	Force the tranmission rate for each user, rate0 is for user0; rate1 is for user1...
Usage: wl mu_rate { [auto | -1] | [[rate0] [rate1] [rate2] [rate3]]
no input: read current MU-MIMO rate.
auto or -1: turn on auto rate.


mu_group
	Force the group recommendation result or set parameters for VASIP group recomendation
	Usage: no parameters means getting configs
	  'wl mu_group [-g P0 [P01 P02 ... P04] [... -g Px [Px1 Px2 ... Px4]]] [-f F]'
	  'wl mu_group [-g -1] [-m M] [-n N]'
	  Combination of '-g 0 XXX' with '-m M' or '-n N' is invalid
	       Example1: wl mu_group -g 0 0x016 0x209 0x309 -g 1 0x009 0x217 -g 2 0x115 0x308
	       Example2: wl mu_group -g 0 0x007 0x109 0x209 0x308 -f 0
	       Example3: wl mu_group -g -1
	       Example4: wl mu_group -g -1 -m 1 -n 4
	       Example5: wl mu_group -m 1 -n 4 (only valid under auto grouping)
	  -g: Force group recommendation (x<=7, up to 8 options)
	       P0=-1 means VASIP group recommendation (not-forced mode, default)
	       P0~Px are expected to be 0~x in forced mode
	       Pxy: three nibbles for (user_id<<8 + (user_nss-1)<<4 + user_mcs)
	  -f: Force MCS and only valid with '-g 0 XXX'
	       F=0: auto MCS from VASIP MCS recommendation
	       F=1: forced MCS according to '-g' argument (default when froced grouping)
	  -m: Method for VASIP group recommendation, M>=0
	       M=0: old method: 1 group for all admitted users with GID=9
	       M>0: new method: M=1 for N best THPT groups
	  -n: Number of groups reported to MAC for VASIP group recommendation, N=1~15

mu_policy
	Configure the MU admission control policies
	Usage: no parameters means getting configs
	  'wl mu_policy [-sched_timer T] [-pfmon P] [-pfmon_gpos G] [-samebw B] [-nrx R] [-max_muclients C]'
	       Example1: wl mu_policy -sched_timer 60 -pfmon 1 -pfmon_gpos 0 -samebw 0 -nrx 1
	       Example2: wl mu_policy -sched_timer 0
	       Example3: wl mu_policy -pfmon 0
	       Example4: wl mu_policy -nrx 2
	       Example5: wl mu_policy -max_muclients 4
	  -sched_timer: Configure the timer interval for the score based MU client scheduler
	       T=0 means the scheduler is disabled
	       T>0 means the timer duration in seconds (default 60)
	  -pfmon: Configure the perfomance monitors (mutxcnt and gpos)'
	       P=0: Disable the perfomance monitors
	       P=1: Enable the perfomance monitors and black lists
	  -pfmon_gpos: Configure the gpos performance monitor
	       G=0: Disable the gpos performance monitor
	       G=1: Enable the gpos performance monitor
	  -samebw: Configure the BW check at admission control
	       B=0: Allow clients with different BW to be admitted
	       B=1: Only clients with the same BW can be admitted
	  -nrx: Configure the max nrx (number of RX streams) of the clients
	       R=1: Only 1x1 MU STAs can be admitted
	       R=2: Both 1x1 and 2x2 MU STAs can be admitted
	  -max_muclients: Configure the max number of clients
	       C: Can be a value between 2~4

wds_ap_ifname
	Get associated AP interface name for WDS interface.

fbt_r0kh_id
	Get/Set R0 Key Holder Idenitifer for an interface
	Usage: wl fbt_r0kh_id <string>
String: Maximum 48 byte R0 Key Holder ID


fbt_r1kh_id
	Get/Set 802.11r R1 Key Holder Idenitifer for an interface
	Usage: wl fbt_r1kh_id <mac-address>
MAC-address: xx:xx:xx:xx:xx:xx


fbt_auth_resp
	Get/Set fbt auth response for an interface
	Usage: wl fbt_auth_resp <string>
String: Maximum 48 byte FBT auth response


restart	Restart driver.  Driver must already be down.

phymsglevel
	set phy debugging message bitvector
	type 'wl phymsglevel ?' for values

tssi	Get the tssi value from radio

txpathpwr
	Turn the tx path power on or off on 2050 radios

powerindex
	Set the transmit power for A band(0-63).
	-1 - default value

atten	Set the transmit attenuation for B band. Args: bb radio txctl1.
	auto to revert to automatic control
	manual to supspend automatic control

phyreg	Get/Set a phy register:
	offset [ value ] [ band ]

radioreg
	Get/Set a radio register:
	offset [ value ] [ band/core ]
HTPHY:
	Get a radio register: wl radioreg [ offset ] [ cr0/cr1/cr2 ]
	Set a radio register: wl radioreg [ offset ] [ value ] [ cr0/cr1/cr2/all ]
ACPHY:
	Get a radio register: wl radioreg [ offset ] [ cr0/cr1/cr2/pll ]
	Set a radio register: wl radioreg [ offset ] [ value ] [ cr0/cr1/cr2/pll/all ]

phy_afeoverride
	g/set AFE override

pcieserdesreg
	g/set SERDES registers: dev offset [val]

txinstpwr
	Return tx power based on instant TSSI 

evm	Start an EVM test on the given channel, or stop EVM test.
	Arg 1 is channel number 1-14, or "off" or 0 to stop the test.
	Arg 2 is optional rate (1, 2, 5.5 or 11)

noise	Get noise (moving average) right after tx in dBm

fqacurcy
	Manufacturing test: set frequency accuracy mode.
	freqacuracy syntax is: fqacurcy <channel>
	Arg is channel number 1-14, or 0 to stop the test.

crsuprs	Manufacturing test: set carrier suppression mode.
	carriersuprs syntax is: crsuprs <channel>
	Arg is channel number 1-14, or 0 to stop the test.

longtrain
	Manufacturing test: set longtraining mode.
	longtrain syntax is: longtrain <channel>
	Arg is A band channel number or 0 to stop the test.

interference
	NON-ACPHY. Get/Set interference mitigation mode. Choices are:
	0 = none
	1 = non wlan
	2 = wlan manual
	3 = wlan automatic
	4 = wlan automatic with noise reduction

	ACPHY. Get/Set interference mitigation mode. Bit-Mask:
	0 = desense based on glitches
	1 = limit pktgain based on hwaci (high pwr aci)
	2 = limit pktgain based on w2/nb (high pwr aci)
	3 = enable preemption
	4 = enable HWACI based mitigation
	5 = enable low power detect preemption (requires bit 3 - preemption - to be set too)
	So a value of 63 would enable all six


interference_override
	NON-ACPHY. Get/Set interference mitigation override. Choices are:
	0 = no interference mitigation
	1 = non wlan
	2 = wlan manual
	3 = wlan automatic
	4 = wlan automatic with noise reduction
	-1 = remove override, override disabled

	ACPHY. Get/Set interference mitigation mode. Bit-Mask:
	-1 = remove override, override disabled
	0 = desense based on glitches
	1 = limit pktgain based on hwaci (high pwr aci)
	2 = limit pktgain based on w2/nb (high pwr aci)
	3 = enable preemption
	4 = enable HWACI based mitigation
	5 = enable low power detect preemption (requires bit 3 - preemption - to be set too)
	So a value of 63 would enable all six


phy_txpwrindex
	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

rssi_cal_freq_grp_2g
	usage: wl_rssi_cal_freq_grp_2g [chan_1_2,chan_3_4,...,chan_13_14]
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

phy_rssi_gain_delta_2gb0
	usage: phy_rssi_gain_delta_2gb0 [val0 val1 ....]
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

phy_rssi_gain_delta_2gb1
	usage: phy_rssi_gain_delta_2gb1 [val0 val1 ....]
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

phy_rssi_gain_delta_2gb2
	usage: phy_rssi_gain_delta_2gb2 [val0 val1 ....]
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

phy_rssi_gain_delta_2gb3
	usage: phy_rssi_gain_delta_2gb3 [val0 val1 ....]
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

phy_rssi_gain_delta_2gb4
	usage: phy_rssi_gain_delta_2gb4 [val0 val1 ....]
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

phy_rssi_gain_delta_2g
	usage: phy_rssi_gain_delta_2g [val0 val1 ....]
Set/get rssi gain delta values

phy_rssi_gain_delta_5gl
	usage: phy_rssi_gain_delta_5gl [val0 val1 ....]
Set/get rssi gain delta values

phy_rssi_gain_delta_5gml
	usage: phy_rssi_gain_delta_5gml [val0 val1 ....]
Set/get rssi gain delta values

phy_rssi_gain_delta_5gmu
	usage: phy_rssi_gain_delta_5gmu [val0 val1 ....]
Set/get rssi gain delta values

phy_rssi_gain_delta_5gh
	usage: phy_rssi_gain_delta_5gh [val0 val1 ....]
Set/get rssi gain delta values

phy_rxgainerr_2g
	usage: phy_rxgainerr_2g [val0 val1 ....]
Set/get rx gain delta values

phy_rxgainerr_5gl
	usage: phy_rxgainerr_5gl [val0 val1 ....]
Set/get rx gain delta values

phy_rxgainerr_5gm
	usage: phy_rxgainerr_5gml [val0 val1 ....]
Set/get rx gain delta values

phy_rxgainerr_5gh
	usage: phy_rxgainerr_5gmu [val0 val1 ....]
Set/get rx gain delta values

phy_rxgainerr_5gu
	usage: phy_rxgainerr_5gh [val0 val1 ....]
Set/get rx gain delta values

phy_test_tssi
	wl phy_test_tssi val

phy_test_tssi_offs
	wl phy_test_tssi_offs val

phy_rssiant
	wl phy_rssiant antindex(0-3)

phy_rssi_ant
	Get RSSI per antenna (only gives RSSI of current antenna for SISO PHY)

phy_test_idletssi
	get idletssi for the given core; wl phy_test_idletssi corenum

phy_setrptbl
	populate the reciprocity compensation table based on SROM cal content

	usage: wl phy_setrptbl

phy_forceimpbf
	force the beamformer into implicit TXBF mode and ready to construct steering matrix

	usage: wl phy_forceimpbf

phy_forcesteer
	force the beamformer to apply steering matrix when TXBF is turned on

	usage: wl phy_forcesteer 1/0

lcnphy_papdepstbl
	print papd eps table; Usage: wl lcnphy_papdepstbl

rifs	set/get the rifs status; usage: wl rifs <1/0> (On/Off)

rifs_advert
	set/get the rifs mode advertisement status; usage: wl rifs_advert <-1/0> (Auto/Off)

phy_rxiqest
	Get phy RX IQ noise in dBm:
	-s # of samples (2^n)
	-a antenna select, 0,1,2 or 3
	-r resolution select, 0 (coarse) or 1 (fine)
	-f lpf hpc override select, 0 (hpc unchanged) or 1 (overridden to ltrn mode)
	-w dig lpf override select, 0 (lpf unchanged) or 1 (overridden to ltrn_lpf mode)	 or 2 (bypass)
	-g gain-correction select, 0 (disable), 1(enable full correction) 
		2 (enable temperature correction) or 3(verify rssi_gain_delta)
	-e extra INITgain in dB on top of default. Valid values = {0, 3, 6, .., 21, 24}
	-i gain mode select, 0 (default gain), 1 (fixed high gain) or 4 (fixed low gain).

phy_txiqcc
	usage: phy_txiqcc [a b]
Set/get the iqcc a, b values

phy_txlocc
	usage: phy_txlocc [di dq ei eq fi fq]
Set/get locc di dq ei eq fi fq values

phytable
	usage: wl phytable table_id offset width_of_table_element [table_element]
Set/get table element of a table with the given ID at the given offset
Note that table width supplied should be 8 or 16 or 32
table ID, table offset can not be negative

force_vsdb_chans
	Set/get  channels for forced vsdb mode
usage: wl force_vsdb_chans chan1 chan2
Note: Give chan in the same format as chanspec: eg force_vsdb_chans 1l 48u

pavars	Set/get temp PA parameters
usage: wl down
       wl pavars pa2gw0a0=0x1 pa2gw1a0=0x2 pa2gw2a0=0x3 ... 
       wl pavars
       wl up
  override the PA parameters after driver attach(srom read), before diver up
  These override values will be propogated to HW when driver goes up
  PA parameters in one band range (2g, 5gl, 5g, 5gh) must all present if
  one of them is specified in the command, otherwise it will be filled with 0

povars	Set/get temp power offset
usage: wl down
       wl povars cck2gpo=0x1 ofdm2gpo=0x2 mcs2gpo=0x3 ... 
       wl povars
       wl up
  override the power offset after driver attach(srom read), before diver up
  These override values will be propogated to HW when driver goes up
  power offsets in one band range (2g, 5gl, 5g, 5gh) must all present if
  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 

rpcalvars
	Set/get temp RPCAL parameters
usage: wl down
       wl rpcalvars rpcal2g=0x1 
       wl rpcalvars
       wl up
  override the RPCAL parameters after driver attach(srom read), before diver up
  These override values will be propogated to HW when driver goes up
  Only the RPCAL parameter specified in the command is updated, the rest is untouched

fem	Set temp fem2g/5g value
usage: wl fem (tssipos2g=0x1 extpagain2g=0x2 pdetrange2g=0x1 triso2g=0x1 antswctl2g=0)
	(tssipos5g=0x1 extpagain5g=0x2 pdetrange5g=0x1 triso5g=0x1 antswctl5g=0)

maxpower
	Set temp maxp2g(5g)a0(a1) value
usage: wl maxpower maxp2ga0=0x1 maxp2ga1=0x2 maxp5ga0=0xff maxp5ga1=0xff
       maxp5gla0=0x3 maxp5gla1=0x4 maxp5gha0=0x5 maxp5gha1=0x6

sample_collect
	Optional parameters ACPHY/HTPHY/(NPHY with NREV >= 7) are:
	-f File name to dump the sample buffer (default "sample_collect.dat")
	-t Trigger condition (default now)
		 now, good_fcs, bad_fcs, bad_plcp, crs, crs_glitch, crs_deassert
	-b PreTrigger duration in us (default 10)
	-a PostTrigger duration in us (default 10) 
	-m Sample collect mode (default 1) 
		SC_MODE_0_sd_adc			0
		SC_MODE_1_sd_adc_5bits			1
		SC_MODE_2_cic0				2
		SC_MODE_3_cic1				3
		SC_MODE_4s_rx_farrow_1core		4
		SC_MODE_4m_rx_farrow			5
		SC_MODE_5_iq_comp			6
		SC_MODE_6_dc_filt			7
		SC_MODE_7_rx_filt			8
		SC_MODE_8_rssi				9
		SC_MODE_9_rssi_all			10
		SC_MODE_10_tx_farrow			11
		SC_MODE_11_gpio				12
		SC_MODE_12_gpio_trans			13
		SC_MODE_14_spect_ana			14
		SC_MODE_5s_iq_comp			15
		SC_MODE_6s_dc_filt			16
		SC_MODE_7s_rx_filt			17
		 HTPHY: 0=adc, 1..3=adc+rssi, 4=gpio
		 NPHY: 1=Dual-Core adc[9:2], 2=Core0 adc[9:0], 3=Core1 adc[9:0], gpio=gpio
	-g GPIO mux select (default 0)
		 use only for gpio mode
	-d Downsample enable (default 0)
		 use only for HTPHY
	-e BeDeaf enable (default 0)
	-i Timeout in units of 10us. (ACPHY is in 10ms unit) (default 1000)
Optional parameters (NPHY with NREV < 7) are:
	-f File name to dump the sample buffer (binary format, default "sample_collect.dat")
	-u Sample collect duration in us (default 60)
	-c Cores to do sample collect, only if BW=40MHz (default both)
Optional parameters LCN40PHY are:
	-f File name to dump the sample buffer (default "sample_collect.dat")
	-t Trigger condition (default now)
		 now
	-s Trigger State (default 0)
	-x Module_Sel1 (default 2)
	-y Module_Sel2 (default 6)
	-n Number of samples (Max 2048, default 2048)
For (NREV < 7), the NPHY buffer returned has the format:
	In 20MHz [(uint16)num_bytes, <I(core0), Q(core0), I(core1), Q(core1)>]
	In 40MHz [(uint16)num_bytes(core0), <I(core0), Q(core0)>,
		(uint16)num_bytes(core1), <I(core1), Q(core1)>]

pkteng_start
	start packet engine tx usage: wl pkteng_start <xx:xx:xx:xx:xx:xx> <tx|txwithack> [(async)|sync] [ipg] [len] [nframes] [src]
	start packet engine rx usage: wl pkteng_start <xx:xx:xx:xx:xx:xx> <rx|rxwithack> [(async)|sync] [rxframes] [rxtimeout]
	sync: synchronous mode
	ipg: inter packet gap in us
	len: packet length
	nframes: number of frames; 0 indicates continuous tx test
	src: source mac address
	rxframes: number of receive frames (sync mode only)
	rxtimeout: maximum timout in msec (sync mode only)

pkteng_stop
	stop packet engine; usage: wl pkteng_stop <tx|rx>

pkteng_stats
	packet engine stats; usage: wl pkteng_stats

phy_force_crsmin
	Auto crsmin: 
       phy_force_crsmin -1
Default crsmin value

       phy_force_crsmin 0
Set the crsmin value
       phy_force_crsmin core0_th core1_offset core2_offset

Threshold values = 2.5 x NoisePwr_dBm + intercept
       where
              NoisePwr_dBm ~= -36/-33/-30dBm for 20/40/80MHz, respectively
              Intercept = 132/125/119 for 20/40/80MHz, respectively

radarargs
	Get/Set Radar parameters in 
	order as version, npulses, ncontig, min_pw, max_pw, thresh0, thresh1,
	blank, fmdemodcfg, npulses_lp, min_pw_lp, max_pw_lp,
	min_fm_lp, max_span_lp, min_deltat, max_deltat,
	autocorr, st_level_time, t2_min, fra_pulse_err, npulses_fra,
	npulses_stg2, npulses_stg3, percal_mask, quant, 
	min_burst_intv_lp, max_burst_intv_lp, nskip_rst_lp, max_pw_tol, feature_mask, 
	thresh0_sc, thresh1_sc

radarargs40
	Get/Set Radar parameters for 40Mhz channel in 
	order as version, npulses, ncontig, min_pw, max_pw, thresh0, thresh1,
	thresh0_sc, thresh1_sc, blank, fmdemodcfg, npulses_lp, min_pw_lp, max_pw_lp,
	min_fm_lp, max_span_lp, min_deltat, max_deltat,
	autocorr, st_level_time, t2_min, fra_pulse_err, npulses_fra,
	npulses_stg2, npulses_stg3, percal_mask, quant, 
	min_burst_intv_lp, max_burst_intv_lp, nskip_rst_lp, max_pw_tol, feature_mask,
	thresh0_sc, thresh1_sc

radarthrs
	Set Radar threshold for both 20 & 40MHz & 80MHz BW:
	order as thresh0_20_lo, thresh1_20_lo, thresh0_40_lo, thresh1_40_lo
	thresh0_80_lo, thresh1_80_lo, thresh0_20_hi, thresh1_20_hi
	thresh0_40_hi, thresh1_40_hi, thresh0_80_hi, thresh1_80_hi
	thresh0_160_lo, thresh1_160_lo, thresh0_160_hi, thresh1_160_hi

radarthrs2
	Set Radar threshold for both 20 & 40MHz & 80MHz BW:
	thresh0_sc_20_lo, thresh1_sc_20_lo, thresh0_sc_40_lo, thresh1_sc_40_lo
	thresh0_sc_80_lo, thresh1_sc_80_lo, thresh0_sc_20_hi, thresh1_sc_20_hi
	thresh0_sc_40_hi, thresh1_sc_40_hi, thresh0_sc_80_hi, thresh1_sc_80_hi
	fc_varth_sb, fc_varth_bin5_sb, notradar_enb, max_notradar_lp, max_notradar,
	max_notradar_lp_sc, max_notradar_sc, highpow_war_enb, highpow_sp_ratio

phy_dyn_switch_th
	Set wighting number for dynamic switch:
	rssi_gain_80_3, rssi_gain_80_2, rssi_gain_80_1, rssi_gain_80_0
	rssi_gain_160_3, rssi_gain_160_2, rssi_gain_160_1, rssi_gain_160_0
	rssi_th_2, rssi_th_1, rssi_th_0

patrim	Get PA trim option

wnm	set driver wnm feature mask
	type 'wl msglevel ?' for values

wnm_bsstq
	send 11v BSS transition management query
	Usage: wl wnm_bsstq [ssid]

tclas_add
	add tclas frame classifier type entry
	Usage: wl tclas_add <user priority> <type> <mask> <...>
	type 0 eth2:     <src mac> <dst mac> <ether type>
	type 1/4 ipv4:   <ver> <src> <dst> <s_port> <d_port> <dscp> <prot>
	type 2 802.1Q:   <vlan tag>
	type 3 filter:   <offset> <value> <mask>
	type 4 ipv6:     <ver> <src> <dst> <s_port> <d_port> <dscp> <nxt_hdr> <flw_lbl>
	type 5 802.1D/Q: <802.1Q PCP> <802.1Q CFI> <802.1Q VID>

tclas_del
	delete tclas frame classifier type entry
	Usage: wl tclas_del [<idx> [<len>]]

tclas_list
	list the added tclas frame classifier type entry
	Usage: wl tclas_list

wnm_tfsreq_add
	add one tfs request element and send tfs request frame
	Usage: wl wnm_tfsreq_add <tfs_id> <tfs_action_code> <tfs_subelem_id> <send>
	tfs_id: a non-zero value (1 ~ 255)
	tfs_action_code bitfield: 1: delete after match, 2: notify
	tfs_subelem_id: TFS subelement (0 for none or 1 for previous tclas_add)
	send: 0: store element, 1: send all stored elements

wnm_dms_set
	Optionally add pending DMS desc (after tclas_add) and optionally register all desc
on AP side to enable the service (with send=1)	Usage: wl wnm_dms_set <send> [<user_id> [<tc_pro>]]
		send: 0: store descriptor, 1: send all stored descs/enable DMS on AP
		user_id: new ID to assign to the created desc (if TCLAS added)
		         or existing ID to enable on AP (if no TCLAS added), 0 for all desc
		tc_pro: TCLAS processing element (if several TCLAS added)

wnm_dms_status
	list all DMS descriptors and provide their internal and AP status
	Usage: wl wl_wnm_dms_status

wnm_dms_term
	Disable registered DMS des on AP side and optionally discard them
	Usage: wl wnm_dms_term <del> [<user_id>]
		del: Discard desc after disabling the service on AP side
		user_id: desc to disable/delete, 0 for all desc

wnm_service_term
	Disable service. Check specific wnm_XXX_term for more info
	Usage: wl wnm_service_term <srv> <service realted params>
		srv: 1 for DMS, 2 for FMS, 3 for TFS

wnm_timbc_offset
	get/set TIM broadcast offset by -32768 period > offset(us) > 32768
CAUTION!! Due to resource limitation, one radio can have only one set of TIMBC offset
setting.  MBSS need to share the same setting
	Usage: wl wnm_timbc_offset <offset> [<tsf_present> [<fix_interval> [<rate_ovreride>]]]
		offset: in unit of us.  Transmit TIM frame in specific TBTT transmit time time
		tsf_present: can be omitted.  If set to 1, timestamp field will present in TIM frame.If omitted, default setup to 1
		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
		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

wnm_timbc_set
	Enable/disable TIM Broadcast. Station will send appropriate request if AP suport TIMBC
	Usage: wl wnm_timbc_set <interval> [<flags> [<min_rate> [<max_rate>]]]
		interval: Beacon interval requested for TIM frames, 0 to disable TIM BC
		flags: Bitfield with minimal requirements to keep the service enabled (check doc)
		min_rate: Minimal rate requirement, in Mbps, for TIM high or low rate frames
		max_rate: Maximal rate requirement

wnm_timbc_status
	Retrieve TIM Broadcast configuration set with current AP

wnm_maxidle
	setup WNM BSS Max Idle Period interval and option
	Usage: wl wnm_maxidle <Idle Period> <Option>
	Idle Period: in unit of 1000TU(1.024s)
	Option: protected keep alive required(0 ~ 1)

wnm_bsstrans_query
	send 11v BSS transition management query
	Usage: wl wnm_bsstrans_query [ssid]

wnm_bsstrans_req
	send BSS transition management request frame with BSS termination included bit set
	Usage: wl wnm_bsstrans_req <reqmode> <tbtt> <dur> [unicast]
	reqmode: request mode of BSS transition request
	tbtt: time of BSS to end of life, in unit of TBTT, max to 65535
	dur: time of BSS to keep off, in unit of minute, max to 65535
	unicast: [1|0] unicast or broadcast to notify STA in BSS.  Default in unicast.

wnm_keepalives_max_idle
		Usage: wl wnm_keepalives_max_idle <keepalives_per_bss_max_idle> <mkeepalive_index> [<max_interval>]
set/get the number of keepalives, mkeep-alive index and max_interval configured per BSS-Idle period.

wnm_url	set/get wnm session information url
Usage for set: wl wnm_url length urlstring
Usage for get: wl wnm_url

wnm_bsstrans_roamthrottle
	Get/Set number of roam scans allowed in throttle period
	Usage: wl wnm_bsstrans_roamthrottle [throttle_period] [scans_allowed]

wnm_bsstrans_rssi_rate_map
	Get/Set rssi to rate map
	Usage: wl wnm_bsstrans_rssi_rate_map mode data
	Data is interpeted based on mode
	For mode=0: data = rssi0, rssi1, rssi2.... as per wl_bsstrans_rssi_rate_map_t
	For mode=1: data = phy-type band streams rssi0, rssi1...
		where, phy-type = cck, ofdm, 11n, 11ac
		band = 2g or 5g for ofdm, 11n and 11ac. Only 2g for cck
		streams = Only 1 for cck and ofdm. 1 to 4 for 11n and 11ac
		rssiX = monotonically non-decreasing rssi values for the combination of phy-type,
		band and streams. Max rssi values for 11ac: 10, 11n: 8, ofdm: 8, cck: 4

cac_addts
	add TSPEC, error if STA is not associated or WME is not enabled
	arg: TSPEC parameter input list

cac_delts
	delete TSPEC, error if STA is not associated or WME is not enabled
	arg: TSINFO for the target tspec

cac_delts_ea
	delete TSPEC, error if STA is not associated or WME is not enabled
	arg1: Desired TSINFO for the target tspec
	arg2: Desired MAC address

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

cac_tslist_ea
	Get the list of TSINFO for given STA in driver
	eg. 'wl cac_tslist_ea ea' get a list of TSINFO

cac_tspec
	Get specific TSPEC with matching TSINFO
	eg. 'wl cac_tspec 0xaa 0xbb 0xcc' where 0xaa 0xbb & 0xcc are TSINFO octets

cac_tspec_ea
	Get specific TSPEC for given STA with matching TSINFO
	eg. 'wl cac_tspec 0xaa 0xbb 0xcc xx:xx:xx:xx:xx:xx'
	    where 0xaa 0xbb & 0xcc are TSINFO octets and xx is mac address

rmc_ackmac
	Set/Get ACK required multicast mac address
	usage: wl rmc_ackmac -i [index] -t [multicast mac address]

rmc_ackreq
	Set/Get ACK rmc_mode 0 disable, 1 enable transmitter, 2 enable initiator 
	usage: wl rmc_ackreq [mode]

rmc_txrate
	Set/Get a fixed transmit rate for the reliable multicast:
	valid values for 802.11ac are (6, 9, 12, 18, 24, 36, 48, 54)
	-1 (default) means automatically determine the best rate

rmc_status
	Display reliable multicast client status

rmc_actf_time
	Set/Get mcast action frame tx time period in ms
	usage: wl rmc_actf_time [value]

rmc_ar_timeout
	Set/Get rmc active receiver timeout in ms
	usage: wl rmc_ar_timeout [duration in ms]

rmc_rssi_thresh
	Set/Get minimum rssi needed for a station to be an active receiver
	usage: wl rmc_rssi_thresh [value]

rmc_stats
	Display/Clear reliable multicast client statistical counters
	usage: wl rmc_stats [arg]

rmc_rssi_delta
	Display/Set RSSI delta to switch receive leader
	usage: wl rmc_rssi_delta [arg]

rmc_vsie
	Display/Set vendor specific IE contents
	usage: wl rmc_vsie [OUI] [Data]

rrm	enable or disable RRM feature
	Usage: wl rrm [0/1] to disable/enable RRM feature

rrm_bcn_req
	send 11k beacon measurement request
	Usage: wl rrm_bcn_req [bcn mode] [da] [duration] [random int] [channel] [ssid] [repetitions]

rrm_chload_req
	send 11k channel load measurement request
	Usage: wl rrm_chload_req [regulatory] [da] [duration] [random int] [channel] [repetitions]

rrm_noise_req
	send 11k noise measurement request
	Usage: wl rrm_noise_req [regulatory] [da] [duration] [random int] [channel] [repetitions] 

rrm_frame_req
	send 11k frame measurement request
	Usage: wl rrm_frame_req [regulatory] [da] [duration] [random int] [channel] [ta] [repetitions]

rrm_stat_req
	send 11k stat measurement request
	Usage: wl rrm_stat_req [da] [random int] [duration] [peer] [group id] [repetitions]

rrm_stat_rpt
	Read 11k stat measurement report from STA
	Usage: wl rrm_stat_rpt [mac]

rrm_lm_req
	send 11k link measurement request
	Usage: wl rrm_lm_req [da]

rrm_nbr_req
	send 11k neighbor report measurement request
	Usage: wl rrm_nbr_req [ssid]

rrm_nbr_list
	get 11k neighbor report list
	Usage: wl rrm_nbr_list

rrm_nbr_del_nbr
	delete node from 11k neighbor report list
	Usage: wl rrm_nbr_del_nbr [bssid]

rrm_nbr_add_nbr
	add node to 11k neighbor report list
	Usage: wl rrm_nbr_add_nbr [bssid] [bssid info] [regulatory] [channel] [phytype]

rrm_txstrm_req
	Send 802.11k Transmit Stream/Category measurement request frame
	Usage: wl rrm_txstrm_req [da] [random int] [duration] [repetitions] [peer mac] [tid] [bin0_range]

rrm_lci_req
	Send 802.11k Location Configuration Information (LCI) request frame
	Usage: wl rrm_lci_req [da] [repetitions] [locaton sbj] [latitude resln] [longitude resln] [altitude resln]

rrm_civic_req
	Send 802.11k Location Civic request frame
	Usage: wl rrm_civic_req [da] [repetitions] [locaton sbj] [location type] [siu] [si]

rrm_locid_req
	Send 802.11k Location Identifier request frame
	Usage: wl rrm_locid_req [da] [repetitions] [locaton sbj] [siu] [si]

rrm_config
	Configure information (LCI/Civic location) for self
	Usage: wl rrm_config lci [lci_location]
	Usage: wl rrm_config civic [civic_location]
	Usage: wl rrm_config locid [location_identifier]

ns_hostip
	Add a ns-ip address or display then

ns_hostip_clear
	Clear all ns-ip addresses

wowl	Enable/disable WOWL events
  0   - Clear all events
Bit 0 - Wakeup on Magic Packet
Bit 1 - Wakeup on NetPattern (use 'wl wowl_pattern' to configure pattern)
Bit 2 - Wakeup on loss-of-link due to Disassociation/Deauth
Bit 3 - Wakeup on retrograde tsf
Bit 4 - Wakeup on loss of beacon (use 'wl wowl_bcn_loss' to configure time)

wowl_bcn_loss
	Set #of seconds of beacon loss for wakeup event

wowl_pattern
	usage: wowl_pattern [ [clr | [[ add | del ] offset mask value ]]]
No options -- lists existing pattern list
add -- Adds the pattern to the list
del -- Removes a pattern from the list
clr -- Clear current list
offset -- Starting offset for the pattern
mask -- Mask to be used for pattern. Bit i of mask => byte i of the pattern
value -- Value of the pattern

wowl_wakeind
	usage: wowl_wakeind [clear]
Shows last system wakeup event indications from PCI and D11 cores
clear - Clear the indications

wowl_status
	usage: wowl_status [clear]
Shows last system wakeup setting

wowl_pkt
	Send a wakeup frame to wakup a sleeping STA in WAKE mode
Usage: wl wowl_pkt <len> <dst ea | bcast | ucast <STA ea>>[ magic [<STA ea>] | net <offset> <pattern> <reason code> ]
e.g. To send bcast magic frame -- wl wowl_pkt 102 bcast magic 00:90:4c:AA:BB:CC
     To send ucast magic frame -- wl wowl_pkt 102 ucast 00:90:4c:aa:bb:cc magic
     To send a frame with L2 unicast - wl wowl_pkt 102 00:90:4c:aa:bb:cc net 0 0x00904caabbcc 0x03
 NOTE: offset for netpattern frame starts from "Dest EA" of ethernet frame.So dest ea will be used only when offset is >= 6
     To send a eapol identity frame with L2 unicast - wl wowl_pkt 102 00:90:4c:aa:bb:cc eapid id-string

wowl_ext_magic
	Set 6-byte extended magic pattern
Usage: wl wowl_ext_magic 0x112233445566

wowl_wakeup_reason
	Returns pattern id and associated wakeup reason

pkt_filter_add
	Install a packet filter.
	Usage: wl pkt_filter_add <id> <polarity> <type> <offset> <bitmask> <pattern>
	id:       Integer. User specified id.
	type:     0 (Pattern matching filter)
	          1 (Magic pattern match (variable offset)
	          2 (Extended pattern list)
	offset:   (type 0): Integer offset in received packet to start matching.
	          (type 1): Integer offset, match here are anywhere later.
	          (type 2): [<base>:]<offset>. Symbolic packet loc plus relative
	                    offset, use wl_pkt_filter_add -l for a <base> list.
	polarity: Set to 1 to negate match result. 0 is default.
	bitmask:  Hex bitmask that indicates which bits of 'pattern' to match.
	          Must be same size as 'pattern'. Bit 0 of bitmask corresponds
	          to bit 0 of pattern, etc.  If bit N of bitmask is 0, then do
	          *not* match bit N of the pattern with the received payload. If
	          bit N of bitmask is 1, then perform match.
	pattern:  Hex pattern to match.  Must be same size as <bitmask>.
	          Syntax: same as bitmask, but for type 2 (pattern list), a '!'
	          may be used to negate that pattern match (e.g. !0xff03).
	For type 2: [<base>:]<offset> <bitmask> [!]<pattern> triple may be
	repeated; all sub-patterns must match for the filter to match.

pkt_filter_clear_stats
	Clear packet filter statistic counter values.
	Usage: wl pkt_filter_clear_stats <id>

pkt_filter_enable
	Enable/disable a packet filter.
	Usage: wl pkt_filter_enable <id> <0|1>

pkt_filter_list
	List installed packet filters.
	Usage: wl pkt_filter_list [val]
	val: 0 (disabled filters) 1 (enabled filters)

pkt_filter_mode
	Set packet filter match action.
	Usage: wl pkt_filter_mode <value>
	value: 1 - Forward packet on match, discard on non-match (default).
	       0 - Discard packet on match, forward on non-match.

pkt_filter_delete
	Uninstall a packet filter.
	Usage: wl pkt_filter_delete <id>

pkt_filter_stats
	Retrieve packet filter statistic counter values.
	Usage: wl pkt_filter_stats <id>

pkt_filter_ports
	Set up additional port filters for TCP and UDP packets.
	Usage: wl pkt_filter_ports [<port-number>] ...
	       wl pkt_filter_ports none (to clear/disable)

mfp_config
	Config PMF capability
	usage: wl mfp 0/disable, 1/capable, 2/requred

mfp_sha256
	Config SHA256 capability
	usage: wl sha256 0/disable, 1/enable

mfp_sa_query
	Send a sa query req/resp to a peer
	usage: wl mfp_sa_query flag action id

mfp_disassoc
	send bogus disassoc
	Usage: wl mfp_disassoc

mfp_deauth
	send bogus deauth
	Usage: wl mfp_dedauth

mfp_assoc
	send assoc
	Usage: wl mfp_assoc

mfp_auth
	send auth
	Usage: wl mfp_auth

mfp_reassoc
	send reassoc
	Usage: wl mfp_reassoc

ota_teststop
		Usage: ota_teststop

ota_loadtest
		Usage: ota_loadtest [filename] 
		picks up ota_test.txt if file is not given

ota_stream
		Usage: wl ota_stream start   : to start the test
	wl ota_stream ota_sync 
	wl ota_stream test_setup synchtimeoout(seconds) synchbreak/loop synchmac txmac rxmac 
	wl ota_stream ota_tx chan bandwidth contrlchan rates stf txant rxant tx_ifs tx_lennum_pkt pwrctrl start:delta:end 
	wl ota_stream ota_rx chan bandwidth contrlchan -1 stf txant rxant tx_ifstx_len num_pkt 
	wl ota_stream stop   : to stop the test

ota_teststatus
		Usage: otatest_status		Displays current running test details	otatest_status n			displays test arguments for nth line

bssload_static
	get or set static BSS load
	usage: wl bssload_static [off | <sta_count> <chan_util> <acc>]

curppr	Return current tx power per rate offset.

txcore	Usage: wl txcore -k <CCK core mask> -o <OFDM core mask> -s <1..4> -c <core bitmap>
	-k CCK core mask
	-o OFDM core mask
	-s # of space-time-streams
	-c active core (bitmask) to be used when transmitting frames

txcore_override
	Usage: wl txcore_override
	get the user override of txcore

txchain_pwr_offset
	Usage: wl txchain_pwr_offset [qdBm offsets]
	Get/Set the current offsets for each core in qdBm (quarter dBm)

mimo_ss_stf
	get/set SS STF mode.
	Usage: wl mimo_ss_stf <value> <-b a | b>
	value: 0 - SISO; 1 - CDD
	-b(band): a - 5G; b - 2.4G

spatial_policy
	set/get spatial_policy
	Usage: wl spatial_policy <-1: auto / 0: turn off / 1: turn on>
	       to control individual band/sub-band use
	       wl spatial_policy a b c d e
	       where a is 2.4G band setting
	       where b is 5G lower band setting
	       where c is 5G middle band setting
	       where d is 5G high band setting
	       where e is 5G upper band setting

ratetbl_ppr
	Usage: For get: wl ratetbl_ppr
	     For set: wl ratetbl_ppr <rate> <ppr>

ol_stats
	Give suboption "list" to list various suboptions

ol_eventlog
	Give suboption "list" to list various suboptions

ol_cons	Display the ARM console or issue a command to the ARM console
  Usage: ol_cons [<cmd>]
	"?" - Display the list of active console commands

ol_wowl_cons
	Give suboption "list" to list various suboptions

ol_clr	Give suboption "list" to list various suboptions

ol_notify_bcn_ie
	Enable/Disable IE ID notification

ol_arp_hostip
	Add a host-ip address or display them

ol_nd_hostip
	Add a local host-ipv6 address or display them

tpc_mode
	Enable/disable AP TPC.
Usage: wl tpc_mode <mode> 
	0 - disable, 1 - BSS power control, 2 - AP power control, 3 - Both (1) and (2)

tpc_period
	Set AP TPC periodicity in secs.
Usage: wl tpc_period <secs> 

tpc_lm	Get current link margins.

toe_ol	Get/Set tcpip offload components

toe_stats
	Display checksum offload statistics

toe_stats_clear
	Clear checksum offload statistics

arp_ol	Get/Set arp offload components

arp_peerage
	Get/Set age of the arp entry in minutes

arp_table_clear
	Clear arp cache

arp_hostip
	Add a host-ip address or display them

arp_hostip_clear
	Clear all host-ip addresses

arp_stats
	Display ARP offload statistics

arp_stats_clear
	Clear ARP offload statistics

mkeep_alive
	Send specified "mkeep-alive" packet periodically.
	Usage: wl mkeep_alive <index0-3> <period> <packet>
		index: 0 - 3.
		period: Re-transmission period in milli-seconds. 0 to disable packet transmits.
		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.

	e.g. Send keep alive packet every 30 seconds using id-1:
	wl mkeep_alive 1 30000 0x0014a54b164f000f66f45b7e08004500001e000040004011c52a0a8830700a88302513c413c4000a00000a0d

keep_alive
	Send specified "keep-alive" packet periodically.
	Usage: wl keep_alive <period> <packet>
		period: Re-transmission period in milli-seconds. 0 to disable packet transmits.
		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.

	e.g. Send keep alive packet every 30 seconds:
	wl keep_alive 30000 0x0014a54b164f000f66f45b7e08004500001e000040004011c52a0a8830700a88302513c413c4000a00000a0d

ap	Set AP mode: 0 (STA) or 1 (AP)

tkip_countermeasures
	Enable or disable TKIP countermeasures (TKIP-enabled AP only)
	0 - disable
	1 - enable

shortslot_restrict
	Get/Set AP Restriction on associations for 11g Short Slot Timing capable STAs.
	0 - Do not restrict association based on ShortSlot capability
	1 - Restrict association to STAs with ShortSlot capability

ignore_bcns
	AP only (G mode): Check for beacons without NONERP element(0=Examine beacons, 1=Ignore beacons)

scb_timeout
	AP only: inactivity timeout value for authenticated stas

assoclist
	AP only: Get the list of associated MAC addresses.

radar	Enable/Disable radar. One-shot Radar simulation with optional sub-band

authe_sta_list
	Get authenticated sta mac address list

autho_sta_list
	Get authorized sta mac address list

beacon_info
	Returns the 802.11 management frame beacon information
Usage: wl beacon_info [-f file] [-r]
	-f Write beacon data to file
	-r Raw hex dump of beacon data

probe_resp_info
	Returns the 802.11 management frame probe response information
Usage: wl probe_resp_info [-f file] [-r]
	-f Write probe response data to file
	-r Raw hex dump of probe response data

bss	set/get BSS enabled status: up/down

closednet
	set/get BSS closed network attribute

ap_isolate
	set/get AP isolation

mode_reqd
	Set/Get operational capabilities required for STA to associate to the BSS supported by the interface.
	Usage: wl [-i ifname] mode_reqd [value]
	       wl mode_reqd [-C bss_idx ] [value]
		     <ifname> is the name of the interface corresponding to the BSS.
			   If the <ifname> is not given, the primary BSS is assumed.
		     <bss_idx> is the the BSS configuration index.
			   If the <bss_idx> is not given, configuraion #0 is assumed
		     <value> is the numeric values in the range [0..3]
		     0 - no requirements on joining devices.
		     1 - devices must advertise ERP (11g) capabilities to be allowed to associate
			   to a 2.4 GHz BSS.
		     2 - devices must advertise HT (11n) capabilities to be allowed to associate
			   to a BSS.
		     3 - devices must advertise VHT (11ac) capabilities to be allowed to associate
			   to a BSS.
	The command returns an error if the BSS interface is up.
	This configuration can only be changed while the BSS interface is down.
	Note that support for HT implies support for ERP,
	and support for VHT implies support for HT.

ampdu_tid
	enable/disable per-tid ampdu; usage: wl ampdu_tid <tid> [0/1]

ampdu_txaggr
	enable/disable tx aggregation per tid or all tid for specific interface;
	get current status: wl ampdu_txaggr
	enable/disable all category(tid): wl ampdu_txaggr <0/1>
	enable/disable per category(tid): wl ampdu_txaggr [<tid> <0/1>]

ampdu_rxaggr
	enable/disable rx aggregation per tid or all tid for specific interface;
	get current status: wl ampdu_rxaggr
	enable/disable all category(tid): wl ampdu_rxaggr <0/1>
	enable/disable per category(tid): wl ampdu_rxaggr [<tid> <0/1>]

ampdu_retry_limit_tid
	Set per-tid ampdu retry limit; usage: wl ampdu_retry_limit_tid <tid> [0~31]

ampdu_rr_retry_limit_tid
	Set per-tid ampdu regular rate retry limit; usage: wl ampdu_rr_retry_limit_tid <tid> [0~31]

ampdu_send_addba
	send addba to specified ea-tid; usage: wl ampdu_send_addba <tid> <ea>

ampdu_send_delba
	send delba to specified ea-tid; usage: wl ampdu_send_delba <tid> <ea> [initiator]

ampdu_txq_prof_start
	start sample txq profiling data

ampdu_txq_prof_dump
	show txq histogram

ampdu_txq_ss
	take txq snapshot

ampdu_activate_test
	actiate

ampdu_clear_dump
	clear ampdu counters

srcrc	Get the CRC for input binary file

cis_source
	Display which source is used for the SDIO CIS

nvram_source
	Display which source is used for nvram

customvar1
	print the value of customvar1 in hex format

gpioout	Set any GPIO pins to any value. Use with caution as GPIOs would be assigned to chipcommon
	Usage: gpiomask gpioval

devpath	print device path

otpraw	Read/Write raw data to on-chip otp
Usage: wl otpraw <offset> <bits> [<data>]

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

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

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

otpdump	Dump raw otp

otpstat	Dump OTP status

bw_cap	Get/set the per-band bandwidth.
Usage: wl bw_cap <2g|5g> [<cap>]
	2g|5g - Band: 2.4GHz or 5GHz respectively
cap:
	0x1 - 20MHz
	0x3 - 20/40MHz
	0x7 - 20/40/80MHz
	0xff - Unrestricted

cur_mcsset
	Get the current mcs set

mimo_ps	get/set mimo power save mode, (0=Dont send MIMO, 1=proceed MIMO with RTS, 2=N/A, 3=No restriction)

ofdm_txbw
	get/set ofdm txbw (2=20Mhz(lower), 3=20Mhz upper, 4(not allowed), 5=40Mhz dup)

cck_txbw
	get/set cck txbw (2=20Mhz(lower), 3=20Mhz upper)

frameburst
	Disable/Enable frameburst mode

nrate	"auto" to clear a rate override, or:
-r legacy rate (CCK, OFDM)
-m HT MCS index
-s stf mode (0=SISO,1=CDD,2=STBC,3=SDM)
-w Override MCS only to support STA's with/without STBC capability

mimo_txbw
	get/set mimo txbw (2=20Mhz(lower), 3=20Mhz upper, 4=40Mhz, 4=40Mhz(DUP)
	6=80Mhz(20LL), 7=80Mhz(20LU), 8=80Mhz(20UL), 9=80Mhz(20UU)
	10=80Mhz(40L), 11=80Mhz(40U), 12=80Mhz)

txmcsset
	get Transmit MCS rateset for 11N device

rxmcsset
	get Receive MCS rateset for 11N device

wds	Set or get the list of WDS member MAC addresses.
	Set using a space separated list of MAC addresses.
	wl wds xx:xx:xx:xx:xx:xx [xx:xx:xx:xx:xx:xx ...]

lazywds	Set or get "lazy" WDS mode (dynamically grant WDS membership to anyone).

wds_remote_mac
	Get WDS link remote endpoint's MAC address

wds_wpa_role_old
	Get WDS link local endpoint's WPA role (old)

wds_wpa_role
	Get/Set WDS link local endpoint's WPA role

wds_type
	Indicate whether the interface to which this IOVAR is sent is of WDS or DWDS type.

	Usage: wl wds_type -i <ifname>
	ifname is the name of the interface to query the type.
	Return values:
		0:The interface type is neither WDS nor DWDS.
		1:The interface is WDS type.
		2:The interface is DWDS type.


wepstatus
	Set or Get WEP status
	wepstatus [on|off]

primary_key
	Set or get index of primary key

addwep	Set an encryption key.  The key must be 5, 13 or 16 bytes long, or
	10, 26, 32, or 64 hex digits long.  The encryption algorithm is
	automatically selected based on the key size. keytype is accepted
	only when key length is 16 bytes/32 hex digits and specifies
	whether AES-OCB or AES-CCM encryption is used. Default is ccm.
	WAPI is selected if key len is 32 and arguments contain wapi.
	addwep <keyindex> <keydata> [ocb | ccm | wapi] [notx] [xx:xx:xx:xx:xx:xx]

rmwep	Remove the encryption key at the specified key index.

keys	Prints a list of the current WEP keys

tsc	Print Tx Sequence Couter for key at specified key index.

wsec_test
	Generate wsec errors
	wsec_test <test_type> <keyindex|xx:xx:xx:xx:xx:xx>
	type 'wl wsec_test ?' for test_types

scancache_clear
	clear the scan cache

passive	Puts scan engine into passive mode

scansuppress
	Suppress all scans for testing.
	0 - allow scans
	1 - suppress scans

scan_channel_time
	Get/Set scan channel time

scan_unassoc_time
	Get/Set unassociated scan channel dwell time

scan_home_time
	Get/Set scan home channel dwell time

scan_passive_time
	Get/Set passive scan channel dwell time

scan_nprobes
	Get/Set scan parameter for number of probes to use per channel scanned

scan_ps	Get/Set scan power optimization enable/disable

scanmac	Configure scan MAC using subcommands:
	scanmac enable <0|1>
	scanmac bsscfg
	scanmac config <mac> <random_mask> <scan_bitmap>


obss_scan_params
	set/get Overlapping BSS scan parameters
Usage: wl obss_scan a b c d e ...; where
	a-Passive Dwell, {5-1000TU}, default = 100
	b-Active Dwell, {10-1000TU}, default = 20
	c-Width Trigger Scan Interval, {10-900sec}, default = 300
	d-Passive Total per Channel, {200-10000TU}, default = 200
	e-Active Total per Channel, {20-1000TU}, default = 20
	f-Channel Transition Delay Factor, {5-100}, default = 5
	g-Activity Threshold, {0-100%}, default = 25

obss_coex_action
	send OBSS 20/40 Coexistence Mangement Action Frame
	Usage: wl obss_coex_action -i <1/0> -w <1/0> -c <channel list>
	 -i: 40MHz intolerate bit; -w: 20MHz width Req bit;
	 -c: channel list, 1 - 14
	 At least one option must be provided

obss_prot
	Get/set OBSS protection (-1=auto, 0=disable, 1=enable)


dyn_bwsw_params
	Configure the params for dynamic bandswitch
	Usage (Get): wl dyn_bwsw_params 
	Usage (Set): wl dyn_bwsw_params actvcfm=0x03 noactcfm=0x06
			noactincr=0x05 psense=2000
			rxcrsthresh=0x20 secdurlim=30 
	 To reset to default value give val 0
	 Example : wl dyn_bwsw_params rxcrsthresh=0


rssi_event
	Set parameters associated with RSSI event notification
	usage: wl rssi_event <rate_limit> <rssi_levels>
	rate_limit: Number of events posted to application will be limited to 1 per this rate limit. Set to 0 to disable rate limit.
	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.

chq_event
	Set parameters associated with channel quality  event notification
	usage: wl chq_event <rate_limit> <cca_levels> <nf_levels> <nf_lte_levels>
	rate_limit: Number of events posted to application will be limited to 1 per this rate limit. Set to 0 to disable rate limit.
	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.

chanim_state
	get channel interference state
	Usage: wl chanim_state channel
	Valid channels: 1 - 14
	returns: 0 - Acceptable; 1 - Severe

chanim_mode
	get/set channel interference measure (chanim) mode
	Usage: wl chanim_mode <value>
	value: 0 - disabled; 1 - detection only; 2 - detection and avoidance

chanim_acs_record
	get the auto channel scan record. 
	 Usage: wl acs_record

chanim_stats
	get chanim stats 
	 Usage: wl chanim_stats

monitor_lq
	Start/Stop monitoring link quality metrics - RSSI and SNR
	Usage: wl monitor_lq <0: turn off / 1: turn on

monitor_lq_status
	Returns averaged link quality metrics - RSSI and SNR values

seq_start
	Initiates command batching sequence. Subsequent IOCTLs will be queued until
seq_stop is received.

seq_stop
	Defines the end of command batching sequence. Queued IOCTLs will be executed.

seq_delay
	Driver should spin for the indicated amount of time.
It is only valid within the context of batched commands.

seq_error_index
	Used to retrieve the index (starting at 1) of the command that failed within a batch

btc_params
	g/set BT Coex parameters

btc_flags
	g/set BT Coex flags

ledbh	set/get led behavior
	Usage: wl ledbh [0-3] [0-15]

led_blink_sync
	set/get led_blink_sync
	Usage: wl led_blink_sync [0-3] [0/1]

itfr_get_stats
	get interference source information

itfr_enab
	get/set STA interference detection mode(STA only)
	 0  - disable
	 1  - enable maual detection
	 2  - enable auto detection

itfr_detect
	issue an interference detection request

wci2_config
	Get/Set LTE coex MWS signaling config
	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>

mws_params
	Get/Set LTE coex MWS channel params
	Usage: wl mws_params <rx_center_freq> <tx_center_freq> <rx_channel_bw> <tx_channel_bw> <channel_en> <channel_type>

mws_debug_msg
	Get/Set LTE coex BT-SIG message
	Usage: wl mws_debug_msg <Message> <Interval 20us-32000us> <Repeats>

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-04-18 19:26 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlink to cmd wl 1 7.20 - 7.90 Alias for wlctl. Broadcom
Symlinked by cmd wl 2 6.54 - 7.17 Alias for wlctl. Broadcom
Depends on lib libc.so 2 6.54 - 7.17 Standard C library Linux
Depends on lib libgcc_s.so 2 6.54 - 7.17 GCC low-level runtime library Linux
Depends on lib libwlctl.so 2 6.54 - 7.17 Access and control Broadcom wireless hardware. Broadcom
5 dependencies for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-04-19 05:14 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom) label in the Model column shows which CPU is meant for models with multiple Linux instances.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.

Model Firmware Path Size
FRITZ!Box 7530 AX 7.20 - 7.90 /bin Link
FRITZ!Box 7581 6.54 - 7.16 /bin 2.5k - 3.2k
FRITZ!Box 7582 6.83 - 7.17 /bin 2.5k - 3.2k
3 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-04-18 19:26 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.