Sha256: 0028281d608715f877c63befc6cb33fa7291a579f1e6a0feea30746d44ac311c

Contents?: true

Size: 1002 Bytes

Versions: 11

Compression:

Stored size: 1002 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.

# frozen_string_literal: true

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

11 entries across 11 versions & 1 rubygems

Version Path
packetgen-3.0.2 lib/packetgen/header/dot11/element.rb
packetgen-3.0.1 lib/packetgen/header/dot11/element.rb
packetgen-3.0.0 lib/packetgen/header/dot11/element.rb
packetgen-2.8.7 lib/packetgen/header/dot11/element.rb
packetgen-2.8.6 lib/packetgen/header/dot11/element.rb
packetgen-2.8.5 lib/packetgen/header/dot11/element.rb
packetgen-2.8.4 lib/packetgen/header/dot11/element.rb
packetgen-2.8.3 lib/packetgen/header/dot11/element.rb
packetgen-2.8.1 lib/packetgen/header/dot11/element.rb
packetgen-2.8.0 lib/packetgen/header/dot11/element.rb
packetgen-2.7.0 lib/packetgen/header/dot11/element.rb