/drivers/net/wireless/b43/ |
H A D | ppr.c | 80 struct b43_ppr_rates *rates = &ppr->rates; local 130 rates->cck[i] = maxpwr - off; 137 rates->ofdm[i] = maxpwr - off; 141 rates->mcs_20[0] = rates->ofdm[0]; 142 rates->mcs_20[1] = rates->ofdm[2]; 143 rates->mcs_20[2] = rates [all...] |
H A D | ppr.h | 28 struct b43_ppr_rates rates; member in union:b43_ppr::__anon4321
|
H A D | xmit.c | 266 struct ieee80211_tx_rate *rates; local 380 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) 403 rates = info->control.rates; 415 /* Overwrite rates[0].count to make the retry calculation 419 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || 420 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) { 421 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count; 424 rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count; 428 if ((rates[ [all...] |
/drivers/net/wireless/orinoco/ |
H A D | scan.c | 27 static int symbol_build_supp_rates(u8 *buf, const __le16 *rates) argument 34 rate = le16_to_cpu(rates[i]); 45 static int prism_build_supp_rates(u8 *buf, const u8 *rates) argument 52 if (rates[i] == 0x0) 54 buf[i + 2] = rates[i]; 58 /* We might still have another 2 rates, which need to go in 59 * extended supported rates */ 60 if (i == 8 && rates[i] > 0) { 64 if (rates[i] == 0x0) 66 buf[i + 2] = rates[ [all...] |
H A D | hw.h | 51 int *numrates, s32 *rates, int max);
|
/drivers/net/wireless/cw1200/ |
H A D | txrx.c | 70 struct ieee80211_tx_rate *rates, size_t count) 75 BUG_ON(rates[0].idx < 0); 78 /* Sort rates in descending order. */ 80 if (rates[i].idx < 0) { 84 if (rates[i].idx > rates[i - 1].idx) { 85 struct ieee80211_tx_rate tmp = rates[i - 1]; 86 rates[i - 1] = rates[i]; 87 rates[ 68 tx_policy_build(const struct cw1200_common *priv, struct tx_policy *policy, struct ieee80211_tx_rate *rates, size_t count) argument 299 tx_policy_get(struct cw1200_common *priv, struct ieee80211_tx_rate *rates, size_t count, bool *renew) argument 416 cw1200_rate_mask_to_wsm(struct cw1200_common *priv, u32 rates) argument [all...] |
H A D | txrx.h | 63 u32 rates);
|
/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_mac.c | 238 ACCESS_ONCE(ads->ds_ctl2) = set11nTries(i->rates, 0) 239 | set11nTries(i->rates, 1) 240 | set11nTries(i->rates, 2) 241 | set11nTries(i->rates, 3) 245 ACCESS_ONCE(ads->ds_ctl3) = set11nRate(i->rates, 0) 246 | set11nRate(i->rates, 1) 247 | set11nRate(i->rates, 2) 248 | set11nRate(i->rates, 3); 298 ACCESS_ONCE(ads->ds_ctl4) = set11nPktDurRTSCTS(i->rates, 0) 299 | set11nPktDurRTSCTS(i->rates, [all...] |
H A D | ar9003_mac.c | 69 ACCESS_ONCE(ads->ctl13) = set11nTries(i->rates, 0) 70 | set11nTries(i->rates, 1) 71 | set11nTries(i->rates, 2) 72 | set11nTries(i->rates, 3) 76 ACCESS_ONCE(ads->ctl14) = set11nRate(i->rates, 0) 77 | set11nRate(i->rates, 1) 78 | set11nRate(i->rates, 2) 79 | set11nRate(i->rates, 3); 141 ACCESS_ONCE(ads->ctl15) = set11nPktDurRTSCTS(i->rates, 0) 142 | set11nPktDurRTSCTS(i->rates, [all...] |
H A D | xmit.c | 152 ieee80211_get_tx_rates(vif, sta, bf->bf_mpdu, bf->rates, 153 ARRAY_SIZE(bf->rates)); 456 struct ieee80211_tx_rate rates[4]; local 468 memcpy(rates, bf->rates, sizeof(rates)); 472 retries += rates[i].count; 588 memcpy(tx_info->control.rates, rates, sizeof(rates)); 711 struct ieee80211_tx_rate *rates; local 734 struct ieee80211_tx_rate *rates; local 1106 struct ieee80211_tx_rate *rates; local [all...] |
H A D | dynack.c | 209 if (!(info->status.rates[ridx].flags & IEEE80211_TX_RC_MCS)) { 212 struct ieee80211_tx_rate *rates = info->status.rates; local 214 rate = &common->sbands[info->band].bitrates[rates[ridx].idx];
|
/drivers/net/wireless/ti/wl1251/ |
H A D | wl12xx_80211.h | 84 u8 rates[MAX_SUPPORTED_RATES]; member in struct:wl12xx_ie_rates 113 struct wl12xx_ie_rates rates; member in struct:wl12xx_beacon_template 138 struct wl12xx_ie_rates rates; member in struct:wl12xx_probe_req_template 149 struct wl12xx_ie_rates rates; member in struct:wl12xx_probe_resp_template
|
/drivers/net/wireless/mwifiex/ |
H A D | cfp.c | 95 /* AC rates */ 195 * This function maps an index in supported rates table into 240 /* 11n non-HT rates */ 249 /* This function maps an index in supported rates table into 295 * This function returns the current active data rates. 299 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates) argument 302 return mwifiex_get_supported_rates(priv, rates); 304 return mwifiex_copy_rates(rates, 0, 387 /* This function gets the supported data rates from bitmask inside 391 u8 *rates, u 390 mwifiex_get_rates_from_cfg80211(struct mwifiex_private *priv, u8 *rates, u8 radio_type) argument 425 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates) argument [all...] |
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | rate.c | 43 /* rates are in units of Kbps */ 188 /* Hardware rates (also encodes default basic rates) */ 282 /* error if no basic rates */ 284 if (rs->rates[idx] & BRCMS_RATE_FLAG) 316 r = (int)rs->rates[i] & BRCMS_RATE_MASK; 319 rateset[r] = rs->rates[i]; /* preserve basic bit! */ 322 /* fill out the rates in order, looking at only supported rates */ 325 r = hw_rs->rates[ 408 brcms_c_rateset_filter(struct brcms_c_rateset *src, struct brcms_c_rateset *dst, bool basic_only, u8 rates, uint xmask, bool mcsallow) argument [all...] |
/drivers/staging/line6/ |
H A D | podhd.c | 41 .rates = SNDRV_PCM_RATE_48000, 61 .rates = SNDRV_PCM_RATE_48000,
|
/drivers/scsi/libsas/ |
H A D | sas_init.c | 350 struct sas_phy_linkrates *rates) 354 if ((rates->minimum_linkrate && 355 rates->minimum_linkrate > phy->maximum_linkrate) || 356 (rates->maximum_linkrate && 357 rates->maximum_linkrate < phy->minimum_linkrate)) 360 if (rates->minimum_linkrate && 361 rates->minimum_linkrate < phy->minimum_linkrate_hw) 362 rates->minimum_linkrate = phy->minimum_linkrate_hw; 364 if (rates->maximum_linkrate && 365 rates 349 sas_set_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) argument [all...] |
H A D | sas_host_smp.c | 189 struct sas_phy_linkrates rates; local 213 rates.minimum_linkrate = min; 214 rates.maximum_linkrate = max; 222 if (i->dft->lldd_control_phy(asd_phy, phy_op, &rates))
|
/drivers/staging/vt6656/ |
H A D | int.c | 87 idx = info->control.rates[0].idx; 112 info->status.rates[0].count = tx_retry; 115 info->status.rates[0].idx = idx;
|
/drivers/media/pci/mantis/ |
H A D | mantis_uart.c | 46 } rates[5] = { variable in typeref:struct:__anon2235 152 rates[params.baud_rate].string,
|
/drivers/net/wireless/b43legacy/ |
H A D | xmit.c | 204 struct ieee80211_tx_rate *rates; local 278 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) 283 rates = info->control.rates; 293 /* Overwrite rates[0].count to make the retry calculation 297 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) || 298 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) { 299 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count; 302 rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count; 306 if ((rates[ [all...] |
/drivers/net/wireless/rtlwifi/ |
H A D | rc.c | 150 struct ieee80211_tx_rate *rates = tx_info->control.rates; local 160 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[0], txrc, 165 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[i],
|
/drivers/net/wireless/ath/ath5k/ |
H A D | phy.c | 1131 /* Tweak power detector for half/quarter rates */ 2665 * @rates: The &struct ath5k_rate_pcal_info to fill 2675 struct ath5k_rate_pcal_info *rates) 2731 rates->freq = target; 2733 rates->target_power_6to24 = 2739 rates->target_power_36 = 2745 rates->target_power_48 = 2751 rates->target_power_54 = 3497 * rates[0] - rates[ 2673 ath5k_get_rate_pcal_data(struct ath5k_hw *ah, struct ieee80211_channel *channel, struct ath5k_rate_pcal_info *rates) argument 3515 u16 *rates; local [all...] |
H A D | base.h | 70 struct ieee80211_tx_rate rates[4]; /* number of multi-rate stages */ member in struct:ath5k_buf
|
/drivers/net/wireless/ti/wl18xx/ |
H A D | tx.c | 108 info->band, &info->status.rates[0]); 110 info->status.rates[0].count = 1; /* no data about retries */
|
/drivers/clk/rockchip/ |
H A D | clk-cpu.c | 17 * clock for CPU domain. The rates of these auxiliary clocks are related to the 49 * @rate_count: number of rates in the rate_table 50 * @rate_table: pll-rates and their associated dividers 234 const struct rockchip_cpuclk_rate_table *rates, 302 cpuclk->rate_table = kmemdup(rates, 303 sizeof(*rates) * nrates, 306 pr_err("%s: could not allocate memory for cpuclk rates\n", 231 rockchip_clk_register_cpuclk(const char *name, const char **parent_names, u8 num_parents, const struct rockchip_cpuclk_reg_data *reg_data, const struct rockchip_cpuclk_rate_table *rates, int nrates, void __iomem *reg_base, spinlock_t *lock) argument
|