rx.c (a339e918daf281a0eb78783abc954c1e97af16c4) | rx.c (77fe739554e13d44466e115dbaba3e7aa3aececd) |
---|---|
1/****************************************************************************** 2 * 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * GPL LICENSE SUMMARY 7 * 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. --- 308 unchanged lines hidden (view full) --- 317 rx_status->mactime = le64_to_cpu(phy_info->timestamp); 318 rx_status->device_timestamp = le32_to_cpu(phy_info->system_timestamp); 319 rx_status->band = 320 (phy_info->phy_flags & cpu_to_le16(RX_RES_PHY_FLAGS_BAND_24)) ? 321 IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; 322 rx_status->freq = 323 ieee80211_channel_to_frequency(le16_to_cpu(phy_info->channel), 324 rx_status->band); | 1/****************************************************************************** 2 * 3 * This file is provided under a dual BSD/GPLv2 license. When using or 4 * redistributing this file, you may do so under either license. 5 * 6 * GPL LICENSE SUMMARY 7 * 8 * Copyright(c) 2012 - 2014 Intel Corporation. All rights reserved. --- 308 unchanged lines hidden (view full) --- 317 rx_status->mactime = le64_to_cpu(phy_info->timestamp); 318 rx_status->device_timestamp = le32_to_cpu(phy_info->system_timestamp); 319 rx_status->band = 320 (phy_info->phy_flags & cpu_to_le16(RX_RES_PHY_FLAGS_BAND_24)) ? 321 IEEE80211_BAND_2GHZ : IEEE80211_BAND_5GHZ; 322 rx_status->freq = 323 ieee80211_channel_to_frequency(le16_to_cpu(phy_info->channel), 324 rx_status->band); |
325 /* 326 * TSF as indicated by the fw is at INA time, but mac80211 expects the 327 * TSF at the beginning of the MPDU. 328 */ 329 /*rx_status->flag |= RX_FLAG_MACTIME_MPDU;*/ | |
330 | 325 |
326 /* TSF as indicated by the firmware is at INA time */ 327 rx_status->flag |= RX_FLAG_MACTIME_PLCP_START; 328 |
|
331 iwl_mvm_get_signal_strength(mvm, phy_info, rx_status); 332 333 IWL_DEBUG_STATS_LIMIT(mvm, "Rssi %d, TSF %llu\n", rx_status->signal, 334 (unsigned long long)rx_status->mactime); 335 336 rcu_read_lock(); 337 if (rx_pkt_status & RX_MPDU_RES_STATUS_SRC_STA_FOUND) { 338 u32 id = rx_pkt_status & RX_MPDU_RES_STATUS_STA_ID_MSK; --- 292 unchanged lines hidden --- | 329 iwl_mvm_get_signal_strength(mvm, phy_info, rx_status); 330 331 IWL_DEBUG_STATS_LIMIT(mvm, "Rssi %d, TSF %llu\n", rx_status->signal, 332 (unsigned long long)rx_status->mactime); 333 334 rcu_read_lock(); 335 if (rx_pkt_status & RX_MPDU_RES_STATUS_SRC_STA_FOUND) { 336 u32 id = rx_pkt_status & RX_MPDU_RES_STATUS_STA_ID_MSK; --- 292 unchanged lines hidden --- |