Bug 2848

Summary: Association ID not correctly set upon association
Product: ns-3 Reporter: Rediet <redieteab.orange>
Component: wifiAssignee: sebastien.deronne
Status: RESOLVED FIXED    
Severity: minor CC: ns-bugs
Priority: P3    
Version: ns-3.27   
Hardware: All   
OS: All   
Attachments: Patch without tests (wrt changeset 13245)
patch

Description Rediet 2018-01-11 04:02:17 UTC
Created attachment 2995 [details]
Patch without tests (wrt changeset 13245)

Currently the association ID (AID) returned by the AP is always set to 0. This patch aims at setting the correct AID (in an incremental manner) and maintaining a register of all MAC@-AID pairs within the AP.
Unit-tests will follow.
Comment 1 sebastien.deronne 2018-01-11 04:24:57 UTC
Fixed in PCF repository, I'll push the solution to ns-3-dev.
Comment 2 Rediet 2018-01-11 08:00:07 UTC
OK (it's a good thing that I didn't spend too much time trying to set up the tests then :)).
Would it be possible to make it independent from PCF-related procedures? When moving to HE MU, we will need to have something equivalent to m_cfPollingList in order to get the STA-ID from the MAC@ and inversely.
Comment 3 sebastien.deronne 2018-01-11 08:08:57 UTC
(In reply to Rediet from comment #2)
> OK (it's a good thing that I didn't spend too much time trying to set up the
> tests then :)).
> Would it be possible to make it independent from PCF-related procedures?
> When moving to HE MU, we will need to have something equivalent to
> m_cfPollingList in order to get the STA-ID from the MAC@ and inversely.

Yes I will look at it.
Comment 4 sebastien.deronne 2018-01-11 16:06:42 UTC
I had not seen your patch, I will have a look.
Comment 5 sebastien.deronne 2018-01-11 17:46:33 UTC
Created attachment 2997 [details]
patch

I merged and reworked our both patches. I think it is ready to be pushed.
Comment 6 Rediet 2018-01-12 03:07:22 UTC
OK for me. Thanks for the quick replies.
Comment 7 sebastien.deronne 2018-01-13 06:19:09 UTC
Pushed in changeset 13251:51268ff4614e