2017-04-25 16:45:34 +01:00
|
|
|
"""
|
2013-08-29 15:21:13 +01:00
|
|
|
ieee80211abg.py: EMANE IEEE 802.11abg model for CORE
|
2017-04-25 16:45:34 +01:00
|
|
|
"""
|
|
|
|
|
2018-03-30 20:08:33 +01:00
|
|
|
from core.emane import emanemanifest
|
2018-03-29 22:38:32 +01:00
|
|
|
from core.emane import emanemodel
|
2013-08-29 15:21:13 +01:00
|
|
|
|
|
|
|
|
2018-03-29 22:38:32 +01:00
|
|
|
class EmaneIeee80211abgModel(emanemodel.EmaneModel):
|
2013-08-29 15:21:13 +01:00
|
|
|
# model name
|
2017-04-25 16:45:34 +01:00
|
|
|
name = "emane_ieee80211abg"
|
2018-06-11 20:26:12 +01:00
|
|
|
configuration_maps = {}
|
2018-03-29 21:32:06 +01:00
|
|
|
|
|
|
|
# mac configuration
|
2018-03-30 20:08:33 +01:00
|
|
|
mac_library = "ieee80211abgmaclayer"
|
|
|
|
mac_xml = "/usr/share/emane/manifest/ieee80211abgmaclayer.xml"
|
|
|
|
mac_defaults = {
|
|
|
|
"pcrcurveuri": "/usr/share/emane/xml/models/mac/ieee80211abg/ieee80211pcr.xml",
|
|
|
|
}
|
2018-03-30 20:52:10 +01:00
|
|
|
mac_config = emanemanifest.parse(mac_xml, mac_defaults)
|