WiMAC System Test with OFDMA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS SystemTest WiMAC |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to use the system test under:
myOpenWNS/
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/
wns::pyconfig:
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.
Other errors reported with this correction are:
wns::pyconfig:
Couldn't load config file 'config.py'.
PyConfig says:
Traceback (most recent call last):
File "config.py", line 146, in <module>
bs = Nodes.BaseStati
File "./Nodes.py", line 164, in __init__
noOfAntenna = _config.
AttributeError: type object 'ParametersSystem' has no attribute 'numberOfAntenn
This one seems to be a problem with the definitions inside:
myOpenWNS/
I think it can be fixed by renaming appropriately variables in config.py
(e.g. numberOfAntenna
After all the changes above I'm stuck on this error:
openWNS: Caught wns::Exception:
StaticFactory<
You tried to create a 'wimac.
Valid choices are:
* wimac.scheduler
Hi,
sorry for the late answer, just came back from vacation. We are config. py and add inside the Config class:
currently working on enabling an example OFDMA configuration and
calibrating it. For now all that you need to do is take the
configBase/
parametersP hy.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: tests/system/ wimac-tests/ configOFDMA sandbox/ dbg/bin/ openwns -f config.py :Parser says: FrameSetup) . :Parser says: on(stationIDs. next(), Config) parametersSyste m.numberOfAnten naAPRxTx, aAPRxTx' modules/ dll/wimac/ PyConfig/ wimac/support/ WiMACParameters .py APRxTx becomes numberOfAntenna RxTx['AP' ]) wimac:: FUConfigCreator <wimac: :scheduler: :Interface, wimac:: scheduler: :Interface> > says: frame.SSDLSched uler' instance. .Scheduler systemtest- wimac
> Public bug reported:
>
> I'm trying to use the system test under:
>
> myOpenWNS/
>
> 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/
>
> wns::pyconfig:
> 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.
>
> Other errors reported with this correction are:
>
> wns::pyconfig:
> Couldn't load config file 'config.py'.
> PyConfig says:
> Traceback (most recent call last):
> File "config.py", line 146, in <module>
> bs = Nodes.BaseStati
> File "./Nodes.py", line 164, in __init__
> noOfAntenna = _config.
> AttributeError: type object 'ParametersSystem' has no attribute 'numberOfAntenn
>
> This one seems to be a problem with the definitions inside:
> myOpenWNS/
> I think it can be fixed by renaming appropriately variables in config.py
> (e.g. numberOfAntenna
>
> After all the changes above I'm stuck on this error:
>
> openWNS: Caught wns::Exception:
>
> StaticFactory<
> You tried to create a 'wimac.
> Valid choices are:
>
> * wimac.scheduler
>
> ** Affects: openwns-
> Importance: Undecided
> Status: New
>
>