Class: PacketGen::Header::Dot11::Element

Inherits:
Types::AbstractTLV show all
Defined in:
lib/packetgen/header/dot11/element.rb,
lib/packetgen/header/dot11/element.rb

Overview

IEEE 802.11 information element

An Element is a piece of data contained in a Dot11 management frame.

Since:

Constant Summary collapse

TYPES =

Known element types

Since:

{
  0 => 'SSID',
  1 => 'Rates',
  2 => 'FHset',
  3 => 'DSset',
  4 => 'CFset',
  5 => 'TIM',
  6 => 'IBSSset',
  16 => 'challenge',
  42 => 'ERPinfo',
  46 => 'QoS Cap.',
  47 => 'ERPinfo',
  48 => 'RSNinfo',
  50 => 'ESRates',
  68 => 'reserved',
  221 => 'vendor'
}.freeze

Constants inherited from Types::AbstractTLV

Types::AbstractTLV::FIELD_TYPES

Instance Attribute Summary

Attributes inherited from Types::AbstractTLV

#length, #type, #value

Method Summary

Methods inherited from Types::AbstractTLV

#calc_length, create, define_type_default, define_type_enum, #human_type, #initialize, #read, #to_human

Methods included from Types::Fieldable

#format_inspect, #read, #sz, #to_human, #to_s, #type_name

Methods inherited from Types::Fields

#[], #[]=, #bits_on, define_bit_fields_on, define_field, define_field_after, define_field_before, #fields, fields, inherited, #initialize, #inspect, #offset_of, #optional?, #optional_fields, #present?, #read, remove_bit_fields_on, remove_field, #sz, #to_h, #to_s, update_field

Constructor Details

This class inherits a constructor from PacketGen::Types::AbstractTLV