Class: Nl::Linux::Nl80211::AttributeSets::WiphyBands

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/nl80211.rb

Defined Under Namespace

Classes: Attribute, Lc, S1ghz, X2ghz, X5ghz, X60ghz, X6ghz

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from AttributeSet

#<<, #[], build_attributes, decode, #encode, #initialize

Constructor Details

This class inherits a constructor from Nl::AttributeSet

Class Method Details

.by_name(name) ⇒ Attribute

Looks up Attribute class by name.

Parameters:

  • name (Symbol)

Returns:



4391
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4391

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



4397
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4397

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#lc ⇒ AttributeSets::BandAttrs

Returns:

See Also:



4384
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4384

def lc; self[:"lc"]&.value; end

#s1ghz ⇒ AttributeSets::BandAttrs

Returns:

See Also:



4380
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4380

def s1ghz; self[:"s1ghz"]&.value; end

#x_2ghz ⇒ AttributeSets::BandAttrs

2.4 GHz ISM band

Returns:

See Also:



4362
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4362

def x_2ghz; self[:"x_2ghz"]&.value; end

#x_5ghz ⇒ AttributeSets::BandAttrs

around 5 GHz band (4.9 - 5.7 GHz)

Returns:

See Also:



4367
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4367

def x_5ghz; self[:"x_5ghz"]&.value; end

#x_60ghz ⇒ AttributeSets::BandAttrs

around 60 GHz band (58.32 - 69.12 GHz)

Returns:

See Also:



4372
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4372

def x_60ghz; self[:"x_60ghz"]&.value; end

#x_6ghz ⇒ AttributeSets::BandAttrs

Returns:

See Also:



4376
# File 'nl-linux/generated/nl/linux/nl80211.rb', line 4376

def x_6ghz; self[:"x_6ghz"]&.value; end