Home
last modified time | relevance | path

Searched refs:cw_min (Results 1 – 25 of 83) 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
271 if (params->cw_min) in mt7601u_conf_tx()
272 cw_min = fls(params->cw_min); in mt7601u_conf_tx()
278 WARN_ON(cw_min > 0xf); in mt7601u_conf_tx()
282 FIELD_PREP(MT_EDCA_CFG_CWMIN, cw_min) | in mt7601u_conf_tx()
306 val |= cw_min << MT_WMM_CWMIN_SHIFT(hw_q); in mt7601u_conf_tx()
/Linux-v5.10/drivers/net/wireless/ath/carl9170/
Dmac.c140 carl9170_regwrite(AR9170_MAC_REG_AC0_CW, ar->edcf[0].cw_min | in carl9170_set_qos()
142 carl9170_regwrite(AR9170_MAC_REG_AC1_CW, ar->edcf[1].cw_min | in carl9170_set_qos()
144 carl9170_regwrite(AR9170_MAC_REG_AC2_CW, ar->edcf[2].cw_min | in carl9170_set_qos()
146 carl9170_regwrite(AR9170_MAC_REG_AC3_CW, ar->edcf[3].cw_min | in carl9170_set_qos()
148 carl9170_regwrite(AR9170_MAC_REG_AC4_CW, ar->edcf[4].cw_min | in carl9170_set_qos()
/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.h146 unsigned int cw_min; member
/Linux-v5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c683 if (params->cw_min > 0) in rt2x00mac_conf_tx()
684 queue->cw_min = fls(params->cw_min); in rt2x00mac_conf_tx()
686 queue->cw_min = 5; /* cw_min: 2^5 = 32. */ in rt2x00mac_conf_tx()
698 queue_idx, queue->cw_min, queue->cw_max, queue->aifs, in rt2x00mac_conf_tx()
Drt2x00queue.h473 unsigned short cw_min; 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
492 if (params->cw_min) in mt76x02_conf_tx()
493 cw_min = fls(params->cw_min); in mt76x02_conf_tx()
499 FIELD_PREP(MT_EDCA_CFG_CWMIN, cw_min) | in mt76x02_conf_tx()
515 val |= cw_min << MT_WMM_CWMIN_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
104 queue.cwmin = cpu_to_le16(cw_min); \
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c511 u16 cw_min = (1 << 5) - 1; in mt7603_conf_tx() local
517 if (params->cw_min) in mt7603_conf_tx()
518 cw_min = params->cw_min; in mt7603_conf_tx()
537 val |= cw_min << MT_WMM_CWMIN_SHIFT(queue); in mt7603_conf_tx()
/Linux-v5.10/include/net/
Dregulatory.h206 u16 cw_min; member
/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()
1007 acx->cw_min = cw_min; in wl1251_acx_ac_cfg()
Dacx.h1248 u8 cw_min; 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
1393 cw_min = fls(params->cw_min); in rtl8187se_conf_ac_parm()
1403 cw_min << AC_PARAM_ECW_MIN_SHIFT | in rtl8187se_conf_ac_parm()
1427 u8 cw_min, cw_max; in rtl8180_conf_tx() local
1433 cw_min = fls(params->cw_min); in rtl8180_conf_tx()
1441 (cw_max << 4) | cw_min); in rtl8180_conf_tx()
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/
Dwmm.c244 u16 cw_min, avg_back_off, tmp[4]; in mwifiex_wmm_setup_queue_priorities() local
264 cw_min = (1 << (ecw & MWIFIEX_ECW_MIN)) - 1; in mwifiex_wmm_setup_queue_priorities()
265 avg_back_off = (cw_min >> 1) + (aci_aifsn & MWIFIEX_AIFSN); in mwifiex_wmm_setup_queue_priorities()
274 cw_min, avg_back_off); in mwifiex_wmm_setup_queue_priorities()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h336 __le16 cw_min; member
/Linux-v5.10/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c589 qi.tqi_cw_min = params->cw_min; in ath5k_conf_tx()
596 queue, params->aifs, params->cw_min, in ath5k_conf_tx()
/Linux-v5.10/drivers/staging/wfx/
Dhif_tx.c407 body->cw_min = cpu_to_le16(arg->cw_min); in hif_set_edca_queue_params()
/Linux-v5.10/drivers/net/wireless/ti/wl12xx/
Dmain.c127 .cw_min = 15,
134 .cw_min = 15,
141 .cw_min = 15,
148 .cw_min = 15,
/Linux-v5.10/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1345 u8 cw_min, cw_max; in rtl8187_conf_tx() local
1350 cw_min = fls(params->cw_min); in rtl8187_conf_tx()
1365 (cw_min << 8) | (params->aifs * 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
476 value |= ((u32)cw_min & 0xF) << 8; in rtl92c_init_edca_param()
/Linux-v5.10/drivers/net/wireless/ti/wl18xx/
Dmain.c268 .cw_min = 15,
275 .cw_min = 15,
282 .cw_min = 15,
289 .cw_min = 15,
/Linux-v5.10/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1011 u8 cw_min; in libipw_qos_convert_ac_to_parameters() local
1020 cw_min = ac_params->ecw_min_max & 0x0F; in libipw_qos_convert_ac_to_parameters()
1021 qos_param->cw_min[i] = cpu_to_le16((1 << cw_min) - 1); in libipw_qos_convert_ac_to_parameters()
/Linux-v5.10/drivers/net/wireless/ti/wlcore/
Dacx.h429 u8 cw_min; 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()
843 acx->cw_min = cw_min; in wl1271_acx_ac_cfg()
/Linux-v5.10/net/wireless/
Dreg.c647 u16 cw_min = ecw2cw((ac[i].ecw & 0xf0) >> 4); in valid_wmm() local
651 if (cw_min >= cw_max) in valid_wmm()
877 wmm_rule->client[i].cw_min = in set_wmm_rule()
883 wmm_rule->ap[i].cw_min = ecw2cw((wmm->ap[i].ecw & 0xf0) >> 4); in set_wmm_rule()
1310 intersect->cw_min = max_t(u16, wmm_ac1->cw_min, wmm_ac2->cw_min); in reg_wmm_rules_intersect()

1234