Home
last modified time | relevance | path

Searched refs:rx_status (Results 1 – 25 of 112) sorted by relevance

12345

/drivers/net/wireless/iwlwifi/mvm/
Drx.c142 struct ieee80211_rx_status *rx_status) in iwl_mvm_get_signal_strength() argument
164 rx_status->signal = max_energy; in iwl_mvm_get_signal_strength()
165 rx_status->chains = (le16_to_cpu(phy_info->phy_flags) & in iwl_mvm_get_signal_strength()
168 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
169 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
170 rx_status->chain_signal[2] = energy_c; in iwl_mvm_get_signal_strength()
260 struct ieee80211_rx_status *rx_status; in iwl_mvm_rx_rx_mpdu() local
288 rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_rx_mpdu()
293 if (iwl_mvm_set_mac80211_rx_flag(mvm, hdr, rx_status, rx_pkt_status, in iwl_mvm_rx_rx_mpdu()
308 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in iwl_mvm_rx_rx_mpdu()
[all …]
/drivers/staging/vt6655/
Ddpc.c43 struct ieee80211_rx_status rx_status = { 0 }; in vnt_rx_data() local
105 rx_status.mactime = le64_to_cpu(*tsf_time); in vnt_rx_data()
106 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
107 rx_status.signal = rx_dbm; in vnt_rx_data()
108 rx_status.flag = 0; in vnt_rx_data()
109 rx_status.freq = hw->conf.chandef.chan->center_freq; in vnt_rx_data()
112 rx_status.flag |= RX_FLAG_FAILED_FCS_CRC; in vnt_rx_data()
117 rx_status.rate_idx = rate_idx; in vnt_rx_data()
121 rx_status.flag |= RX_FLAG_DECRYPTED; in vnt_rx_data()
128 memcpy(IEEE80211_SKB_RXCB(skb), &rx_status, sizeof(rx_status)); in vnt_rx_data()
/drivers/staging/vt6656/
Ddpc.c45 struct ieee80211_rx_status rx_status = { 0 }; in vnt_rx_data() local
155 rx_status.mactime = priv->tsf_time; in vnt_rx_data()
156 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
157 rx_status.signal = rx_dbm; in vnt_rx_data()
158 rx_status.flag = 0; in vnt_rx_data()
159 rx_status.freq = hw->conf.chandef.chan->center_freq; in vnt_rx_data()
162 rx_status.flag |= RX_FLAG_FAILED_FCS_CRC; in vnt_rx_data()
167 rx_status.rate_idx = rate_idx; in vnt_rx_data()
171 rx_status.flag |= RX_FLAG_DECRYPTED; in vnt_rx_data()
181 memcpy(IEEE80211_SKB_RXCB(skb), &rx_status, sizeof(rx_status)); in vnt_rx_data()
/drivers/net/wireless/ath/ath5k/
Ddesc.c605 struct ath5k_hw_rx_status *rx_status; in ath5k_hw_proc_5210_rx_status() local
607 rx_status = &desc->ud.ds_rx.rx_stat; in ath5k_hw_proc_5210_rx_status()
610 if (unlikely(!(rx_status->rx_status_1 & in ath5k_hw_proc_5210_rx_status()
619 rs->rs_datalen = rx_status->rx_status_0 & in ath5k_hw_proc_5210_rx_status()
621 rs->rs_rssi = AR5K_REG_MS(rx_status->rx_status_0, in ath5k_hw_proc_5210_rx_status()
623 rs->rs_rate = AR5K_REG_MS(rx_status->rx_status_0, in ath5k_hw_proc_5210_rx_status()
625 rs->rs_more = !!(rx_status->rx_status_0 & in ath5k_hw_proc_5210_rx_status()
632 rs->rs_tstamp = AR5K_REG_MS(rx_status->rx_status_1, in ath5k_hw_proc_5210_rx_status()
636 rs->rs_antenna = AR5K_REG_MS(rx_status->rx_status_0, in ath5k_hw_proc_5210_rx_status()
639 rs->rs_antenna = (rx_status->rx_status_0 & in ath5k_hw_proc_5210_rx_status()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.c306 struct ieee80211_rx_status *rx_status, in rtl92cu_rx_query_desc() argument
329 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92cu_rx_query_desc()
330 rx_status->band = hw->conf.chandef.chan->band; in rtl92cu_rx_query_desc()
332 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92cu_rx_query_desc()
334 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92cu_rx_query_desc()
336 rx_status->flag |= RX_FLAG_40MHZ; in rtl92cu_rx_query_desc()
338 rx_status->flag |= RX_FLAG_HT; in rtl92cu_rx_query_desc()
339 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92cu_rx_query_desc()
341 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92cu_rx_query_desc()
342 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92cu_rx_query_desc()
[all …]
/drivers/net/wireless/iwlwifi/dvm/
Drx.c874 struct ieee80211_rx_status rx_status = {}; in iwlagn_rx_reply_rx() local
912 rx_status.mactime = le64_to_cpu(phy_res->timestamp); in iwlagn_rx_reply_rx()
913 rx_status.band = (phy_res->phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? in iwlagn_rx_reply_rx()
915 rx_status.freq = in iwlagn_rx_reply_rx()
917 rx_status.band); in iwlagn_rx_reply_rx()
918 rx_status.rate_idx = in iwlagn_rx_reply_rx()
919 iwlagn_hwrate_to_mac80211_idx(rate_n_flags, rx_status.band); in iwlagn_rx_reply_rx()
920 rx_status.flag = 0; in iwlagn_rx_reply_rx()
929 rx_status.signal = iwlagn_calc_rssi(priv, phy_res); in iwlagn_rx_reply_rx()
932 rx_status.signal, (unsigned long long)rx_status.mactime); in iwlagn_rx_reply_rx()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c284 struct ieee80211_rx_status *rx_status, in rtl8723e_rx_query_desc() argument
310 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl8723e_rx_query_desc()
311 rx_status->band = hw->conf.chandef.chan->band; in rtl8723e_rx_query_desc()
317 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl8723e_rx_query_desc()
320 rx_status->flag |= RX_FLAG_40MHZ; in rtl8723e_rx_query_desc()
323 rx_status->flag |= RX_FLAG_HT; in rtl8723e_rx_query_desc()
325 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl8723e_rx_query_desc()
338 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl8723e_rx_query_desc()
340 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl8723e_rx_query_desc()
348 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl8723e_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c261 struct ieee80211_rx_status *rx_status, u8 *pdesc, in rtl92se_rx_query_desc() argument
289 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92se_rx_query_desc()
290 rx_status->band = hw->conf.chandef.chan->band; in rtl92se_rx_query_desc()
293 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92se_rx_query_desc()
296 rx_status->flag |= RX_FLAG_40MHZ; in rtl92se_rx_query_desc()
299 rx_status->flag |= RX_FLAG_HT; in rtl92se_rx_query_desc()
301 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92se_rx_query_desc()
316 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl92se_rx_query_desc()
318 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92se_rx_query_desc()
321 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92se_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c340 struct ieee80211_rx_status *rx_status, in rtl92ce_rx_query_desc() argument
366 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92ce_rx_query_desc()
367 rx_status->band = hw->conf.chandef.chan->band; in rtl92ce_rx_query_desc()
373 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92ce_rx_query_desc()
376 rx_status->flag |= RX_FLAG_40MHZ; in rtl92ce_rx_query_desc()
379 rx_status->flag |= RX_FLAG_HT; in rtl92ce_rx_query_desc()
381 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92ce_rx_query_desc()
394 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl92ce_rx_query_desc()
396 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92ce_rx_query_desc()
403 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92ce_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c458 struct ieee80211_rx_status *rx_status, in rtl8821ae_rx_query_desc() argument
513 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl8821ae_rx_query_desc()
514 rx_status->band = hw->conf.chandef.chan->band; in rtl8821ae_rx_query_desc()
520 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl8821ae_rx_query_desc()
523 rx_status->flag |= RX_FLAG_40MHZ; in rtl8821ae_rx_query_desc()
525 rx_status->vht_flag |= RX_VHT_FLAG_80MHZ; in rtl8821ae_rx_query_desc()
527 rx_status->flag |= RX_FLAG_HT; in rtl8821ae_rx_query_desc()
529 rx_status->flag |= RX_FLAG_VHT; in rtl8821ae_rx_query_desc()
532 rx_status->flag |= RX_FLAG_SHORT_GI; in rtl8821ae_rx_query_desc()
534 rx_status->vht_nss = status->vht_nss; in rtl8821ae_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c319 struct ieee80211_rx_status *rx_status, in rtl8723be_rx_query_desc() argument
366 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl8723be_rx_query_desc()
367 rx_status->band = hw->conf.chandef.chan->band; in rtl8723be_rx_query_desc()
373 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl8723be_rx_query_desc()
376 rx_status->flag |= RX_FLAG_40MHZ; in rtl8723be_rx_query_desc()
379 rx_status->flag |= RX_FLAG_HT; in rtl8723be_rx_query_desc()
381 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl8723be_rx_query_desc()
394 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl8723be_rx_query_desc()
396 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl8723be_rx_query_desc()
403 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl8723be_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c392 struct ieee80211_rx_status *rx_status, in rtl88ee_rx_query_desc() argument
437 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl88ee_rx_query_desc()
438 rx_status->band = hw->conf.chandef.chan->band; in rtl88ee_rx_query_desc()
444 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl88ee_rx_query_desc()
447 rx_status->flag |= RX_FLAG_40MHZ; in rtl88ee_rx_query_desc()
450 rx_status->flag |= RX_FLAG_HT; in rtl88ee_rx_query_desc()
452 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl88ee_rx_query_desc()
465 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl88ee_rx_query_desc()
467 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl88ee_rx_query_desc()
475 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl88ee_rx_query_desc()
[all …]
/drivers/staging/octeon/
Dethernet.c208 cvmx_pip_port_status_t rx_status; in cvm_oct_common_get_stats() local
215 memset(&rx_status, 0, sizeof(rx_status)); in cvm_oct_common_get_stats()
218 cvmx_pip_get_port_status(priv->port, 1, &rx_status); in cvm_oct_common_get_stats()
222 priv->stats.rx_packets += rx_status.inb_packets; in cvm_oct_common_get_stats()
224 priv->stats.rx_bytes += rx_status.inb_octets; in cvm_oct_common_get_stats()
226 priv->stats.multicast += rx_status.multicast_packets; in cvm_oct_common_get_stats()
227 priv->stats.rx_crc_errors += rx_status.inb_errors; in cvm_oct_common_get_stats()
228 priv->stats.rx_frame_errors += rx_status.fcs_align_err_packets; in cvm_oct_common_get_stats()
235 atomic64_add(rx_status.dropped_packets, in cvm_oct_common_get_stats()
238 atomic_add(rx_status.dropped_packets, in cvm_oct_common_get_stats()
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c964 struct ieee80211_rx_status *rx_status) in ath9k_rx_prepare() argument
1009 memset(rx_status, 0, sizeof(struct ieee80211_rx_status)); in ath9k_rx_prepare()
1015 rx_status->mactime = be64_to_cpu(rxstatus->rs_tstamp); in ath9k_rx_prepare()
1031 &rx_stats, rx_status->mactime)) { in ath9k_rx_prepare()
1037 if (!ath9k_cmn_rx_accept(common, hdr, rx_status, &rx_stats, in ath9k_rx_prepare()
1042 rx_status, decrypt_error); in ath9k_rx_prepare()
1044 if (ath9k_cmn_process_rate(common, hw, &rx_stats, rx_status)) in ath9k_rx_prepare()
1048 ath9k_cmn_process_rssi(common, hw, &rx_stats, rx_status); in ath9k_rx_prepare()
1050 rx_status->band = ah->curchan->chan->band; in ath9k_rx_prepare()
1051 rx_status->freq = ah->curchan->chan->center_freq; in ath9k_rx_prepare()
[all …]
Drecv.c807 struct ieee80211_rx_status *rx_status, in ath9k_rx_skb_preprocess() argument
859 ath9k_process_tsf(rx_stats, rx_status, tsf); in ath9k_rx_skb_preprocess()
867 ath9k_dfs_process_phyerr(sc, hdr, rx_stats, rx_status->mactime); in ath9k_rx_skb_preprocess()
868 if (ath_cmn_process_fft(&sc->spec_priv, hdr, rx_stats, rx_status->mactime)) in ath9k_rx_skb_preprocess()
879 if (!ath9k_cmn_rx_accept(common, hdr, rx_status, rx_stats, decrypt_error, in ath9k_rx_skb_preprocess()
897 if (ath9k_cmn_process_rate(common, hw, rx_stats, rx_status)) { in ath9k_rx_skb_preprocess()
914 ath9k_cmn_process_rssi(common, hw, rx_stats, rx_status); in ath9k_rx_skb_preprocess()
916 rx_status->band = ah->curchan->chan->band; in ath9k_rx_skb_preprocess()
917 rx_status->freq = ah->curchan->chan->center_freq; in ath9k_rx_skb_preprocess()
918 rx_status->antenna = rx_stats->rs_antenna; in ath9k_rx_skb_preprocess()
[all …]
/drivers/net/wireless/p54/
Dtxrx.c330 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in p54_rx_data() local
348 rx_status->flag |= RX_FLAG_DECRYPTED; in p54_rx_data()
351 rx_status->flag |= RX_FLAG_MMIC_ERROR; in p54_rx_data()
353 rx_status->signal = p54_rssi_to_dbm(priv, hdr->rssi); in p54_rx_data()
355 rx_status->flag |= RX_FLAG_SHORTPRE; in p54_rx_data()
357 rx_status->rate_idx = (rate < 4) ? 0 : rate - 4; in p54_rx_data()
359 rx_status->rate_idx = rate; in p54_rx_data()
361 rx_status->freq = freq; in p54_rx_data()
362 rx_status->band = priv->hw->conf.chandef.chan->band; in p54_rx_data()
363 rx_status->antenna = hdr->antenna; in p54_rx_data()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c480 struct ieee80211_rx_status *rx_status, in rtl92de_rx_query_desc() argument
503 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92de_rx_query_desc()
504 rx_status->band = hw->conf.chandef.chan->band; in rtl92de_rx_query_desc()
506 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92de_rx_query_desc()
508 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92de_rx_query_desc()
510 rx_status->flag |= RX_FLAG_40MHZ; in rtl92de_rx_query_desc()
512 rx_status->flag |= RX_FLAG_HT; in rtl92de_rx_query_desc()
513 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92de_rx_query_desc()
515 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92de_rx_query_desc()
516 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92de_rx_query_desc()
[all …]
/drivers/net/wireless/
Dmac80211_hwsim.c1252 struct ieee80211_rx_status rx_status; in mac80211_hwsim_tx_frame_no_nl() local
1255 memset(&rx_status, 0, sizeof(rx_status)); in mac80211_hwsim_tx_frame_no_nl()
1256 rx_status.flag |= RX_FLAG_MACTIME_START; in mac80211_hwsim_tx_frame_no_nl()
1257 rx_status.freq = chan->center_freq; in mac80211_hwsim_tx_frame_no_nl()
1258 rx_status.band = chan->band; in mac80211_hwsim_tx_frame_no_nl()
1260 rx_status.rate_idx = in mac80211_hwsim_tx_frame_no_nl()
1262 rx_status.vht_nss = in mac80211_hwsim_tx_frame_no_nl()
1264 rx_status.flag |= RX_FLAG_VHT; in mac80211_hwsim_tx_frame_no_nl()
1266 rx_status.rate_idx = info->control.rates[0].idx; in mac80211_hwsim_tx_frame_no_nl()
1268 rx_status.flag |= RX_FLAG_HT; in mac80211_hwsim_tx_frame_no_nl()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c349 struct ieee80211_rx_status *rx_status, in rtl92ee_rx_query_desc() argument
387 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92ee_rx_query_desc()
388 rx_status->band = hw->conf.chandef.chan->band; in rtl92ee_rx_query_desc()
394 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92ee_rx_query_desc()
397 rx_status->flag |= RX_FLAG_40MHZ; in rtl92ee_rx_query_desc()
400 rx_status->flag |= RX_FLAG_HT; in rtl92ee_rx_query_desc()
402 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92ee_rx_query_desc()
415 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92ee_rx_query_desc()
417 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl92ee_rx_query_desc()
425 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl92ee_rx_query_desc()
[all …]
/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c988 struct ieee80211_rx_status *rx_status, in ath10k_process_rx() argument
996 *status = *rx_status; in ath10k_process_rx()
1588 struct ieee80211_rx_status *rx_status) in ath10k_htt_rx_amsdu_allowed() argument
1602 if (!rx_status->freq) { in ath10k_htt_rx_amsdu_allowed()
1634 struct ieee80211_rx_status *rx_status) in ath10k_htt_rx_h_filter() argument
1639 if (ath10k_htt_rx_amsdu_allowed(ar, amsdu, rx_status)) in ath10k_htt_rx_h_filter()
1649 struct ieee80211_rx_status *rx_status = &htt->rx_status; in ath10k_htt_rx_handler() local
1691 ath10k_htt_rx_h_ppdu(ar, &amsdu, rx_status, 0xffff); in ath10k_htt_rx_handler()
1693 ath10k_htt_rx_h_filter(ar, &amsdu, rx_status); in ath10k_htt_rx_handler()
1694 ath10k_htt_rx_h_mpdu(ar, &amsdu, rx_status, true); in ath10k_htt_rx_handler()
[all …]
/drivers/net/ethernet/amd/
Dnmclan_cs.c1068 unsigned short rx_status; in mace_rx() local
1075 rx_status = inw(ioaddr + AM2150_RCV); in mace_rx()
1078 " 0x%X.\n", dev->name, rx_framecnt, rx_status); in mace_rx()
1080 if (rx_status & MACE_RCVFS_RCVSTS) { /* Error, update stats. */ in mace_rx()
1082 if (rx_status & MACE_RCVFS_OFLO) { in mace_rx()
1085 if (rx_status & MACE_RCVFS_CLSN) { in mace_rx()
1088 if (rx_status & MACE_RCVFS_FRAM) { in mace_rx()
1091 if (rx_status & MACE_RCVFS_FCS) { in mace_rx()
1095 short pkt_len = (rx_status & ~MACE_RCVFS_RCVSTS) - 4; in mace_rx()
1105 " 0x%X.\n", pkt_len, rx_status); in mace_rx()
/drivers/net/wireless/iwlegacy/
D3945.c543 struct ieee80211_rx_status rx_status = {}; in il3945_hdl_rx() local
553 rx_status.flag = 0; in il3945_hdl_rx()
554 rx_status.mactime = le64_to_cpu(rx_end->timestamp); in il3945_hdl_rx()
555 rx_status.band = in il3945_hdl_rx()
559 rx_status.freq = in il3945_hdl_rx()
561 rx_status.band); in il3945_hdl_rx()
563 rx_status.rate_idx = il3945_hwrate_to_plcp_idx(rx_hdr->rate); in il3945_hdl_rx()
564 if (rx_status.band == IEEE80211_BAND_5GHZ) in il3945_hdl_rx()
565 rx_status.rate_idx -= IL_FIRST_OFDM_RATE; in il3945_hdl_rx()
567 rx_status.antenna = in il3945_hdl_rx()
[all …]
/drivers/net/wireless/rt2x00/
Drt2x00dev.c688 struct ieee80211_rx_status *rx_status; in rt2x00lib_rxdone() local
785 rx_status = IEEE80211_SKB_RXCB(entry->skb); in rt2x00lib_rxdone()
792 memset(rx_status, 0, sizeof(*rx_status)); in rt2x00lib_rxdone()
794 rx_status->mactime = rxdesc.timestamp; in rt2x00lib_rxdone()
795 rx_status->band = rt2x00dev->curr_band; in rt2x00lib_rxdone()
796 rx_status->freq = rt2x00dev->curr_freq; in rt2x00lib_rxdone()
797 rx_status->rate_idx = rate_idx; in rt2x00lib_rxdone()
798 rx_status->signal = rxdesc.rssi; in rt2x00lib_rxdone()
799 rx_status->flag = rxdesc.flags; in rt2x00lib_rxdone()
800 rx_status->antenna = rt2x00dev->link.ant.active.rx; in rt2x00lib_rxdone()
/drivers/net/ethernet/intel/i40evf/
Di40e_txrx.c782 u32 rx_status, in i40e_rx_checksum() argument
805 if (!(rx_status & BIT(I40E_RX_DESC_STATUS_L3L4P_SHIFT))) in i40e_rx_checksum()
826 rx_status & BIT(I40E_RX_DESC_STATUS_IPV6EXADD_SHIFT)) in i40e_rx_checksum()
944 u32 rx_error, rx_status; in i40e_clean_rx_irq_ps() local
961 rx_status = (qword & I40E_RXD_QW1_STATUS_MASK) >> in i40e_clean_rx_irq_ps()
964 if (!(rx_status & BIT(I40E_RX_DESC_STATUS_DD_SHIFT))) in i40e_clean_rx_irq_ps()
1054 !(rx_status & BIT(I40E_RX_DESC_STATUS_EOF_SHIFT)))) { in i40e_clean_rx_irq_ps()
1077 i40e_rx_checksum(vsi, skb, rx_status, rx_error, rx_ptype); in i40e_clean_rx_irq_ps()
1079 vlan_tag = rx_status & BIT(I40E_RX_DESC_STATUS_L2TAG1P_SHIFT) in i40e_clean_rx_irq_ps()
1118 u32 rx_error, rx_status; in i40e_clean_rx_irq_1buf() local
[all …]
/drivers/net/ethernet/realtek/
Datp.c763 rx_head.rx_count, rx_head.rx_status, rx_head.cur_addr); in net_rx()
764 if ((rx_head.rx_status & 0x77) != 0x01) { in net_rx()
766 if (rx_head.rx_status & 0x0004) dev->stats.rx_frame_errors++; in net_rx()
767 else if (rx_head.rx_status & 0x0002) dev->stats.rx_crc_errors++; in net_rx()
770 dev->name, rx_head.rx_status); in net_rx()
771 if (rx_head.rx_status & 0x0020) { in net_rx()
775 } else if (rx_head.rx_status & 0x0050) in net_rx()

12345