Bug 605 - Nqsta MAC should ignore beacons SSIDs while waiting for association response
Nqsta MAC should ignore beacons SSIDs while waiting for association response
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: wifi
ns-3-dev
All All
: P5 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-06-23 11:03 UTC by Gustavo J. A. M. Carneiro
Modified: 2009-06-26 06:58 UTC (History)
1 user (show)

See Also:


Attachments
patch (489 bytes, patch)
2009-06-23 11:03 UTC, Gustavo J. A. M. Carneiro
Details | Diff
handle qsta too (2.50 KB, patch)
2009-06-26 06:56 UTC, Mathieu Lacage
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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