linux_dsm_epyc7002/drivers/net/wireless/mediatek/mt76
Lorenzo Bianconi c03a5aacde mt76x2: fix warning in ieee80211_get_key_rx_seq()
Fall back to software encryption for hw unsupported ciphers in order
to fix the following warning in ieee80211_get_key_rx_seq routine:

WARNING: CPU: 1 PID: 1277 at backports-2017-11-01/net/mac80211/key.c:
1010 mt76_wcid_key_setup+0x6c/0x138 [mt76]
CPU: 1 PID: 1277 Comm: hostapd Tainted: G        W       4.9.86 #0
Stack : 00000000 00000000 80527b4a 00000042 80523824 00000000 00000000 80520000
        8fd79a9c 804bbda7 80454c84 00000001 000004fd 80523824 8f7e4ba0 8eceda12
        00000010 8006af94 00000001 80520000 804c1f04 804c1f08 80459890 8ec999b4
        00000003 800a7840 8f7e4ba0 8eceda12 8121de20 00000000 00000001 00c999b4
        00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
        ...
Call Trace:
[<8000f52c>] show_stack+0x70/0x8c
[<801d8d04>] dump_stack+0x94/0xd0
[<8002bcd4>] __warn+0x110/0x118
[<8002bd70>] warn_slowpath_null+0x1c/0x2c
[<8f0415cc>] mt76_wcid_key_setup+0x6c/0x138 [mt76]
[<8f1311b4>] mt76x2_dma_cleanup+0xa38/0x1048 [mt76x2e]

Fixes: 30ce7f4456 ("mt76: validate rx CCMP PN")
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Acked-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-03-27 12:12:35 +03:00
..
agg-rx.c mt76: avoid re-queueing A-MPDU rx reorder work if no frames are pending 2018-02-01 10:43:59 +02:00
debugfs.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
dma.c
dma.h
eeprom.c
Kconfig
mac80211.c mt76x2: add mac80211 {set,get}_antenna callbacks 2018-03-13 18:32:01 +02:00
Makefile
mmio.c
mt76.h mt76x2: add mac80211 {set,get}_antenna callbacks 2018-03-13 18:32:01 +02:00
mt76x2_core.c
mt76x2_debugfs.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
mt76x2_dfs.c
mt76x2_dfs.h
mt76x2_dma.c
mt76x2_dma.h
mt76x2_eeprom.c mt76x2: remove unnecessary len variable in mt76x2_eeprom_load() 2018-03-13 18:33:46 +02:00
mt76x2_eeprom.h
mt76x2_init.c mt76: initialize available_antennas_{tx,rx} info 2018-03-13 18:32:00 +02:00
mt76x2_mac.c mt76x2: remove warnings in mt76x2_mac_write_txwi() 2018-02-28 16:54:19 +02:00
mt76x2_mac.h
mt76x2_main.c mt76x2: fix warning in ieee80211_get_key_rx_seq() 2018-03-27 12:12:35 +03:00
mt76x2_mcu.c mt76: use mt76_poll_msec routine in mt76pci_load_firmware() 2018-03-27 12:10:02 +03:00
mt76x2_mcu.h
mt76x2_pci.c
mt76x2_phy.c mt76x2: add mac80211 {set,get}_antenna callbacks 2018-03-13 18:32:01 +02:00
mt76x2_regs.h mt76x2: add mac80211 {set,get}_antenna callbacks 2018-03-13 18:32:01 +02:00
mt76x2_trace.c
mt76x2_trace.h
mt76x2_tx.c mt76x2: fix possible NULL pointer dereferencing in mt76x2_tx() 2018-03-27 12:10:30 +03:00
mt76x2.h mt76x2: add mac80211 {set,get}_antenna callbacks 2018-03-13 18:32:01 +02:00
trace.c
trace.h
tx.c
util.c
util.h