android_kernel_samsung_a7y1.../net/mac80211
Yu Wang ceb55afe8b mac80211: handle deauthentication/disassociation from TDLS peer
[ Upstream commit 79c92ca42b5a3e0ea172ea2ce8df8e125af237da ]

When receiving a deauthentication/disassociation frame from a TDLS
peer, a station should not disconnect the current AP, but only
disable the current TDLS link if it's enabled.

Without this change, a TDLS issue can be reproduced by following the
steps as below:

1. STA-1 and STA-2 are connected to AP, bidirection traffic is running
   between STA-1 and STA-2.
2. Set up TDLS link between STA-1 and STA-2, stay for a while, then
   teardown TDLS link.
3. Repeat step #2 and monitor the connection between STA and AP.

During the test, one STA may send a deauthentication/disassociation
frame to another, after TDLS teardown, with reason code 6/7, which
means: Class 2/3 frame received from nonassociated STA.

On receive this frame, the receiver STA will disconnect the current
AP and then reconnect. It's not a expected behavior, purpose of this
frame should be disabling the TDLS link, not the link with AP.

Cc: stable@vger.kernel.org
Signed-off-by: Yu Wang <yyuwang@codeaurora.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-07 07:36:45 +02:00
..
aes_ccm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aes_ccm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aes_cmac.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aes_cmac.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aes_gcm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aes_gcm.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aes_gmac.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
aes_gmac.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
agg-rx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
agg-tx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
cfg.c mac80211: fix possible sta leak 2020-04-06 21:33:56 +02:00
chan.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debug.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs_key.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs_key.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs_netdev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs_netdev.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs_sta.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs_sta.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
debugfs.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
driver-ops.c mac80211: don't warn about CW params when not using them 2020-04-06 20:38:41 +02:00
driver-ops.h mac80211: do not call driver wake_tx_queue op during reconfig 2020-04-06 15:57:06 +02:00
ethtool.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ht.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ibss.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ieee80211_i.h mac80211: handle deauthentication/disassociation from TDLS peer 2020-04-07 07:36:45 +02:00
iface.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
key.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
key.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
led.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
led.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
main.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mesh_hwmp.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mesh_pathtbl.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mesh_plink.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mesh_ps.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mesh_sync.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mesh.c mac80211: mesh: fix RCU warning 2020-04-06 19:26:05 +02:00
mesh.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
michael.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
michael.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mlme.c mac80211: handle deauthentication/disassociation from TDLS peer 2020-04-07 07:36:45 +02:00
ocb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
offchannel.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
pm.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rate.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rate.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rc80211_minstrel_debugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rc80211_minstrel_ht_debugfs.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rc80211_minstrel_ht.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rc80211_minstrel_ht.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rc80211_minstrel.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rc80211_minstrel.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rx.c mac80211: drop robust management frames from unknown TA 2020-04-06 19:17:00 +02:00
scan.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
spectmgmt.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sta_info.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sta_info.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
status.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tdls.c mac80211: handle deauthentication/disassociation from TDLS peer 2020-04-07 07:36:45 +02:00
tkip.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tkip.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace_msg.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
trace.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tx.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
util.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vht.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wep.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wep.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wme.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wme.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wpa.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wpa.h A750FXXU4CTBC 2020-03-27 21:51:54 +05:30