Revert "prima: Fix building without debug"

This reverts commit 66fc7ba9329d4ebcef9ac05bb0c47b8555d969fb.
prima: release v3.2.3.2

This drop includes the gCfgEntry cherry-pick

	git://codeaurora.org/external/wlan/prima.git

	069ea26 prima: check for gCfgEntry being NULL
	893da90 wlan : Revision 3.2.3.2
	680abeb wlan: Enable TDLS for the drivers build as part of the kernel
	dd16d53 wlan: update sched_scan_results after cfg80211 resumed
	f6999ad wlan: Return success while stoping sched scan.
	969abac wlan: wiphy->bands[] can be null.
	e688ce3 wlan: GO should not follow STA channel if channel is passive.
	ae2bb79 wlan:Block WiFi Direct GO mode on UNII-1 Band.
	ab378f7 wlan: set appropriate flags for wiphy device based on current regdomain
	2692073 wlan: Revision 3.2.3.1
	f464d79 wlan: Update value of WLAN_HAL_PNO_MAX_NETW_CHANNELS
	fb72387 wlan: Update SME scan cache with PNO candidate information.
	da3fd7c wlan: Update definition of tPrefNetwFoundParams.
	571c5e9 Porting prima source from 2.6
	4990d1c Wlan: Release 3.2.2.17B
	d6b217f wlan: DTIM3 changed to DTIM1 after roaming
	f83a6cd Wlan: Release 3.2.2.17A
	2f45a43 Fix for "crash in pMac->cfg.gCfgEntry"
	c8faf30 wlan: Change regulatory followed customer request
	82e75bf wlan: Add msecs_to_jiffies() to wake lock argument
	f1bb518 Revert "wlan: Release 3.2.2.18"
	a65fc60 Revert "wlan: Set the country code in cfg before creating channel list."
	d235ff4 Revert "wlan: Release 3.2.2.19"
	2742bc2 Revert "wlan: Decrease SAP timeout from 100 to 10 seconds"
	768b6f5 Revert "wlan: Change RX wakelock to 50 milliseconds"
	4edbdc7 Revert "wlan: Fix for spectrum management bit in AddBss for SM disabled AP"
	2b46b25 Revert "wlan: Release 3.2.2.20"
	0647d89 wlan: Release 3.2.2.20
	e1c76a3 wlan: Fix for spectrum management bit in AddBss for SM disabled AP
	b8493a3 wlan: Change RX wakelock to 50 milliseconds
	476a501 wlan: Decrease SAP timeout from 100 to 10 seconds
	c883f13 wlan: Release 3.2.2.19
	4dbdab2 wlan: Set the country code in cfg before creating channel list.
	7cabdd8 wlan: Release 3.2.2.18

Signed-off-by: Iliyan Malchev <malchev@google.com>
prima: release v3.2.3.2

	git://codeaurora.org/external/wlan/prima.git

	893da90 wlan : Revision 3.2.3.2
	680abeb wlan: Enable TDLS for the drivers build as part of the kernel
	dd16d53 wlan: update sched_scan_results after cfg80211 resumed
	f6999ad wlan: Return success while stoping sched scan.
	969abac wlan: wiphy->bands[] can be null.
	e688ce3 wlan: GO should not follow STA channel if channel is passive.
	ae2bb79 wlan:Block WiFi Direct GO mode on UNII-1 Band.
	ab378f7 wlan: set appropriate flags for wiphy device based on current regdomain
	2692073 wlan: Revision 3.2.3.1
	f464d79 wlan: Update value of WLAN_HAL_PNO_MAX_NETW_CHANNELS
	fb72387 wlan: Update SME scan cache with PNO candidate information.
	da3fd7c wlan: Update definition of tPrefNetwFoundParams.
	571c5e9 Porting prima source from 2.6

Signed-off-by: Iliyan Malchev <malchev@google.com>
prima: release v3.2.3.5

	git://codeaurora.org/external/wlan/prima.git

	b1d7f6b wlan : Revision 3.2.3.5
	645ec74 wlan: Fix for "crash in pMac->cfg.gCfgEntry"
	2e245b2 wlan: wlan: Change regulatory followed customer request
	8e953f1 wlan: Fix the issue with probe req data rate on 5G channels.
	1ce9188 wlan : Revision 3.2.3.4
	5afb9c9 wlan:Increase CSR_RSN_MAX_AUTH_SUITES to 16
	4be8f6a wlan : Revision 3.2.3.3
	c3fc2f9 wlan: Update value of WLAN_HAL_PNO_MAX_NETW_CHANNELS
	2cdd9a2 wlan: Fix invalid channel issue for p2p due to 11d change
	c44b861 Fix for making TDLS max peer count independent of IBSS
	d745d66 wlan: Fix for the assert in hdd_rx_packet_cbk
	dcc4602 Wlan: Fix for device not entering into BMPS mode
	29796b4 wlan: remove duplicate IF condition variable checks
	a1f061f wlan: Fix for spectrum management bit in AddBss for SM disabled AP
	972c1c0 wlan: DTIM3 changed to DTIM1 after roaming
	6a4d0ed Wlan: Enable/Disable dynamic split scan
	aa35216 wlan: Add more debug log for NS offload feature
	35938f3 wlan: restore filter setting on resume
	ad2ed83 wlan: Enable WLAN_NS_OFFLOAD feature flag in Kbuild
	400721c wlan: Add NSOffload INI Param and issue NSOffload request to FW
	eb137b7 wlan: Host Offload Cleanup
	7229c34 wlan: MC/BC Filter cleanup

Signed-off-by: Iliyan Malchev <malchev@google.com>
prima: release v3.2.3.7

	git://codeaurora.org/external/wlan/prima.git

	7a02fe9 wlan : Revision 3.2.3.7
	96cad22 wlan: Protect cfg APIs during uninitialized access
	fcb685b wlan: Fix for Multicast filtering failure when NSoffload is enabled
	da89705 wlan : Revision 3.2.3.6
	4d61c19 wlan: Passing correct list to cfg before changing country code.

Signed-off-by: Iliyan Malchev <malchev@google.com>
prima: release v3.2.3.9

    git://codeaurora.org/external/wlan/prima.git

    fbf661d wlan : Revision 3.2.3.9
    b523054 wlan:Fix for BD rates in STA mode for probe request
    ecb42c1 wlan : Revision 3.2.3.8
    eb30ddc wlan: Updating country code on best AP in scan list.
    1fc7d21 wlan: Set max_sched_scan_ssids value from 9 to 16
    9b7148d wlan: Increase the SSR timer value

Signed-off-by: Ed Tam <etam@google.com>
prima: release v3.2.3.10

    git://codeaurora.org/external/wlan/prima.git

    3fdda5e wlan : Revision 3.2.3.10
    0e3933e wlan: Align PNO channels buffer size of WDI with MAC.

Signed-off-by: Ed Tam <etam@google.com>
prima: release v3.2.3.11

	git://codeaurora.org/external/wlan/prima.git

	8b40611 wlan: Change wlan driver version 3.2.3.10 to 3.2.3.11
	905ce09 wlan: Do not check for mcbc flag to resume.
	41687f0 wlan: Fix race conditions while configuring mc/bc filter

Signed-off-by: Iliyan Malchev <malchev@google.com>
prima: TDLS : Initiate the TDLS setup only when externally configured.

This is an preliminary release including just the below SHA.  It should be
identical to the next official Prima release.

	b7eef93 TDLS : Initiate the TDLS setup only when externally configured.

Signed-off-by: Iliyan Malchev <malchev@google.com>
prima: release v3.2.3.13

This is the official drop containing the patch to fix TDLS initiation only when
externally configured.

	git://codeaurora.org/external/wlan/prima.git'

	0b344c2 wlan : Revision 3.2.3.13
	7dc90cc TDLS: Enhance TDLS external control operations ( gTDLSExternalControl = 1).
	cebe890 wlan : Revision 3.2.3.12
	7ba7677 [PATCH] TDLS : Initiate the TDLS setup only when externally configured.

Signed-off-by: Iliyan Malchev <malchev@google.com>
wcnss: Avoid preload WCNSS_qcom_wlan_nv.bin timing issue.

Use wcnss_node_write function to load riva firmware & preload nv.bin from
userspace. Don't use wcnss_node_open, because it will triggered by
"chown system system /dev/wcnss" in init.flo.rc

Change-Id: I8aafd9dc57579c19e6580326e51fe1e468c262f9
Signed-off-by: andy2_kuo <andy2_kuo@asus.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
wcnss: Add API to expose the IRIS XO mode set

IRIS XO mode can be configured thru module parameter; and it can also
be auto detected. Add an API to expose the IRIS XO mode set. WLAN driver
can use this API for it's XO specific operation.

Change-Id: If40ae715f5e400e13a6fc9588d2bd144958ee8c2
Signed-off-by: Sameer Thalappil <sameert@codeaurora.org>
Signed-off-by: Iliyan Malchev <malchev@google.com>

Conflicts:
	include/linux/wcnss_wlan.h
cfg80211/nl80211: add API for MAC address ACLs

Add API to enable drivers to implement MAC address based
access control in AP/P2P GO mode. Capable drivers advertise
this capability by setting the maximum number of MAC
addresses in such a list in wiphy->max_acl_mac_addrs.

An initial ACL may be given to the NL80211_CMD_START_AP
command and/or changed later with NL80211_CMD_SET_MAC_ACL.

Black- and whitelists are supported, but not simultaneously.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qca.qualcomm.com>
[rewrite commit log, many cleanups]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Git-commit: 77765eaf5cfb6b8dd98ec8b54b411d74ff6095f1
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
CRs-fixed: 487410
Change-Id: I9593b887941be5efa5e96546ad92cd6c6bf8fb87
[duttus@codeaurora.org: resolved 3.4 backport issues]
Signed-off-by: Sunil Dutt <duttus@codeaurora.org>