Home
last modified time | relevance | path

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

123456

/drivers/net/wireless/realtek/rtw88/
Drx.c89 struct ieee80211_rx_status *rx_status, in rtw_rx_fill_rx_status() argument
95 memset(rx_status, 0, sizeof(*rx_status)); in rtw_rx_fill_rx_status()
96 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtw_rx_fill_rx_status()
97 rx_status->band = hw->conf.chandef.chan->band; in rtw_rx_fill_rx_status()
99 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtw_rx_fill_rx_status()
101 rx_status->flag |= RX_FLAG_DECRYPTED; in rtw_rx_fill_rx_status()
104 rx_status->encoding = RX_ENC_VHT; in rtw_rx_fill_rx_status()
106 rx_status->encoding = RX_ENC_HT; in rtw_rx_fill_rx_status()
110 rx_status->nss = 1; in rtw_rx_fill_rx_status()
111 rx_status->rate_idx = pkt_stat->rate - DESC_RATEVHT1SS_MCS0; in rtw_rx_fill_rx_status()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Drxmq.c71 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_skb_get_hdr() local
80 if (rx_status->flag & RX_FLAG_RADIOTAP_HE) in iwl_mvm_skb_get_hdr()
82 if (rx_status->flag & RX_FLAG_RADIOTAP_HE_MU) in iwl_mvm_skb_get_hdr()
84 if (rx_status->flag & RX_FLAG_RADIOTAP_LSIG) in iwl_mvm_skb_get_hdr()
86 if (rx_status->flag & RX_FLAG_RADIOTAP_VENDOR_DATA) { in iwl_mvm_skb_get_hdr()
240 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_add_rtap_sniffer_config() local
267 rx_status->flag |= RX_FLAG_RADIOTAP_VENDOR_DATA; in iwl_mvm_add_rtap_sniffer_config()
284 struct ieee80211_rx_status *rx_status, in iwl_mvm_get_signal_strength() argument
298 rx_status->signal = max_energy; in iwl_mvm_get_signal_strength()
299 rx_status->chains = in iwl_mvm_get_signal_strength()
[all …]
Drx.c156 struct ieee80211_rx_status *rx_status) in iwl_mvm_get_signal_strength() argument
178 rx_status->signal = max_energy; in iwl_mvm_get_signal_strength()
179 rx_status->chains = (le16_to_cpu(phy_info->phy_flags) & in iwl_mvm_get_signal_strength()
182 rx_status->chain_signal[0] = energy_a; in iwl_mvm_get_signal_strength()
183 rx_status->chain_signal[1] = energy_b; in iwl_mvm_get_signal_strength()
184 rx_status->chain_signal[2] = energy_c; in iwl_mvm_get_signal_strength()
346 struct ieee80211_rx_status *rx_status; in iwl_mvm_rx_rx_mpdu() local
373 rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_rx_rx_mpdu()
378 if (iwl_mvm_set_mac80211_rx_flag(mvm, hdr, rx_status, rx_pkt_status, in iwl_mvm_rx_rx_mpdu()
393 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in iwl_mvm_rx_rx_mpdu()
[all …]
/drivers/staging/vt6656/
Ddpc.c32 struct ieee80211_rx_status rx_status = { 0 }; in vnt_rx_data() local
139 rx_status.mactime = priv->tsf_time; in vnt_rx_data()
140 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
141 rx_status.signal = rx_dbm; in vnt_rx_data()
142 rx_status.flag = 0; in vnt_rx_data()
143 rx_status.freq = hw->conf.chandef.chan->center_freq; in vnt_rx_data()
146 rx_status.flag |= RX_FLAG_FAILED_FCS_CRC; in vnt_rx_data()
151 rx_status.rate_idx = rate_idx; in vnt_rx_data()
155 rx_status.flag |= RX_FLAG_DECRYPTED; in vnt_rx_data()
165 memcpy(IEEE80211_SKB_RXCB(skb), &rx_status, sizeof(rx_status)); in vnt_rx_data()
/drivers/staging/vt6655/
Ddpc.c30 struct ieee80211_rx_status rx_status = { 0 }; in vnt_rx_data() local
90 rx_status.mactime = le64_to_cpu(*tsf_time); in vnt_rx_data()
91 rx_status.band = hw->conf.chandef.chan->band; in vnt_rx_data()
92 rx_status.signal = rx_dbm; in vnt_rx_data()
93 rx_status.flag = 0; in vnt_rx_data()
94 rx_status.freq = hw->conf.chandef.chan->center_freq; in vnt_rx_data()
97 rx_status.flag |= RX_FLAG_FAILED_FCS_CRC; in vnt_rx_data()
102 rx_status.rate_idx = rate_idx; in vnt_rx_data()
106 rx_status.flag |= RX_FLAG_DECRYPTED; in vnt_rx_data()
113 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/fjes/
Dfjes_trace.h277 __field(u16, rx_status)
284 __entry->rx_status =
285 hw->ep_shm_info[src_epid].tx.info->v1i.rx_status;
289 __entry->txrx_stop_req_bit, __entry->rx_status)
299 __field(u16, rx_status)
305 __entry->rx_status = hw->ep_shm_info[src_epid].tx.info->v1i.rx_status;
309 __entry->txrx_stop_req_bit, __entry->rx_status)
321 __field(u16, rx_status)
328 __entry->rx_status =
329 hw->ep_shm_info[src_epid].tx.info->v1i.rx_status;
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.c284 struct ieee80211_rx_status *rx_status, in rtl92cu_rx_query_desc() argument
308 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92cu_rx_query_desc()
309 rx_status->band = hw->conf.chandef.chan->band; in rtl92cu_rx_query_desc()
311 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92cu_rx_query_desc()
313 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92cu_rx_query_desc()
315 rx_status->bw = RATE_INFO_BW_40; in rtl92cu_rx_query_desc()
317 rx_status->encoding = RX_ENC_HT; in rtl92cu_rx_query_desc()
318 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92cu_rx_query_desc()
320 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92cu_rx_query_desc()
321 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92cu_rx_query_desc()
[all …]
/drivers/net/wireless/intel/iwlwifi/dvm/
Drx.c784 struct ieee80211_rx_status rx_status = {}; in iwlagn_rx_reply_rx() local
822 rx_status.mactime = le64_to_cpu(phy_res->timestamp); in iwlagn_rx_reply_rx()
823 rx_status.band = (phy_res->phy_flags & RX_RES_PHY_FLAGS_BAND_24_MSK) ? in iwlagn_rx_reply_rx()
825 rx_status.freq = in iwlagn_rx_reply_rx()
827 rx_status.band); in iwlagn_rx_reply_rx()
828 rx_status.rate_idx = in iwlagn_rx_reply_rx()
829 iwlagn_hwrate_to_mac80211_idx(rate_n_flags, rx_status.band); in iwlagn_rx_reply_rx()
830 rx_status.flag = 0; in iwlagn_rx_reply_rx()
839 rx_status.signal = iwlagn_calc_rssi(priv, phy_res); in iwlagn_rx_reply_rx()
842 rx_status.signal, (unsigned long long)rx_status.mactime); in iwlagn_rx_reply_rx()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c235 struct ieee80211_rx_status *rx_status, u8 *pdesc, in rtl92se_rx_query_desc() argument
263 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92se_rx_query_desc()
264 rx_status->band = hw->conf.chandef.chan->band; in rtl92se_rx_query_desc()
267 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92se_rx_query_desc()
270 rx_status->bw = RATE_INFO_BW_40; in rtl92se_rx_query_desc()
273 rx_status->encoding = RX_ENC_HT; in rtl92se_rx_query_desc()
275 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92se_rx_query_desc()
290 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl92se_rx_query_desc()
292 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92se_rx_query_desc()
295 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92se_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.c262 struct ieee80211_rx_status *rx_status, in rtl8723e_rx_query_desc() argument
289 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl8723e_rx_query_desc()
290 rx_status->band = hw->conf.chandef.chan->band; in rtl8723e_rx_query_desc()
296 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl8723e_rx_query_desc()
299 rx_status->bw = RATE_INFO_BW_40; in rtl8723e_rx_query_desc()
302 rx_status->encoding = RX_ENC_HT; in rtl8723e_rx_query_desc()
304 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl8723e_rx_query_desc()
317 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl8723e_rx_query_desc()
319 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl8723e_rx_query_desc()
327 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl8723e_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.c433 struct ieee80211_rx_status *rx_status, in rtl8821ae_rx_query_desc() argument
489 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl8821ae_rx_query_desc()
490 rx_status->band = hw->conf.chandef.chan->band; in rtl8821ae_rx_query_desc()
496 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl8821ae_rx_query_desc()
499 rx_status->bw = RATE_INFO_BW_40; in rtl8821ae_rx_query_desc()
501 rx_status->bw = RATE_INFO_BW_80; in rtl8821ae_rx_query_desc()
503 rx_status->encoding = RX_ENC_HT; in rtl8821ae_rx_query_desc()
505 rx_status->encoding = RX_ENC_VHT; in rtl8821ae_rx_query_desc()
508 rx_status->enc_flags |= RX_ENC_FLAG_SHORT_GI; in rtl8821ae_rx_query_desc()
510 rx_status->nss = status->vht_nss; in rtl8821ae_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c298 struct ieee80211_rx_status *rx_status, in rtl92ce_rx_query_desc() argument
326 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92ce_rx_query_desc()
327 rx_status->band = hw->conf.chandef.chan->band; in rtl92ce_rx_query_desc()
333 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92ce_rx_query_desc()
336 rx_status->bw = RATE_INFO_BW_40; in rtl92ce_rx_query_desc()
339 rx_status->encoding = RX_ENC_HT; in rtl92ce_rx_query_desc()
341 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92ce_rx_query_desc()
354 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl92ce_rx_query_desc()
356 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92ce_rx_query_desc()
363 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92ce_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.c298 struct ieee80211_rx_status *rx_status, in rtl8723be_rx_query_desc() argument
346 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl8723be_rx_query_desc()
347 rx_status->band = hw->conf.chandef.chan->band; in rtl8723be_rx_query_desc()
353 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl8723be_rx_query_desc()
356 rx_status->bw = RATE_INFO_BW_40; in rtl8723be_rx_query_desc()
359 rx_status->encoding = RX_ENC_HT; in rtl8723be_rx_query_desc()
361 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl8723be_rx_query_desc()
374 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl8723be_rx_query_desc()
376 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl8723be_rx_query_desc()
383 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl8723be_rx_query_desc()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.c369 struct ieee80211_rx_status *rx_status, in rtl88ee_rx_query_desc() argument
416 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl88ee_rx_query_desc()
417 rx_status->band = hw->conf.chandef.chan->band; in rtl88ee_rx_query_desc()
423 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl88ee_rx_query_desc()
426 rx_status->bw = RATE_INFO_BW_40; in rtl88ee_rx_query_desc()
429 rx_status->encoding = RX_ENC_HT; in rtl88ee_rx_query_desc()
431 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl88ee_rx_query_desc()
444 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl88ee_rx_query_desc()
446 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl88ee_rx_query_desc()
454 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl88ee_rx_query_desc()
[all …]
/drivers/net/wireless/intersil/p54/
Dtxrx.c330 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in p54_rx_data() local
349 rx_status->flag |= RX_FLAG_DECRYPTED; in p54_rx_data()
352 rx_status->flag |= RX_FLAG_MMIC_ERROR; in p54_rx_data()
354 rx_status->signal = p54_rssi_to_dbm(priv, hdr->rssi); in p54_rx_data()
356 rx_status->enc_flags |= RX_ENC_FLAG_SHORTPRE; in p54_rx_data()
358 rx_status->rate_idx = (rate < 4) ? 0 : rate - 4; in p54_rx_data()
360 rx_status->rate_idx = rate; in p54_rx_data()
362 rx_status->freq = freq; in p54_rx_data()
363 rx_status->band = priv->hw->conf.chandef.chan->band; in p54_rx_data()
364 rx_status->antenna = hdr->antenna; in p54_rx_data()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c440 struct ieee80211_rx_status *rx_status, in rtl92de_rx_query_desc() argument
463 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92de_rx_query_desc()
464 rx_status->band = hw->conf.chandef.chan->band; in rtl92de_rx_query_desc()
466 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92de_rx_query_desc()
468 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92de_rx_query_desc()
470 rx_status->bw = RATE_INFO_BW_40; in rtl92de_rx_query_desc()
472 rx_status->encoding = RX_ENC_HT; in rtl92de_rx_query_desc()
473 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92de_rx_query_desc()
475 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92de_rx_query_desc()
476 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92de_rx_query_desc()
[all …]
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c965 struct ieee80211_rx_status *rx_status) in ath9k_rx_prepare() argument
1010 memset(rx_status, 0, sizeof(struct ieee80211_rx_status)); in ath9k_rx_prepare()
1016 rx_status->mactime = be64_to_cpu(rxstatus->rs_tstamp); in ath9k_rx_prepare()
1032 &rx_stats, rx_status->mactime)) { in ath9k_rx_prepare()
1038 if (!ath9k_cmn_rx_accept(common, hdr, rx_status, &rx_stats, in ath9k_rx_prepare()
1043 rx_status, decrypt_error); in ath9k_rx_prepare()
1045 if (ath9k_cmn_process_rate(common, hw, &rx_stats, rx_status)) in ath9k_rx_prepare()
1049 ath9k_cmn_process_rssi(common, hw, &rx_stats, rx_status); in ath9k_rx_prepare()
1051 rx_status->band = ah->curchan->chan->band; in ath9k_rx_prepare()
1052 rx_status->freq = ah->curchan->chan->center_freq; in ath9k_rx_prepare()
[all …]
/drivers/staging/octeon/
Dethernet.c203 cvmx_pip_port_status_t rx_status; in cvm_oct_common_get_stats() local
210 memset(&rx_status, 0, sizeof(rx_status)); in cvm_oct_common_get_stats()
213 cvmx_pip_get_port_status(priv->port, 1, &rx_status); in cvm_oct_common_get_stats()
217 dev->stats.rx_packets += rx_status.inb_packets; in cvm_oct_common_get_stats()
219 dev->stats.rx_bytes += rx_status.inb_octets; in cvm_oct_common_get_stats()
221 dev->stats.multicast += rx_status.multicast_packets; in cvm_oct_common_get_stats()
222 dev->stats.rx_crc_errors += rx_status.inb_errors; in cvm_oct_common_get_stats()
223 dev->stats.rx_frame_errors += rx_status.fcs_align_err_packets; in cvm_oct_common_get_stats()
224 dev->stats.rx_dropped += rx_status.dropped_packets; in cvm_oct_common_get_stats()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c329 struct ieee80211_rx_status *rx_status, in rtl92ee_rx_query_desc() argument
369 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92ee_rx_query_desc()
370 rx_status->band = hw->conf.chandef.chan->band; in rtl92ee_rx_query_desc()
376 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92ee_rx_query_desc()
379 rx_status->bw = RATE_INFO_BW_40; in rtl92ee_rx_query_desc()
382 rx_status->encoding = RX_ENC_HT; in rtl92ee_rx_query_desc()
384 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92ee_rx_query_desc()
397 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92ee_rx_query_desc()
399 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl92ee_rx_query_desc()
407 rx_status->rate_idx = rtlwifi_rate_mapping(hw, status->is_ht, in rtl92ee_rx_query_desc()
[all …]
/drivers/net/wireless/ralink/rt2x00/
Drt2x00dev.c742 struct ieee80211_rx_status *rx_status; in rt2x00lib_rxdone() local
839 rx_status = IEEE80211_SKB_RXCB(entry->skb); in rt2x00lib_rxdone()
846 memset(rx_status, 0, sizeof(*rx_status)); in rt2x00lib_rxdone()
848 rx_status->mactime = rxdesc.timestamp; in rt2x00lib_rxdone()
849 rx_status->band = rt2x00dev->curr_band; in rt2x00lib_rxdone()
850 rx_status->freq = rt2x00dev->curr_freq; in rt2x00lib_rxdone()
851 rx_status->rate_idx = rate_idx; in rt2x00lib_rxdone()
852 rx_status->signal = rxdesc.rssi; in rt2x00lib_rxdone()
853 rx_status->flag = rxdesc.flags; in rt2x00lib_rxdone()
854 rx_status->enc_flags = rxdesc.enc_flags; in rt2x00lib_rxdone()
[all …]
/drivers/net/wireless/
Dmac80211_hwsim.c1224 struct ieee80211_rx_status rx_status; in mac80211_hwsim_tx_frame_no_nl() local
1227 memset(&rx_status, 0, sizeof(rx_status)); in mac80211_hwsim_tx_frame_no_nl()
1228 rx_status.flag |= RX_FLAG_MACTIME_START; in mac80211_hwsim_tx_frame_no_nl()
1229 rx_status.freq = chan->center_freq; in mac80211_hwsim_tx_frame_no_nl()
1230 rx_status.band = chan->band; in mac80211_hwsim_tx_frame_no_nl()
1232 rx_status.rate_idx = in mac80211_hwsim_tx_frame_no_nl()
1234 rx_status.nss = in mac80211_hwsim_tx_frame_no_nl()
1236 rx_status.encoding = RX_ENC_VHT; in mac80211_hwsim_tx_frame_no_nl()
1238 rx_status.rate_idx = info->control.rates[0].idx; in mac80211_hwsim_tx_frame_no_nl()
1240 rx_status.encoding = RX_ENC_HT; in mac80211_hwsim_tx_frame_no_nl()
[all …]
/drivers/net/ethernet/silan/
Dsc92031.c695 u32 rx_status, unsigned rx_size) in _sc92031_rx_tasklet_error() argument
702 if (!(rx_status & RxStatesOK)) { in _sc92031_rx_tasklet_error()
705 if (rx_status & (RxHugeFrame | RxSmallFrame)) in _sc92031_rx_tasklet_error()
708 if (rx_status & RxBadAlign) in _sc92031_rx_tasklet_error()
711 if (!(rx_status & RxCRCOK)) in _sc92031_rx_tasklet_error()
758 u32 rx_status; in _sc92031_rx_tasklet() local
762 rx_status = le32_to_cpup((__le32 *)(rx_ring + rx_ring_offset)); in _sc92031_rx_tasklet()
765 rx_size = rx_status >> 20; in _sc92031_rx_tasklet()
771 if (unlikely(rx_status == 0 || in _sc92031_rx_tasklet()
774 !(rx_status & RxStatesOK))) { in _sc92031_rx_tasklet()
[all …]
/drivers/net/ethernet/amd/
Dnmclan_cs.c1066 unsigned short rx_status; in mace_rx() local
1073 rx_status = inw(ioaddr + AM2150_RCV); in mace_rx()
1076 " 0x%X.\n", dev->name, rx_framecnt, rx_status); in mace_rx()
1078 if (rx_status & MACE_RCVFS_RCVSTS) { /* Error, update stats. */ in mace_rx()
1080 if (rx_status & MACE_RCVFS_OFLO) { in mace_rx()
1083 if (rx_status & MACE_RCVFS_CLSN) { in mace_rx()
1086 if (rx_status & MACE_RCVFS_FRAM) { in mace_rx()
1089 if (rx_status & MACE_RCVFS_FCS) { in mace_rx()
1093 short pkt_len = (rx_status & ~MACE_RCVFS_RCVSTS) - 4; in mace_rx()
1103 " 0x%X.\n", pkt_len, rx_status); in mace_rx()
/drivers/net/wireless/intel/iwlegacy/
D3945.c528 struct ieee80211_rx_status rx_status = {}; in il3945_hdl_rx() local
538 rx_status.flag = 0; in il3945_hdl_rx()
539 rx_status.mactime = le64_to_cpu(rx_end->timestamp); in il3945_hdl_rx()
540 rx_status.band = in il3945_hdl_rx()
544 rx_status.freq = in il3945_hdl_rx()
546 rx_status.band); in il3945_hdl_rx()
548 rx_status.rate_idx = il3945_hwrate_to_plcp_idx(rx_hdr->rate); in il3945_hdl_rx()
549 if (rx_status.band == NL80211_BAND_5GHZ) in il3945_hdl_rx()
550 rx_status.rate_idx -= IL_FIRST_OFDM_RATE; in il3945_hdl_rx()
552 rx_status.antenna = in il3945_hdl_rx()
[all …]

123456