Home
last modified time | relevance | path

Searched refs:txrate (Results 1 – 25 of 67) sorted by relevance

123

/drivers/net/wireless/mediatek/mt76/
A Dmt792x_core.c572 struct rate_info *txrate = &msta->deflink.wcid.rate; in mt792x_sta_statistics() local
574 if (!txrate->legacy && !txrate->flags) in mt792x_sta_statistics()
577 if (txrate->legacy) { in mt792x_sta_statistics()
578 sinfo->txrate.legacy = txrate->legacy; in mt792x_sta_statistics()
580 sinfo->txrate.mcs = txrate->mcs; in mt792x_sta_statistics()
581 sinfo->txrate.nss = txrate->nss; in mt792x_sta_statistics()
582 sinfo->txrate.bw = txrate->bw; in mt792x_sta_statistics()
583 sinfo->txrate.he_gi = txrate->he_gi; in mt792x_sta_statistics()
584 sinfo->txrate.he_dcm = txrate->he_dcm; in mt792x_sta_statistics()
585 sinfo->txrate.he_ru_alloc = txrate->he_ru_alloc; in mt792x_sta_statistics()
[all …]
A Dmt76x02_mac.c284 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()
310 txrate->idx = idx; in mt76x02_mac_process_tx_rate()
[all …]
A Dmt76_connac_mac.c619 u32 txrate, txs, mode, stbc; in mt76_connac2_mac_fill_txs() local
646 txrate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt76_connac2_mac_fill_txs()
648 rate.mcs = FIELD_GET(MT_TX_RATE_IDX, txrate); in mt76_connac2_mac_fill_txs()
649 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt76_connac2_mac_fill_txs()
650 stbc = FIELD_GET(MT_TX_RATE_STBC, txrate); in mt76_connac2_mac_fill_txs()
660 mode = FIELD_GET(MT_TX_RATE_MODE, txrate); in mt76_connac2_mac_fill_txs()
703 rate.he_dcm = FIELD_GET(MT_TX_RATE_DCM, txrate); in mt76_connac2_mac_fill_txs()
/drivers/net/wireless/ath/carl9170/
A Dtx.c714 idx = txrate->idx; in carl9170_tx_rate_tpc_chains()
718 if (txrate->flags & IEEE80211_TX_RC_MCS) { in carl9170_tx_rate_tpc_chains()
734 *phyrate = txrate->idx; in carl9170_tx_rate_tpc_chains()
777 if (txrate->flags & IEEE80211_TX_RC_DUP_DATA) in carl9170_tx_physet()
784 if (txrate->flags & IEEE80211_TX_RC_MCS) { in carl9170_tx_physet()
788 tmp |= cpu_to_le32((txrate->idx & 0x7) << in carl9170_tx_physet()
893 struct ieee80211_tx_rate *txrate; in carl9170_tx_apply_rateset() local
917 txrate = &sinfo->control.rates[i]; in carl9170_tx_apply_rateset()
918 if (txrate->idx < 0) in carl9170_tx_apply_rateset()
945 txrate->count); in carl9170_tx_apply_rateset()
[all …]
/drivers/net/wireless/mediatek/mt7601u/
A Dmac.c28 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 …]
/drivers/net/wireless/ath/ath12k/
A Ddp_tx.c708 struct rate_info txrate = {}; in ath12k_dp_tx_update_txcompl() local
731 txrate.nss = arsta->peer_nss; in ath12k_dp_tx_update_txcompl()
746 txrate.legacy = rate; in ath12k_dp_tx_update_txcompl()
754 if (txrate.nss != 0) in ath12k_dp_tx_update_txcompl()
755 txrate.mcs = ts->mcs + 8 * (txrate.nss - 1); in ath12k_dp_tx_update_txcompl()
768 txrate.mcs = ts->mcs; in ath12k_dp_tx_update_txcompl()
780 txrate.mcs = ts->mcs; in ath12k_dp_tx_update_txcompl()
790 txrate.mcs = ts->mcs; in ath12k_dp_tx_update_txcompl()
804 txrate.he_ru_alloc = in ath12k_dp_tx_update_txcompl()
810 txrate.eht_ru_alloc = in ath12k_dp_tx_update_txcompl()
[all …]
A Ddp_rx.c1520 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath12k_update_per_peer_tx_stats()
1526 arsta->txrate.legacy = rate; in ath12k_update_per_peer_tx_stats()
1529 arsta->txrate.legacy = rate; in ath12k_update_per_peer_tx_stats()
1538 arsta->txrate.mcs = mcs; in ath12k_update_per_peer_tx_stats()
1544 arsta->txrate.mcs = mcs; in ath12k_update_per_peer_tx_stats()
1546 arsta->txrate.he_dcm = dcm; in ath12k_update_per_peer_tx_stats()
1551 arsta->txrate.he_ru_alloc = v; in ath12k_update_per_peer_tx_stats()
1556 arsta->txrate.mcs = mcs; in ath12k_update_per_peer_tx_stats()
1558 arsta->txrate.he_dcm = dcm; in ath12k_update_per_peer_tx_stats()
1563 arsta->txrate.eht_ru_alloc = v; in ath12k_update_per_peer_tx_stats()
[all …]
A Dmac.c12631 sinfo->txrate.legacy = arsta->txrate.legacy; in ath12k_mac_op_sta_statistics()
12633 sinfo->txrate.mcs = arsta->txrate.mcs; in ath12k_mac_op_sta_statistics()
12634 sinfo->txrate.nss = arsta->txrate.nss; in ath12k_mac_op_sta_statistics()
12635 sinfo->txrate.bw = arsta->txrate.bw; in ath12k_mac_op_sta_statistics()
12636 sinfo->txrate.he_gi = arsta->txrate.he_gi; in ath12k_mac_op_sta_statistics()
12637 sinfo->txrate.he_dcm = arsta->txrate.he_dcm; in ath12k_mac_op_sta_statistics()
12639 sinfo->txrate.eht_gi = arsta->txrate.eht_gi; in ath12k_mac_op_sta_statistics()
12642 sinfo->txrate.flags = arsta->txrate.flags; in ath12k_mac_op_sta_statistics()
12716 link_sinfo->txrate.mcs = arsta->txrate.mcs; in ath12k_mac_op_link_sta_statistics()
12717 link_sinfo->txrate.nss = arsta->txrate.nss; in ath12k_mac_op_link_sta_statistics()
[all …]
/drivers/net/wireless/ath/ath11k/
A Ddp_tx.c477 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_dp_tx_update_txcompl()
492 arsta->txrate.nss = arsta->last_txrate.nss; in ath11k_dp_tx_update_txcompl()
494 arsta->txrate.nss = arsta->peer_nss; in ath11k_dp_tx_update_txcompl()
504 arsta->txrate.legacy = rate; in ath11k_dp_tx_update_txcompl()
511 if (arsta->txrate.nss != 0) in ath11k_dp_tx_update_txcompl()
512 arsta->txrate.mcs = mcs + 8 * (arsta->txrate.nss - 1); in ath11k_dp_tx_update_txcompl()
513 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath11k_dp_tx_update_txcompl()
522 arsta->txrate.mcs = mcs; in ath11k_dp_tx_update_txcompl()
532 arsta->txrate.mcs = mcs; in ath11k_dp_tx_update_txcompl()
539 arsta->txrate.bw = RATE_INFO_BW_HE_RU; in ath11k_dp_tx_update_txcompl()
[all …]
A Ddebugfs_sta.c21 struct rate_info *txrate = &arsta->txrate; in ath11k_debugfs_sta_add_tx_stats() local
29 gi = FIELD_GET(RATE_INFO_FLAGS_SHORT_GI, arsta->txrate.flags); in ath11k_debugfs_sta_add_tx_stats()
30 mcs = txrate->mcs; in ath11k_debugfs_sta_add_tx_stats()
31 bw = ath11k_mac_mac80211_bw_to_ath11k_bw(txrate->bw); in ath11k_debugfs_sta_add_tx_stats()
32 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats()
36 if (txrate->flags & RATE_INFO_FLAGS_HE_MCS) { in ath11k_debugfs_sta_add_tx_stats()
43 } else if (txrate->flags & RATE_INFO_FLAGS_VHT_MCS) { in ath11k_debugfs_sta_add_tx_stats()
50 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath11k_debugfs_sta_add_tx_stats()
71 if (txrate->flags & RATE_INFO_FLAGS_HE_MCS) { in ath11k_debugfs_sta_add_tx_stats()
76 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath11k_debugfs_sta_add_tx_stats()
A Ddp_rx.c1453 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath11k_update_per_peer_tx_stats()
1457 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats()
1460 arsta->txrate.legacy = rate; in ath11k_update_per_peer_tx_stats()
1463 arsta->txrate.mcs = mcs + 8 * (nss - 1); in ath11k_update_per_peer_tx_stats()
1464 arsta->txrate.flags = RATE_INFO_FLAGS_MCS; in ath11k_update_per_peer_tx_stats()
1469 arsta->txrate.mcs = mcs; in ath11k_update_per_peer_tx_stats()
1470 arsta->txrate.flags = RATE_INFO_FLAGS_VHT_MCS; in ath11k_update_per_peer_tx_stats()
1475 arsta->txrate.mcs = mcs; in ath11k_update_per_peer_tx_stats()
1476 arsta->txrate.flags = RATE_INFO_FLAGS_HE_MCS; in ath11k_update_per_peer_tx_stats()
1477 arsta->txrate.he_dcm = dcm; in ath11k_update_per_peer_tx_stats()
[all …]
/drivers/net/wireless/ath/ath10k/
A Dhtt_rx.c3670 struct rate_info *txrate = &arsta->txrate; in ath10k_accumulate_per_peer_tx_stats() local
3813 if (txrate.flags == WMI_RATE_PREAMBLE_VHT && txrate.mcs > 9) { in ath10k_update_per_peer_tx_stats()
3819 (txrate.mcs > 7 || txrate.nss < 1)) { in ath10k_update_per_peer_tx_stats()
3821 txrate.mcs, txrate.nss); in ath10k_update_per_peer_tx_stats()
3825 memset(&arsta->txrate, 0, sizeof(arsta->txrate)); in ath10k_update_per_peer_tx_stats()
3839 arsta->txrate.mcs = txrate.mcs + 8 * (txrate.nss - 1); in ath10k_update_per_peer_tx_stats()
3842 arsta->txrate.mcs = txrate.mcs; in ath10k_update_per_peer_tx_stats()
3861 txrate.mcs + ((txrate.nss - 1) * 8); in ath10k_update_per_peer_tx_stats()
3869 txrate.mcs, txrate.nss); in ath10k_update_per_peer_tx_stats()
3877 arsta->txrate.nss = txrate.nss; in ath10k_update_per_peer_tx_stats()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7996/
A Dmain.c1569 if (txrate->legacy || txrate->flags) { in mt7996_sta_statistics()
1571 sinfo->txrate.legacy = txrate->legacy; in mt7996_sta_statistics()
1573 sinfo->txrate.mcs = txrate->mcs; in mt7996_sta_statistics()
1574 sinfo->txrate.nss = txrate->nss; in mt7996_sta_statistics()
1575 sinfo->txrate.bw = txrate->bw; in mt7996_sta_statistics()
1576 sinfo->txrate.he_gi = txrate->he_gi; in mt7996_sta_statistics()
1577 sinfo->txrate.he_dcm = txrate->he_dcm; in mt7996_sta_statistics()
1578 sinfo->txrate.he_ru_alloc = txrate->he_ru_alloc; in mt7996_sta_statistics()
1579 sinfo->txrate.eht_gi = txrate->eht_gi; in mt7996_sta_statistics()
1581 sinfo->txrate.flags = txrate->flags; in mt7996_sta_statistics()
[all …]
/drivers/net/wireless/ralink/rt2x00/
A Drt2x00queue.c233 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()
458 if (txrate->flags & IEEE80211_TX_RC_GREEN_FIELD) in rt2x00queue_create_tx_descriptor()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmain.c1158 struct rate_info *txrate = &msta->wcid.rate; in mt7915_sta_statistics() local
1166 if (txrate->legacy || txrate->flags) { in mt7915_sta_statistics()
1167 if (txrate->legacy) { in mt7915_sta_statistics()
1168 sinfo->txrate.legacy = txrate->legacy; in mt7915_sta_statistics()
1170 sinfo->txrate.mcs = txrate->mcs; in mt7915_sta_statistics()
1171 sinfo->txrate.nss = txrate->nss; in mt7915_sta_statistics()
1172 sinfo->txrate.bw = txrate->bw; in mt7915_sta_statistics()
1173 sinfo->txrate.he_gi = txrate->he_gi; in mt7915_sta_statistics()
1174 sinfo->txrate.he_dcm = txrate->he_dcm; in mt7915_sta_statistics()
1175 sinfo->txrate.he_ru_alloc = txrate->he_ru_alloc; in mt7915_sta_statistics()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
A Dampdu.c493 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_add_frame() local
541 if (txrate[0].count <= ampdu->rr_retry_limit_tid[tid]) { in brcms_c_ampdu_add_frame()
542 txrate[0].count++; in brcms_c_ampdu_add_frame()
545 txrate[1].count++; in brcms_c_ampdu_add_frame()
601 struct ieee80211_tx_rate *txrate; in brcms_c_ampdu_finalize() local
652 txrate = tx_info->status.rates; in brcms_c_ampdu_finalize()
674 fbr = txrate[1].count > 0; in brcms_c_ampdu_finalize()
791 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_rate_status() local
796 txrate[i].idx = -1; in brcms_c_ampdu_rate_status()
797 txrate[i].count = 0; in brcms_c_ampdu_rate_status()
A Dmain.c953 txrate[0].count = fbl; in brcms_c_dotxstatus()
965 txrate[1].idx = -1; in brcms_c_dotxstatus()
966 txrate[1].count = 0; in brcms_c_dotxstatus()
971 txrate[i].idx = -1; in brcms_c_dotxstatus()
972 txrate[i].count = 0; in brcms_c_dotxstatus()
6235 txrate[1] = txrate[0] + 1; in brcms_c_d11hdrs_mac80211()
6242 txrate[1] = txrate[0]; in brcms_c_d11hdrs_mac80211()
6267 txrate[k]-> in brcms_c_d11hdrs_mac80211()
6270 txrate[k]-> in brcms_c_d11hdrs_mac80211()
6417 txrate[0]->count = 0; in brcms_c_d11hdrs_mac80211()
[all …]
/drivers/net/wireless/broadcom/b43/
A Dxmit.c259 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()
/drivers/net/wireless/realtek/rtw88/
A Dfw.c158 si->ra_report.txrate.flags = 0; in rtw_fw_ra_report_iter()
168 si->ra_report.txrate.legacy = rtw_desc_to_bitrate(rate); in rtw_fw_ra_report_iter()
174 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_VHT_MCS; in rtw_fw_ra_report_iter()
176 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_MCS; in rtw_fw_ra_report_iter()
179 si->ra_report.txrate.mcs = mcs; in rtw_fw_ra_report_iter()
180 si->ra_report.txrate.nss = nss; in rtw_fw_ra_report_iter()
184 si->ra_report.txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in rtw_fw_ra_report_iter()
187 si->ra_report.txrate.bw = RATE_INFO_BW_80; in rtw_fw_ra_report_iter()
189 si->ra_report.txrate.bw = RATE_INFO_BW_40; in rtw_fw_ra_report_iter()
191 si->ra_report.txrate.bw = RATE_INFO_BW_20; in rtw_fw_ra_report_iter()
[all …]
/drivers/net/wireless/realtek/rtw89/
A Dphy.c2951 memset(&ra_report->txrate, 0, sizeof(ra_report->txrate)); in __rtw89_phy_c2h_ra_rpt_iter()
2955 ra_report->txrate.legacy = legacy_bitrate; in __rtw89_phy_c2h_ra_rpt_iter()
2964 ra_report->txrate.mcs = rate; in __rtw89_phy_c2h_ra_rpt_iter()
2967 mcs = ra_report->txrate.mcs & 0x07; in __rtw89_phy_c2h_ra_rpt_iter()
2971 ra_report->txrate.mcs = format_v1 ? in __rtw89_phy_c2h_ra_rpt_iter()
2974 ra_report->txrate.nss = format_v1 ? in __rtw89_phy_c2h_ra_rpt_iter()
2979 mcs = ra_report->txrate.mcs; in __rtw89_phy_c2h_ra_rpt_iter()
2983 ra_report->txrate.mcs = format_v1 ? in __rtw89_phy_c2h_ra_rpt_iter()
2986 ra_report->txrate.nss = format_v1 ? in __rtw89_phy_c2h_ra_rpt_iter()
2995 mcs = ra_report->txrate.mcs; in __rtw89_phy_c2h_ra_rpt_iter()
[all …]
/drivers/net/wireless/mediatek/mt76/mt7925/
A Dmac.c900 u32 txrate, txs, mode, stbc; in mt7925_mac_add_txs_skb() local
919 txrate = FIELD_GET(MT_TXS0_TX_RATE, txs); in mt7925_mac_add_txs_skb()
921 rate.mcs = FIELD_GET(MT_TX_RATE_IDX, txrate); in mt7925_mac_add_txs_skb()
922 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt7925_mac_add_txs_skb()
933 mode = FIELD_GET(MT_TX_RATE_MODE, txrate); in mt7925_mac_add_txs_skb()
974 rate.he_dcm = FIELD_GET(MT_TX_RATE_DCM, txrate); in mt7925_mac_add_txs_skb()
/drivers/net/wireless/ath/ath9k/
A Dwmi.h21 __be32 txrate; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dtrx.h92 u32 txrate:6; member
/drivers/net/wireless/atmel/
A Dat76c50x-usb.c1359 priv->txrate == TX_RATE_1MBIT ? "1MBit" : priv->txrate == in at76_startup_device()
1360 TX_RATE_2MBIT ? "2MBit" : priv->txrate == in at76_startup_device()
1361 TX_RATE_5_5MBIT ? "5.5MBit" : priv->txrate == in at76_startup_device()
1362 TX_RATE_11MBIT ? "11MBit" : priv->txrate == in at76_startup_device()
1394 ccfg->auto_rate_fallback = (priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device()
1438 priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device()
2344 priv->txrate = TX_RATE_AUTO; in at76_init_new_device()
/drivers/net/wireless/ath/ath6kl/
A Dcfg80211.c1836 sinfo->txrate.legacy = rate / 100; in ath6kl_get_station()
1839 sinfo->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath6kl_get_station()
1840 sinfo->txrate.mcs = mcs - 1; in ath6kl_get_station()
1842 sinfo->txrate.mcs = mcs; in ath6kl_get_station()
1845 sinfo->txrate.flags |= RATE_INFO_FLAGS_MCS; in ath6kl_get_station()
1846 sinfo->txrate.bw = RATE_INFO_BW_20; in ath6kl_get_station()
1849 sinfo->txrate.flags |= RATE_INFO_FLAGS_SHORT_GI; in ath6kl_get_station()
1850 sinfo->txrate.mcs = mcs - 1; in ath6kl_get_station()
1852 sinfo->txrate.mcs = mcs; in ath6kl_get_station()
1855 sinfo->txrate.bw = RATE_INFO_BW_40; in ath6kl_get_station()
[all …]

Completed in 154 milliseconds

123