Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c494 u8 cw_min = 5, cw_max = 10, qid; in mt76x02_conf_tx() local
501 if (params->cw_max) in mt76x02_conf_tx()
502 cw_max = fls(params->cw_max); in mt76x02_conf_tx()
507 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt76x02_conf_tx()
527 val |= cw_max << MT_WMM_CWMAX_SHIFT(qid); in mt76x02_conf_tx()
/linux-6.1.9/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-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c550 __le16 cw_max; in mt7921_mcu_set_tx() member
569 u8 cw_max; in mt7921_mcu_set_tx() member
605 if (q->cw_max) in mt7921_mcu_set_tx()
606 e->cw_max = cpu_to_le16(q->cw_max); in mt7921_mcu_set_tx()
608 e->cw_max = cpu_to_le16(10); in mt7921_mcu_set_tx()
630 e->cw_max = (q->ecw_min_max & 0xf0) >> 4; in mt7921_mcu_set_tx()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c536 u16 cw_max = (1 << 10) - 1; in mt7603_conf_tx() local
543 if (params->cw_max) in mt7603_conf_tx()
544 cw_max = params->cw_max; in mt7603_conf_tx()
566 val |= cw_max << MT_WMM_CWMAX_SHIFT(queue); in mt7603_conf_tx()
/linux-6.1.9/include/net/
Dregulatory.h210 u16 cw_max; member
/linux-6.1.9/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-6.1.9/net/mac80211/
Drc80211_minstrel_ht.h79 unsigned int cw_max; member
Ddriver-ops.c199 if (params->cw_min == 0 || params->cw_min > params->cw_max) { in drv_conf_tx()
206 sdata->name, params->cw_min, params->cw_max); in drv_conf_tx()
/linux-6.1.9/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()
/linux-6.1.9/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.h179 __le16 cw_max; member
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c592 qi.tqi_cw_max = params->cw_max; in ath5k_conf_tx()
599 params->cw_max, params->txop); in ath5k_conf_tx()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dhif_tx.c381 body->cw_max = cpu_to_le16(arg->cw_max); in wfx_hif_set_edca_queue_params()
/linux-6.1.9/drivers/net/wireless/ti/wl12xx/
Dmain.c128 .cw_max = 63,
135 .cw_max = 63,
142 .cw_max = 63,
149 .cw_max = 63,
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h288 __le16 cw_max; member
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/ti/wl18xx/
Dmain.c269 .cw_max = 63,
276 .cw_max = 63,
283 .cw_max = 63,
290 .cw_max = 63,
/linux-6.1.9/drivers/net/wireless/ti/wlcore/
Dacx.h430 __le16 cw_max; member
1069 u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop);

1234