1. 15 11月, 2011 28 次提交
  2. 22 9月, 2011 1 次提交
    • S
      iwlegacy: do not use interruptible waits · 65d0f19e
      Stanislaw Gruszka 提交于
      iwlegacy version of fix:
      
      commit effd4d9a
      Author: Johannes Berg <johannes.berg@intel.com>
      Date:   Thu Sep 15 11:46:52 2011 -0700
      
          iwlagn: do not use interruptible waits
      
          Since the dawn of its time, iwlwifi has used
          interruptible waits to wait for synchronous
          commands and firmware loading.
      
          This leads to "interesting" bugs, because it
          can't actually handle the interruptions; for
          example when a command sending is interrupted
          it will assume the command completed fully,
          and then leave it pending, which leads to all
          kinds of trouble when the command finishes
          later.
      
          Since there's no easy way to gracefully deal
          with interruptions, fix the driver to not use
          interruptible waits.
      
          This at least fixes the error
          iwlagn 0000:02:00.0: Error: Response NULL in  'REPLY_SCAN_ABORT_CMD'
      
          I have seen in P2P testing, but it is likely
          that there are other errors caused by this.
      
      Cc: stable@kernel.org # 2.6.39+
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      65d0f19e
  3. 09 8月, 2011 1 次提交
  4. 11 6月, 2011 2 次提交
    • S
      iwlegacy: remove firmware event log · 1ba2f121
      Stanislaw Gruszka 提交于
      Messages like that
      
      iwl4965 0000:03:00.0: Start IWL Event Log Dump: display last 20 entries
      iwl4965 0000:03:00.0: EVT_LOGT:1821445332:0x00000000:1352
      iwl4965 0000:03:00.0: EVT_LOGT:1821445332:0x00000001:1353
      iwl4965 0000:03:00.0: EVT_LOGT:1821445336:0x0000000c:0357
      iwl4965 0000:03:00.0: EVT_LOGT:1821445533:0x00000107:0106
      iwl4965 0000:03:00.0: EVT_LOGT:1821445534:0x00000000:0302
      iwl4965 0000:03:00.0: EVT_LOGT:1821445574:0x000000d4:0321
      iwl4965 0000:03:00.0: EVT_LOGT:1821445575:0x00000000:1350
      iwl4965 0000:03:00.0: EVT_LOGT:1821445576:0x00000000:1351
      iwl4965 0000:03:00.0: EVT_LOGT:1821445576:0x00000000:1352
      iwl4965 0000:03:00.0: EVT_LOGT:1821445577:0x00000001:1353
      iwl4965 0000:03:00.0: EVT_LOGT:1821445581:0x0000000d:0357
      iwl4965 0000:03:00.0: EVT_LOGT:1821446327:0x00000107:0106
      iwl4965 0000:03:00.0: EVT_LOGT:1821446328:0x00000000:0302
      iwl4965 0000:03:00.0: EVT_LOGT:1821446368:0x000000d4:0321
      iwl4965 0000:03:00.0: EVT_LOGT:1821446369:0x00000000:1350
      iwl4965 0000:03:00.0: EVT_LOGT:1821446370:0x00000000:1351
      iwl4965 0000:03:00.0: EVT_LOGT:1821446370:0x00000000:1352
      iwl4965 0000:03:00.0: EVT_LOGT:1821446371:0x00000001:1353
      iwl4965 0000:03:00.0: EVT_LOGT:1821446375:0x0000000e:0357
      iwl4965 0000:03:00.0: EVT_LOGT:1821446383:0x00000000:0125
      
      are completely useless for me. Remove bunch of code that generate them.
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1ba2f121
    • S
      iwlegacy: remove reset rf infrastructure · dd6d2a8a
      Stanislaw Gruszka 提交于
      We do not reset radio anymore, hence don't need that code too.
      Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      dd6d2a8a
  5. 30 4月, 2011 2 次提交
  6. 14 4月, 2011 1 次提交
  7. 30 3月, 2011 2 次提交
  8. 26 2月, 2011 2 次提交
    • 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
  9. 22 2月, 2011 1 次提交