Home
last modified time | relevance | path

Searched refs:max_tp_rate (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/kernel/net/mac80211/
H A Drc80211_minstrel_debugfs.c81 *(p++) = (i == mi->max_tp_rate[0]) ? 'A' : ' '; in minstrel_stats_open()
82 *(p++) = (i == mi->max_tp_rate[1]) ? 'B' : ' '; in minstrel_stats_open()
83 *(p++) = (i == mi->max_tp_rate[2]) ? 'C' : ' '; in minstrel_stats_open()
84 *(p++) = (i == mi->max_tp_rate[3]) ? 'D' : ' '; in minstrel_stats_open()
138 p += sprintf(p, "%s" ,((i == mi->max_tp_rate[0]) ? "A" : "")); in minstrel_stats_csv_open()
139 p += sprintf(p, "%s" ,((i == mi->max_tp_rate[1]) ? "B" : "")); in minstrel_stats_csv_open()
140 p += sprintf(p, "%s" ,((i == mi->max_tp_rate[2]) ? "C" : "")); in minstrel_stats_csv_open()
141 p += sprintf(p, "%s" ,((i == mi->max_tp_rate[3]) ? "D" : "")); in minstrel_stats_csv_open()
H A Drc80211_minstrel_ht.c441 max_tp_group = mi->max_tp_rate[0] / MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate()
514 tmp_max_streams = minstrel_mcs_groups[mi->max_tp_rate[0] / in minstrel_ht_prob_rate_reduce_streams()
566 tp_group = &minstrel_mcs_groups[mi->max_tp_rate[0] / MCS_GROUP_RATES]; in minstrel_ht_find_probe_rates()
567 tp_idx = mi->max_tp_rate[0] % MCS_GROUP_RATES; in minstrel_ht_find_probe_rates()
569 max_dur = minstrel_get_duration(mi->max_tp_rate[0]); in minstrel_ht_find_probe_rates()
593 if (idx == mi->max_tp_rate[0]) in minstrel_ht_find_probe_rates()
626 mrs = minstrel_get_ratestats(mi, mi->max_tp_rate[0]); in minstrel_ht_rate_sample_switch()
634 int g_idx = mi->max_tp_rate[0] / MCS_GROUP_RATES; in minstrel_ht_rate_sample_switch()
637 supported >>= mi->max_tp_rate[0] % MCS_GROUP_RATES; in minstrel_ht_rate_sample_switch()
642 probe_rate = mi->max_tp_rate[0] + i; in minstrel_ht_rate_sample_switch()
[all …]
H A Drc80211_minstrel_ht_debugfs.c76 *(p++) = (idx == mi->max_tp_rate[0]) ? 'A' : ' '; in minstrel_ht_stats_dump()
77 *(p++) = (idx == mi->max_tp_rate[1]) ? 'B' : ' '; in minstrel_ht_stats_dump()
78 *(p++) = (idx == mi->max_tp_rate[2]) ? 'C' : ' '; in minstrel_ht_stats_dump()
79 *(p++) = (idx == mi->max_tp_rate[3]) ? 'D' : ' '; in minstrel_ht_stats_dump()
223 p += sprintf(p, "%s" ,((idx == mi->max_tp_rate[0]) ? "A" : "")); in minstrel_ht_stats_csv_dump()
224 p += sprintf(p, "%s" ,((idx == mi->max_tp_rate[1]) ? "B" : "")); in minstrel_ht_stats_csv_dump()
225 p += sprintf(p, "%s" ,((idx == mi->max_tp_rate[2]) ? "C" : "")); in minstrel_ht_stats_csv_dump()
226 p += sprintf(p, "%s" ,((idx == mi->max_tp_rate[3]) ? "D" : "")); in minstrel_ht_stats_csv_dump()
H A Drc80211_minstrel.c135 minstrel_set_rate(mi, ratetbl, i++, mi->max_tp_rate[0]); in minstrel_update_rates()
139 minstrel_set_rate(mi, ratetbl, i++, mi->max_tp_rate[1]); in minstrel_update_rates()
245 memcpy(mi->max_tp_rate, tmp_tp_rate, sizeof(mi->max_tp_rate)); in minstrel_update_stats()
251 mi->max_tp_rate[0] = mp->fixed_rate_idx; in minstrel_update_stats()
252 mi->max_tp_rate[1] = mp->fixed_rate_idx; in minstrel_update_stats()
391 mr = &mi->r[mi->max_tp_rate[0]]; in minstrel_get_rate()
482 memset(mi->max_tp_rate, 0, sizeof(mi->max_tp_rate)); in minstrel_rate_init()
556 int idx = mi->max_tp_rate[0]; in minstrel_get_expected_throughput()
H A Drc80211_minstrel_ht.h71 u16 max_tp_rate[MAX_THR_RATES]; member
H A Drc80211_minstrel.h125 u8 max_tp_rate[MAX_THR_RATES]; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/ssv6xxx/smac/
H A Dssv_ht_rc.c128 mg->max_tp_rate = 0; in rate_control_ht_sample()
143 … sample result max_tp_rate[%d]max_tp_rate2[%d]max_prob_rate[%d]\n",mg->max_tp_rate,mg->max_tp_rate… in rate_control_ht_sample()
161 swap(index, mg->max_tp_rate); in rate_control_ht_sample()
167 printk("HT--3 index[%d]i[%d]mg->max_tp_rate[%d]\n",index,i,mg->max_tp_rate); in rate_control_ht_sample()
169 if (index >= mg->max_tp_rate) in rate_control_ht_sample()
195 mr = minstrel_get_ratestats(mi, mg->max_tp_rate); in rate_control_ht_sample()
197 mi->max_tp_rate2 = mi->max_tp_rate; in rate_control_ht_sample()
199 mi->max_tp_rate = mg->max_tp_rate; in rate_control_ht_sample()
209 mi->max_tp_rate = mg->max_tp_rate; in rate_control_ht_sample()
214 … sample result max_tp_rate[%d]max_tp_rate2[%d]max_prob_rate[%d]\n",mi->max_tp_rate,mi->max_tp_rate… in rate_control_ht_sample()
[all …]
H A Dssv_rc_common.h140 unsigned int max_tp_rate; member
149 unsigned int max_tp_rate; member
H A Dssv_rc.c724 spinfo->txrate_idx = rc_sta->ht.max_tp_rate + 4; in ssv6xxx_legacy_report_handler()
726 spinfo->txrate_idx = rc_sta->ht.max_tp_rate; in ssv6xxx_legacy_report_handler()