Home
last modified time | relevance | path

Searched refs:amrr (Results 1 – 12 of 12) sorted by relevance

/titanic_44/usr/src/uts/common/io/ural/
H A Dural.c1826 #define is_success(amrr) \ argument
1827 ((amrr)->retrycnt < (amrr)->txcnt / 10)
1828 #define is_failure(amrr) \ argument
1829 ((amrr)->retrycnt > (amrr)->txcnt / 3)
1830 #define is_enough(amrr) \ argument
1831 ((amrr)->txcnt > 10)
1840 #define reset_cnt(amrr) do { \ argument
1841 (amrr)->txcnt = (amrr)->retrycnt = 0; \
1846 ural_ratectl(struct ural_amrr *amrr, struct ieee80211_node *ni) in ural_ratectl() argument
1850 if (is_success(amrr) && is_enough(amrr)) { in ural_ratectl()
[all …]
H A Dural_var.h76 struct ural_amrr amrr; member
/titanic_44/usr/src/uts/common/io/rum/
H A Drum.c1847 #define is_success(amrr) \ argument
1848 ((amrr)->retrycnt < (amrr)->txcnt / 10)
1849 #define is_failure(amrr) \ argument
1850 ((amrr)->retrycnt > (amrr)->txcnt / 3)
1851 #define is_enough(amrr) \ argument
1852 ((amrr)->txcnt > 10)
1861 #define reset_cnt(amrr) do { \ argument
1862 (amrr)->txcnt = (amrr)->retrycnt = 0; \
1867 rum_ratectl(struct rum_amrr *amrr, struct ieee80211_node *ni) in rum_ratectl() argument
1871 if (is_success(amrr) && is_enough(amrr)) { in rum_ratectl()
[all …]
H A Drum_var.h79 struct rum_amrr amrr; member
/titanic_44/usr/src/uts/common/io/iwh/
H A Diwh.c1799 iwh_amrr_t *amrr; in iwh_node_alloc() local
1801 amrr = kmem_zalloc(sizeof (iwh_amrr_t), KM_SLEEP); in iwh_node_alloc()
1802 if (NULL == amrr) { in iwh_node_alloc()
1808 iwh_amrr_init(amrr); in iwh_node_alloc()
1810 return (&amrr->in); in iwh_node_alloc()
1856 iwh_amrr_t *amrr; in iwh_newstate() local
1991 amrr = (iwh_amrr_t *)in; in iwh_newstate()
2000 amrr->ht_mcs_idx = r; in iwh_newstate()
2443 iwh_amrr_t *amrr; in iwh_tx_intr() local
2449 amrr = (iwh_amrr_t *)ic->ic_bss; in iwh_tx_intr()
[all …]
/titanic_44/usr/src/uts/common/io/wpi/
H A Dwpi.c1215 wpi_amrr_t *amrr; in wpi_node_alloc() local
1217 amrr = kmem_zalloc(sizeof (wpi_amrr_t), KM_SLEEP); in wpi_node_alloc()
1218 if (amrr != NULL) in wpi_node_alloc()
1219 wpi_amrr_init(amrr); in wpi_node_alloc()
1220 return (&amrr->in); in wpi_node_alloc()
1776 wpi_amrr_t *amrr = (wpi_amrr_t *)ic->ic_bss; local
1783 amrr->txcnt++;
1784 WPI_DBG((WPI_DEBUG_RATECTL, "tx: %d cnt\n", amrr->txcnt));
1786 amrr->retrycnt++;
1789 amrr->retrycnt));
[all …]
/titanic_44/usr/src/uts/common/io/iwp/
H A Diwp.c1736 iwp_amrr_t *amrr; in iwp_node_alloc() local
1738 amrr = kmem_zalloc(sizeof (iwp_amrr_t), KM_SLEEP); in iwp_node_alloc()
1739 if (NULL == amrr) { in iwp_node_alloc()
1745 iwp_amrr_init(amrr); in iwp_node_alloc()
1747 return (&amrr->in); in iwp_node_alloc()
2347 iwp_amrr_t *amrr; in iwp_tx_intr() local
2353 amrr = (iwp_amrr_t *)ic->ic_bss; in iwp_tx_intr()
2355 amrr->txcnt++; in iwp_tx_intr()
2357 "tx: %d cnt\n", amrr->txcnt)); in iwp_tx_intr()
2360 amrr->retrycnt++; in iwp_tx_intr()
[all …]
/titanic_44/usr/src/uts/common/io/iwk/
H A Diwk2.c1526 iwk_amrr_t *amrr; in iwk_node_alloc() local
1528 amrr = kmem_zalloc(sizeof (iwk_amrr_t), KM_SLEEP); in iwk_node_alloc()
1529 if (amrr != NULL) in iwk_node_alloc()
1530 iwk_amrr_init(amrr); in iwk_node_alloc()
1531 return (&amrr->in); in iwk_node_alloc()
2191 iwk_amrr_t *amrr = (iwk_amrr_t *)ic->ic_bss; in iwk_tx_intr() local
2200 amrr->txcnt++; in iwk_tx_intr()
2201 IWK_DBG((IWK_DEBUG_RATECTL, "tx: %d cnt\n", amrr->txcnt)); in iwk_tx_intr()
2203 amrr->retrycnt++; in iwk_tx_intr()
4332 #define is_success(amrr) \ argument
[all …]
/titanic_44/usr/src/uts/common/io/rwd/
H A Drt2661_var.h112 struct rt2661_amrr amrr; member
H A Drt2661.c1651 rt2661_amrr_node_init(const struct rt2661_amrr *amrr, in rt2661_amrr_node_init() argument
1657 amn->amn_success_threshold = amrr->amrr_min_success_threshold; in rt2661_amrr_node_init()
1661 rt2661_amrr_choose(struct rt2661_amrr *amrr, struct ieee80211_node *ni, in rt2661_amrr_choose() argument
1704 amrr->amrr_max_success_threshold) in rt2661_amrr_choose()
1706 amrr->amrr_max_success_threshold; in rt2661_amrr_choose()
1709 amrr->amrr_min_success_threshold; in rt2661_amrr_choose()
1882 rt2661_amrr_node_init(&sc->amrr, &((struct rt2661_node *)ni)->amn); in rt2661_newassoc()
1898 rt2661_amrr_choose(&sc->amrr, ni, &rn->amn); in rt2661_iter_func()
2931 sc->amrr.amrr_min_success_threshold = 1; in rt2661_attach()
2932 sc->amrr.amrr_max_success_threshold = 15; in rt2661_attach()
/titanic_44/usr/src/uts/common/io/rwn/
H A Drt2860_var.h143 struct rt2860_amrr amrr; member
H A Drt2860.c1307 rt2860_amrr_choose(&sc->amrr, ni, &sc->amn[wcid]); in rt2860_iter_func()
1385 rt2860_amrr_node_init(const struct rt2860_amrr *amrr, in rt2860_amrr_node_init() argument
1391 amn->amn_success_threshold = amrr->amrr_min_success_threshold; in rt2860_amrr_node_init()
1395 rt2860_amrr_choose(struct rt2860_amrr *amrr, struct ieee80211_node *ni, in rt2860_amrr_choose() argument
1439 amrr->amrr_max_success_threshold) in rt2860_amrr_choose()
1441 amrr->amrr_max_success_threshold; in rt2860_amrr_choose()
1444 amrr->amrr_min_success_threshold; in rt2860_amrr_choose()
1479 rt2860_amrr_node_init(&sc->amrr, &sc->amn[wcid]); in rt2860_newassoc()
2903 sc->amrr.amrr_min_success_threshold = 1; in rt2860_attach()
2904 sc->amrr.amrr_max_success_threshold = 15; in rt2860_attach()