Lines Matching refs:sband
72 static void rate_control_pid_adjust_rate(struct ieee80211_supported_band *sband,
80 band = sband->band;
81 n_bitrates = sband->n_bitrates;
124 sband->bitrates[spinfo->txrate_idx].bitrate);
146 struct ieee80211_supported_band *sband,
189 rate_control_pid_normalize(pinfo, sband->n_bitrates);
216 rate_control_pid_adjust_rate(sband, sta, spinfo, adj, rinfo);
219 static void rate_control_pid_tx_status(void *priv, struct ieee80211_supported_band *sband,
256 rate_control_pid_sample(pinfo, sband, sta, spinfo);
265 struct ieee80211_supported_band *sband = txrc->sband;
283 if (rateidx >= sband->n_bitrates)
284 rateidx = sband->n_bitrates - 1;
290 rateidx, sband->bitrates[rateidx].bitrate);
295 rate_control_pid_rate_init(void *priv, struct ieee80211_supported_band *sband,
308 for (i = 0; i < sband->n_bitrates; i++) {
316 for (i = 1; i < sband->n_bitrates; i++) {
318 for (j = 0; j < sband->n_bitrates - i; j++)
319 if (unlikely(sband->bitrates[rinfo[j].index].bitrate >
320 sband->bitrates[rinfo[j + 1].index].bitrate)) {
332 spinfo->txrate_idx = rate_lowest_index(sband, sta);
340 struct ieee80211_supported_band *sband;
351 sband = hw->wiphy->bands[i];
352 if (sband && sband->n_bitrates > max_rates)
353 max_rates = sband->n_bitrates;