|
@@ -2058,13 +2058,10 @@ static void iwl3945_setup_rxon_timing(struct iwl3945_priv *priv)
|
|
|
conf = ieee80211_get_hw_conf(priv->hw);
|
|
|
|
|
|
spin_lock_irqsave(&priv->lock, flags);
|
|
|
- priv->rxon_timing.timestamp.dw[1] = cpu_to_le32(priv->timestamp1);
|
|
|
- priv->rxon_timing.timestamp.dw[0] = cpu_to_le32(priv->timestamp0);
|
|
|
-
|
|
|
+ priv->rxon_timing.timestamp = cpu_to_le64(priv->timestamp);
|
|
|
priv->rxon_timing.listen_interval = INTEL_CONN_LISTEN_INTERVAL;
|
|
|
|
|
|
- tsf = priv->timestamp1;
|
|
|
- tsf = ((tsf << 32) | priv->timestamp0);
|
|
|
+ tsf = priv->timestamp;
|
|
|
|
|
|
beacon_int = priv->beacon_int;
|
|
|
spin_unlock_irqrestore(&priv->lock, flags);
|
|
@@ -6306,7 +6303,7 @@ static void iwl3945_post_associate(struct iwl3945_priv *priv)
|
|
|
priv->staging_rxon.filter_flags &= ~RXON_FILTER_ASSOC_MSK;
|
|
|
iwl3945_commit_rxon(priv);
|
|
|
|
|
|
- memset(&priv->rxon_timing, 0, sizeof(struct iwl3945_rxon_time_cmd));
|
|
|
+ memset(&priv->rxon_timing, 0, sizeof(struct iwl_rxon_time_cmd));
|
|
|
iwl3945_setup_rxon_timing(priv);
|
|
|
rc = iwl3945_send_cmd_pdu(priv, REPLY_RXON_TIMING,
|
|
|
sizeof(priv->rxon_timing), &priv->rxon_timing);
|
|
@@ -6686,7 +6683,7 @@ static void iwl3945_config_ap(struct iwl3945_priv *priv)
|
|
|
iwl3945_commit_rxon(priv);
|
|
|
|
|
|
/* RXON Timing */
|
|
|
- memset(&priv->rxon_timing, 0, sizeof(struct iwl3945_rxon_time_cmd));
|
|
|
+ memset(&priv->rxon_timing, 0, sizeof(struct iwl_rxon_time_cmd));
|
|
|
iwl3945_setup_rxon_timing(priv);
|
|
|
rc = iwl3945_send_cmd_pdu(priv, REPLY_RXON_TIMING,
|
|
|
sizeof(priv->rxon_timing), &priv->rxon_timing);
|
|
@@ -6934,9 +6931,7 @@ static void iwl3945_bss_info_changed(struct ieee80211_hw *hw,
|
|
|
if (bss_conf->assoc) {
|
|
|
priv->assoc_id = bss_conf->aid;
|
|
|
priv->beacon_int = bss_conf->beacon_int;
|
|
|
- priv->timestamp0 = bss_conf->timestamp & 0xFFFFFFFF;
|
|
|
- priv->timestamp1 = (bss_conf->timestamp >> 32) &
|
|
|
- 0xFFFFFFFF;
|
|
|
+ priv->timestamp = bss_conf->timestamp;
|
|
|
priv->assoc_capability = bss_conf->assoc_capability;
|
|
|
priv->next_scan_jiffies = jiffies +
|
|
|
IWL_DELAY_NEXT_SCAN_AFTER_ASSOC;
|
|
@@ -7178,8 +7173,7 @@ static void iwl3945_mac_reset_tsf(struct ieee80211_hw *hw)
|
|
|
priv->ibss_beacon = NULL;
|
|
|
|
|
|
priv->beacon_int = priv->hw->conf.beacon_int;
|
|
|
- priv->timestamp1 = 0;
|
|
|
- priv->timestamp0 = 0;
|
|
|
+ priv->timestamp = 0;
|
|
|
if ((priv->iw_mode == NL80211_IFTYPE_STATION))
|
|
|
priv->beacon_int = 0;
|
|
|
|