On Wed, Feb 06, 2008 at 01:33:31PM -0500, Luis R. Rodriguez wrote: > Yes I see your point, this is definitely an issue, unless of course > the driver/stack is configured to default to use a specific channel by > default. But regardless its a problem. It doesn't really help even if the driver/stack would be configured to default to a specific channel. This has to work with other implementations, too. Hardcoding BSSID based on SSID may be fine for most cases when a new IBSS is created, but still, the implementation will need to allow this to be changed when merging with other parts of the IBSS since those other parts may not implement this type of hack. I'm somewhat concerned about the possibility of getting the same BSSID on different channels, though. Using the same BSSID for different groups is not really a very good solution.. Including the channel number in the hash data would resolve this concern. > Well the idea is that if it misses the timer from the leader it'll try > to create the IBSS but will end up using the same BSSID as the leader > would have, eventually causing a merge amongst the nodes. So you would > not merge unless its with the same BSSID. I'm not completely what the "misses the timer from the leader" is referring to or even what this "leader" would be in context of IBSS. Anyway, the implementation has to merge regardless of what BSSID is used (i.e., SSID match is enough). > I haven't run the test myself but I am informed this hack helps to try > to solve the issue with 400 nodes on IBSS mode. Sure, if you can control all the STAs in the IBSS. That just is not the case in general and Linux wireless stack must not be designed with the view point of all STAs following the exact same rules (unless those rules are based on a required standard behavior).. Taken into account that we should really implement proper IBSS merge to allow interoperation with non-mac80211 implementations, I don't know how much of a benefit this BSSID=hash(SSID,chan) mechanism would really provide. If it can be shown that the IBSS merges in a large network are not stable, this could of course be helpful and I don't think I would object it as long as the BSSID is going to end up being same only on the same channel and the mac80211 implementation allows the BSSID to be changed if a Beacon frame is received with a larger timestamp value than the local TSF timer. -- Jouni Malinen PGP id EFC895FA - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html