reverted to using class variables for emane models due to inheritence from config class
This commit is contained in:
parent
19ccd6a63b
commit
beb5be2ee9
6 changed files with 28 additions and 32 deletions
|
@ -2,11 +2,11 @@
|
|||
ieee80211abg.py: EMANE IEEE 802.11abg model for CORE
|
||||
"""
|
||||
|
||||
from core.emane.emanemodel import EmaneModel
|
||||
from core.emane import emanemodel
|
||||
from core.enumerations import ConfigDataTypes
|
||||
|
||||
|
||||
class EmaneIeee80211abgModel(EmaneModel):
|
||||
class EmaneIeee80211abgModel(emanemodel.EmaneModel):
|
||||
# model name
|
||||
name = "emane_ieee80211abg"
|
||||
library = "ieee80211abgmaclayer"
|
||||
|
@ -45,6 +45,9 @@ class EmaneIeee80211abgModel(EmaneModel):
|
|||
("wmmenable", ConfigDataTypes.BOOL.value, "0", "On,Off", "WiFi Multimedia (WMM)"),
|
||||
]
|
||||
|
||||
config_matrix = _config_mac + emanemodel.EmaneModel._config_phy
|
||||
config_groups = emanemodel.create_config_groups(_config_mac, config_matrix)
|
||||
|
||||
def create_mac_doc(self, emane_manager, values):
|
||||
names = self.getnames()
|
||||
mac_names = names[:len(self._config_mac)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue