WiMAC System Test with OFDMA

Bug #542859 reported by Giovanni Accongiagioco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openWNS SystemTest WiMAC
New
Undecided
Unassigned

Bug Description

I'm trying to use the system test under:

myOpenWNS/tests/system/wimac-tests/configOFDMA

However it seems that there are some errors when trying to launch this test.
I runned the test from inside the folder with the command:

myOpenWNS/sandbox/dbg/bin/openwns -f config.py

wns::pyconfig::Parser says:
Couldn't load config file 'config.py'.
PyConfig says:
Traceback (most recent call last):
  File "config.py", line 24, in <module>
    import Nodes
  File "./Nodes.py", line 10, in <module>
    import Stations
  File "./Stations.py", line 9, in <module>
    import support.FrameSetup as FrameSetup
ImportError: No module named support.FrameSetup

This error and many others seem to be fixable by adding wimac. before every support import statement
in all files listed above (e.g. support.FrameSetup becomes wimac.support.FrameSetup).

Other errors reported with this correction are:

wns::pyconfig::Parser says:
Couldn't load config file 'config.py'.
PyConfig says:
Traceback (most recent call last):
  File "config.py", line 146, in <module>
    bs = Nodes.BaseStation(stationIDs.next(), Config)
  File "./Nodes.py", line 164, in __init__
    noOfAntenna = _config.parametersSystem.numberOfAntennaAPRxTx,
AttributeError: type object 'ParametersSystem' has no attribute 'numberOfAntennaAPRxTx'

This one seems to be a problem with the definitions inside:
myOpenWNS/modules/dll/wimac/PyConfig/wimac/support/WiMACParameters.py
I think it can be fixed by renaming appropriately variables in config.py
(e.g. numberOfAntennaAPRxTx becomes numberOfAntennaRxTx['AP'])

After all the changes above I'm stuck on this error:

openWNS: Caught wns::Exception:

StaticFactory<wimac::FUConfigCreator<wimac::scheduler::Interface, wimac::scheduler::Interface>> says:
You tried to create a 'wimac.frame.SSDLScheduler' instance.
Valid choices are:

  * wimac.scheduler.Scheduler

Revision history for this message
Maciej Muehleisen (mue-comnets) wrote : Re: [openWNS-bugsquad] [Bug 542859] [NEW] WiMAC System Test with OFDMA

Hi,

sorry for the late answer, just came back from vacation. We are
currently working on enabling an example OFDMA configuration and
calibrating it. For now all that you need to do is take the
configBase/config.py and add inside the Config class:

    parametersPhy.subchannels = X

to increase the number of subchannels from 1 to X.

I am not sure if the data rate calculation would still work right then,
this is one of our ToDo's. If we separate the whole bandwidth into X
subchannels, each should only provide 1/X of the data rate. Just check
and see what will happen.

Greats,

Mac

Giovanni Accongiagioco wrote:
> Public bug reported:
>
> I'm trying to use the system test under:
>
> myOpenWNS/tests/system/wimac-tests/configOFDMA
>
> However it seems that there are some errors when trying to launch this test.
> I runned the test from inside the folder with the command:
>
> myOpenWNS/sandbox/dbg/bin/openwns -f config.py
>
> wns::pyconfig::Parser says:
> Couldn't load config file 'config.py'.
> PyConfig says:
> Traceback (most recent call last):
> File "config.py", line 24, in <module>
> import Nodes
> File "./Nodes.py", line 10, in <module>
> import Stations
> File "./Stations.py", line 9, in <module>
> import support.FrameSetup as FrameSetup
> ImportError: No module named support.FrameSetup
>
> This error and many others seem to be fixable by adding wimac. before every support import statement
> in all files listed above (e.g. support.FrameSetup becomes wimac.support.FrameSetup).
>
> Other errors reported with this correction are:
>
> wns::pyconfig::Parser says:
> Couldn't load config file 'config.py'.
> PyConfig says:
> Traceback (most recent call last):
> File "config.py", line 146, in <module>
> bs = Nodes.BaseStation(stationIDs.next(), Config)
> File "./Nodes.py", line 164, in __init__
> noOfAntenna = _config.parametersSystem.numberOfAntennaAPRxTx,
> AttributeError: type object 'ParametersSystem' has no attribute 'numberOfAntennaAPRxTx'
>
> This one seems to be a problem with the definitions inside:
> myOpenWNS/modules/dll/wimac/PyConfig/wimac/support/WiMACParameters.py
> I think it can be fixed by renaming appropriately variables in config.py
> (e.g. numberOfAntennaAPRxTx becomes numberOfAntennaRxTx['AP'])
>
> After all the changes above I'm stuck on this error:
>
> openWNS: Caught wns::Exception:
>
> StaticFactory<wimac::FUConfigCreator<wimac::scheduler::Interface, wimac::scheduler::Interface>> says:
> You tried to create a 'wimac.frame.SSDLScheduler' instance.
> Valid choices are:
>
> * wimac.scheduler.Scheduler
>
> ** Affects: openwns-systemtest-wimac
> Importance: Undecided
> Status: New
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.