Home
last modified time | relevance | path

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

1234

/drivers/net/wireless/mediatek/mt7601u/
Dtx.c265 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local
274 if (params->cw_max) in mt7601u_conf_tx()
275 cw_max = fls(params->cw_max); in mt7601u_conf_tx()
280 WARN_ON(cw_max > 0xf); in mt7601u_conf_tx()
284 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt7601u_conf_tx()
312 val |= cw_max << MT_WMM_CWMAX_SHIFT(hw_q); in mt7601u_conf_tx()
/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()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c493 u8 cw_min = 5, cw_max = 10, qid; in mt76x02_conf_tx() local
500 if (params->cw_max) in mt76x02_conf_tx()
501 cw_max = fls(params->cw_max); in mt76x02_conf_tx()
506 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt76x02_conf_tx()
526 val |= cw_max << MT_WMM_CWMAX_SHIFT(qid); in mt76x02_conf_tx()
/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c699 if (params->cw_max > 0) in rt2x00mac_conf_tx()
700 queue->cw_max = fls(params->cw_max); in rt2x00mac_conf_tx()
702 queue->cw_max = 10; /* cw_min: 2^10 = 1024. */ in rt2x00mac_conf_tx()
709 queue_idx, queue->cw_min, queue->cw_max, queue->aifs, in rt2x00mac_conf_tx()
Drt2x00queue.h474 unsigned short cw_max; member
/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); \
/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c490 __le16 cw_max; in mt7921_mcu_set_tx() member
509 u8 cw_max; in mt7921_mcu_set_tx() member
545 if (q->cw_max) in mt7921_mcu_set_tx()
546 e->cw_max = cpu_to_le16(q->cw_max); in mt7921_mcu_set_tx()
548 e->cw_max = cpu_to_le16(10); in mt7921_mcu_set_tx()
570 e->cw_max = (q->ecw_min_max & 0xf0) >> 4; in mt7921_mcu_set_tx()
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c539 u16 cw_max = (1 << 10) - 1; in mt7603_conf_tx() local
546 if (params->cw_max) in mt7603_conf_tx()
547 cw_max = params->cw_max; in mt7603_conf_tx()
569 val |= cw_max << MT_WMM_CWMAX_SHIFT(queue); in mt7603_conf_tx()
/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,
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c1393 u8 cw_min, cw_max; in rtl8187se_conf_ac_parm() local
1398 cw_max = fls(params->cw_max); in rtl8187se_conf_ac_parm()
1406 cw_max << AC_PARAM_ECW_MAX_SHIFT | in rtl8187se_conf_ac_parm()
1432 u8 cw_min, cw_max; in rtl8180_conf_tx() local
1439 cw_max = fls(params->cw_max); in rtl8180_conf_tx()
1446 (cw_max << 4) | cw_min); in rtl8180_conf_tx()
/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c172 u16 cw_max, u16 txop) in mt7915_tm_set_wmm_qid() argument
183 e->cw_max = cpu_to_le16(cw_max); in mt7915_tm_set_wmm_qid()
Dmcu.h199 __le16 cw_max; member
/drivers/net/wireless/ti/wl12xx/
Dmain.c128 .cw_max = 63,
135 .cw_max = 63,
142 .cw_max = 63,
149 .cw_max = 63,
/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c591 qi.tqi_cw_max = params->cw_max; in ath5k_conf_tx()
598 params->cw_max, params->txop); in ath5k_conf_tx()
/drivers/net/wireless/silabs/wfx/
Dhif_tx.c381 body->cw_max = cpu_to_le16(arg->cw_max); in wfx_hif_set_edca_queue_params()
/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1346 u8 cw_min, cw_max; in rtl8187_conf_tx() local
1352 cw_max = fls(params->cw_max); in rtl8187_conf_tx()
1365 (params->txop << 16) | (cw_max << 12) | in rtl8187_conf_tx()
1373 cw_min | (cw_max << 4)); in rtl8187_conf_tx()
/drivers/net/wireless/ti/wl18xx/
Dmain.c269 .cw_max = 63,
276 .cw_max = 63,
283 .cw_max = 63,
290 .cw_max = 63,
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c990 u8 cw_max; in libipw_qos_convert_ac_to_parameters() local
1001 cw_max = (ac_params->ecw_min_max & 0xF0) >> 4; in libipw_qos_convert_ac_to_parameters()
1002 qos_param->cw_max[i] = cpu_to_le16((1 << cw_max) - 1); in libipw_qos_convert_ac_to_parameters()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c466 u16 queue, u16 txop, u8 cw_min, u8 cw_max, u8 aifs) in rtl92c_init_edca_param() argument
476 value |= ((u32)cw_max & 0xF) << 12; in rtl92c_init_edca_param()
/drivers/net/wireless/ti/wlcore/
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()
Dacx.h430 __le16 cw_max; member
1069 u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop);
Dconf.h329 u16 cw_max; member
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h288 __le16 cw_max; member
/drivers/staging/rtl8192u/
Dr8192U_dm.c2039 u32 u4bAcParam, op_limit, cw_max, cw_min; in dm_check_edca_turbo() local
2050 cw_max = (u32)le16_to_cpu(qos_parameters->cw_max[0]); in dm_check_edca_turbo()
2054 cw_max <<= AC_PARAM_ECW_MAX_OFFSET; in dm_check_edca_turbo()
2058 u4bAcParam = op_limit | cw_max | cw_min | u1bAIFS; in dm_check_edca_turbo()

1234