The docs for the prism2 driver says all you need to know. Yesterday I setup an A1200 with a wireless Netgear card on my encrypted network.
In the User-Startup you have to add a line that specifies which network you are going to access and the encryption code.
It could be like this:
SetPrism2defaults SSID Network Key 1234-abcd-12