Home
last modified time | relevance | path

Searched refs:max_rates (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v4.19/net/mac80211/
Drate.c598 int max_rates) in rate_fixup_ratelist() argument
635 for (i = 0; i < max_rates; i++) { in rate_fixup_ratelist()
700 int max_rates) in rate_control_fill_sta_table() argument
709 max_rates = min_t(int, max_rates, IEEE80211_TX_RATE_TABLE_SIZE); in rate_control_fill_sta_table()
710 for (i = 0; i < max_rates; i++) { in rate_control_fill_sta_table()
815 int max_rates) in rate_control_apply_mask() argument
838 for (i = 0; i < max_rates; i++) { in rate_control_apply_mask()
854 int max_rates) in ieee80211_get_tx_rates() argument
861 rate_control_fill_sta_table(sta, info, dest, max_rates); in ieee80211_get_tx_rates()
870 rate_control_apply_mask(sdata, sta, sband, dest, max_rates); in ieee80211_get_tx_rates()
[all …]
Drc80211_minstrel.c137 if (mp->hw->max_rates >= 3) { in minstrel_update_rates()
142 if (mp->hw->max_rates >= 2) { in minstrel_update_rates()
371 if (mp->hw->max_rates == 1 && in minstrel_get_rate()
582 int max_rates = 0; in minstrel_alloc_sta() local
591 if (sband && sband->n_bitrates > max_rates) in minstrel_alloc_sta()
592 max_rates = sband->n_bitrates; in minstrel_alloc_sta()
595 mi->r = kcalloc(max_rates, sizeof(struct minstrel_rate), gfp); in minstrel_alloc_sta()
599 mi->sample_table = kmalloc_array(max_rates, SAMPLE_COLUMNS, gfp); in minstrel_alloc_sta()
684 if (hw->max_rates >= 4) in minstrel_alloc()
Drc80211_minstrel_ht.c933 if (mp->hw->max_rates >= 3) { in minstrel_ht_update_rates()
938 if (mp->hw->max_rates >= 2) { in minstrel_ht_update_rates()
1062 if (mp->hw->max_rates == 1 && in minstrel_ht_get_rate()
1303 int max_rates = 0; in minstrel_ht_alloc_sta() local
1308 if (sband && sband->n_bitrates > max_rates) in minstrel_ht_alloc_sta()
1309 max_rates = sband->n_bitrates; in minstrel_ht_alloc_sta()
1316 msp->ratelist = kcalloc(max_rates, sizeof(struct minstrel_rate), gfp); in minstrel_ht_alloc_sta()
1320 msp->sample_table = kmalloc_array(max_rates, SAMPLE_COLUMNS, gfp); in minstrel_ht_alloc_sta()
Dmain.c615 local->hw.max_rates = 1; in ieee80211_alloc_hw_nm()
912 hw->max_report_rates = hw->max_rates; in ieee80211_register_hw()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_init_common.c206 hw->max_rates = 1; in mt76x2_init_device()
/Linux-v4.19/drivers/media/pci/tw686x/
Dtw686x-video.c931 int max_rates = DIV_ROUND_UP(max_fps, 2); in tw686x_enum_frameintervals() local
933 if (ival->index >= max_rates) in tw686x_enum_frameintervals()
938 if (ival->index < (max_rates - 1)) in tw686x_enum_frameintervals()
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dmain.c307 hw->max_rates = 8; in cw1200_init_common()
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dinit.c607 hw->max_rates = 1; in mt7601u_register_device()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dinit.c684 hw->max_rates = 1; in mt76x0_register_device()
/Linux-v4.19/drivers/net/wireless/intersil/p54/
Dmain.c777 dev->max_rates = 4; in p54_init_common()
Dtxrx.c835 for (i = 0; i < dev->max_rates; i++) { in p54_tx_80211()
/Linux-v4.19/include/net/
Dmac80211.h2309 u8 max_rates; member
4277 int max_rates);
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
Dinit.c982 hw->max_rates = 4; in ath9k_set_hw_capab()
Dxmit.c2610 WARN_ON(tx_rateindex >= hw->max_rates); in ath_tx_rc_status()
2642 for (i = tx_rateindex + 1; i < hw->max_rates; i++) { in ath_tx_rc_status()
/Linux-v4.19/drivers/net/wireless/zydas/zd1211rw/
Dzd_mac.c1419 hw->max_rates = IEEE80211_TX_MAX_RATES; in zd_mac_alloc_hw()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Dmac80211_if.c1071 hw->max_rates = 2; /* Primary rate and 1 fallback rate */ in ieee_hw_init()
Dmain.c6314 for (k = 0; k < hw->max_rates; k++) { in brcms_c_d11hdrs_mac80211()
6367 for (k = 0; k < hw->max_rates; k++) { in brcms_c_d11hdrs_mac80211()
6477 for (k = 0; k < hw->max_rates; k++) { in brcms_c_d11hdrs_mac80211()
/Linux-v4.19/drivers/net/wireless/rsi/
Drsi_91x_mac80211.c1960 hw->max_rates = 1; in rsi_mac80211_attach()
/Linux-v4.19/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1482 dev->max_rates = 1; in rtl8187_probe()
/Linux-v4.19/drivers/net/wireless/ath/carl9170/
Dmain.c1871 hw->max_rates = CARL9170_TX_MAX_RATES; in carl9170_alloc()
/Linux-v4.19/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c1779 dev->max_rates = 1; in rtl8180_probe()
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt61pci.c2781 rt2x00dev->hw->max_rates = 1; in rt61pci_probe_hw_mode()
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Dbase.c2614 hw->max_rates = 4; in ath5k_init_ah()
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/
Dmain.c3846 hw->max_rates = 2; in b43legacy_wireless_init()
/Linux-v4.19/drivers/net/wireless/
Dmac80211_hwsim.c2868 hw->max_rates = 4; in mac80211_hwsim_new_radio()

12