1. 13 Mar, 2008 35 commits
  2. 12 Mar, 2008 1 commit
  3. 07 Mar, 2008 4 commits
    • Reinette Chatre's avatar
      iwlwifi: fix potential lock inversion deadlock · deedf504
      Reinette Chatre authored
      This is a change to a previous patch ("iwlwifi: 3945 split tx_complete
      to command and packet function") to ensure we do not have hardirq safe
      locks (priv->lock in this case) depend on hardirq unsafe locks.
      
      We only call iwl3945_tx_queue_reclaim while in a tasklet so we have to use
      the irqsafe version of the function.
      Signed-off-by: default avatarReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      deedf504
    • John W. Linville's avatar
      wireless: correct warnings from using '%llx' for type 'u64' · f868f4e1
      John W. Linville authored
      drivers/net/wireless/ath5k/debug.c: In function 'read_file_tsf': drivers/net/wireless/ath5k/debug.c:203: warning: format '%016llx'
      expects type 'long long unsigned int', but argument 4 has type 'u64' drivers/net/wireless/ath5k/debug.c:203: warning: format '%016llx'
      expects type 'long long unsigned int', but argument 4 has type 'u64' drivers/net/wireless/ath5k/debug.c: In function 'read_file_beacon':
      drivers/net/wireless/ath5k/debug.c:274: warning: format '%016llx' expects type 'long long unsigned int', but argument 4 has type 'u64'
      drivers/net/wireless/ath5k/debug.c:274: warning: format '%016llx' expects type 'long long unsigned int', but argument 4 has type 'u64'
      
      drivers/net/wireless/iwlwifi/iwl-4965.c: In function 'iwl4965_tx_status_reply_compressed_ba':
      drivers/net/wireless/iwlwifi/iwl-4965.c:3907: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'u64'
      drivers/net/wireless/iwlwifi/iwl-4965.c: In function 'iwl4965_rx_reply_compressed_ba':
      drivers/net/wireless/iwlwifi/iwl-4965.c:4039: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type '__le64'
      drivers/net/wireless/iwlwifi/iwl-4965.c:4046: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'u64'
      drivers/net/wireless/iwlwifi/iwl4965-base.c: In function 'iwl4965_tx_status_reply_tx':
      drivers/net/wireless/iwlwifi/iwl4965-base.c:3661: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'u64'
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      f868f4e1
    • Bruno Randolf's avatar
      ath5k: work around wrong beacon rx timestamp in IBSS mode · 6ba81c2c
      Bruno Randolf authored
      atheros hardware has a problem with the rx timestamp of some IBSS beacons when
      they caused a TSF update (they have the same BSSID).
      
      the rx timestamp is wrong especially if the beacon frames get bigger than 78
      byte (at least on AR5213 and AR5414 hardware). in that case ath5k_extend_tsf()
      will assume a rs_tstamp overflow and give us a timestamp too far in the past
      which will cause mac80211 to merge IBSS on every beacon (which is not necessary
      since the BSSID already matches). but in this case we know that the HW must
      have synced to the beacons TSF and the rx timestamp must be later than that so
      we can adjust mactime accordingly.
      
      also rename the function to ath5k_check_ibss_tsf() and change comments, since
      "hw merge" is better described as a TSF update.
      
      drivers/net/wireless/ath5k/base.c:      Changes-licensed-under: 3-Clause-BSD
      Signed-off-by: default avatarBruno Randolf <bruno@thinktube.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      6ba81c2c
    • Bruno Randolf's avatar
      ath5k: add notes about rx timestamp · e14296ca
      Bruno Randolf authored
      add comments about the fact that we don't know when exactly the atheros
      hardware takes the RX timestamp.
      
      drivers/net/wireless/ath5k/base.c:      Changes-licensed-under: 3-Clause-BSD
      Signed-off-by: default avatarBruno Randolf <bruno@thinktube.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      e14296ca