prism2ctl v0.01
by h1kari - (c) Dachb0den Labs 2001


prism2ctl is an interface to the prism2 debug kernel mods provided in the
bsd-airtools package. it allows you to set a prism2 card into any of the 14
various debug modes, including monitor mode.

current options for prism2ctl are:

-r: reset device
-i: initialize device
-s: put device into sleep mode or wake it up
  arguments:
    0 - wake
    1 - sleep
-f: switch device to specified frequency channel
  arguments:
    channel number (1-14)
-d: this mode suppresses "post back-off delays" with transmitted frames, should
    provide better throughput
-t: this mode makes the device suppress any errors with transmitted frames
-m: enable monitor mode
-l: enable led test
  arguments:
    1:x - blinks the power led at a rate of x usec on and x usec off
    2:x - blinks the activity led at a rate of x usec on and x usec off
-c: continuously transmits the supplied 16-bit parameter
  arguments:
    16-bit hex pattern
-h: disables the following modes:
  delay suppression
  transmit error suppression
  monitor mode
  continuous transmit
  continuous receive
  set signal state
-e: puts the device into a continuous receive state
-g: sets the signal mask for the device (don't use this unless you know what
    you're doing and have proper documentation)
-a: issues a calenable to the baseband processor
-b: enables or disables automatic level control on transmit frames
  arguments:
    0 - disable
    1 - enable


prism2ctl is provided under a bsd license, full license information can be
found in LICENSE.


bsd-airtools v0.3 - http://www.dachb0den.com - h1kari@dachb0den.com
