Home
last modified time | relevance | path

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

1234567

/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
Drx.c144 struct ieee80211_rx_status *rx_status, in rtw_rx_fill_rx_status() argument
150 memset(rx_status, 0, sizeof(*rx_status)); in rtw_rx_fill_rx_status()
151 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtw_rx_fill_rx_status()
152 rx_status->band = hw->conf.chandef.chan->band; in rtw_rx_fill_rx_status()
154 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtw_rx_fill_rx_status()
156 rx_status->flag |= RX_FLAG_DECRYPTED; in rtw_rx_fill_rx_status()
159 rx_status->encoding = RX_ENC_VHT; in rtw_rx_fill_rx_status()
161 rx_status->encoding = RX_ENC_HT; in rtw_rx_fill_rx_status()
163 if (rx_status->band == NL80211_BAND_5GHZ && in rtw_rx_fill_rx_status()
166 rx_status->rate_idx = pkt_stat->rate - DESC_RATE6M; in rtw_rx_fill_rx_status()
[all …]
/kernel/linux/linux-5.10/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()
292 struct ieee80211_rx_status *rx_status = IEEE80211_SKB_RXCB(skb); in iwl_mvm_add_rtap_sniffer_config() local
319 rx_status->flag |= RX_FLAG_RADIOTAP_VENDOR_DATA; in iwl_mvm_add_rtap_sniffer_config()
336 struct ieee80211_rx_status *rx_status, in iwl_mvm_get_signal_strength() argument
350 rx_status->signal = max_energy; in iwl_mvm_get_signal_strength()
351 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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_dp_hdcp.c313 u8 *rx_status) in intel_dp_hdcp2_read_rx_status() argument
319 DP_HDCP_2_2_REG_RXSTATUS_OFFSET, rx_status, in intel_dp_hdcp2_read_rx_status()
334 u8 rx_status; in hdcp2_detect_msg_availability() local
338 ret = intel_dp_hdcp2_read_rx_status(dig_port, &rx_status); in hdcp2_detect_msg_availability()
344 if (HDCP_2_2_DP_RXSTATUS_H_PRIME(rx_status)) in hdcp2_detect_msg_availability()
348 if (HDCP_2_2_DP_RXSTATUS_PAIRING(rx_status)) in hdcp2_detect_msg_availability()
352 if (HDCP_2_2_DP_RXSTATUS_READY(rx_status)) in hdcp2_detect_msg_availability()
566 u8 rx_status; in intel_dp_hdcp2_check_link() local
569 ret = intel_dp_hdcp2_read_rx_status(dig_port, &rx_status); in intel_dp_hdcp2_check_link()
573 if (HDCP_2_2_DP_RXSTATUS_REAUTH_REQ(rx_status)) in intel_dp_hdcp2_check_link()
[all …]
/kernel/linux/linux-5.10/drivers/staging/vt6656/
Dusbpipe.c268 struct ieee80211_rx_status *rx_status; in vnt_rx_data() local
278 rx_status = IEEE80211_SKB_RXCB(skb); in vnt_rx_data()
343 rx_status->mactime = priv->tsf_time; in vnt_rx_data()
344 rx_status->band = hw->conf.chandef.chan->band; in vnt_rx_data()
345 rx_status->signal = rx_dbm; in vnt_rx_data()
346 rx_status->flag = 0; in vnt_rx_data()
347 rx_status->freq = hw->conf.chandef.chan->center_freq; in vnt_rx_data()
350 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in vnt_rx_data()
352 rx_status->rate_idx = rate_idx; in vnt_rx_data()
355 rx_status->flag |= RX_FLAG_DECRYPTED; in vnt_rx_data()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.c258 struct ieee80211_rx_status *rx_status, in rtl92ce_rx_query_desc() argument
286 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92ce_rx_query_desc()
287 rx_status->band = hw->conf.chandef.chan->band; in rtl92ce_rx_query_desc()
293 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92ce_rx_query_desc()
296 rx_status->bw = RATE_INFO_BW_40; in rtl92ce_rx_query_desc()
299 rx_status->encoding = RX_ENC_HT; in rtl92ce_rx_query_desc()
301 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92ce_rx_query_desc()
314 rx_status->flag &= ~RX_FLAG_DECRYPTED; in rtl92ce_rx_query_desc()
316 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92ce_rx_query_desc()
323 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92ce_rx_query_desc()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dtrx.c234 struct ieee80211_rx_status *rx_status, u8 *pdesc8, 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 …]
/kernel/linux/linux-5.10/drivers/bus/mhi/core/
Dboot.c60 u32 rx_status; in __mhi_download_rddm_in_panic() local
129 &rx_status); in __mhi_download_rddm_in_panic()
133 if (rx_status == BHIE_RXVECSTATUS_STATUS_XFER_COMPL) in __mhi_download_rddm_in_panic()
140 ret = mhi_read_reg(mhi_cntrl, base, BHIE_RXVECSTATUS_OFFS, &rx_status); in __mhi_download_rddm_in_panic()
144 dev_err(dev, "RXVEC_STATUS: 0x%x\n", rx_status); in __mhi_download_rddm_in_panic()
154 u32 rx_status; in mhi_download_rddm_img() local
167 &rx_status) || rx_status, in mhi_download_rddm_img()
170 return (rx_status == BHIE_RXVECSTATUS_STATUS_XFER_COMPL) ? 0 : -EIO; in mhi_download_rddm_img()
/kernel/linux/linux-5.10/net/mac80211/
Dscan.c62 struct ieee80211_rx_status *rx_status, in ieee80211_update_bss_from_elems() argument
68 bss->device_ts_beacon = rx_status->device_timestamp; in ieee80211_update_bss_from_elems()
70 bss->device_ts_presp = rx_status->device_timestamp; in ieee80211_update_bss_from_elems()
129 local->hw.wiphy->bands[rx_status->band]; in ieee80211_update_bss_from_elems()
130 if (!(rx_status->encoding == RX_ENC_HT) && in ieee80211_update_bss_from_elems()
131 !(rx_status->encoding == RX_ENC_VHT)) in ieee80211_update_bss_from_elems()
133 &sband->bitrates[rx_status->rate_idx]; in ieee80211_update_bss_from_elems()
145 struct ieee80211_rx_status *rx_status, in ieee80211_bss_info_update() argument
154 .boottime_ns = rx_status->boottime_ns, in ieee80211_bss_info_update()
162 if (rx_status->flag & RX_FLAG_NO_SIGNAL_VAL) in ieee80211_bss_info_update()
[all …]
Dmesh_sync.c83 struct ieee80211_rx_status *rx_status) in mesh_sync_offset_rx_bcn_presp() argument
102 if (ieee80211_have_rx_timestamp(rx_status)) in mesh_sync_offset_rx_bcn_presp()
103 t_r = ieee80211_calculate_rx_timestamp(local, rx_status, in mesh_sync_offset_rx_bcn_presp()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.c403 struct ieee80211_rx_status *rx_status, in rtl92de_rx_query_desc() argument
426 rx_status->freq = hw->conf.chandef.chan->center_freq; in rtl92de_rx_query_desc()
427 rx_status->band = hw->conf.chandef.chan->band; in rtl92de_rx_query_desc()
429 rx_status->flag |= RX_FLAG_FAILED_FCS_CRC; in rtl92de_rx_query_desc()
431 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92de_rx_query_desc()
433 rx_status->bw = RATE_INFO_BW_40; in rtl92de_rx_query_desc()
435 rx_status->encoding = RX_ENC_HT; in rtl92de_rx_query_desc()
436 rx_status->flag |= RX_FLAG_MACTIME_START; in rtl92de_rx_query_desc()
438 rx_status->flag |= RX_FLAG_DECRYPTED; in rtl92de_rx_query_desc()
439 rx_status->rate_idx = rtlwifi_rate_mapping(hw, stats->is_ht, in rtl92de_rx_query_desc()
[all …]
/kernel/linux/linux-5.10/drivers/staging/octeon/
Dethernet.c204 cvmx_pip_port_status_t rx_status; in cvm_oct_common_get_stats() local
211 memset(&rx_status, 0, sizeof(rx_status)); in cvm_oct_common_get_stats()
214 cvmx_pip_get_port_status(priv->port, 1, &rx_status); in cvm_oct_common_get_stats()
218 dev->stats.rx_packets += rx_status.inb_packets; in cvm_oct_common_get_stats()
220 dev->stats.rx_bytes += rx_status.inb_octets; in cvm_oct_common_get_stats()
222 dev->stats.multicast += rx_status.multicast_packets; in cvm_oct_common_get_stats()
223 dev->stats.rx_crc_errors += rx_status.inb_errors; in cvm_oct_common_get_stats()
224 dev->stats.rx_frame_errors += rx_status.fcs_align_err_packets; in cvm_oct_common_get_stats()
225 dev->stats.rx_dropped += rx_status.dropped_packets; in cvm_oct_common_get_stats()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c971 struct ieee80211_rx_status *rx_status) in ath9k_rx_prepare() argument
1024 memset(rx_status, 0, sizeof(struct ieee80211_rx_status)); in ath9k_rx_prepare()
1030 rx_status->mactime = be64_to_cpu(rxstatus->rs_tstamp); in ath9k_rx_prepare()
1046 &rx_stats, rx_status->mactime)) { in ath9k_rx_prepare()
1052 if (!ath9k_cmn_rx_accept(common, hdr, rx_status, &rx_stats, in ath9k_rx_prepare()
1057 rx_status, decrypt_error); in ath9k_rx_prepare()
1059 if (ath9k_cmn_process_rate(common, hw, &rx_stats, rx_status)) in ath9k_rx_prepare()
1063 ath9k_cmn_process_rssi(common, hw, &rx_stats, rx_status); in ath9k_rx_prepare()
1065 rx_status->band = ah->curchan->chan->band; in ath9k_rx_prepare()
1066 rx_status->freq = ah->curchan->chan->center_freq; in ath9k_rx_prepare()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]

1234567