MLK-17362-01 Changes for wireless and cfg80211 for v4.9.11 support
authorNakul Kachhwaha <nkachh@codeaurora.org>
Tue, 28 Feb 2017 06:17:01 +0000 (11:47 +0530)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:53:06 +0000 (14:53 -0500)
commit5781fccd28c5330590e1f0bb1c9ec768ace931f5
treeb207ff72af9b19de4401188aacaa4b71f184286a
parentf4511ce81f227ed25a7d644c1b469a745e2c3adc
MLK-17362-01 Changes for wireless and cfg80211 for v4.9.11 support

[Patch] Pulling the following commits and some general changes
from custom v3.10 kernel for supporting qcacld2.0 on kernel v4.9.11.
1. cfg80211: Using new wiphy flag WIPHY_FLAG_DFS_OFFLOAD
When flag WIPHY_FLAG_DFS_OFFLOAD is defined, the driver would handle
all the DFS related operations. Therefore the kernel needs to ignore
the DFS state that it uses to block the userspace calls to the driver
through cfg80211 APIs. Also it should treat the userspace calls to
start radar detection as a no-op.

Please note that changes in util.c is not picked up explicitly.
Kernel v4.9.11 uses wrapper cfg80211_get_chans_dfs_required which takes
care of this change.

Change-Id: I9dd2076945581ca67e54dfc96dd3dbc526c6f0a2
IRs-Fixed: 202686

2. New db.txt from git/sforshee/wireless-regdb.git
CONFIG_CFG80211_INTERNAL_REGDB is enabled in build. This causes
kernel warn messages as db.txt is empty. A new db.txt is added
from:
git://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git

IRs-Fixed: 202686

3. Picked up the declaration and definition of the function
cfg80211_is_gratuitous_arp_unsolicited_na

Change-Id: I1e4083a2327c121073226aa6b75bb6b5b97cec00
CRs-fixed: 1079453

Signed-off-by: Nakul Kachhwaha <nkachh@codeaurora.org>
Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
include/net/cfg80211.h
net/wireless/chan.c
net/wireless/db.txt
net/wireless/reg.c
net/wireless/util.c