/Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
D | mt792x_core.c | 467 struct rate_info *txrate = &msta->wcid.rate; in mt792x_sta_statistics() local 469 if (!txrate->legacy && !txrate->flags) in mt792x_sta_statistics() 472 if (txrate->legacy) { in mt792x_sta_statistics() 473 sinfo->txrate.legacy = txrate->legacy; in mt792x_sta_statistics() 475 sinfo->txrate.mcs = txrate->mcs; in mt792x_sta_statistics() 476 sinfo->txrate.nss = txrate->nss; in mt792x_sta_statistics() 477 sinfo->txrate.bw = txrate->bw; in mt792x_sta_statistics() 478 sinfo->txrate.he_gi = txrate->he_gi; in mt792x_sta_statistics() 479 sinfo->txrate.he_dcm = txrate->he_dcm; in mt792x_sta_statistics() 480 sinfo->txrate.he_ru_alloc = txrate->he_ru_alloc; in mt792x_sta_statistics() [all …]
|
D | mt76x02_mac.c | 279 mt76x02_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate, in mt76x02_mac_process_tx_rate() argument 284 txrate->idx = 0; in mt76x02_mac_process_tx_rate() 285 txrate->flags = 0; in mt76x02_mac_process_tx_rate() 286 txrate->count = 1; in mt76x02_mac_process_tx_rate() 293 txrate->idx = idx; in mt76x02_mac_process_tx_rate() 299 txrate->idx = idx; in mt76x02_mac_process_tx_rate() 302 txrate->flags |= IEEE80211_TX_RC_GREEN_FIELD; in mt76x02_mac_process_tx_rate() 305 txrate->flags |= IEEE80211_TX_RC_MCS; in mt76x02_mac_process_tx_rate() 306 txrate->idx = idx; in mt76x02_mac_process_tx_rate() 309 txrate->flags |= IEEE80211_TX_RC_VHT_MCS; in mt76x02_mac_process_tx_rate() [all …]
|
D | mt76_connac_mac.c | 607 u32 txrate, txs, mode, stbc; in mt76_connac2_mac_fill_txs() local 634 txrate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt76_connac2_mac_fill_txs() 636 rate.mcs = FIELD_GET(MT_TX_RATE_IDX, txrate); in mt76_connac2_mac_fill_txs() 637 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt76_connac2_mac_fill_txs() 638 stbc = FIELD_GET(MT_TX_RATE_STBC, txrate); in mt76_connac2_mac_fill_txs() 648 mode = FIELD_GET(MT_TX_RATE_MODE, txrate); in mt76_connac2_mac_fill_txs() 691 rate.he_dcm = FIELD_GET(MT_TX_RATE_DCM, txrate); in mt76_connac2_mac_fill_txs()
|
/Linux-v6.6/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 707 struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate, in carl9170_tx_rate_tpc_chains() argument 714 idx = txrate->idx; in carl9170_tx_rate_tpc_chains() 718 if (txrate->flags & IEEE80211_TX_RC_MCS) { in carl9170_tx_rate_tpc_chains() 719 if (txrate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH) { in carl9170_tx_rate_tpc_chains() 734 *phyrate = txrate->idx; in carl9170_tx_rate_tpc_chains() 755 if (!(txrate->flags & IEEE80211_TX_RC_MCS) && in carl9170_tx_rate_tpc_chains() 766 struct ieee80211_tx_info *info, struct ieee80211_tx_rate *txrate) in carl9170_tx_physet() argument 773 if (txrate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH) in carl9170_tx_physet() 777 if (txrate->flags & IEEE80211_TX_RC_DUP_DATA) in carl9170_tx_physet() 781 if (txrate->flags & IEEE80211_TX_RC_SHORT_GI) in carl9170_tx_physet() [all …]
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt7601u/ |
D | mac.c | 28 mt76_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate) in mt76_mac_process_tx_rate() argument 32 txrate->idx = 0; in mt76_mac_process_tx_rate() 33 txrate->flags = 0; in mt76_mac_process_tx_rate() 34 txrate->count = 1; in mt76_mac_process_tx_rate() 38 txrate->idx = idx + 4; in mt76_mac_process_tx_rate() 44 txrate->idx = idx; in mt76_mac_process_tx_rate() 47 txrate->flags |= IEEE80211_TX_RC_GREEN_FIELD; in mt76_mac_process_tx_rate() 50 txrate->flags |= IEEE80211_TX_RC_MCS; in mt76_mac_process_tx_rate() 51 txrate->idx = idx; in mt76_mac_process_tx_rate() 59 txrate->flags |= IEEE80211_TX_RC_40_MHZ_WIDTH; in mt76_mac_process_tx_rate() [all …]
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | main.c | 976 struct rate_info *txrate = &msta->wcid.rate; in mt7996_sta_statistics() local 978 if (txrate->legacy || txrate->flags) { in mt7996_sta_statistics() 979 if (txrate->legacy) { in mt7996_sta_statistics() 980 sinfo->txrate.legacy = txrate->legacy; in mt7996_sta_statistics() 982 sinfo->txrate.mcs = txrate->mcs; in mt7996_sta_statistics() 983 sinfo->txrate.nss = txrate->nss; in mt7996_sta_statistics() 984 sinfo->txrate.bw = txrate->bw; in mt7996_sta_statistics() 985 sinfo->txrate.he_gi = txrate->he_gi; in mt7996_sta_statistics() 986 sinfo->txrate.he_dcm = txrate->he_dcm; in mt7996_sta_statistics() 987 sinfo->txrate.he_ru_alloc = txrate->he_ru_alloc; in mt7996_sta_statistics() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath11k/ |
D | dp_tx.c | 472 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_dp_tx_update_txcompl() 487 arsta->txrate.nss = arsta->last_txrate.nss; in ath11k_dp_tx_update_txcompl() 489 arsta->txrate.nss = arsta->peer_nss; in ath11k_dp_tx_update_txcompl() 499 arsta->txrate.legacy = rate; in ath11k_dp_tx_update_txcompl() 506 if (arsta->txrate.nss != 0) in ath11k_dp_tx_update_txcompl() 507 arsta->txrate.mcs = mcs + 8 * (arsta->txrate.nss - 1); in ath11k_dp_tx_update_txcompl() 508 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath11k_dp_tx_update_txcompl() 510 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath11k_dp_tx_update_txcompl() 517 arsta->txrate.mcs = mcs; in ath11k_dp_tx_update_txcompl() 518 arsta->txrate.flags = RATE_INFO_FLAGS_VHT_MCS; in ath11k_dp_tx_update_txcompl() [all …]
|
D | debugfs_sta.c | 19 struct rate_info *txrate = &arsta->txrate; in ath11k_debugfs_sta_add_tx_stats() local 27 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats() 28 mcs = txrate->mcs; in ath11k_debugfs_sta_add_tx_stats() 29 bw = ath11k_mac_mac80211_bw_to_ath11k_bw(txrate->bw); in ath11k_debugfs_sta_add_tx_stats() 30 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats() 34 if (txrate->flags & RATE_INFO_FLAGS_HE_MCS) { in ath11k_debugfs_sta_add_tx_stats() 41 } else if (txrate->flags & RATE_INFO_FLAGS_VHT_MCS) { in ath11k_debugfs_sta_add_tx_stats() 48 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath11k_debugfs_sta_add_tx_stats() 69 if (txrate->flags & RATE_INFO_FLAGS_HE_MCS) { in ath11k_debugfs_sta_add_tx_stats() 74 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath11k_debugfs_sta_add_tx_stats()
|
D | dp_rx.c | 1464 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_update_per_peer_tx_stats() 1468 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats() 1471 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats() 1474 arsta->txrate.mcs = mcs + 8 * (nss - 1); in ath11k_update_per_peer_tx_stats() 1475 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath11k_update_per_peer_tx_stats() 1477 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath11k_update_per_peer_tx_stats() 1480 arsta->txrate.mcs = mcs; in ath11k_update_per_peer_tx_stats() 1481 arsta->txrate.flags = RATE_INFO_FLAGS_VHT_MCS; in ath11k_update_per_peer_tx_stats() 1483 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath11k_update_per_peer_tx_stats() 1486 arsta->txrate.mcs = mcs; in ath11k_update_per_peer_tx_stats() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath10k/ |
D | htt_rx.c | 3666 struct rate_info *txrate = &arsta->txrate; in ath10k_accumulate_per_peer_tx_stats() local 3675 flags = txrate->flags; in ath10k_accumulate_per_peer_tx_stats() 3678 bw = txrate->bw; in ath10k_accumulate_per_peer_tx_stats() 3679 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats() 3686 if (txrate->flags & RATE_INFO_FLAGS_VHT_MCS) { in ath10k_accumulate_per_peer_tx_stats() 3693 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath10k_accumulate_per_peer_tx_stats() 3714 if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath10k_accumulate_per_peer_tx_stats() 3770 if (txrate->flags >= RATE_INFO_FLAGS_MCS) { in ath10k_accumulate_per_peer_tx_stats() 3792 struct rate_info txrate; in ath10k_update_per_peer_tx_stats() local 3796 txrate.flags = ATH10K_HW_PREAMBLE(peer_stats->ratecode); in ath10k_update_per_peer_tx_stats() [all …]
|
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | main.c | 1070 struct rate_info *txrate = &msta->wcid.rate; in mt7915_sta_statistics() local 1079 if (txrate->legacy || txrate->flags) { in mt7915_sta_statistics() 1080 if (txrate->legacy) { in mt7915_sta_statistics() 1081 sinfo->txrate.legacy = txrate->legacy; in mt7915_sta_statistics() 1083 sinfo->txrate.mcs = txrate->mcs; in mt7915_sta_statistics() 1084 sinfo->txrate.nss = txrate->nss; in mt7915_sta_statistics() 1085 sinfo->txrate.bw = txrate->bw; in mt7915_sta_statistics() 1086 sinfo->txrate.he_gi = txrate->he_gi; in mt7915_sta_statistics() 1087 sinfo->txrate.he_dcm = txrate->he_dcm; in mt7915_sta_statistics() 1088 sinfo->txrate.he_ru_alloc = txrate->he_ru_alloc; in mt7915_sta_statistics() [all …]
|
/Linux-v6.6/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00queue.c | 233 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_plcp() local 286 if (txrate->flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) in rt2x00queue_create_tx_descriptor_plcp() 298 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor_ht() local 313 if (txrate->flags & IEEE80211_TX_RC_MCS) { in rt2x00queue_create_tx_descriptor_ht() 314 txdesc->u.ht.mcs = txrate->idx; in rt2x00queue_create_tx_descriptor_ht() 325 if (txrate->flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) in rt2x00queue_create_tx_descriptor_ht() 360 if (txrate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH || in rt2x00queue_create_tx_descriptor_ht() 361 txrate->flags & IEEE80211_TX_RC_DUP_DATA) in rt2x00queue_create_tx_descriptor_ht() 363 if (txrate->flags & IEEE80211_TX_RC_SHORT_GI) in rt2x00queue_create_tx_descriptor_ht() 391 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor() local [all …]
|
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | ampdu.c | 519 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_add_frame() local 567 if (txrate[0].count <= ampdu->rr_retry_limit_tid[tid]) { in brcms_c_ampdu_add_frame() 568 txrate[0].count++; in brcms_c_ampdu_add_frame() 571 txrate[1].count++; in brcms_c_ampdu_add_frame() 627 struct ieee80211_tx_rate *txrate; in brcms_c_ampdu_finalize() local 678 txrate = tx_info->status.rates; in brcms_c_ampdu_finalize() 700 fbr = txrate[1].count > 0; in brcms_c_ampdu_finalize() 817 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_rate_status() local 822 txrate[i].idx = -1; in brcms_c_ampdu_rate_status() 823 txrate[i].count = 0; in brcms_c_ampdu_rate_status()
|
D | main.c | 846 struct ieee80211_tx_rate *txrate; in brcms_c_dotxstatus() local 947 txrate = tx_info->status.rates; in brcms_c_dotxstatus() 948 if (txrate[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) in brcms_c_dotxstatus() 955 if ((tx_frame_count > fbl) && (txrate[1].idx >= 0)) { in brcms_c_dotxstatus() 960 txrate[0].count = fbl; in brcms_c_dotxstatus() 961 txrate[1].count = tx_frame_count - fbl; in brcms_c_dotxstatus() 967 txrate[0].count = tx_frame_count; in brcms_c_dotxstatus() 972 txrate[1].idx = -1; in brcms_c_dotxstatus() 973 txrate[1].count = 0; in brcms_c_dotxstatus() 978 txrate[i].idx = -1; in brcms_c_dotxstatus() [all …]
|
/Linux-v6.6/drivers/staging/rtl8192u/ |
D | r819xU_cmdpkt.c | 399 priv->stats.txrate.cck[i] += ptxrate->cck[i]; in cmpk_handle_tx_rate_history() 403 priv->stats.txrate.ofdm[i] += ptxrate->ofdm[i]; in cmpk_handle_tx_rate_history() 406 priv->stats.txrate.ht_mcs[j][i] += ptxrate->ht_mcs[j][i]; in cmpk_handle_tx_rate_history()
|
/Linux-v6.6/drivers/net/wireless/broadcom/b43/ |
D | xmit.c | 259 struct ieee80211_rate *txrate; in b43_generate_txhdr() local 264 txrate = ieee80211_get_tx_rate(dev->wl->hw, info); in b43_generate_txhdr() 265 rate = txrate ? txrate->hw_value : B43_CCK_RATE_1MB; in b43_generate_txhdr() 267 fbrate = ieee80211_get_alt_retry_rate(dev->wl->hw, info, 0) ? : txrate; in b43_generate_txhdr()
|
/Linux-v6.6/drivers/staging/wlan-ng/ |
D | prism2sta.c | 353 qualmsg->txrate.data = hw->txrate; in prism2sta_mlmerequest() 1939 hw->txrate = 10; in prism2sta_commsqual_defer() 1942 hw->txrate = 20; in prism2sta_commsqual_defer() 1945 hw->txrate = 55; in prism2sta_commsqual_defer() 1948 hw->txrate = 110; in prism2sta_commsqual_defer()
|
D | p80211metastruct.h | 178 struct p80211item_uint32 txrate; member
|
/Linux-v6.6/drivers/net/wireless/realtek/rtw88/ |
D | fw.c | 83 si->ra_report.txrate.flags = 0; in rtw_fw_ra_report_iter() 90 si->ra_report.txrate.legacy = rtw_desc_to_bitrate(rate); in rtw_fw_ra_report_iter() 96 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_VHT_MCS; in rtw_fw_ra_report_iter() 98 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_MCS; in rtw_fw_ra_report_iter() 101 si->ra_report.txrate.mcs = mcs; in rtw_fw_ra_report_iter() 102 si->ra_report.txrate.nss = nss; in rtw_fw_ra_report_iter() 106 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in rtw_fw_ra_report_iter() 109 si->ra_report.txrate.bw = RATE_INFO_BW_80; in rtw_fw_ra_report_iter() 111 si->ra_report.txrate.bw = RATE_INFO_BW_40; in rtw_fw_ra_report_iter() 113 si->ra_report.txrate.bw = RATE_INFO_BW_20; in rtw_fw_ra_report_iter() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath12k/ |
D | dp_rx.c | 1415 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath12k_update_per_peer_tx_stats() 1419 arsta->txrate.legacy = rate; in ath12k_update_per_peer_tx_stats() 1422 arsta->txrate.legacy = rate; in ath12k_update_per_peer_tx_stats() 1425 arsta->txrate.mcs = mcs + 8 * (nss - 1); in ath12k_update_per_peer_tx_stats() 1426 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath12k_update_per_peer_tx_stats() 1428 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath12k_update_per_peer_tx_stats() 1431 arsta->txrate.mcs = mcs; in ath12k_update_per_peer_tx_stats() 1432 arsta->txrate.flags = RATE_INFO_FLAGS_VHT_MCS; in ath12k_update_per_peer_tx_stats() 1434 arsta->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath12k_update_per_peer_tx_stats() 1437 arsta->txrate.mcs = mcs; in ath12k_update_per_peer_tx_stats() [all …]
|
/Linux-v6.6/drivers/net/wireless/realtek/rtw89/ |
D | phy.c | 2298 memset(&ra_report->txrate, 0, sizeof(ra_report->txrate)); in rtw89_phy_c2h_ra_rpt_iter() 2302 ra_report->txrate.legacy = legacy_bitrate; in rtw89_phy_c2h_ra_rpt_iter() 2305 ra_report->txrate.flags |= RATE_INFO_FLAGS_MCS; in rtw89_phy_c2h_ra_rpt_iter() 2311 ra_report->txrate.mcs = rate; in rtw89_phy_c2h_ra_rpt_iter() 2313 ra_report->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in rtw89_phy_c2h_ra_rpt_iter() 2314 mcs = ra_report->txrate.mcs & 0x07; in rtw89_phy_c2h_ra_rpt_iter() 2317 ra_report->txrate.flags |= RATE_INFO_FLAGS_VHT_MCS; in rtw89_phy_c2h_ra_rpt_iter() 2318 ra_report->txrate.mcs = format_v1 ? in rtw89_phy_c2h_ra_rpt_iter() 2321 ra_report->txrate.nss = format_v1 ? in rtw89_phy_c2h_ra_rpt_iter() 2325 ra_report->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in rtw89_phy_c2h_ra_rpt_iter() [all …]
|
/Linux-v6.6/drivers/net/wireless/ath/ath9k/ |
D | wmi.h | 21 __be32 txrate; member
|
/Linux-v6.6/sound/soc/fsl/ |
D | fsl_spdif.c | 134 u32 txrate[SPDIF_TXRATE_MAX]; member 600 spdif_priv->txrate[rate], sample_rate); in spdif_set_sample_rate() 1458 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv() 1469 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv() 1479 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv() 1529 rate[index], spdif_priv->txrate[index]); in fsl_spdif_probe_txclk()
|
/Linux-v6.6/drivers/net/wireless/atmel/ |
D | at76c50x-usb.c | 1365 priv->txrate == TX_RATE_1MBIT ? "1MBit" : priv->txrate == in at76_startup_device() 1366 TX_RATE_2MBIT ? "2MBit" : priv->txrate == in at76_startup_device() 1367 TX_RATE_5_5MBIT ? "5.5MBit" : priv->txrate == in at76_startup_device() 1368 TX_RATE_11MBIT ? "11MBit" : priv->txrate == in at76_startup_device() 1400 ccfg->auto_rate_fallback = (priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device() 1444 priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device() 2346 priv->txrate = TX_RATE_AUTO; in at76_init_new_device()
|
/Linux-v6.6/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 1832 sinfo->txrate.legacy = rate / 100; in ath6kl_get_station() 1835 sinfo->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath6kl_get_station() 1836 sinfo->txrate.mcs = mcs - 1; in ath6kl_get_station() 1838 sinfo->txrate.mcs = mcs; in ath6kl_get_station() 1841 sinfo->txrate.flags |= RATE_INFO_FLAGS_MCS; in ath6kl_get_station() 1842 sinfo->txrate.bw = RATE_INFO_BW_20; in ath6kl_get_station() 1845 sinfo->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath6kl_get_station() 1846 sinfo->txrate.mcs = mcs - 1; in ath6kl_get_station() 1848 sinfo->txrate.mcs = mcs; in ath6kl_get_station() 1851 sinfo->txrate.bw = RATE_INFO_BW_40; in ath6kl_get_station() [all …]
|