android_kernel_xiaomi_sm7250/net/wireless
Wen Gong dc85ba48f3 BACKPORT: UPSTREAM: cfg80211: separate get channel number from ies
Get channel number from ies is a common logic, so separate it to a new
function, which could also be used by lower driver.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Link: https://lore.kernel.org/r/20210930081533.4898-1-wgong@codeaurora.org
Signed-off-by: Johannes Berg <johannes.berg@intel.com>

(cherry picked from commit 97981d89a1d47942a2d7517631d2400b99fe3f93)

Conflicts:
	include/net/cfg80211.h
	net/wireless/scan.c

BUG=b:197916309
TEST=test case success: wifi.RRMBeaconReport

Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Change-Id: I520f77730fcaeb4ab4ddd268ba6376cedaac0365
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3340327
Reviewed-by: Matthew Wang <matthewmwang@chromium.org>
Tested-by: Matthew Wang <matthewmwang@chromium.org>
Commit-Queue: Matthew Wang <matthewmwang@chromium.org>
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2022-11-12 11:20:51 +00:00
..
certs cfg80211: ship certificates as hex files 2017-12-19 09:28:01 +01:00
.gitignore Revert "cfg80211: reg: remove support for built-in regdb" 2019-02-22 10:21:56 +02:00
ap.c cfg80211: call disconnect_wk when AP stops 2019-12-01 09:17:34 +01:00
chan.c cfg80211: treat 6 GHz channels as valid regardless of capability 2020-11-16 22:58:14 -08:00
core.c Merge ASB-2022-06-05_4.19-stable into android12-base 2022-06-07 16:10:29 +05:30
core.h This is the 4.19.194 stable release 2021-06-10 15:08:23 +02:00
db.txt net: wireless: update db.txt for 60GHz band 2019-04-30 14:06:19 +03:00
debugfs.c wifi: cfg80211: debugfs: fix return type in ht40allow_map_read() 2022-09-15 12:17:02 +02:00
debugfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ethtool.c cfg80211: check wiphy driver existence for drvinfo report 2020-03-05 16:42:13 +01:00
genregdb.awk Revert "cfg80211: reg: remove support for built-in regdb" 2019-02-22 10:21:56 +02:00
ibss.c cfg80211: ibss: use 11a mandatory rates for 6GHz band operation 2020-11-16 22:12:50 -08:00
Kconfig Revert "cfg80211: reg: remove support for built-in regdb" 2019-02-22 10:21:56 +02:00
lib80211_crypt_ccmp.c lib80211: ratelimit key index mismatch 2015-12-04 14:43:32 +01:00
lib80211_crypt_tkip.c lib80211: don't use skcipher 2019-01-16 15:43:08 -07:00
lib80211_crypt_wep.c lib80211: don't use skcipher 2019-01-16 15:43:08 -07:00
lib80211.c treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
Makefile Merge tag 'ASB-2021-07-05_4.19-stable' of https://github.com/aosp-mirror/kernel_common into android12-base 2022-02-26 15:32:10 +05:30
mesh.c nl80211: Add SOCKET_OWNER support to JOIN_MESH 2018-03-29 10:38:24 +02:00
mlme.c cfg80211: fix CAC_STARTED event handling 2018-03-29 10:21:16 +02:00
nl80211.c Merge remote-tracking branch 'aosp/android-4.19-stable' into android12-base 2022-06-30 15:31:02 +05:30
nl80211.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-11-04 09:26:51 +09:00
ocb.c cfg80211: ocb: Fix null pointer deref if join_ocb is unimplemented 2015-12-04 14:43:32 +01:00
of.c cfg80211: support ieee80211-freq-limit DT property 2017-01-06 14:01:13 +01:00
radiotap.c cfg80211: add radiotap VHT info to rtap_namespace_sizes 2016-02-24 09:04:41 +01:00
rdev-ops.h Merge android-4.19.110 (1984fff) into msm-4.19 2020-05-23 05:08:22 -07:00
reg.c Merge ASB-2022-06-05_4.19-stable into android12-base 2022-06-07 16:10:29 +05:30
reg.h cfg80211: export regulatory_hint_user() API 2021-02-09 15:22:57 +05:30
regdb.h Revert "cfg80211: reg: remove support for built-in regdb" 2019-02-22 10:21:56 +02:00
scan.c BACKPORT: UPSTREAM: cfg80211: separate get channel number from ies 2022-11-12 11:20:51 +00:00
sme.c Merge 4.19.187 into android-4.19-stable 2021-04-16 07:42:26 +02:00
sysfs.c cfg80211: track time using boottime 2018-06-29 09:49:28 +02:00
sysfs.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
trace.c cfg80211: add tracing to rdev-ops 2012-10-18 10:53:37 +02:00
trace.h cfg80211: express channels with a KHz component 2020-11-16 22:54:24 -08:00
util.c Merge tag 'ASB-2021-12-05_4.19-stable' of https://github.com/aosp-mirror/kernel_common into android12-base 2022-02-26 20:17:00 +05:30
wext-compat.c cfg80211: initialize on-stack chandefs 2019-10-11 18:21:09 +02:00
wext-compat.h cfg80211-wext: export symbols only when needed 2015-02-28 21:31:09 +01:00
wext-core.c wext: fix NULL-ptr-dereference with cfg80211's lack of commit() 2021-02-03 23:23:24 +01:00
wext-priv.c wext: fix potential private ioctl memory content leak 2010-09-20 13:41:40 -04:00
wext-proc.c proc: introduce proc_create_net{,_data} 2018-05-16 07:24:30 +02:00
wext-sme.c cfg80211: wext: avoid copying malformed SSIDs 2019-10-29 09:19:52 +01:00
wext-spy.c wireless: wext-spy: Fix out-of-bounds warning 2021-07-20 16:16:02 +02:00