Home
last modified time | relevance | path

Searched refs:ir_nrates (Results 1 – 25 of 25) sorted by relevance

/titanic_44/usr/src/uts/common/io/ath/
H A Dath_rate.c96 if (in->in_rates.ir_nrates == 0) in ath_rate_update()
163 srate = in->in_rates.ir_nrates - 1; in ath_rate_ctl_start()
180 srate = in->in_rates.ir_nrates - 1; in ath_rate_ctl_start()
275 if (nrate + 1 < rs->ir_nrates) { in ath_rate_ctl()
343 rs->ir_nrates = maxrates; in ath_rate_setup()
/titanic_44/usr/src/uts/common/io/net80211/
H A Dnet80211_proto.c253 for (i = 0; i < nrs->ir_nrates; ) { in ieee80211_fix_rate()
261 for (j = i + 1; j < nrs->ir_nrates; j++) { in ieee80211_fix_rate()
276 for (j = 0; j < srs->ir_nrates; j++) { in ieee80211_fix_rate()
290 if (j == srs->ir_nrates) { in ieee80211_fix_rate()
305 nrs->ir_nrates--; in ieee80211_fix_rate()
306 for (j = i; j < nrs->ir_nrates; j++) in ieee80211_fix_rate()
420 for (i = 0; i < rs->ir_nrates; i++) { in ieee80211_setbasicrates()
422 for (j = 0; j < basic[mode].ir_nrates; j++) { in ieee80211_setbasicrates()
950 ASSERT(in->in_txrate < in->in_rates.ir_nrates); in ieee80211_newstate()
H A Dnet80211_input.c524 rs->ir_nrates = rates[1]; in ieee80211_setup_rates()
526 bcopy(rates + 2, rs->ir_rates, rs->ir_nrates); in ieee80211_setup_rates()
534 if (rs->ir_nrates + nxrates > IEEE80211_RATE_MAXSIZE) { in ieee80211_setup_rates()
535 nxrates = IEEE80211_RATE_MAXSIZE - rs->ir_nrates; in ieee80211_setup_rates()
543 bcopy(xrates + 2, rs->ir_rates + rs->ir_nrates, nxrates); in ieee80211_setup_rates()
544 rs->ir_nrates += nxrates; in ieee80211_setup_rates()
H A Dnet80211_ioctl.c799 nrates = MIN(rates->ir_nrates, MAX_SCAN_SUPPORT_RATES); in wifi_read_ap()
808 rates->ir_rates[rates->ir_nrates - i - 1]; in wifi_read_ap()
1641 for (i = 0; i < rs->ir_nrates; i++) { in wl_set_desrates()
1646 if (i < rs->ir_nrates) { in wl_set_desrates()
1665 for (j = 0; j < rs->ir_nrates; j++) { in wl_set_desrates()
2300 if (srs->ir_nrates == 0) in wl_get_suprates()
2302 for (j = 0; j < srs->ir_nrates; j++) { in wl_get_suprates()
H A Dnet80211_output.c270 nrates = rs->ir_nrates; in ieee80211_add_rates()
284 if (rs->ir_nrates > IEEE80211_RATE_SIZE) { in ieee80211_add_xrates()
285 uint8_t nrates = rs->ir_nrates - IEEE80211_RATE_SIZE; in ieee80211_add_xrates()
H A Dnet80211_ht.c1849 ic->ic_sup_rates[IEEE80211_MODE_11NA].ir_nrates == 0) { in ieee80211_ht_attach()
1855 ic->ic_sup_rates[IEEE80211_MODE_11NG].ir_nrates == 0) { in ieee80211_ht_attach()
H A Dnet80211_node.c468 ((_rs).ir_rates[(_rs).ir_nrates - 1] & IEEE80211_RATE_VAL)
/titanic_44/usr/src/uts/common/io/ral/
H A Dral_rate.c101 i = rs->ir_nrates; in ral_rssadapt_choose()
159 if (id->id_rateidx >= rs->ir_nrates) in ral_rssadapt_lower_rate()
196 if (id->id_rateidx + 1 < rs->ir_nrates && in ral_rssadapt_raise_rate()
/titanic_44/usr/src/uts/common/io/arn/
H A Darn_rc.c1643 for (i = 0; i < in->in_rates.ir_nrates; i++) { in arn_get_rate()
1659 in->in_txrate = in->in_rates.ir_nrates - 1; in arn_get_rate()
1695 for (i = 0; i < in->in_rates.ir_nrates; i++) { in arn_rate_init()
1701 ath_rc_priv->neg_rates.rs_nrates = in->in_rates.ir_nrates; in arn_rate_init()
1823 if (in->in_rates.ir_nrates == 0) in arn_rate_update()
1889 srate = in->in_rates.ir_nrates - 1; in arn_rate_ctl_start()
1906 srate = in->in_rates.ir_nrates - 1; in arn_rate_ctl_start()
2011 if (nrate + 1 < rs->ir_nrates) { in arn_rate_ctl()
H A Darn_main.c718 rateset->ir_nrates = (uint8_t)maxrates; /* ??? */ in arn_setup_rates()
/titanic_44/usr/src/uts/common/io/uath/
H A Duath.c1789 create.connattr.rateset.length = rs->ir_nrates; in uath_create_connection()
1791 rs->ir_nrates); in uath_create_connection()
1816 rates.rateset.length = rs->ir_nrates; in uath_set_rates()
1817 bcopy(rs->ir_rates, &rates.rateset.set[0], rs->ir_nrates); in uath_set_rates()
1820 "setting supported rates nrates=%d\n", rs->ir_nrates); in uath_set_rates()
1962 ni->in_txrate = ni->in_rates.ir_nrates - 1; in uath_newstate()
/titanic_44/usr/src/uts/common/io/wpi/
H A Dwpi.c1378 i = in->in_rates.ir_nrates - 1; in wpi_newstate()
2201 in->in_txrate, in->in_rates.ir_nrates, rate));
2970 nrates = rs->ir_nrates;
2978 if (rs->ir_nrates > IEEE80211_RATE_SIZE) {
2979 nrates = rs->ir_nrates - IEEE80211_RATE_SIZE;
3556 ((in)->in_txrate == (in)->in_rates.ir_nrates - 1)
/titanic_44/usr/src/uts/common/sys/
H A Dnet80211.h281 uint8_t ir_nrates; member
/titanic_44/usr/src/uts/common/io/iwk/
H A Diwk2.c1729 i = in->in_rates.ir_nrates - 1; in iwk_newstate()
2824 in->in_txrate, in->in_rates.ir_nrates, rate)); in iwk_send()
3605 if (i < rs.ir_nrates) in iwk_hw_set_before_auth()
3606 rate = rs.ir_rates[rs.ir_nrates - i]; in iwk_hw_set_before_auth()
3728 nrates = rs->ir_nrates; in iwk_scan()
3736 if (rs->ir_nrates > IEEE80211_RATE_SIZE) { in iwk_scan()
3737 nrates = rs->ir_nrates - IEEE80211_RATE_SIZE; in iwk_scan()
4341 ((in)->in_txrate == (in)->in_rates.ir_nrates - 1)
6572 if (i < rs.ir_nrates) { in iwk_clean_add_node_ibss()
6574 ir_rates[rs.ir_nrates - i]; in iwk_clean_add_node_ibss()
/titanic_44/usr/src/uts/common/io/iwh/
H A Diwh.c2014 i = in->in_rates.ir_nrates - 1; in iwh_newstate()
3360 in->in_txrate, in->in_rates.ir_nrates, rate)); in iwh_send()
4203 nrates = rs->ir_nrates; in iwh_scan()
4215 if (rs->ir_nrates > IEEE80211_RATE_SIZE) { in iwh_scan()
4216 nrates = rs->ir_nrates - IEEE80211_RATE_SIZE; in iwh_scan()
4997 ((in)->in_rates.ir_nrates - 1 == (in)->in_txrate)
6318 if (i < rs_sup->ir_nrates) { in iwh_ap_lq()
6319 rate = rs_sup->ir_rates[rs_sup->ir_nrates - i] & in iwh_ap_lq()
/titanic_44/usr/src/uts/common/io/iwi/
H A Dipw2200.c869 rs.nrates = ic->ic_sup_rates[IEEE80211_MODE_11G].ir_nrates; in ipw2200_config()
880 rs.nrates = ic->ic_sup_rates[IEEE80211_MODE_11A].ir_nrates; in ipw2200_config()
1677 rs.nrates = in->in_rates.ir_nrates; in ipw2200_auth_and_assoc()
1678 (void) memcpy(rs.rates, in->in_rates.ir_rates, in->in_rates.ir_nrates); in ipw2200_auth_and_assoc()
/titanic_44/usr/src/uts/common/io/iwp/
H A Diwp.c1925 i = in->in_rates.ir_nrates - 1; in iwp_newstate()
3209 in->in_txrate, in->in_rates.ir_nrates, rate)); in iwp_send()
4001 nrates = rs->ir_nrates; in iwp_scan()
4013 if (rs->ir_nrates > IEEE80211_RATE_SIZE) { in iwp_scan()
4014 nrates = rs->ir_nrates - IEEE80211_RATE_SIZE; in iwp_scan()
4729 ((in)->in_rates.ir_nrates - 1 == (in)->in_txrate)
/titanic_44/usr/src/uts/common/io/zyd/
H A Dzyd.c995 in->in_txrate = in->in_rates.ir_nrates - 1; in zyd_newstate()
/titanic_44/usr/src/uts/common/io/ural/
H A Dural.c1835 ((ni)->in_txrate == (ni)->in_rates.ir_nrates - 1)
1927 for (i = ni->in_rates.ir_nrates - 1; in ural_amrr_start()
/titanic_44/usr/src/uts/common/io/rtw/
H A Drtw.c2387 srate = in->in_rates.ir_nrates - 1; in rtw_rate_ctl_start()
2405 srate = in->in_rates.ir_nrates - 1; in rtw_rate_ctl_start()
2465 if (nrate + 1 < rs->ir_nrates) { in rtw_rate_ctl()
/titanic_44/usr/src/uts/common/io/rum/
H A Drum.c1856 ((ni)->in_txrate == (ni)->in_rates.ir_nrates - 1)
1948 for (i = ni->in_rates.ir_nrates - 1; in rum_amrr_start()
/titanic_44/usr/src/uts/common/io/rwd/
H A Drt2661.c1674 ((ni)->in_txrate == (ni)->in_rates.ir_nrates - 1) in rt2661_amrr_choose()
1885 i = ni->in_rates.ir_nrates - 1; in rt2661_newassoc()
/titanic_44/usr/src/uts/common/io/rwn/
H A Drt2860.c1408 ((ni)->in_txrate == (ni)->in_rates.ir_nrates - 1) in rt2860_amrr_choose()
1482 i = in->in_rates.ir_nrates - 1; in rt2860_newassoc()
/titanic_44/usr/src/uts/common/io/mwl/
H A Dmwl.c2930 for (i = 0; i < rs->ir_nrates; i++) in get_rate_bitmap()
/titanic_44/usr/src/uts/common/io/urtw/
H A Durtw.c3723 ni->in_txrate = ni->in_rates.ir_nrates - 1; in urtw_newstate()