Change TDLS run-time enable/disable scheme

Introduce new TDLS mode NOT_ENABLED to completely disable TDLS
implicit trigger and not respond to incoming TDLS request.
Add checking the valid range of each parameter at iwpriv
setTdlsConfig.
Do not deallocate hddTdlsCtx as it cause run-time crash.
Set peer TDLS capability when SETUP/DIS response is sent to peer.
Introduce tdls_set_mode API to handle changing tdls_mode in
run-time.

Change-Id: I18a7d0030067222bd24289daa2d0fa23ef8abbc1
CRs-Fixed: 459176,459169,459177
5 files changed
tree: 5f9679efaf5cd69d1e6093d98f6fe181c1759353
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig