Wl
From DD-WRT Wiki
(Difference between revisions)
Revision as of 16:49, 28 August 2005 (edit) Robvan269 (Talk | contribs) ← Previous diff |
Revision as of 16:59, 28 August 2005 (edit) (undo) Robvan269 (Talk | contribs) Next diff → |
||
Line 265: | Line 265: | ||
auto to revert to automatic control | auto to revert to automatic control | ||
- | phyreg | + | ===phyreg=== |
+ | Get/Set a phy register. | ||
- | radioreg | + | ===radioreg=== |
- | + | *Get/Set a radio register. | |
- | shmem | + | ===shmem=== |
+ | *Get/Set a shared memory location. | ||
- | macreg | + | ===macreg=== |
+ | *Get/Set any mac registers(include IHR and SB) | ||
macreg offset size[2,4] [value] | macreg offset size[2,4] [value] | ||
- | antdiv | + | ===antdiv=== |
+ | *Set antenna diversity for rx | ||
0 - force use of antenna 0 | 0 - force use of antenna 0 | ||
1 - force use of antenna 1 | 1 - force use of antenna 1 | ||
3 - automatic selection of antenna diversity | 3 - automatic selection of antenna diversity | ||
- | txant | + | ===txant=== |
+ | *Set the transmit antenna | ||
0 - force use of antenna 0 | 0 - force use of antenna 0 | ||
1 - force use of antenna 1 | 1 - force use of antenna 1 | ||
Line 286: | Line 291: | ||
the most recently received good PLCP header | the most recently received good PLCP header | ||
- | plcphdr Set the plcp header. | + | ===plcphdr=== |
+ | *Set the plcp header. | ||
"long" or "auto" or "debug" | "long" or "auto" or "debug" | ||
- | phytype Get phy type | + | ===phytype=== |
+ | *Get phy type | ||
- | scbdump print driver scb state to stdout | + | ===scbdump=== |
+ | *print driver scb state to stdout | ||
- | ratedump | + | ===ratedump=== |
- | + | *print driver rate selection tunables and | |
per-scb state to stdout, valid scb values are | per-scb state to stdout, valid scb values are | ||
0 through NSCB-1 | 0 through NSCB-1 | ||
- | rateparam | + | ===rateparam=== |
- | + | *set driver rate selection tunables | |
arg 1: tunable id | arg 1: tunable id | ||
arg 2: tunable value | arg 2: tunable value | ||
- | wepstatus | + | ===wepstatus=== |
- | + | *Set or Get WEP status | |
wepstatus [on|off] | wepstatus [on|off] | ||
- | primary_key | + | ===primary_key=== |
- | + | *Set or get index of primary key | |
- | addwep | + | ===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 | 10, 26, 32, or 64 hex digits long. The encryption algorithm is | ||
automatically selected based on the key size. keytype is accepted | automatically selected based on the key size. keytype is accepted | ||
Line 317: | Line 327: | ||
addwep <keyindex> <keydata> [ocb | ccm] [notx] [xx:xx:xx:xx:xx:xx] | addwep <keyindex> <keydata> [ocb | ccm] [notx] [xx:xx:xx:xx:xx:xx] | ||
- | rmwep | + | ===rmwep=== |
+ | *Remove the encryption key at the specified key index. | ||
- | wep | + | ===wep=== |
+ | *Set WEP options. | ||
wl wep [options] | wl wep [options] | ||
[on|enable|1] enable WEP | [on|enable|1] enable WEP | ||
Line 326: | Line 338: | ||
[hw|hardware] perform WEP in hardware | [hw|hardware] perform WEP in hardware | ||
- | tkip | + | ===tkip=== |
+ | *Set TKIP options. | ||
wl tkip [options] | wl tkip [options] | ||
[on|enable|1] enable TKIP | [on|enable|1] enable TKIP | ||
Line 333: | Line 346: | ||
[hw|hardware] perform TKIP in hardware | [hw|hardware] perform TKIP in hardware | ||
- | aes | + | ===aes=== |
+ | *Set AES options. | ||
wl aes [options] | wl aes [options] | ||
[on|enable|1] enable AES | [on|enable|1] enable AES | ||
Line 340: | Line 354: | ||
[hw|hardware] perform AES in hardware | [hw|hardware] perform AES in hardware | ||
- | keys | + | ===keys=== |
+ | *Prints a list of the current WEP keys | ||
- | tsc | + | ===tsc=== |
+ | *Print Tx Sequence Couter for key at specified key index. | ||
- | wsec_test | + | ===wsec_test=== |
- | + | *Generate wsec errors | |
wsec_test <test_type> <keyindex|xx:xx:xx:xx:xx:xx> | wsec_test <test_type> <keyindex|xx:xx:xx:xx:xx:xx> | ||
type 'wl wsec_test ?' for test_types | type 'wl wsec_test ?' for test_types | ||
- | tkip_countermeasures | + | ===tkip_countermeasures=== |
- | + | *Enable or disable TKIP countermeasures (TKIP-enabled AP only) | |
0 - disable | 0 - disable | ||
1 - enable | 1 - enable | ||
- | wsec_restrict | + | ===wsec_restrict=== |
- | + | *Drop unencrypted packets if WSEC is enabled | |
0 - disable | 0 - disable | ||
1 - enable | 1 - enable | ||
- | eap | + | ===eap=== |
+ | *Restrict traffic to 802.1X packets until 802.1X authorization succeeds | ||
0 - disable | 0 - disable | ||
1 - enable | 1 - enable | ||
- | authorize | + | ===authorize=== |
- | + | *Restrict traffic to 802.1X packets until 802.1X authorization succeeds | |
- | deauthorize | + | ===deauthorize=== |
- | + | *Do not restrict traffic to 802.1X packets until 802.1X authorization succeeds | |
- | deauthenticate | + | ===deauthenticate=== |
- | + | *Deauthenticate a STA from the AP with optional reason code (AP ONLY) | |
- | wsec | + | ===wsec=== |
+ | *Wireless security bit vector | ||
1 - WEP enabled | 1 - WEP enabled | ||
2 - TKIP enabled | 2 - TKIP enabled | ||
Line 378: | Line 396: | ||
8 - WSEC in software | 8 - WSEC in software | ||
- | wpa_auth | + | ===wpa_auth=== |
- | + | *WPA authorization mode | |
[none|0] none | [none|0] none | ||
[unspecified|1] WPA 802.1X | [unspecified|1] WPA 802.1X | ||
Line 385: | Line 403: | ||
[disable|255] disable WPA | [disable|255] disable WPA | ||
- | set_pmk Set passphrase for PMK in driver-resident supplicant. | + | ===set_pmk=== |
+ | *Set passphrase for PMK in driver-resident supplicant. | ||
===scan=== | ===scan=== |