Searched defs:rates (Results 1 - 25 of 76) sorted by relevance

1234

/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/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.c1207 int *numrates, s32 *rates, int max)
1232 rates[i] = (p[i] & 0x7f) * 500000; /* convert to bps */
1206 orinoco_hw_get_bitratelist(struct orinoco_private *priv, int *numrates, s32 *rates, int max) argument
/drivers/scsi/libsas/
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))
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...]
/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/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...]
H A Djoin.c138 * This function finds out the common rates between rate1 and rate2.
140 * It will fill common rates in rate1 as output if found.
142 * NOTE: Setting the MSB of the basic rates needs to be taken
197 * This function creates the intersection of the rates supported by a
208 /* Copy AP supported rates */
210 /* Get the STA supported rates */
212 /* Get the common rates between AP and STA supported rates */
216 dev_err(priv->adapter->dev, "%s: cannot get common rates\n",
351 u8 rates[MWIFIEX_SUPPORTED_RATE local
[all...]
/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/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/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...]
/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...]
/drivers/net/wireless/rtl818x/rtl8180/
H A Drtl8180.h80 struct ieee80211_rate rates[12]; member in struct:rtl8180_priv
/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/net/wireless/wl12xx/
H A Dwl12xx_80211.h85 u8 rates[MAX_SUPPORTED_RATES]; member in struct:wl12xx_ie_rates
/drivers/scsi/aic94xx/
H A Daic94xx_scb.c904 struct sas_phy_linkrates *rates; local
912 rates = arg;
913 if (rates->minimum_linkrate) {
914 pd->min_sas_lrate = rates->minimum_linkrate;
915 pd->min_sata_lrate = rates->minimum_linkrate;
917 if (rates->maximum_linkrate) {
918 pd->max_sas_lrate = rates->maximum_linkrate;
919 pd->max_sata_lrate = rates->maximum_linkrate;
/drivers/scsi/mvsas/
H A Dmv_64xx.c637 struct sas_phy_linkrates *rates)
643 lrmin = (rates->minimum_linkrate << 8);
644 lrmax = (rates->maximum_linkrate << 12);
636 mvs_64xx_phy_set_link_rate(struct mvs_info *mvi, u32 phy_id, struct sas_phy_linkrates *rates) argument
H A Dmv_94xx.c864 struct sas_phy_linkrates *rates)
870 lrmax = (rates->maximum_linkrate - SAS_LINK_RATE_1_5_GBPS) << 12;
863 mvs_94xx_phy_set_link_rate(struct mvs_info *mvi, u32 phy_id, struct sas_phy_linkrates *rates) argument
/drivers/staging/wlan-ng/
H A Dcfg80211.c42 struct ieee80211_rate rates[ARRAY_SIZE(prism2_rates)]; member in struct:prism2_wiphy_private
734 memcpy(priv->rates, prism2_rates, sizeof(prism2_rates));
737 priv->band.bitrates = priv->rates;
/drivers/input/mouse/
H A Delantech.c1159 static const unsigned char rates[] = { 200, 100, 80, 60, 40, 20, 10 }; local
1168 for (i = 0; i < ARRAY_SIZE(rates); i++)
1169 if (param[2] == rates[i])
H A Dalps.c948 static const unsigned char rates[] = { 0, 10, 20, 40, 60, 80, 100, 200 }; local
996 for (i = 0; i < ARRAY_SIZE(rates) && param[2] != rates[i]; i++)
/drivers/net/wireless/iwlwifi/
H A Diwl-agn.c173 if (info->control.rates[0].idx < 0 ||
174 info->control.rates[0].flags & IEEE80211_TX_RC_MCS)
177 rate = info->control.rates[0].idx;
183 /* In mac80211, rates for 5 GHz start at 0 */
1008 static void iwl_init_hw_rates(struct ieee80211_rate *rates) argument
1013 rates[i].bitrate = iwl_rates[i].ieee * 5;
1014 rates[i].hw_value = i; /* Rate scaling will work on indexes */
1015 rates[i].hw_value_short = i;
1016 rates[i].flags = 0;
1021 rates[
[all...]
/drivers/net/wireless/rtl818x/rtl8187/
H A Drtl8187.h113 struct ieee80211_rate rates[12]; member in struct:rtl8187_priv
/drivers/scsi/pm8001/
H A Dpm8001_sas.c167 struct sas_phy_linkrates *rates; local
174 rates = funcdata;
175 if (rates->minimum_linkrate) {
177 rates->minimum_linkrate;
179 if (rates->maximum_linkrate) {
181 rates->maximum_linkrate;

Completed in 824 milliseconds

1234