Home
last modified time | relevance | path

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

123

/drivers/net/wireless/mediatek/mt7601u/
Dtx.c272 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local
281 if (params->cw_max) in mt7601u_conf_tx()
282 cw_max = fls(params->cw_max); in mt7601u_conf_tx()
287 WARN_ON(cw_max > 0xf); in mt7601u_conf_tx()
291 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt7601u_conf_tx()
319 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/ralink/rt2x00/
Drt2x00mac.c706 if (params->cw_max > 0) in rt2x00mac_conf_tx()
707 queue->cw_max = fls(params->cw_max); in rt2x00mac_conf_tx()
709 queue->cw_max = 10; /* cw_min: 2^10 = 1024. */ in rt2x00mac_conf_tx()
716 queue_idx, queue->cw_min, queue->cw_max, queue->aifs, in rt2x00mac_conf_tx()
Drt2x00queue.h482 unsigned short cw_max; member
Drt2400pci.c568 const int cw_min, const int cw_max) in rt2400pci_config_cw() argument
574 rt2x00_set_field32(&reg, CSR11_CWMAX, cw_max); in rt2400pci_config_cw()
1686 rt2x00dev->tx->cw_min, rt2x00dev->tx->cw_max); in rt2400pci_conf_tx()
/drivers/net/wireless/intersil/p54/
Dp54.h104 #define P54_SET_QUEUE(queue, ai_fs, cw_min, cw_max, _txop) \ argument
108 queue.cwmax = cpu_to_le16(cw_max); \
/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.h1268 u16 cw_max; member
1492 int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max,
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c1385 u8 cw_min, cw_max; in rtl8187se_conf_ac_parm() local
1390 cw_max = fls(params->cw_max); in rtl8187se_conf_ac_parm()
1398 cw_max << AC_PARAM_ECW_MAX_SHIFT | in rtl8187se_conf_ac_parm()
1423 u8 cw_min, cw_max; in rtl8180_conf_tx() local
1430 cw_max = fls(params->cw_max); in rtl8180_conf_tx()
1437 (cw_max << 4) | cw_min); in rtl8180_conf_tx()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dmac.h317 __le16 cw_max; member
/drivers/net/wireless/ti/wl12xx/
Dmain.c141 .cw_max = 63,
148 .cw_max = 63,
155 .cw_max = 63,
162 .cw_max = 63,
/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()
/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1345 u8 cw_min, cw_max; in rtl8187_conf_tx() local
1351 cw_max = fls(params->cw_max); in rtl8187_conf_tx()
1364 (params->txop << 16) | (cw_max << 12) | in rtl8187_conf_tx()
1372 cw_min | (cw_max << 4)); in rtl8187_conf_tx()
/drivers/net/wireless/intel/ipw2x00/
Dlibipw_rx.c1017 u8 cw_max; in libipw_qos_convert_ac_to_parameters() local
1028 cw_max = (ac_params->ecw_min_max & 0xF0) >> 4; in libipw_qos_convert_ac_to_parameters()
1029 qos_param->cw_max[i] = cpu_to_le16((1 << cw_max) - 1); in libipw_qos_convert_ac_to_parameters()
Dlibipw.h566 __le16 cw_max[QOS_QUEUE_NUM]; member
/drivers/net/wireless/ti/wl18xx/
Dmain.c282 .cw_max = 63,
289 .cw_max = 63,
296 .cw_max = 63,
303 .cw_max = 63,
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dmac.c487 u16 queue, u16 txop, u8 cw_min, u8 cw_max, u8 aifs) in rtl92c_init_edca_param() argument
497 value |= ((u32)cw_max & 0xF) << 12; in rtl92c_init_edca_param()
Dhw.c1749 u16 cw_max = le16_to_cpu(mac->ac[e_aci].cw_max); in rtl92cu_set_hw_reg() local
1755 u4b_ac_param |= (u32) ((cw_max & 0xF) << in rtl92cu_set_hw_reg()
/drivers/net/wireless/ti/wlcore/
Dacx.c841 u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop) in wl1271_acx_ac_cfg() argument
847 "aifs %d txop %d", ac, cw_min, cw_max, aifsn, txop); in wl1271_acx_ac_cfg()
859 acx->cw_max = cpu_to_le16(cw_max); in wl1271_acx_ac_cfg()
Dacx.h444 __le16 cw_max; member
1083 u8 ac, u8 cw_min, u16 cw_max, u8 aifsn, u16 txop);
Dconf.h343 u16 cw_max; member
Dinit.c634 conf_ac->cw_min, conf_ac->cw_max, in wl1271_init_vif_specific()
/drivers/staging/rtl8192u/
Dr8192U_dm.c2305 u32 u4bAcParam, op_limit, cw_max, cw_min; in dm_check_edca_turbo() local
2316 cw_max = (u32)le16_to_cpu(qos_parameters->cw_max[0]); in dm_check_edca_turbo()
2320 cw_max <<= AC_PARAM_ECW_MAX_OFFSET; in dm_check_edca_turbo()
2324 u4bAcParam = op_limit | cw_max | cw_min | u1bAIFS; in dm_check_edca_turbo()
/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c1221 ctx->qos_data.def_qos_parm.ac[q].cw_max = in iwlagn_mac_conf_tx()
1222 cpu_to_le16(params->cw_max); in iwlagn_mac_conf_tx()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dmac-ctxt.c663 cmd->ac[txf].cw_max = in iwl_mvm_mac_ctxt_cmd_common()
664 cpu_to_le16(mvmvif->queue_params[i].cw_max); in iwl_mvm_mac_ctxt_cmd_common()

123