Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Aug 8, 2011
Commits on Aug 7, 2011
  1. Support mode change on some devices

    Some drivers apparently need the device to be up before doing a mode
Commits on Aug 2, 2011
  1. Rename radiotap record field

  2. Create radiotap headers from records

    Convert radiotap records into binary format. Works with records that
    have been returned from header/1. Some changes needed to allow creating
    records by hand (e.g., ensure padding for alignment).
    Futher cleanup: internal functions are not symmetrical, the bitmap
    handling needs to be improved.
Commits on Aug 1, 2011
  1. Clarify guard

    Michael Santos authored
Commits on Jul 31, 2011
  1. README cleanup

    Michael Santos authored
  2. Tag correct results from ioctl

    Michael Santos authored
Commits on Jul 21, 2011
  1. Do not return the interface index

    If it's needed, use packet:ifindex/2.
Commits on Jul 17, 2011
  1. Add function to encoding a complete frame

    Add a function to encode a complete frame. Since the radiotap
    header is a pseudo-header, it's optional to include it.
  2. Remove unkown elements from encoding

    Remove the unknown element types from the management body encoding.
    Most of these elements do not have a specified type (like timestamp)
    and are handled by the calling function.
    The check for a known type is weak: we look for an integer rather than
    a tuple ({unsupported, type}).
  3. Convenience function to restore device mode

    Close can optionally put the interface back into infrasctructure mode
    when the socket is closed.
  4. Veriy monitor mode succeeds

    Crash if putting the interface into monitor mode fails.
Commits on Jul 13, 2011
  1. Include frame body in the record

    Include the frame body in the management frame type record. Support
    converting between the record and binary encoding.
Commits on Jul 12, 2011
  1. Simplify radiotap header

    Include the optional capture fields (and unhandled capture fields)
    in the radiotap header, rather than returning a tuple.
  2. Block ack fields

Commits on Jul 10, 2011
  1. management frame: action

  2. Move monitoring and radiotap in separate modules

    Getting a PF_PACKET socket will now put the interface into monitor mode.
    Add missing radiotap header fields. The fields are the union of fields
    from the NetBSD man page and ieee802_11_radio.h from tcpdump.
  3. radio -> radiotap

  4. Fix copy/paste error

Commits on Jul 9, 2011
  1. Frame control is least significant bit first

    The frame control diagram is least significant bit first. Adjust to
    match on big endian values.
    Fix return values of the control frame subtype: they should all return
    a 2-tuple with a header and an empty binary.
    Add a macro from tcpdump to account for padding. May be useful for the
    32/64-bit padding of the wireless tool structs.
Something went wrong with that request. Please try again.