1. 05 Oct, 2010 35 commits
  2. 29 Sep, 2010 1 commit
  3. 28 Sep, 2010 4 commits
    • Shanyu Zhao's avatar
      iwlwifi: send DC calib config to runtime ucode · 6d6a1afd
      Shanyu Zhao authored
      Since uCode is responsible for doing DC calibration, there's no need
      to let init uCode to do initial DC calibration then send results
      back to driver, then driver sends the results to runtime uCode.
      Driver can simply tell runtime uCode to do DC calibration.
      
      Actually, this patch does not disable DC calib for init uCode. It just
      prevent driver from saving and sending the DC calib results (from init
      ucode) to runtime uCode. The driver still uses 0xffffffff in
      CALIB_CFG_CMD for init ucode.
      Signed-off-by: default avatarShanyu Zhao <shanyu.zhao@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      6d6a1afd
    • Shanyu Zhao's avatar
      iwlagn: set CSR register for 6050g2 devices · 02796d77
      Shanyu Zhao authored
      For 6050g2 devices driver needs to set a special bit to CSR register
      so that uCode can do things correctly in calibration routines.
      Signed-off-by: default avatarShanyu Zhao <shanyu.zhao@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      02796d77
    • Shanyu Zhao's avatar
      iwlwifi: add iwl_nic_ops structure to iwl_ops · 6b5ce501
      Shanyu Zhao authored
      iwlwifi driver supports multiple devices. Since some device needs
      special configuration we create a new iwl_nic_ops structure which is
      configurable per device. Currently there is only one function pointer
      inside this structure: additional_nic_config().
      
      The iwl_nic_ops structure is added to the top level in struct iwl_ops,
      making it easier to change per device. Duplication of the iwl_lib_ops
      structure is no longer needed.
      
      With this new ops the previous function pointer set_calib_version is
      no longer needed since it is just a per device nic configuration.
      
      As part of the code restructuring, a bug is addressed. Indication of
      calib version to uCode is only needed for 6050 devices, however,
      current implementation set calib version for all 6000 devices for
      which DC calib is needed. To fix this, create iwl6050_ops for 6050
      devices and only populate iwl_nic_ops in this structure.
      Signed-off-by: default avatarShanyu Zhao <shanyu.zhao@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      6b5ce501
    • Jay Sternberg's avatar
      iwlwifi: define 100 devices · 1de19ecc
      Jay Sternberg authored
      add new structures and defines need to identify 100 devices.
      Signed-off-by: default avatarJay Sternberg <jay.e.sternberg@intel.com>
      Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
      1de19ecc