/bin/wifi: various Quantenna improvements.

- Support the --encryption flag in AP mode only. In client mode, the
  AP's encryption setting is used.

- Support the --bssid flag.

- Fix 'stopap' and 'stopclient' failure when run before 'startprod'.

- Use 'get_ssid' instead of 'get_bssid'. The latter can sporadically
  return a nonzero result immediately after associating with a wrong
  passphrase.

Change-Id: Ia67ccf68eefe53423e05ac114552aa49cf7af83a
2 files changed