android_kernel_motorola_sm6375/net/mac80211
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Rajkumar Manoharan 05f0c99de8 UPSTREAM: mac80211: fix warning in 6 GHz IE addition in mesh mode
The commit 24a2042cb22f ("mac80211: add HE 6 GHz Band Capability
element") failed to check device capability before adding HE 6 GHz
capability element. Below warning is reported in 11ac device in mesh.
Fix that by checking device capability at HE 6 GHz cap IE addition
in mesh beacon and association request.

WARNING: CPU: 1 PID: 1897 at net/mac80211/util.c:2878
ieee80211_ie_build_he_6ghz_cap+0x149/0x150 [mac80211]
[ 3138.720358] Call Trace:
[ 3138.720361]  ieee80211_mesh_build_beacon+0x462/0x530 [mac80211]
[ 3138.720363]  ieee80211_start_mesh+0xa8/0xf0 [mac80211]
[ 3138.720365]  __cfg80211_join_mesh+0x122/0x3e0 [cfg80211]
[ 3138.720368]  nl80211_join_mesh+0x3d3/0x510 [cfg80211]

Fixes: 24a2042cb22f ("mac80211: add HE 6 GHz Band Capability element")
Reported-by: Markus Theil <[email protected]>
Signed-off-by: Rajkumar Manoharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Johannes Berg <[email protected]>
(cherry picked from commit 65ad3ef9fced4062dfd74e2f89443fb5ce184321)
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Change-Id: I482ae69d99fcf58b3c08fef4561673b656d32995
2020-11-14 16:29:38 +01:00
..
aead_api.c
aead_api.h
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c
agg-tx.c
cfg.c mac80211: mesh: Free ie data when leaving mesh 2020-08-05 09:59:48 +02:00
chan.c
debug.h
debugfs.c
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c mac80211: fix txq null pointer dereference 2019-10-01 17:56:19 +02:00
debugfs_netdev.h
debugfs_sta.c mac80211: drop data frames without key on encrypted links 2020-04-01 11:02:01 +02:00
debugfs_sta.h
driver-ops.c
driver-ops.h
ethtool.c
fils_aead.c
fils_aead.h
he.c
ht.c
ibss.c mac80211: IBSS: send deauth when expiring inactive STAs 2019-09-11 09:33:29 +02:00
ieee80211_i.h BACKPORT: mac80211: Add HE 6GHz capabilities element to probe request 2020-08-11 12:53:39 +02:00
iface.c mac80211: allow drivers to set max MTU 2019-09-11 09:33:29 +02:00
Kconfig
key.c mac80211: drop data frames without key on encrypted links 2020-04-01 11:02:01 +02:00
key.h mac80211: clear crypto tx tailroom counter upon keys enable 2019-09-11 09:33:28 +02:00
led.c
led.h
main.c mac80211: populate debugfs only after cfg80211 init 2020-04-29 16:33:18 +02:00
Makefile
mesh.c UPSTREAM: mac80211: fix warning in 6 GHz IE addition in mesh mode 2020-11-14 16:29:38 +01:00
mesh.h BACKPORT: mac80211: add HE 6 GHz Band Capability element 2020-08-11 12:53:36 +02:00
mesh_hwmp.c mac80211: mesh: fix discovery timer re-arming issue / crash 2020-06-03 08:21:30 +02:00
mesh_pathtbl.c mac80211: mesh: Free pending skb when destroying a mpath 2020-08-05 09:59:48 +02:00
mesh_plink.c BACKPORT: mac80211: add HE 6 GHz Band Capability element 2020-08-11 12:53:36 +02:00
mesh_ps.c
mesh_sync.c
michael.c
michael.h
mlme.c BACKPORT: mac80211: add HE 6 GHz Band Capability element 2020-08-11 12:53:36 +02:00
ocb.c
offchannel.c
pm.c
rate.c mac80211: populate debugfs only after cfg80211 init 2020-04-29 16:33:18 +02:00
rate.h mac80211: populate debugfs only after cfg80211 init 2020-04-29 16:33:18 +02:00
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c mac80211: populate debugfs only after cfg80211 init 2020-04-29 16:33:18 +02:00
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rx.c mac80211: allow rx of mesh eapol frames with default rx key 2020-07-29 10:18:26 +02:00
scan.c BACKPORT: mac80211: Add HE 6GHz capabilities element to probe request 2020-08-11 12:53:39 +02:00
spectmgmt.c
sta_info.c Revert "ANDROID: Revert: Merge 5.4.60 into android11-5.4" 2020-08-23 13:12:51 +02:00
sta_info.h mac80211: drop data frames without key on encrypted links 2020-04-01 11:02:01 +02:00
status.c mac80211: add ieee80211_is_any_nullfunc() 2020-05-10 10:31:32 +02:00
tdls.c
tkip.c mac80211: Fix TKIP replay protection immediately after key setup 2020-02-05 21:22:46 +00:00
tkip.h
trace.c
trace.h
trace_msg.h
tx.c mac80211: add ieee80211_is_any_nullfunc() 2020-05-10 10:31:32 +02:00
util.c UPSTREAM: mac80211: fix warning in 6 GHz IE addition in mesh mode 2020-11-14 16:29:38 +01:00
vht.c mac80211: vht: add support VHT EXT NSS BW in parsing VHT 2019-09-11 09:13:03 +02:00
wep.c
wep.h
wme.c
wme.h
wpa.c
wpa.h