1. 13 4月, 2011 38 次提交
  2. 08 4月, 2011 2 次提交
    • J
      iwlagn: downgrade warning on unknown TLV · 6fc3ba99
      Johannes Berg 提交于
      If we maintain API properly, then there isn't
      really a reason to warn about this since we'll
      just be adding things that are safe to ignore,
      so downgrade the warning to debug info level.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      6fc3ba99
    • J
      iwlagn: clean up & autodetect statistics · 0da0e5bf
      Johannes Berg 提交于
      There's no need to keep both normal and BT statistics
      versions around all the time in memory when we only
      use a subset of both. So keep only the subsets that
      we need in memory, depending on the debug config).
      
      Also, in doing so, we can remove all the calls to
      iwl_bt_statistics() in the driver as we'll just
      access the copied statistics now.
      
      Finally, also remove this call from the one place
      where it might still be needed and automatically
      detect what kind of statistics the device is sending
      based on their size. This way, we don't need to keep
      track of which devices do what any more, which is
      good since this is subject to change based on the
      ucode version (as some ucode even for non-BT devices
      will in fact use BT statistics).
      
      Warn upon encountering a statistics command from the
      ucode that isn't known, so we will find such issues
      earlier in the future.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Tested-by: NDon Fry <donald.h.fry@intel.com>
      Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
      0da0e5bf