1. 11 5月, 2011 1 次提交
    • S
      iwlegacy: fix IBSS mode crashes · eb85de3f
      Stanislaw Gruszka 提交于
      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 0263aa45
      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 b2f30e8b
      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=34452Reported-and-tested-by: NMikko Rapeli <mikko.rapeli@iki.fi>
      Cc: stable@kernel.org # 2.6.38.5+
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      eb85de3f
  2. 30 4月, 2011 1 次提交
  3. 29 4月, 2011 2 次提交
    • S
      iwl4965: fix "TX Power requested while scanning" · f325757a
      Stanislaw Gruszka 提交于
      Fix the following:
      
      WARNING: at drivers/net/wireless/iwlegacy/iwl-4965.c:1128 \
      iwl4965_send_tx_power+0x61/0x102 [iwl4965]() Hardware name: [...]
      TX Power requested while scanning!
      
      Pid: 5723, comm: kworker/u:28 Not tainted 2.6.39-0.rc4.4.fc14.x86_64 #1
      Call Trace:
       [<ffffffff8104e27b>] warn_slowpath_common+0x85/0x9d
       [<ffffffffa02782e0>] ? iwl4965_show_temperature+0x49/0x49 [iwl4965]
       [<ffffffff8104e336>] warn_slowpath_fmt+0x46/0x48
       [<ffffffffa027712f>] iwl4965_send_tx_power+0x61/0x102 [iwl4965]
       [<ffffffff81477e05>] ? mutex_lock+0x36/0x50
       [<ffffffffa0278337>] iwl4965_bg_txpower_work+0x57/0x73 [iwl4965]
       [<ffffffff810647f3>] process_one_work+0x18d/0x286
       [<ffffffff81065a5e>] worker_thread+0xfd/0x181
       [<ffffffff81065961>] ? manage_workers.clone.16+0x172/0x172
       [<ffffffff81069036>] kthread+0x82/0x8a
       [<ffffffff81480524>] kernel_thread_helper+0x4/0x10
       [<ffffffff81068fb4>] ? kthread_worker_fn+0x14b/0x14b
       [<ffffffff81480520>] ? gs_change+0x13/0x13
      Reported-and-tested-by: NPaul Bolle <pebolle@tiscali.nl>
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f325757a
    • W
      iwlegacy: led stay solid on when no traffic · 1501b676
      Wey-Yi Guy 提交于
      commit 5ed540ae change the led behavior
      for iwlwifi driver; the side effect cause led blink all the time.
      
      Modify the led blink table to fix this problem
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1501b676
  4. 21 4月, 2011 1 次提交
    • S
      iwl4965: fix skb usage after free · 069f40fc
      Stanislaw Gruszka 提交于
      Since
      
      commit a120e912
      Author: Stanislaw Gruszka <sgruszka@redhat.com>
      Date:   Fri Feb 19 15:47:33 2010 -0800
      
          iwlwifi: sanity check before counting number of tfds can be free
      
      we use skb->data after calling ieee80211_tx_status_irqsafe(), which
      could free skb instantly.
      
      On current kernels I do not observe practical problems related with
      bug, but on 2.6.35.y it cause random system hangs when stressing
      wireless link, making bisection of other problems impossible.
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      069f40fc
  5. 14 4月, 2011 1 次提交
  6. 12 4月, 2011 1 次提交
  7. 31 3月, 2011 1 次提交
  8. 30 3月, 2011 3 次提交
  9. 01 3月, 2011 2 次提交
  10. 26 2月, 2011 3 次提交
    • J
      iwlegacy: change some symbols duplicated from iwlwifi directory · ef33417d
      John W. Linville 提交于
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x29f0): multiple definition of `iwl_rates'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0xa68): first defined here
      powerpc64-linux-ld: Warning: size of symbol `iwl_rates' changed from 143 in drivers/net/wireless/iwlwifi/built-in.o to 130 in drivers/net/wireless/iwlegacy/built-in.o
      drivers/net/wireless/iwlegacy/built-in.o:(.data+0x0): multiple definition of `bt_coex_active'
      drivers/net/wireless/iwlwifi/built-in.o:(.data+0x668): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x750): multiple definition of `iwl_eeprom_band_1'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x27d0): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.rodata+0x3f0): multiple definition of `iwl_bcast_addr'
      drivers/net/wireless/iwlwifi/built-in.o:(.rodata+0x24f8): first defined here
      drivers/net/wireless/iwlegacy/built-in.o:(.bss+0x3d48): multiple definition of `iwl_debug_level'
      drivers/net/wireless/iwlwifi/built-in.o:(.bss+0x21950): first defined here
      Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ef33417d
    • J
      mac80211: make tx() operation return void · 7bb45683
      Johannes Berg 提交于
      The return value of the tx operation is commonly
      misused by drivers, leading to errors. All drivers
      will drop frames if they fail to TX the frame, and
      they must also properly manage the queues (if they
      didn't, mac80211 would already warn).
      
      Removing the ability for drivers to return a BUSY
      value also allows significant cleanups of the TX
      TX handling code in mac80211.
      
      Note that this also fixes a bug in ath9k_htc, the
      old "return -1" there was wrong.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Tested-by: Sedat Dilek <sedat.dilek@googlemail.com> [ath5k]
      Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> [rt2x00]
      Acked-by: Larry Finger <Larry.Finger@lwfinger.net> [b43, rtl8187, rtlwifi]
      Acked-by: Luciano Coelho <coelho@ti.com> [wl12xx]
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7bb45683
    • S
      iwlegacy: do not set tx power when channel is changing · 43f12d47
      Stanislaw Gruszka 提交于
      Same fix as f844a709
      "iwlwifi: do not set tx power when channel is changing".
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Acked-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      43f12d47
  11. 24 2月, 2011 1 次提交
  12. 22 2月, 2011 1 次提交