keystore to binder

Change-Id: Ie2e19863fbb6dd913cdd5786a1bec3507d967914
Save frequency to network config

Also save frequency in wpa_config_write_network().

This is necessary for creating IBSS networks which requires the frequency to be
set.

Change-Id: Ic051d1ca1ce3b1d4bad231d46e86c21e818af5de
Add capability flag for IBSS and get_capabiliy modes

Add a driver capability flag for drivers which support IBSS mode and set it for
nl80211 drivers which have set the NL80211_IFTYPE_ADHOC.

Add a new option "modes" to "get_capability" which will return "AP" and "IBSS"
if the corresponding capability flags are set.

Change-Id: I7991ae49b6ac6bc154d4edb0b01af774f4e8522c