/net/mac80211/ |
H A D | rc80211_minstrel_ht.h | 33 /* bitfield of supported MCS rates of this group */ 41 struct minstrel_rate_stats rates[MCS_GROUP_RATES]; member in struct:minstrel_mcs_group_data
|
H A D | rate.c | 205 return; /* assume basic rates unknown and accept rate */ 235 info->control.rates[0].idx = 0; 246 info->control.rates[0].idx = i; 251 info->control.rates[0].count = 276 info->control.rates[0].idx = mcast_rate - 1; 287 rc_send_low_basicrate(&info->control.rates[0].idx, 370 /* handle HT rates */ 375 /* also try the legacy rates. */ 389 /* handle legacy rates */ 393 /* if HT BSS, and we handle a data frame, also try HT rates */ 431 rate_fixup_ratelist(struct ieee80211_vif *vif, struct ieee80211_supported_band *sband, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) argument 533 rate_control_fill_sta_table(struct ieee80211_sta *sta, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) argument 571 rate_control_apply_mask(struct ieee80211_sub_if_data *sdata, struct ieee80211_sta *sta, struct ieee80211_supported_band *sband, struct ieee80211_tx_info *info, struct ieee80211_tx_rate *rates, int max_rates) argument 695 rate_control_set_rates(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta, struct ieee80211_sta_rates *rates) argument [all...] |
H A D | mesh_plink.c | 90 * MBSS support ERP rates. 277 2 + 8 + /* supported rates */ 384 u32 rates, basic_rates = 0, changed = 0; local 387 rates = ieee80211_sta_get_rates(sdata, elems, band, &basic_rates); 392 /* rates and capabilities don't change during peering */ 396 if (sta->sta.supp_rates[band] != rates) 398 sta->sta.supp_rates[band] = rates;
|
H A D | ibss.c | 52 u32 rate_flags, rates = 0, rates_added = 0; local 106 rates |= BIT(i); 116 if (!(rates & BIT(ri))) 151 /* put the remaining rates in WLAN_EID_EXT_SUPP_RATES */ 159 if (!(rates & BIT(ri))) 646 /* make sure mandatory rates are always added */ 1017 /* make sure mandatory rates are always added */ 1200 /* make sure mandatory rates are always added */ 1674 /* fix basic_rates if channel does not support these rates */
|
H A D | rc80211_minstrel_ht.c | 89 * To enable sufficiently targeted rate sampling, MCS rates are divided into 163 return &mi->groups[group].rates[idx]; 169 return &mi->groups[index / MCS_GROUP_RATES].rates[index % MCS_GROUP_RATES]; 210 mr = &mi->groups[group].rates[rate]; 236 * Find & sort topmost throughput rates 238 * If multiple rates provide equal throughput the sorting is based on their 240 * MCS groups, CCK rates do not provide aggregation and are therefore at last. 252 cur_thr = mi->groups[cur_group].rates[cur_idx].cur_tp; 253 cur_prob = mi->groups[cur_group].rates[cur_idx].probability; 258 tmp_thr = mi->groups[tmp_group].rates[tmp_id 750 struct ieee80211_sta_rates *rates; local [all...] |
H A D | mlme.c | 601 u32 rate_flags, rates = 0; local 619 * Get all rates supported by the device and the AP as 620 * some APs don't like getting a superset of their rates 627 &rates); 630 * In case AP not provide any supported rates information 632 * all rates that we support. 639 rates |= BIT(i); 647 4 + rates_len + /* (extended) rates */ 709 /* add all rates which were marked to be used above */ 720 if (BIT(i) & rates) { 2502 ieee80211_get_rates(struct ieee80211_supported_band *sband, u8 *supp_rates, unsigned int supp_rates_len, u32 *rates, u32 *basic_rates, bool *have_higher_than_11mbit, int *min_rate, int *min_rate_index, int shift, u32 rate_flags) argument 4011 u32 rates = 0, basic_rates = 0; local [all...] |
H A D | util.c | 152 /* rates should already consider the channel bandwidth, 1261 u8 rates[32]; local 1283 rates[num_rates++] = 1294 memcpy(pos, rates, supp_rates_len); 1321 memcpy(pos, rates + supp_rates_len, ext_rates_len); 2269 const u8 *srates, int srates_len, u32 *rates) 2276 *rates = 0; 2288 *rates |= BIT(j); 2304 u8 i, rates, *pos; local 2311 rates 2267 ieee80211_parse_bitrates(struct cfg80211_chan_def *chandef, const struct ieee80211_supported_band *sband, const u8 *srates, int srates_len, u32 *rates) argument [all...] |
/net/wireless/ |
H A D | util.c | 1500 const u8 *rates, unsigned int n_rates, 1514 int rate = (rates[i] & 0x7f) * 5; 1530 * didn't accept a 0-length rates array nor allowed 1499 ieee80211_get_ratemask(struct ieee80211_supported_band *sband, const u8 *rates, unsigned int n_rates, u32 *mask) argument
|
H A D | nl80211.c | 3963 /* force (at least) rates when authorizing */ 5504 request->rates[i] = 5524 &request->rates[band]); 6852 u8 *rates = local 6859 err = ieee80211_get_ratemask(sband, rates, n_rates, 7570 u8 *rates, u8 rates_len) 7576 int rate = (rates[i] & 0x7f) * 5; 7594 u8 *rates, u8 rates_len, 7604 ridx = rates[i] / 8; 7605 rbit = BIT(rates[ 7569 rateset_to_mask(struct ieee80211_supported_band *sband, u8 *rates, u8 rates_len) argument 7593 ht_rateset_to_mask(struct ieee80211_supported_band *sband, u8 *rates, u8 rates_len, u8 mcs[IEEE80211_HT_MCS_MASK_LEN]) argument 8228 u8 *rates = nla_data(info->attrs[NL80211_ATTR_BSS_BASIC_RATES]); local [all...] |
/net/netfilter/ipvs/ |
H A D | ip_vs_ctl.c | 755 /* get current counters as zero point, rates are zeroed */ 2090 struct ip_vs_stats_user rates; local 2124 ip_vs_read_estimator(&rates, tot_stats); 2132 rates.cps, 2133 rates.inpps, 2134 rates.outpps, 2135 rates.inbps, 2136 rates.outbps);
|