Home
last modified time | relevance | path

Searched refs:cw_min (Results 1 – 25 of 86) sorted by relevance

1234

/Linux-v6.1/drivers/net/wireless/mediatek/mt7601u/
Dtx.c265 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local
272 if (params->cw_min) in mt7601u_conf_tx()
273 cw_min = fls(params->cw_min); in mt7601u_conf_tx()
279 WARN_ON(cw_min > 0xf); in mt7601u_conf_tx()
283 FIELD_PREP(MT_EDCA_CFG_CWMIN, cw_min) | in mt7601u_conf_tx()
307 val |= cw_min << MT_WMM_CWMIN_SHIFT(hw_q); in mt7601u_conf_tx()
/Linux-v6.1/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-v6.1/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-v6.1/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c494 u8 cw_min = 5, cw_max = 10, qid; in mt76x02_conf_tx() local
499 if (params->cw_min) in mt76x02_conf_tx()
500 cw_min = fls(params->cw_min); in mt76x02_conf_tx()
506 FIELD_PREP(MT_EDCA_CFG_CWMIN, cw_min) | in mt76x02_conf_tx()
522 val |= cw_min << MT_WMM_CWMIN_SHIFT(qid); in mt76x02_conf_tx()
/Linux-v6.1/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-v6.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c549 __le16 cw_min; in mt7921_mcu_set_tx() member
568 u8 cw_min; in mt7921_mcu_set_tx() member
600 if (q->cw_min) in mt7921_mcu_set_tx()
601 e->cw_min = cpu_to_le16(q->cw_min); in mt7921_mcu_set_tx()
603 e->cw_min = cpu_to_le16(5); in mt7921_mcu_set_tx()
629 e->cw_min = q->ecw_min_max & 0xf; in mt7921_mcu_set_tx()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c535 u16 cw_min = (1 << 5) - 1; in mt7603_conf_tx() local
541 if (params->cw_min) in mt7603_conf_tx()
542 cw_min = params->cw_min; in mt7603_conf_tx()
561 val |= cw_min << MT_WMM_CWMIN_SHIFT(queue); in mt7603_conf_tx()
/Linux-v6.1/include/net/
Dregulatory.h209 u16 cw_min; member
/Linux-v6.1/net/mac80211/
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()
Drc80211_minstrel_ht.h78 unsigned int cw_min; member
/Linux-v6.1/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-v6.1/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c1393 u8 cw_min, cw_max; in rtl8187se_conf_ac_parm() local
1397 cw_min = fls(params->cw_min); in rtl8187se_conf_ac_parm()
1407 cw_min << AC_PARAM_ECW_MIN_SHIFT | in rtl8187se_conf_ac_parm()
1432 u8 cw_min, cw_max; in rtl8180_conf_tx() local
1438 cw_min = fls(params->cw_min); in rtl8180_conf_tx()
1446 (cw_max << 4) | cw_min); in rtl8180_conf_tx()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dtestmode.c171 mt7915_tm_set_wmm_qid(struct mt7915_phy *phy, u8 qid, u8 aifs, u8 cw_min, in mt7915_tm_set_wmm_qid() argument
182 e->cw_min = cw_min; in mt7915_tm_set_wmm_qid()
Dmcu.h178 u8 cw_min; member
/Linux-v6.1/drivers/net/wireless/marvell/mwifiex/
Dwmm.c232 u16 cw_min, avg_back_off, tmp[4]; in mwifiex_wmm_setup_queue_priorities() local
252 cw_min = (1 << (ecw & MWIFIEX_ECW_MIN)) - 1; in mwifiex_wmm_setup_queue_priorities()
253 avg_back_off = (cw_min >> 1) + (aci_aifsn & MWIFIEX_AIFSN); in mwifiex_wmm_setup_queue_priorities()
262 cw_min, avg_back_off); in mwifiex_wmm_setup_queue_priorities()
/Linux-v6.1/drivers/net/wireless/silabs/wfx/
Dhif_tx.c380 body->cw_min = cpu_to_le16(arg->cw_min); in wfx_hif_set_edca_queue_params()
/Linux-v6.1/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c591 qi.tqi_cw_min = params->cw_min; in ath5k_conf_tx()
598 queue, params->aifs, params->cw_min, in ath5k_conf_tx()
/Linux-v6.1/drivers/net/wireless/ti/wl12xx/
Dmain.c127 .cw_min = 15,
134 .cw_min = 15,
141 .cw_min = 15,
148 .cw_min = 15,
/Linux-v6.1/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1346 u8 cw_min, cw_max; in rtl8187_conf_tx() local
1351 cw_min = fls(params->cw_min); in rtl8187_conf_tx()
1366 (cw_min << 8) | (params->aifs * in rtl8187_conf_tx()
1373 cw_min | (cw_max << 4)); in rtl8187_conf_tx()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h287 __le16 cw_min; member
/Linux-v6.1/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
475 value |= ((u32)cw_min & 0xF) << 8; in rtl92c_init_edca_param()
/Linux-v6.1/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c989 u8 cw_min; in libipw_qos_convert_ac_to_parameters() local
998 cw_min = ac_params->ecw_min_max & 0x0F; in libipw_qos_convert_ac_to_parameters()
999 qos_param->cw_min[i] = cpu_to_le16((1 << cw_min) - 1); in libipw_qos_convert_ac_to_parameters()
/Linux-v6.1/drivers/net/wireless/ti/wl18xx/
Dmain.c268 .cw_min = 15,
275 .cw_min = 15,
282 .cw_min = 15,
289 .cw_min = 15,

1234