/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
H A D | tx.c | 264 u8 cw_min = 5, cw_max = 10, hw_q = q2hwq(queue); in mt7601u_conf_tx() local 273 if (params->cw_max) in mt7601u_conf_tx() 274 cw_max = fls(params->cw_max); in mt7601u_conf_tx() 279 WARN_ON(cw_max > 0xf); in mt7601u_conf_tx() 283 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt7601u_conf_tx() 311 val |= cw_max << MT_WMM_CWMAX_SHIFT(hw_q); in mt7601u_conf_tx()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt7601u/ |
H A D | tx.c | 265 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/ |
H A D | mac.c | 141 (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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/carl9170/ |
H A D | mac.c | 141 (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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mac.c | 699 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()
|
H A D | rt2x00queue.h | 444 * @cw_max: The cw max value for outgoing frames (field ignored in RX queue). 474 unsigned short cw_max; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2x00mac.c | 699 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_util.c | 491 u8 cw_min = 5, cw_max = 10, qid; in mt76x02_conf_tx() local 498 if (params->cw_max) in mt76x02_conf_tx() 499 cw_max = fls(params->cw_max); in mt76x02_conf_tx() 504 FIELD_PREP(MT_EDCA_CFG_CWMAX, cw_max); in mt76x02_conf_tx() 524 val |= cw_max << MT_WMM_CWMAX_SHIFT(qid); in mt76x02_conf_tx()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_util.c | 493 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/p54/ |
H A D | p54.h | 101 #define P54_SET_QUEUE(queue, ai_fs, cw_min, cw_max, _txop) \ 105 queue.cwmax = cpu_to_le16(cw_max); \
|
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/p54/ |
H A D | p54.h | 101 #define P54_SET_QUEUE(queue, ai_fs, cw_min, cw_max, _txop) \ 105 queue.cwmax = cpu_to_le16(cw_max); \
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | mcu.c | 490 __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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 512 u16 cw_max = (1 << 10) - 1; in mt7603_conf_tx() local 519 if (params->cw_max) in mt7603_conf_tx() 520 cw_max = params->cw_max; in mt7603_conf_tx() 542 val |= cw_max << MT_WMM_CWMAX_SHIFT(queue); in mt7603_conf_tx()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | 539 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()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | regulatory.h | 200 * @cw_max: maximum contention window [like @cw_min] 207 u16 cw_max; member
|
/kernel/linux/linux-6.6/include/net/ |
H A D | regulatory.h | 192 * @cw_max: maximum contention window [like @cw_min] 199 u16 cw_max; member
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | driver-ops.c | 193 if (params->cw_min == 0 || params->cw_min > params->cw_max) { in drv_conf_tx() 200 sdata->name, params->cw_min, params->cw_max); in drv_conf_tx()
|
H A D | rc80211_minstrel.h | 147 unsigned int cw_max; member
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | rc80211_minstrel_ht.h | 78 unsigned int cw_max; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
H A D | acx.c | 993 int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, in wl1251_acx_ac_cfg() argument 999 wl1251_debug(DEBUG_ACX, "acx ac cfg %d cw_ming %d cw_max %d " in wl1251_acx_ac_cfg() 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wl1251/ |
H A D | acx.c | 993 int wl1251_acx_ac_cfg(struct wl1251 *wl, u8 ac, u8 cw_min, u16 cw_max, in wl1251_acx_ac_cfg() argument 999 wl1251_debug(DEBUG_ACX, "acx ac cfg %d cw_ming %d cw_max %d " in wl1251_acx_ac_cfg() 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | dev.c | 1393 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() 1431 u8 cw_min, cw_max; in rtl8180_conf_tx() local 1438 cw_max = fls(params->cw_max); in rtl8180_conf_tx() 1445 (cw_max << 4) | cw_min); in rtl8180_conf_tx()
|
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | dev.c | 1393 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | testmode.c | 172 u16 cw_max, u16 txop) in mt7915_tm_set_wmm_qid() 183 e->cw_max = cpu_to_le16(cw_max); in mt7915_tm_set_wmm_qid() 171 mt7915_tm_set_wmm_qid(struct mt7915_phy *phy, u8 qid, u8 aifs, u8 cw_min, u16 cw_max, u16 txop) mt7915_tm_set_wmm_qid() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | mac.h | 321 * @cw_max: Contention window, max value in numbers of slots. 332 * transmission retry. Device uses cw_max as a bit mask, ANDed with new CW 337 __le16 cw_max; member
|