Home
last modified time | relevance | path

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

1234

/linux-6.12.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-6.12.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-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c493 u8 cw_min = 5, cw_max = 10, qid; in mt76x02_conf_tx() local
498 if (params->cw_min) in mt76x02_conf_tx()
499 cw_min = fls(params->cw_min); in mt76x02_conf_tx()
505 FIELD_PREP(MT_EDCA_CFG_CWMIN, cw_min) | in mt76x02_conf_tx()
521 val |= cw_min << MT_WMM_CWMIN_SHIFT(qid); in mt76x02_conf_tx()
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00mac.c694 if (params->cw_min > 0) in rt2x00mac_conf_tx()
695 queue->cw_min = fls(params->cw_min); in rt2x00mac_conf_tx()
697 queue->cw_min = 5; /* cw_min: 2^5 = 32. */ in rt2x00mac_conf_tx()
709 queue_idx, queue->cw_min, queue->cw_max, queue->aifs, in rt2x00mac_conf_tx()
Drt2x00queue.h473 unsigned short cw_min; member
/linux-6.12.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-6.12.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c531 u16 cw_min = (1 << 5) - 1; in mt7603_conf_tx() local
537 if (params->cw_min) in mt7603_conf_tx()
538 cw_min = params->cw_min; in mt7603_conf_tx()
557 val |= cw_min << MT_WMM_CWMIN_SHIFT(queue); in mt7603_conf_tx()
/linux-6.12.1/include/net/
Dregulatory.h196 u16 cw_min; member
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c667 __le16 cw_min; in mt7921_mcu_set_tx() member
686 u8 cw_min; in mt7921_mcu_set_tx() member
718 if (q->cw_min) in mt7921_mcu_set_tx()
719 e->cw_min = cpu_to_le16(q->cw_min); in mt7921_mcu_set_tx()
721 e->cw_min = cpu_to_le16(5); in mt7921_mcu_set_tx()
747 e->cw_min = q->ecw_min_max & 0xf; in mt7921_mcu_set_tx()
/linux-6.12.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-6.12.1/net/mac80211/
Ddriver-ops.c220 if (params->cw_min == 0 || params->cw_min > params->cw_max) { in drv_conf_tx()
227 sdata->name, params->cw_min, params->cw_max); in drv_conf_tx()
Drc80211_minstrel_ht.h77 unsigned int cw_min; member
/linux-6.12.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-6.12.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()
/linux-6.12.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-6.12.1/drivers/net/wireless/ti/wl12xx/
Dmain.c127 .cw_min = 15,
134 .cw_min = 15,
141 .cw_min = 15,
148 .cw_min = 15,
/linux-6.12.1/drivers/net/wireless/ath/ath5k/
Dmac80211-ops.c590 qi.tqi_cw_min = params->cw_min; in ath5k_conf_tx()
597 queue, params->aifs, params->cw_min, in ath5k_conf_tx()
/linux-6.12.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-6.12.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-6.12.1/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-6.12.1/drivers/net/wireless/silabs/wfx/
Dhif_tx.c423 body->cw_min = cpu_to_le16(arg->cw_min); in wfx_hif_set_edca_queue_params()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h287 __le16 cw_min; member
/linux-6.12.1/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()
843 acx->cw_min = cw_min; in wl1271_acx_ac_cfg()
/linux-6.12.1/drivers/net/wireless/ti/wl18xx/
Dmain.c268 .cw_min = 15,
275 .cw_min = 15,
282 .cw_min = 15,
289 .cw_min = 15,

1234