Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/net/wireless/ath/carl9170/
Dtx.c707 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-v5.4/drivers/net/wireless/mediatek/mt7601u/
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 …]
/Linux-v5.4/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c3334 struct rate_info *txrate = &arsta->txrate; in ath10k_accumulate_per_peer_tx_stats() local
3343 flags = txrate->flags; in ath10k_accumulate_per_peer_tx_stats()
3346 bw = txrate->bw; in ath10k_accumulate_per_peer_tx_stats()
3347 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats()
3354 if (txrate->flags & RATE_INFO_FLAGS_VHT_MCS) { in ath10k_accumulate_per_peer_tx_stats()
3361 } else if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath10k_accumulate_per_peer_tx_stats()
3382 if (txrate->flags & RATE_INFO_FLAGS_MCS) { in ath10k_accumulate_per_peer_tx_stats()
3438 if (txrate->flags >= RATE_INFO_FLAGS_MCS) { in ath10k_accumulate_per_peer_tx_stats()
3460 struct rate_info txrate; in ath10k_update_per_peer_tx_stats() local
3464 txrate.flags = ATH10K_HW_PREAMBLE(peer_stats->ratecode); in ath10k_update_per_peer_tx_stats()
[all …]
Dmac.c8167 if (!arsta->txrate.legacy && !arsta->txrate.nss) in ath10k_sta_statistics()
8170 if (arsta->txrate.legacy) { in ath10k_sta_statistics()
8171 sinfo->txrate.legacy = arsta->txrate.legacy; in ath10k_sta_statistics()
8173 sinfo->txrate.mcs = arsta->txrate.mcs; in ath10k_sta_statistics()
8174 sinfo->txrate.nss = arsta->txrate.nss; in ath10k_sta_statistics()
8175 sinfo->txrate.bw = arsta->txrate.bw; in ath10k_sta_statistics()
8177 sinfo->txrate.flags = arsta->txrate.flags; in ath10k_sta_statistics()
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mac.c257 mt76x02_mac_process_tx_rate(struct ieee80211_tx_rate *txrate, u16 rate, in mt76x02_mac_process_tx_rate() argument
262 txrate->idx = 0; in mt76x02_mac_process_tx_rate()
263 txrate->flags = 0; in mt76x02_mac_process_tx_rate()
264 txrate->count = 1; in mt76x02_mac_process_tx_rate()
271 txrate->idx = idx; in mt76x02_mac_process_tx_rate()
277 txrate->idx = idx; in mt76x02_mac_process_tx_rate()
280 txrate->flags |= IEEE80211_TX_RC_GREEN_FIELD; in mt76x02_mac_process_tx_rate()
283 txrate->flags |= IEEE80211_TX_RC_MCS; in mt76x02_mac_process_tx_rate()
284 txrate->idx = idx; in mt76x02_mac_process_tx_rate()
287 txrate->flags |= IEEE80211_TX_RC_VHT_MCS; in mt76x02_mac_process_tx_rate()
[all …]
/Linux-v5.4/drivers/net/wireless/ralink/rt2x00/
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()
391 struct ieee80211_tx_rate *txrate = &tx_info->control.rates[0]; in rt2x00queue_create_tx_descriptor() local
[all …]
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dampdu.c525 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_add_frame() local
573 if (txrate[0].count <= ampdu->rr_retry_limit_tid[tid]) { in brcms_c_ampdu_add_frame()
574 txrate[0].count++; in brcms_c_ampdu_add_frame()
577 txrate[1].count++; in brcms_c_ampdu_add_frame()
633 struct ieee80211_tx_rate *txrate; in brcms_c_ampdu_finalize() local
684 txrate = tx_info->status.rates; in brcms_c_ampdu_finalize()
706 fbr = txrate[1].count > 0; in brcms_c_ampdu_finalize()
826 struct ieee80211_tx_rate *txrate = tx_info->status.rates; in brcms_c_ampdu_rate_status() local
831 txrate[i].idx = -1; in brcms_c_ampdu_rate_status()
832 txrate[i].count = 0; in brcms_c_ampdu_rate_status()
Dmain.c848 struct ieee80211_tx_rate *txrate; in brcms_c_dotxstatus() local
953 txrate = tx_info->status.rates; in brcms_c_dotxstatus()
954 if (txrate[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) in brcms_c_dotxstatus()
961 if ((tx_frame_count > fbl) && (txrate[1].idx >= 0)) { in brcms_c_dotxstatus()
966 txrate[0].count = fbl; in brcms_c_dotxstatus()
967 txrate[1].count = tx_frame_count - fbl; in brcms_c_dotxstatus()
973 txrate[0].count = tx_frame_count; in brcms_c_dotxstatus()
978 txrate[1].idx = -1; in brcms_c_dotxstatus()
979 txrate[1].count = 0; in brcms_c_dotxstatus()
984 txrate[i].idx = -1; in brcms_c_dotxstatus()
[all …]
/Linux-v5.4/drivers/staging/rtl8192u/
Dr819xU_cmdpkt.c439 priv->stats.txrate.cck[i] += ptxrate->cck[i]; in cmpk_handle_tx_rate_history()
443 priv->stats.txrate.ofdm[i] += ptxrate->ofdm[i]; in cmpk_handle_tx_rate_history()
446 priv->stats.txrate.ht_mcs[j][i] += ptxrate->ht_mcs[j][i]; in cmpk_handle_tx_rate_history()
/Linux-v5.4/drivers/net/wireless/broadcom/b43/
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()
/Linux-v5.4/drivers/staging/wlan-ng/
Dprism2sta.c374 qualmsg->txrate.data = hw->txrate; in prism2sta_mlmerequest()
1958 hw->txrate = 10; in prism2sta_commsqual_defer()
1961 hw->txrate = 20; in prism2sta_commsqual_defer()
1964 hw->txrate = 55; in prism2sta_commsqual_defer()
1967 hw->txrate = 110; in prism2sta_commsqual_defer()
Dp80211metastruct.h213 struct p80211item_uint32 txrate; member
Dcfg80211.c263 sinfo->txrate.legacy = quality.txrate.data; in prism2_get_station()
/Linux-v5.4/sound/soc/fsl/
Dfsl_spdif.c97 u32 txrate[SPDIF_TXRATE_MAX]; member
452 spdif_priv->txrate[rate], sample_rate); in spdif_set_sample_rate()
1137 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1148 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1158 spdif_priv->txrate[index] = arate; in fsl_spdif_txclk_caldiv()
1210 rate[index], spdif_priv->txrate[index]); in fsl_spdif_probe_txclk()
/Linux-v5.4/drivers/net/wireless/ath/ath9k/
Dwmi.h21 __be32 txrate; member
/Linux-v5.4/drivers/net/wireless/atmel/
Dat76c50x-usb.c1366 priv->txrate == TX_RATE_1MBIT ? "1MBit" : priv->txrate == in at76_startup_device()
1367 TX_RATE_2MBIT ? "2MBit" : priv->txrate == in at76_startup_device()
1368 TX_RATE_5_5MBIT ? "5.5MBit" : priv->txrate == in at76_startup_device()
1369 TX_RATE_11MBIT ? "11MBit" : priv->txrate == in at76_startup_device()
1401 ccfg->auto_rate_fallback = (priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device()
1445 priv->txrate == TX_RATE_AUTO ? 1 : 0); in at76_startup_device()
2346 priv->txrate = TX_RATE_AUTO; in at76_init_new_device()
Dat76c50x-usb.h408 int txrate; /* 0,1,2,3 = 1,2,5.5,11 Mbps, 4 is auto */ member
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1832 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 …]
/Linux-v5.4/net/mac80211/
Dethtool.c120 cfg80211_calculate_bitrate(&sinfo.txrate); in ieee80211_get_stats()
/Linux-v5.4/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c857 struct ieee80211_rate *txrate; in fill_ctrlset() local
871 txrate = ieee80211_get_tx_rate(mac->hw, info); in fill_ctrlset()
873 cs->modulation = txrate->hw_value; in fill_ctrlset()
875 cs->modulation = txrate->hw_value_short; in fill_ctrlset()
/Linux-v5.4/drivers/net/wireless/
Dmac80211_hwsim.c838 struct ieee80211_rate *txrate = ieee80211_get_tx_rate(hw, info); in mac80211_hwsim_monitor_rx() local
840 if (WARN_ON(!txrate)) in mac80211_hwsim_monitor_rx()
860 hdr->rt_rate = txrate->bitrate / 5; in mac80211_hwsim_monitor_rx()
863 if (txrate->flags & IEEE80211_RATE_ERP_G) in mac80211_hwsim_monitor_rx()
1410 struct ieee80211_rate *txrate; in mac80211_hwsim_tx() local
1414 txrate = ieee80211_get_tx_rate(hw, txi); in mac80211_hwsim_tx()
1418 24 * 8 * 10 / txrate->bitrate); in mac80211_hwsim_tx()
1545 struct ieee80211_rate *txrate; in mac80211_hwsim_beacon_tx() local
1565 txrate = ieee80211_get_tx_rate(hw, info); in mac80211_hwsim_beacon_tx()
1572 24 * 8 * 10 / txrate->bitrate); in mac80211_hwsim_beacon_tx()
/Linux-v5.4/drivers/net/wireless/intersil/hostap/
Dhostap_wlan.h151 __le16 txrate; /* HFA384X_RATES_* */ member
156 __le16 txrate; member
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.h422 u32 txrate:6; member
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/
Dbase.c1191 struct ieee80211_rate *txrate; in _rtl_get_tx_hw_rate() local
1208 txrate = ieee80211_get_tx_rate(hw, info); in _rtl_get_tx_hw_rate()
1210 if (txrate) in _rtl_get_tx_hw_rate()
1211 hw_value = txrate->hw_value; in _rtl_get_tx_hw_rate()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h424 u32 txrate:6; member

123