Searched refs:rates (Results 1 - 25 of 157) sorted by relevance

1234567

/drivers/net/wireless/mwifiex/
H A Dcfp.c75 * This function maps an index in supported rates table into
140 * rates table.
156 * This function returns the current active data rates.
160 u32 mwifiex_get_active_data_rates(struct mwifiex_private *priv, u8 *rates) argument
163 return mwifiex_get_supported_rates(priv, rates);
165 return mwifiex_copy_rates(rates, 0,
263 * This function gets the supported data rates.
266 * band and returning the data rates.
268 u32 mwifiex_get_supported_rates(struct mwifiex_private *priv, u8 *rates) argument
277 k = mwifiex_copy_rates(rates,
[all...]
/drivers/net/wireless/orinoco/
H A Dscan.c27 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 Dhw.h51 int *numrates, s32 *rates, int max);
/drivers/net/wireless/ath/ath9k/
H A Dar9002_mac.c201 ACCESS_ONCE(ads->ds_ctl2) = set11nTries(i->rates, 0)
202 | set11nTries(i->rates, 1)
203 | set11nTries(i->rates, 2)
204 | set11nTries(i->rates, 3)
208 ACCESS_ONCE(ads->ds_ctl3) = set11nRate(i->rates, 0)
209 | set11nRate(i->rates, 1)
210 | set11nRate(i->rates, 2)
211 | set11nRate(i->rates, 3);
261 ACCESS_ONCE(ads->ds_ctl4) = set11nPktDurRTSCTS(i->rates, 0)
262 | set11nPktDurRTSCTS(i->rates,
[all...]
H A Drc.c165 WLAN_RC_HT_FLAG, /* Phy rates allowed initially */
321 WLAN_RC_HT_FLAG, /* Phy rates allowed initially */
346 0, /* Phy rates allowed initially */
379 0, /* Phy rates allowed initially */
457 /* No more valid rates */
531 /* Use intersection of working rates and valid rates */
574 /* Use intersection of working rates and valid rates */
729 struct ieee80211_tx_rate *rates local
770 struct ieee80211_tx_rate *rates = tx_info->control.rates; local
1133 struct ieee80211_tx_rate *rates = tx_info->status.rates; local
[all...]
H A Dar9003_mac.c69 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 Dxmit.c415 struct ieee80211_tx_rate rates[4]; local
428 memcpy(rates, tx_info->control.rates, sizeof(rates));
432 retries += rates[i].count;
545 memcpy(tx_info->control.rates, rates, sizeof(rates));
627 struct ieee80211_tx_rate *rates; local
632 rates
650 struct ieee80211_tx_rate *rates; local
938 struct ieee80211_tx_rate *rates; local
[all...]
/drivers/net/wireless/wl1251/
H A Dwl12xx_80211.h84 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
H A Dacx.c15 struct acx_fw_gen_frame_rates *rates; local
18 wl1251_debug(DEBUG_ACX, "acx frame rates");
20 rates = kzalloc(sizeof(*rates), GFP_KERNEL);
21 if (!rates) {
26 rates->tx_ctrl_frame_rate = ctrl_rate;
27 rates->tx_ctrl_frame_mod = ctrl_mod;
28 rates->tx_mgt_frame_rate = mgt_rate;
29 rates->tx_mgt_frame_mod = mgt_mod;
32 rates, sizeo
[all...]
/drivers/scsi/libsas/
H A Dsas_init.c325 struct sas_phy_linkrates *rates)
329 if ((rates->minimum_linkrate &&
330 rates->minimum_linkrate > phy->maximum_linkrate) ||
331 (rates->maximum_linkrate &&
332 rates->maximum_linkrate < phy->minimum_linkrate))
335 if (rates->minimum_linkrate &&
336 rates->minimum_linkrate < phy->minimum_linkrate_hw)
337 rates->minimum_linkrate = phy->minimum_linkrate_hw;
339 if (rates->maximum_linkrate &&
340 rates
324 sas_set_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates) argument
[all...]
H A Dsas_host_smp.c189 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/net/wireless/brcm80211/brcmsmac/
H A Drate.c43 /* 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 Dpodhd.c41 .rates = SNDRV_PCM_RATE_48000,
61 .rates = SNDRV_PCM_RATE_48000,
/drivers/net/wireless/b43/
H A Dxmit.c265 struct ieee80211_tx_rate *rates; local
378 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE)
401 rates = info->control.rates;
413 /* Overwrite rates[0].count to make the retry calculation
417 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) ||
418 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) {
419 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count;
422 rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count;
426 if ((rates[
[all...]
/drivers/media/dvb/mantis/
H A Dmantis_uart.c46 } rates[5] = { variable in typeref:struct:__anon1535
152 rates[params.baud_rate].string,
/drivers/net/wireless/b43legacy/
H A Dxmit.c204 struct ieee80211_tx_rate *rates; local
278 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE)
295 rates = info->control.rates;
305 /* Overwrite rates[0].count to make the retry calculation
309 if ((rates[0].flags & IEEE80211_TX_RC_USE_RTS_CTS) ||
310 (rates[0].count <= dev->wl->hw->conf.long_frame_max_tx_count)) {
311 rates[0].count = dev->wl->hw->conf.long_frame_max_tx_count;
314 rates[0].count = dev->wl->hw->conf.short_frame_max_tx_count;
318 if ((rates[
[all...]
H A Dpio.c511 retry_limit = info->status.rates[0].count;
525 info->status.rates[0].count = 0;
526 info->status.rates[1].count = status->frame_count;
529 info->status.rates[0].count = retry_limit;
530 info->status.rates[1].count = status->frame_count -
534 info->status.rates[0].count = status->frame_count;
535 info->status.rates[1].idx = -1;
/drivers/net/wireless/rtlwifi/
H A Drc.c139 struct ieee80211_tx_rate *rates = tx_info->control.rates; local
149 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[0], txrc,
154 _rtl_rc_rate_set_series(rtlpriv, sta, &rates[i],
/drivers/net/wireless/ath/ath5k/
H A Dphy.c1129 /* Tweak power detector for half/quarter rates */
2666 * @rates: The &struct ath5k_rate_pcal_info to fill
2676 struct ath5k_rate_pcal_info *rates)
2732 rates->freq = target;
2734 rates->target_power_6to24 =
2740 rates->target_power_36 =
2746 rates->target_power_48 =
2752 rates->target_power_54 =
3498 * rates[0] - rates[
2674 ath5k_get_rate_pcal_data(struct ath5k_hw *ah, struct ieee80211_channel *channel, struct ath5k_rate_pcal_info *rates) argument
3516 u16 *rates; local
[all...]
/drivers/net/wireless/p54/
H A Dtxrx.c434 /* walk through the rates array and adjust the counts */
437 if (count >= info->status.rates[idx].count) {
438 count -= info->status.rates[idx].count;
440 info->status.rates[idx].count = count;
443 info->status.rates[idx].idx = -1;
444 info->status.rates[idx].count = 0;
818 hdr->rts_tries = info->control.rates[0].count;
821 * we register the rates in perfect order, and
828 /* see how many rates got used */
830 if (info->control.rates[
[all...]
/drivers/net/wireless/rt2x00/
H A Drt2x00dev.c351 * different rates to send out the frame, at each
356 tx_info->status.rates[i].idx = rate_idx - i;
357 tx_info->status.rates[i].flags = rate_flags;
364 tx_info->status.rates[i].count = retry_rates - i;
368 tx_info->status.rates[i].count = 1;
371 tx_info->status.rates[i].idx = -1; /* terminate */
387 * which rates are suitable.
556 * For non-HT rates the MCS value needs to contain the
832 struct ieee80211_rate *rates; local
846 rates
[all...]
H A Drt2x00mac.c42 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)
67 rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_RTS_CTS;
68 rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_CTS_PROTECT;
70 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)
84 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT)
143 (tx_info->control.rates[0].flags & (IEEE80211_TX_RC_USE_RTS_CTS |
/drivers/net/wireless/zd1211rw/
H A Dzd_mac.c51 /* This table contains the hardware specific values for the modulation rates. */
94 * Zydas retry rates table. Each line is listed in the same order as
96 * starting with a given rates. Let's consider an example :
99 * - packet is sent using 4 different rates
469 first_idx = info->status.rates[0].idx;
474 info->status.rates[0].idx = retries->rate[0];
475 info->status.rates[0].count = 1; // (retry > 1 ? 2 : 1);
478 info->status.rates[i].idx = retries->rate[i];
479 info->status.rates[i].count = 1; // ((i==retry-1) && success ? 1:2);
482 info->status.rates[
[all...]
/drivers/net/wireless/ipw2x00/
H A Dipw2200.c2441 struct ipw_supported_rates *rates)
2443 if (!priv || !rates) {
2448 return ipw_send_cmd_pdu(priv, IPW_CMD_SUPPORTED_RATES, sizeof(*rates),
2449 rates);
4155 * rate match to B rates */
4159 /* TODO: Verify that the rate is supported by the current rates
5376 struct ipw_supported_rates *rates)
5380 memset(rates, 0, sizeof(*rates));
5382 rates
2440 ipw_send_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) argument
5374 ipw_compatible_rates(struct ipw_priv *priv, const struct libipw_network *network, struct ipw_supported_rates *rates) argument
5442 ipw_add_cck_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) argument
5465 ipw_add_ofdm_scan_rates(struct ipw_supported_rates *rates, u8 modulation, u32 rate_mask) argument
5506 struct ipw_supported_rates rates; member in struct:ipw_network_match
5514 struct ipw_supported_rates rates; local
5726 struct ipw_supported_rates rates; local
7383 ipw_associate_network(struct ipw_priv *priv, struct libipw_network *network, struct ipw_supported_rates *rates, int roaming) argument
7645 struct ipw_supported_rates *rates; local
10897 init_supported_rates(struct ipw_priv *priv, struct ipw_supported_rates *rates) argument
[all...]
/drivers/net/wireless/rtl818x/rtl8180/
H A Drtl8180.h80 struct ieee80211_rate rates[12]; member in struct:rtl8180_priv

Completed in 1745 milliseconds

1234567