ndiswrapper handles both cases. Basically we have another function that takes ssid and its length (without counting 0). The interface for wirelss-tools function decrements the ssid length and passes that to the other function. -- Giri