Hi Pavan,
Glad to know that WLAN is working on your set-up.
We have wiki links which will explains the different modes of operations. Below are few links which might be helpful:
For Station mode:
http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_WLAN_Station_demo_NLCP
To connect to external AP in different security modes refer:
http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_NLCP_WLAN_Station_Configuration_Scripts
For AP mode:
http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_WLAN_AP_demo_NLCP
To configure AP in different security modes refer:
http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_NLCP_WLAN_AP_Configuration_Scripts
Regards,
Abhijit