Associating STAs to APs

Asked by Nikola on 2009-02-05

Hi!

I have a small question regarding a particular scenario I would like to build.

It is the following.
I would like to have 2 AP and e.g. 5 STA and I would like to have 2 of these STA connected to AP1 and the other 3 STA connected to AP2.

How could I do this?

Thanks in advance for your answers!

Best regards from Bremen,
Nikola

Question information

Language:
English Edit question
Status:
Solved
For:
openWNS WiFiMAC Edit question
Assignee:
No assignee Edit question
Solved by:
Sebastian Max
Solved:
2009-03-26
Last query:
2009-03-26
Last reply:
2009-03-21
Sebastian Max (smx-comnets) said : #1

Hi Nikola,

Association of STAs to APs works in the WiFiMAC similar to real-life :-)

Each STA scans the available channels for beacons and stores the AP address of every received beacon, together with the reception power. After the scanning duration, it selects the AP with the highest received power, and associates to it.

The FU that implements this behavior can be found in modules/dll/wifimac/src/management/Beacon.[h|c]pp.
The python class for the configuration is in modules/dll/wifimac/PyConfig/wifimac/management/Beacon.py

Possible parameters for the STAs are
* scanDuration and
* scanFrequencies

Hence, for your scenario, there are different possible ways to reach the configuration you asked for
(a) set the APs to different frequencies and limit the scanFrequencies parameter of the STAs
(b) place the STAs that should associate to a AP close to this AP.

BR from Aachen,
Sebastian

Best Sebastian Max (smx-comnets) said : #2

Hi Nikola,

With revision 22 (see http://bazaar.launchpad.net/~comnets/openwns-wifimac/wifimac--main--1.0/revision/22 for details), you can now set a BSS-ID in the
 - AP configuration: this is included in every beacons
 - STA configuration: STAs only associate to APs with that ID.
The configuration parameter is "layer2.beacon.bssId". That should help to have a more flexible way of associating STAs to APs other than the signal strength.

BR,
Sebastian

Hi Nikola,

did this solve your question? If yes, could you please indicate this by changing the status to "Solved"?

Regards,
  Daniel

Nikola (nkz) said : #4

Thanks Sebastian Max, that solved my question.