1. 05 Oct, 2010 33 commits
  2. 29 Sep, 2010 1 commit
  3. 28 Sep, 2010 6 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
    • John W. Linville's avatar
      Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 · 1728943d
      John W. Linville authored
      Conflicts:
      	drivers/net/wireless/iwlwifi/iwl-agn-lib.c
      	drivers/net/wireless/iwlwifi/iwl3945-base.c
      1728943d
    • Juuso Oikarinen's avatar
      mac80211: Fix WMM driver queue configuration · f2176d72
      Juuso Oikarinen authored
      The WMM parameter configuration function (ieee80211_sta_wmm_params) only
      configures the WMM parameters to the driver is the wmm_last_param_set
      counter value is changed by the AP.
      
      The wmm_last_param_set is initialized to -1 on association in order to ensure
      the configuration is made to the driver at least once on association, but
      currently this initialization is done *after* the WMM parameter configuration
      function was called.
      
      This leads to unreliability in the driver getting properly configured on first
      association (depending on what counter value the AP happens to use.) When
      disassociating (the wmm default parameters are configured to the driver) and
      then reassociating, due to the above the WMM configuration is not set to the
      driver at all.
      
      On drivers without beacon filtering the problem is corrected by later beacons,
      but on drivers with beacon filtering the WMM will remain permanently incorrectly
      configured.
      
      Fix this by moving the initialization of wmm_last_param_set to -1 before
      ieee80211_sta_wmm_params is called on association.
      Signed-off-by: default avatarJuuso Oikarinen <juuso.oikarinen@nokia.com>
      Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      f2176d72