Sha256: 2c3d16b3b33f70f316342bf841d9aa61d6e972bc9c6a5e1b5d3cf579ec271e3f

Contents?: true

Size: 972 Bytes

Versions: 5

Compression:

Stored size: 972 Bytes

Contents

# coding: utf-8
# This file is part of PacketGen
# See https://github.com/sdaubert/packetgen for more informations
# Copyright (C) 2016 Sylvain Daubert <sylvain.daubert@laposte.net>
# This program is published under MIT license.

module PacketGen
  module Header
    class Dot11

      # IEEE 802.11 information element
      #
      # An {Element} is a piece of data contained in a Dot11 management frame.
      # @author Sylvain Daubert
      class Element < Types::TLV
        # Known element types
        TYPES = {
          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
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
packetgen-2.4.0 lib/packetgen/header/dot11/element.rb
packetgen-2.3.0 lib/packetgen/header/dot11/element.rb
packetgen-2.2.0 lib/packetgen/header/dot11/element.rb
packetgen-2.1.4 lib/packetgen/header/dot11/element.rb
packetgen-2.1.3 lib/packetgen/header/dot11/element.rb