In my application i need to create an access point. My Network has the following configurations.

network mode:infrastructure.
security mode: WEP
Authentication type: open
Encryption mode: 64 bits

I m able to create an access point now and it also working fine.

Now my problem is how can get the encryption mode value and create the access point based on that encryption mode, especially if the encryption mode is set to 128 bits.

If any body has a solution please let me know!!!