Bug 605

Summary: Nqsta MAC should ignore beacons SSIDs while waiting for association response
Product: ns-3 Reporter: Gustavo J. A. M. Carneiro <gjcarneiro>
Component: wifiAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: mathieu.lacage
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: patch
handle qsta too

Description Gustavo J. A. M. Carneiro 2009-06-23 11:03:30 UTC
Created attachment 481 [details]
patch

Bug I found in my ns-3.2 tree, race condition problem:
1. STA sends AssocReq

2. STA receives beacon from a different AP from the one it is trying to associate
 2.1 STA calls SetBssid to modify its own bssid to the beacon bssid

3. STA receives AssocResp from the correct AP, but thinks it is associated with the AP that sent the beacon in 2.
Comment 1 Mathieu Lacage 2009-06-26 04:40:43 UTC
so, you have two APs which advertise the same SSID ?
Comment 2 Gustavo J. A. M. Carneiro 2009-06-26 06:38:41 UTC
(In reply to comment #1)
> so, you have two APs which advertise the same SSID ?
> 

Yes.  That is perfectly normal...
Comment 3 Mathieu Lacage 2009-06-26 06:56:05 UTC
Created attachment 489 [details]
handle qsta too
Comment 4 Mathieu Lacage 2009-06-26 06:58:19 UTC
changeset 6ec902d6af68