Home
last modified time | relevance | path

Searched refs:slottime (Results 1 – 25 of 54) sorted by relevance

123

/Linux-v5.15/drivers/net/wireless/ath/ath10k/
Dhw.c594 u32 slottime; in ath10k_hw_qca988x_set_coverage_class() local
657 slottime = MS(slottime_reg, WAVE1_PCU_GBL_IFS_SLOT); in ath10k_hw_qca988x_set_coverage_class()
658 slottime = slottime / phyclk; in ath10k_hw_qca988x_set_coverage_class()
659 if (slottime != 9 && slottime != 20) { in ath10k_hw_qca988x_set_coverage_class()
662 slottime); in ath10k_hw_qca988x_set_coverage_class()
671 slottime = MS(slottime_reg, WAVE1_PCU_GBL_IFS_SLOT); in ath10k_hw_qca988x_set_coverage_class()
672 slottime += value * 3 * phyclk; in ath10k_hw_qca988x_set_coverage_class()
673 slottime = min_t(u32, slottime, WAVE1_PCU_GBL_IFS_SLOT_MAX); in ath10k_hw_qca988x_set_coverage_class()
674 slottime = SM(slottime, WAVE1_PCU_GBL_IFS_SLOT); in ath10k_hw_qca988x_set_coverage_class()
675 slottime_reg = (slottime_reg & ~WAVE1_PCU_GBL_IFS_SLOT_MASK) | slottime; in ath10k_hw_qca988x_set_coverage_class()
/Linux-v5.15/drivers/net/hamradio/
Dhdlcdrv.c233 s->ch_params.slottime = data[1]; in do_kiss_params()
234 PKP("slot time = %ums", s->ch_params.slottime); in do_kiss_params()
373 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_arbitrate()
378 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_arbitrate()
454 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_open()
510 bi.data.cp.slottime = s->ch_params.slottime; in hdlcdrv_siocdevprivate()
520 s->ch_params.slottime = bi.data.cp.slottime; in hdlcdrv_siocdevprivate()
654 s->hdlctx.slotcnt = s->ch_params.slottime; in hdlcdrv_setup()
Dbaycom_epp.c339 bc->ch_params.slottime = data[1]; in do_kiss_params()
340 PKP("slot time = %ums", bc->ch_params.slottime); in do_kiss_params()
435 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
440 bc->hdlctx.slotcnt = bc->ch_params.slottime; in transmit()
933 bc->hdlctx.slotcnt = bc->ch_params.slottime; in epp_open()
1026 hi.data.cp.slottime = bc->ch_params.slottime; in baycom_siocdevprivate()
1036 bc->ch_params.slottime = hi.data.cp.slottime; in baycom_siocdevprivate()
D6pack.c112 unsigned char slottime; member
142 int actual, when = sp->slottime; in sp_xmit_on_air()
197 case 3: sp->slottime = p[1]; in sp_encaps()
603 sp->slottime = SIXP_SLOTTIME; in sixpack_open()
Dscc.c1149 scc_start_tx_timer(scc, t_dwait, scc->kiss.slottime); in t_dwait()
1309 case PARAM_SLOTTIME: scc->kiss.slottime=arg; break; in scc_set_param()
1378 case PARAM_SLOTTIME: return CAST(scc->kiss.slottime); in scc_get_param()
1869 scc->kiss.slottime = 16; /* 160 ms */ in scc_net_siocdevprivate()
1881 scc->kiss.slottime = 8; /* 160 ms */ in scc_net_siocdevprivate()
2056 K(txdelay), K(persist), K(slottime), K(tailtime), in scc_net_seq_show()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/
Dmt76x02_util.c187 dev->slottime = 9; in mt76x02_init_device()
528 u8 ackto, sifs, slottime = dev->slottime; in mt76x02_set_tx_ackto() local
531 slottime += 3 * dev->coverage_class; in mt76x02_set_tx_ackto()
533 MT_BKOFF_SLOT_CFG_SLOTTIME, slottime); in mt76x02_set_tx_ackto()
538 ackto = slottime + sifs; in mt76x02_set_tx_ackto()
660 int slottime = info->use_short_slot ? 9 : 20; in mt76x02_bss_info_changed() local
662 dev->slottime = slottime; in mt76x02_bss_info_changed()
/Linux-v5.15/arch/mips/cavium-octeon/executive/
Dcvmx-helper-rgmii.c107 gmx_cfg.s.slottime = 1; in cvmx_helper_rgmii_internal_loopback()
374 new_gmx_cfg.s.slottime = 0; in __cvmx_helper_rgmii_link_set()
377 new_gmx_cfg.s.slottime = 0; in __cvmx_helper_rgmii_link_set()
380 new_gmx_cfg.s.slottime = 1; in __cvmx_helper_rgmii_link_set()
Dcvmx-helper-sgmii.c254 gmxx_prtx_cfg.s.slottime = 0; in __cvmx_helper_sgmii_hardware_init_link_speed()
263 gmxx_prtx_cfg.s.slottime = 0; in __cvmx_helper_sgmii_hardware_init_link_speed()
271 gmxx_prtx_cfg.s.slottime = 1; in __cvmx_helper_sgmii_hardware_init_link_speed()
Dcvmx-helper-xaui.c202 gmx_cfg.s.slottime = 1; in __cvmx_helper_xaui_enable()
/Linux-v5.15/include/linux/
Dyam.h53 unsigned int slottime; /* Slottime */ member
Dscc.h32 unsigned char slottime; /* Delay to wait on persistence hit */ member
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
Ddynack.c108 int slottime = (to - 3) / 2; in ath_dynack_set_timeout() local
111 to, slottime); in ath_dynack_set_timeout()
112 ath9k_hw_setslottime(ah, slottime); in ath_dynack_set_timeout()
Dmain.c1031 iter_data->slottime = 20; in ath9k_vif_iter()
1103 iter_data->slottime = 9; in ath9k_calculate_iter_data()
1165 ah->slottime = 9; in ath9k_set_offchannel_state()
1257 if (ah->slottime != iter_data.slottime) { in ath9k_calculate_summary_state()
1258 ah->slottime = iter_data.slottime; in ath9k_calculate_summary_state()
1875 int slottime; in ath9k_bss_info_changed() local
1907 slottime = 9; in ath9k_bss_info_changed()
1909 slottime = 20; in ath9k_bss_info_changed()
1917 sc->beacon.slottime = slottime; in ath9k_bss_info_changed()
1920 ah->slottime = slottime; in ath9k_bss_info_changed()
Dhw.c469 ah->slottime = 9; in ath9k_hw_init_defaults()
1052 int slottime; in ath9k_hw_init_global_settings() local
1087 slottime = 13; in ath9k_hw_init_global_settings()
1098 slottime = 21; in ath9k_hw_init_global_settings()
1111 slottime = ah->slottime; in ath9k_hw_init_global_settings()
1115 slottime += 3 * ah->coverage_class; in ath9k_hw_init_global_settings()
1116 acktimeout = slottime + sifstime + ack_offset; in ath9k_hw_init_global_settings()
1128 acktimeout += 64 - sifstime - ah->slottime; in ath9k_hw_init_global_settings()
1129 ctstimeout += 48 - sifstime - ah->slottime; in ath9k_hw_init_global_settings()
1135 slottime = (acktimeout - 3) / 2; in ath9k_hw_init_global_settings()
[all …]
Dbeacon.c53 if (ah->slottime == 20) in ath9k_beaconq_config()
491 ah->slottime = sc->beacon.slottime; in ath9k_beacon_tasklet()
Dhtc_drv_main.c1517 int slottime; in ath9k_htc_bss_info_changed() local
1593 slottime = 9; in ath9k_htc_bss_info_changed()
1595 slottime = 20; in ath9k_htc_bss_info_changed()
1602 priv->beacon.slottime = slottime; in ath9k_htc_bss_info_changed()
1605 ah->slottime = slottime; in ath9k_htc_bss_info_changed()
/Linux-v5.15/include/uapi/linux/
Dhdlcdrv.h29 int slottime; /* the slottime in 10ms; usually 10 = 100ms */ member
/Linux-v5.15/drivers/net/wireless/ath/carl9170/
Dmac.c87 u32 slottime = 20; in carl9170_set_slot_time() local
98 slottime = 9; in carl9170_set_slot_time()
103 slottime << 10); in carl9170_set_slot_time()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c300 int slottime = info->use_short_slot ? 9 : 20; in mt7603_bss_info_changed() local
302 if (slottime != dev->slottime) { in mt7603_bss_info_changed()
303 dev->slottime = slottime; in mt7603_bss_info_changed()
Dmt7603.h126 u8 slottime; member
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/
Dmain.c569 int slottime = info->use_short_slot ? 9 : 20; in mt7915_bss_info_changed() local
571 if (slottime != phy->slottime) { in mt7915_bss_info_changed()
572 phy->slottime = slottime; in mt7915_bss_info_changed()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c577 int slottime = info->use_short_slot ? 9 : 20; in mt7921_bss_info_changed() local
579 if (slottime != phy->slottime) { in mt7921_bss_info_changed()
580 phy->slottime = slottime; in mt7921_bss_info_changed()
/Linux-v5.15/drivers/net/wireless/mediatek/mt7601u/
Dmain.c174 int slottime = info->use_short_slot ? 9 : 20; in mt7601u_bss_info_changed() local
177 MT_BKOFF_SLOT_CFG_SLOTTIME, slottime); in mt7601u_bss_info_changed()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/
Dmain.c558 int slottime = info->use_short_slot ? 9 : 20; in mt7615_bss_info_changed() local
560 if (slottime != phy->slottime) { in mt7615_bss_info_changed()
561 phy->slottime = slottime; in mt7615_bss_info_changed()
/Linux-v5.15/drivers/net/wireless/intersil/p54/
Dfwio.c571 edcf->slottime = 9; in p54_set_edcf()
575 edcf->slottime = 20; in p54_set_edcf()
584 edcf->slottime += rtd; in p54_set_edcf()

123