linux_dsm_epyc7002/drivers/net/wireless/iwlegacy
Stanislaw Gruszka eb85de3f84 iwlegacy: fix IBSS mode crashes
We should not switch to non-IBSS channels when working in IBSS mode,
otherwise there are microcode errors, and after some time system
crashes.

This bug is only observable when software scan is used in IBSS mode,
so should be considered as regression after:

commit 0263aa4529
Author: Stanislaw Gruszka <sgruszka@redhat.com>
Date:   Tue Mar 29 11:24:21 2011 +0200

    iwl3945: disable hw scan by default

However IBSS mode check, which this patch add again, was removed by

commit b2f30e8bdd
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Thu Jan 21 07:32:20 2010 -0800

    iwlwifi: remove IBSS channel sanity check

That commit claim that mac80211 will not use non-IBSS channel in IBSS
mode, what definitely is not true. Bug probably should be fixed in
mac80211, but that will require more work, so better to apply that patch
temporally, and provide proper mac80211 fix latter.

Resolves:
https://bugzilla.kernel.org/show_bug.cgi?id=34452

Reported-and-tested-by: Mikko Rapeli <mikko.rapeli@iki.fi>
Cc: stable@kernel.org # 2.6.38.5+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-05-10 15:46:59 -04:00
..
iwl3945-base.c iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl4965-base.c iwl4965: fix "TX Power requested while scanning" 2011-04-28 14:38:36 -04:00
iwl-3945-debugfs.c
iwl-3945-debugfs.h
iwl-3945-fh.h
iwl-3945-hw.h iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-3945-led.c
iwl-3945-led.h
iwl-3945-rs.c
iwl-3945.c
iwl-3945.h
iwl-4965-calib.c
iwl-4965-calib.h
iwl-4965-debugfs.c
iwl-4965-debugfs.h
iwl-4965-eeprom.c
iwl-4965-hw.h iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-4965-led.c
iwl-4965-led.h
iwl-4965-lib.c
iwl-4965-rs.c
iwl-4965-rx.c
iwl-4965-sta.c
iwl-4965-tx.c iwl4965: fix "Received BA when not expected" 2011-04-29 15:24:15 -04:00
iwl-4965-ucode.c
iwl-4965.c
iwl-4965.h
iwl-commands.h
iwl-core.c iwlegacy: fix IBSS mode crashes 2011-05-10 15:46:59 -04:00
iwl-core.h
iwl-csr.h
iwl-debug.h
iwl-debugfs.c
iwl-dev.h iwlegacy: fix IBSS mode crashes 2011-05-10 15:46:59 -04:00
iwl-devtrace.c
iwl-devtrace.h
iwl-eeprom.c iwlegacy: fix tx_power initialization 2011-04-13 15:09:53 -04:00
iwl-eeprom.h
iwl-fh.h
iwl-hcmd.c
iwl-helpers.h
iwl-io.h
iwl-led.c iwlegacy: led stay solid on when no traffic 2011-04-28 14:38:35 -04:00
iwl-led.h
iwl-legacy-rs.h
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-rx.c
iwl-scan.c
iwl-spectrum.h
iwl-sta.c
iwl-sta.h
iwl-tx.c
Kconfig iwlegacy: make iwl3945 and iwl4965 select IWLWIFI_LEGACY 2011-04-11 13:56:07 -04:00
Makefile