prima: To enable/disable scan on DFS channels

This fix contains changes to disable/enable scan on DFS channels
based on mode received from ioctl. For mode 0, DFS channels are
removed from channel list. For mode 1, DFS channels are allowed
in channel list with passive scan on DFS channels. For mode 2,
DFS channels are allowed in channel list with active scan on
DFS channels in static or cfg list.

Changes done:
1. Issue disconnect if client connected on DFS channel for mode 0.
2. Abort scan on all interfaces.
3. Conversion of scan from passive to active on DFS channels in
   static or cfg list for mode 2. Static or cfg list is the channel
   list set by ioctl SETROAMSCANCHANNELS.
4. Drop BSSIDs on DFS channels from the scan results for mode 0.
5. Block the existing driver logic of conversion from active to
   passive scan and vice versa once this feature triggers.
6. Send updated channel list to FW.
7. Filter channels based on mode in csrScanCopyRequest
8. Add logic to filter DFS channels in __limProcessSmeScanReq
   if mode is zero.

Change-Id: Ic14f7f0d303314a3ad401208574d446a34e5b945
CRs-Fixed: 810390
14 files changed
tree: 48f848eeb13dbc09b2b5f7d3faeaf3ed6a376726
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile