diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 2f254c4abdd5..1b3e82ff90cb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -2898,26 +2898,7 @@ static void iwl4965_rx_reply_rx_phy(struct iwl_priv *priv, | |||
2898 | memcpy(&priv->last_phy_res[1], &(pkt->u.raw[0]), | 2898 | memcpy(&priv->last_phy_res[1], &(pkt->u.raw[0]), |
2899 | sizeof(struct iwl4965_rx_phy_res)); | 2899 | sizeof(struct iwl4965_rx_phy_res)); |
2900 | } | 2900 | } |
2901 | static void iwl4965_rx_missed_beacon_notif(struct iwl_priv *priv, | ||
2902 | struct iwl_rx_mem_buffer *rxb) | ||
2903 | 2901 | ||
2904 | { | ||
2905 | #ifdef CONFIG_IWL4965_RUN_TIME_CALIB | ||
2906 | struct iwl_rx_packet *pkt = (struct iwl_rx_packet *)rxb->skb->data; | ||
2907 | struct iwl4965_missed_beacon_notif *missed_beacon; | ||
2908 | |||
2909 | missed_beacon = &pkt->u.missed_beacon; | ||
2910 | if (le32_to_cpu(missed_beacon->consequtive_missed_beacons) > 5) { | ||
2911 | IWL_DEBUG_CALIB("missed bcn cnsq %d totl %d rcd %d expctd %d\n", | ||
2912 | le32_to_cpu(missed_beacon->consequtive_missed_beacons), | ||
2913 | le32_to_cpu(missed_beacon->total_missed_becons), | ||
2914 | le32_to_cpu(missed_beacon->num_recvd_beacons), | ||
2915 | le32_to_cpu(missed_beacon->num_expected_beacons)); | ||
2916 | if (!test_bit(STATUS_SCANNING, &priv->status)) | ||
2917 | iwl_init_sensitivity(priv); | ||
2918 | } | ||
2919 | #endif /*CONFIG_IWL4965_RUN_TIME_CALIB*/ | ||
2920 | } | ||
2921 | #ifdef CONFIG_IWL4965_HT | 2902 | #ifdef CONFIG_IWL4965_HT |
2922 | 2903 | ||
2923 | /** | 2904 | /** |
@@ -3508,9 +3489,6 @@ static void iwl4965_rx_handler_setup(struct iwl_priv *priv) | |||
3508 | priv->rx_handlers[REPLY_RX_PHY_CMD] = iwl4965_rx_reply_rx_phy; | 3489 | priv->rx_handlers[REPLY_RX_PHY_CMD] = iwl4965_rx_reply_rx_phy; |
3509 | priv->rx_handlers[REPLY_RX_MPDU_CMD] = iwl4965_rx_reply_rx; | 3490 | priv->rx_handlers[REPLY_RX_MPDU_CMD] = iwl4965_rx_reply_rx; |
3510 | 3491 | ||
3511 | priv->rx_handlers[MISSED_BEACONS_NOTIFICATION] = | ||
3512 | iwl4965_rx_missed_beacon_notif; | ||
3513 | |||
3514 | #ifdef CONFIG_IWL4965_HT | 3492 | #ifdef CONFIG_IWL4965_HT |
3515 | priv->rx_handlers[REPLY_COMPRESSED_BA] = iwl4965_rx_reply_compressed_ba; | 3493 | priv->rx_handlers[REPLY_COMPRESSED_BA] = iwl4965_rx_reply_compressed_ba; |
3516 | #endif /* CONFIG_IWL4965_HT */ | 3494 | #endif /* CONFIG_IWL4965_HT */ |