Home
last modified time | relevance | path

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

1234

/Linux-v5.10/drivers/net/wireless/mediatek/mt7601u/
Dtx.c264 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local
273 if (params->cw_max) in mt7601u_conf_tx()
274 cw_max = fls(params->cw_max); in mt7601u_conf_tx()
279 WARN_ON(cw_max > 0xf); in mt7601u_conf_tx()
283 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt7601u_conf_tx()
311 val |= cw_max << MT_WMM_CWMAX_SHIFT(hw_q); in mt7601u_conf_tx()
/Linux-v5.10/drivers/net/wireless/ath/carl9170/
Dmac.c141 (ar->edcf[0].cw_max << 16)); in carl9170_set_qos()
143 (ar->edcf[1].cw_max << 16)); in carl9170_set_qos()
145 (ar->edcf[2].cw_max << 16)); in carl9170_set_qos()
147 (ar->edcf[3].cw_max << 16)); in carl9170_set_qos()
149 (ar->edcf[4].cw_max << 16)); in carl9170_set_qos()
/Linux-v5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c688 if (params->cw_max > 0) in rt2x00mac_conf_tx()
689 queue->cw_max = fls(params->cw_max); in rt2x00mac_conf_tx()
691 queue->cw_max = 10; /* cw_min: 2^10 = 1024. */ in rt2x00mac_conf_tx()
698 queue_idx, queue->cw_min, queue->cw_max, queue->aifs, in rt2x00mac_conf_tx()
Drt2x00queue.h474 unsigned short cw_max; member
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c487 u8 cw_min = 5, cw_max = 10, qid; in mt76x02_conf_tx() local
494 if (params->cw_max) in mt76x02_conf_tx()
495 cw_max = fls(params->cw_max); in mt76x02_conf_tx()
500 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt76x02_conf_tx()
520 val |= cw_max << MT_WMM_CWMAX_SHIFT(qid); in mt76x02_conf_tx()
/Linux-v5.10/drivers/net/wireless/intersil/p54/
Dp54.h101 #define P54_SET_QUEUE(queue, ai_fs, cw_min, cw_max, _txop) \ argument
105 queue.cwmax = cpu_to_le16(cw_max); \
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c512 u16 cw_max = (1 << 10) - 1; in mt7603_conf_tx() local
519 if (params->cw_max) in mt7603_conf_tx()
520 cw_max = params->cw_max; in mt7603_conf_tx()
542 val |= cw_max << MT_WMM_CWMAX_SHIFT(queue); in mt7603_conf_tx()
/Linux-v5.10/include/net/
Dregulatory.h207 u16 cw_max; member
/Linux-v5.10/net/mac80211/
Ddriver-ops.c190 if (params->cw_min == 0 || params->cw_min > params->cw_max) { in drv_conf_tx()
197 sdata->name, params->cw_min, params->cw_max); in drv_conf_tx()
Drc80211_minstrel.h147 unsigned int cw_max; member
Drc80211_minstrel_ht.c1030 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1032 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1047 cw = min((cw << 1) | 1, mp->cw_max); in minstrel_calc_retransmit()
1653 mp->cw_max = 1023; in minstrel_ht_alloc()
/Linux-v5.10/drivers/net/wireless/ti/wl1251/
Dacx.c993 int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, in wl1251_acx_ac_cfg() argument
1000 "aifs %d txop %d", ac, cw_min, cw_max, aifs, txop); in wl1251_acx_ac_cfg()
1008 acx->cw_max = cw_max; in wl1251_acx_ac_cfg()
Dacx.h1254 u16 cw_max; member
1478 int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max,
/Linux-v5.10/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c1389 u8 cw_min, cw_max; in rtl8187se_conf_ac_parm() local
1394 cw_max = fls(params->cw_max); in rtl8187se_conf_ac_parm()
1402 cw_max << AC_PARAM_ECW_MAX_SHIFT | in rtl8187se_conf_ac_parm()
1427 u8 cw_min, cw_max; in rtl8180_conf_tx() local
1434 cw_max = fls(params->cw_max); in rtl8180_conf_tx()
1441 (cw_max << 4) | cw_min); in rtl8180_conf_tx()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h337 __le16 cw_max; member
/Linux-v5.10/drivers/staging/wfx/
Dhif_tx.c408 body->cw_max = cpu_to_le16(arg->cw_max); in hif_set_edca_queue_params()
/Linux-v5.10/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c590 qi.tqi_cw_max = params->cw_max; in ath5k_conf_tx()
597 params->cw_max, params->txop); in ath5k_conf_tx()
/Linux-v5.10/drivers/net/wireless/ti/wl12xx/
Dmain.c128 .cw_max = 63,
135 .cw_max = 63,
142 .cw_max = 63,
149 .cw_max = 63,
/Linux-v5.10/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1345 u8 cw_min, cw_max; in rtl8187_conf_tx() local
1351 cw_max = fls(params->cw_max); in rtl8187_conf_tx()
1364 (params->txop << 16) | (cw_max << 12) | in rtl8187_conf_tx()
1372 cw_min | (cw_max << 4)); in rtl8187_conf_tx()
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c467 u16 queue, u16 txop, u8 cw_min, u8 cw_max, u8 aifs) in rtl92c_init_edca_param() argument
477 value |= ((u32)cw_max & 0xF) << 12; in rtl92c_init_edca_param()
/Linux-v5.10/drivers/net/wireless/ti/wl18xx/
Dmain.c269 .cw_max = 63,
276 .cw_max = 63,
283 .cw_max = 63,
290 .cw_max = 63,
/Linux-v5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1012 u8 cw_max; in libipw_qos_convert_ac_to_parameters() local
1023 cw_max = (ac_params->ecw_min_max & 0xF0) >> 4; in libipw_qos_convert_ac_to_parameters()
1024 qos_param->cw_max[i] = cpu_to_le16((1 << cw_max) - 1); in libipw_qos_convert_ac_to_parameters()
/Linux-v5.10/drivers/net/wireless/ti/wlcore/
Dacx.h430 __le16 cw_max; member
1069 u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop);
Dacx.c826 u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop) in wl1271_acx_ac_cfg() argument
832 "aifs %d txop %d", ac, cw_min, cw_max, aifsn, txop); in wl1271_acx_ac_cfg()
844 acx->cw_max = cpu_to_le16(cw_max); in wl1271_acx_ac_cfg()
/Linux-v5.10/net/wireless/
Dreg.c648 u16 cw_max = ecw2cw(ac[i].ecw & 0x0f); in valid_wmm() local
651 if (cw_min >= cw_max) in valid_wmm()
879 wmm_rule->client[i].cw_max = ecw2cw(wmm->client[i].ecw & 0x0f); in set_wmm_rule()
884 wmm_rule->ap[i].cw_max = ecw2cw(wmm->ap[i].ecw & 0x0f); in set_wmm_rule()
1311 intersect->cw_max = max_t(u16, wmm_ac1->cw_max, wmm_ac2->cw_max); in reg_wmm_rules_intersect()

1234