Home
last modified time | relevance | path

Searched refs:rts_threshold (Results 1 – 59 of 59) sorted by relevance

/linux-4.4.14/net/wireless/
Ddebugfs.c34 DEBUGFS_READONLY_FILE(rts_threshold, 20, "%d",
35 wiphy->rts_threshold)
112 DEBUGFS_ADD(rts_threshold); in cfg80211_debugfs_rdev_add()
Dwext-compat.c290 u32 orts = wdev->wiphy->rts_threshold; in cfg80211_wext_siwrts()
294 wdev->wiphy->rts_threshold = (u32) -1; in cfg80211_wext_siwrts()
298 wdev->wiphy->rts_threshold = rts->value; in cfg80211_wext_siwrts()
302 wdev->wiphy->rts_threshold = orts; in cfg80211_wext_siwrts()
314 rts->value = wdev->wiphy->rts_threshold; in cfg80211_wext_giwrts()
Dcore.c459 rdev->wiphy.rts_threshold = (u32) -1; in wiphy_new_nm()
Dnl80211.c1301 rdev->wiphy.rts_threshold) || in nl80211_send_wiphy()
2098 u32 frag_threshold = 0, rts_threshold = 0; in nl80211_set_wiphy() local
2284 rts_threshold = nla_get_u32( in nl80211_set_wiphy()
2316 old_rts_threshold = rdev->wiphy.rts_threshold; in nl80211_set_wiphy()
2326 rdev->wiphy.rts_threshold = rts_threshold; in nl80211_set_wiphy()
2335 rdev->wiphy.rts_threshold = old_rts_threshold; in nl80211_set_wiphy()
/linux-4.4.14/drivers/net/wireless/orinoco/
Dcfg.c90 wiphy->rts_threshold = priv->rts_thresh; in orinoco_wiphy_register()
255 if (wiphy->rts_threshold == -1) in orinoco_set_wiphy_params()
257 else if (wiphy->rts_threshold > 2347) in orinoco_set_wiphy_params()
260 rts_value = wiphy->rts_threshold; in orinoco_set_wiphy_params()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Duap_cmd.c313 config->rts_threshold = 0x7FFF; in mwifiex_set_sys_config_invalid_data()
480 struct host_cmd_tlv_rts_threshold *rts_threshold; in mwifiex_uap_bss_param_prepare() local
562 if (bss_cfg->rts_threshold <= MWIFIEX_RTS_MAX_VALUE) { in mwifiex_uap_bss_param_prepare()
563 rts_threshold = (struct host_cmd_tlv_rts_threshold *)tlv; in mwifiex_uap_bss_param_prepare()
564 rts_threshold->header.type = in mwifiex_uap_bss_param_prepare()
566 rts_threshold->header.len = in mwifiex_uap_bss_param_prepare()
569 rts_threshold->rts_thr = cpu_to_le16(bss_cfg->rts_threshold); in mwifiex_uap_bss_param_prepare()
Dioctl.h96 u16 rts_threshold; member
Dcfg80211.c662 bss_cfg->rts_threshold = wiphy->rts_threshold; in mwifiex_cfg80211_set_wiphy_params()
689 wiphy->rts_threshold); in mwifiex_cfg80211_set_wiphy_params()
3877 wiphy->rts_threshold = thr; in mwifiex_register_cfg80211()
/linux-4.4.14/drivers/net/wireless/
Dat76c50x-usb.h140 __le16 rts_threshold; member
245 __le16 rts_threshold; member
414 int rts_threshold; /* threshold for RTS mechanism */ member
Dat76c50x-usb.c908 priv->mib_buf.index = offsetof(struct mib_mac, rts_threshold); in at76_set_rts()
1064 le16_to_cpu(m->frag_threshold), le16_to_cpu(m->rts_threshold), in at76_dump_mib_mac()
1369 preambles[priv->preamble_type], priv->rts_threshold, in at76_startup_device()
1401 ccfg->rts_threshold = cpu_to_le16(priv->rts_threshold); in at76_startup_device()
1445 ret = at76_set_rts(priv, priv->rts_threshold); in at76_startup_device()
2345 priv->rts_threshold = DEF_RTS_THRESHOLD; in at76_init_new_device()
Drndis_wlan.c1233 static int set_rts_threshold(struct usbnet *usbdev, u32 rts_threshold) in set_rts_threshold() argument
1237 netdev_dbg(usbdev->net, "%s(): %i\n", __func__, rts_threshold); in set_rts_threshold()
1239 if (rts_threshold == -1 || rts_threshold > 2347) in set_rts_threshold()
1240 rts_threshold = 2347; in set_rts_threshold()
1242 tmp = cpu_to_le32(rts_threshold); in set_rts_threshold()
1896 err = set_rts_threshold(usbdev, wiphy->rts_threshold); in rndis_set_wiphy_params()
Datmel.c522 int rts_threshold; member
1576 priv->rts_threshold = 2347; in init_atmel_card()
2209 priv->rts_threshold = rthr; in atmel_set_rts()
2221 vwrq->value = priv->rts_threshold; in atmel_get_rts()
4029 atmel_set_mib16(priv, Mac_Mib_Type, MAC_MIB_RTS_THRESHOLD_POS, priv->rts_threshold); in reset_atmel_card()
/linux-4.4.14/drivers/net/wireless/rsi/
Drsi_main.h173 u16 rts_threshold; member
Drsi_mgmt.h216 __le16 rts_threshold; member
Drsi_91x_mgmt.c215 common->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD; in rsi_set_default_parameters()
655 vap_caps->rts_threshold = cpu_to_le16(common->rts_threshold); in rsi_set_vap_capabilities()
Drsi_91x_mac80211.c763 common->rts_threshold = value; in rsi_mac80211_set_rts_threshold()
1090 wiphy->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD; in rsi_mac80211_attach()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dacx.c292 u32 rts_threshold) in wl1271_acx_rts_threshold() argument
301 if (rts_threshold > IEEE80211_MAX_RTS_THRESHOLD) in wl1271_acx_rts_threshold()
302 rts_threshold = wl->conf.rx.rts_threshold; in wl1271_acx_rts_threshold()
304 wl1271_debug(DEBUG_ACX, "acx rts threshold: %d", rts_threshold); in wl1271_acx_rts_threshold()
313 rts->threshold = cpu_to_le16((u16)rts_threshold); in wl1271_acx_rts_threshold()
Dconf.h394 u16 rts_threshold; member
Dinit.c274 ret = wl1271_acx_rts_threshold(wl, wlvif, wl->hw->wiphy->rts_threshold); in wl12xx_init_phy_vif_config()
Dacx.h1059 u32 rts_threshold);
/linux-4.4.14/drivers/net/wireless/cw1200/
Dcw1200.h185 u32 rts_threshold; member
Dmain.c305 priv->rts_threshold = -1; in cw1200_init_common()
Dsta.c882 if (priv->rts_threshold == value) in cw1200_set_rts_threshold()
886 priv->rts_threshold); in cw1200_set_rts_threshold()
892 priv->rts_threshold = value; in cw1200_set_rts_threshold()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.h97 u32 rts_threshold; member
Dcfg80211.c1151 static s32 brcmf_set_rts(struct net_device *ndev, u32 rts_threshold) in brcmf_set_rts() argument
1156 rts_threshold); in brcmf_set_rts()
1200 (cfg->conf->rts_threshold != wiphy->rts_threshold)) { in brcmf_cfg80211_set_wiphy_params()
1201 cfg->conf->rts_threshold = wiphy->rts_threshold; in brcmf_cfg80211_set_wiphy_params()
1202 err = brcmf_set_rts(ndev, cfg->conf->rts_threshold); in brcmf_cfg80211_set_wiphy_params()
5144 conf->rts_threshold = (u32)-1; in brcmf_init_conf()
/linux-4.4.14/drivers/staging/wlan-ng/
Dcfg80211.c455 if (wiphy->rts_threshold == -1) in prism2_set_wiphy_params()
458 data = wiphy->rts_threshold; in prism2_set_wiphy_params()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dacx.c436 int wl1251_acx_rts_threshold(struct wl1251 *wl, u16 rts_threshold) in wl1251_acx_rts_threshold() argument
447 rts->threshold = rts_threshold; in wl1251_acx_rts_threshold()
Dacx.h1469 int wl1251_acx_rts_threshold(struct wl1251 *wl, u16 rts_threshold);
/linux-4.4.14/drivers/staging/wilc1000/
Dhost_interface.h114 u16 rts_threshold; member
Dhost_interface.c632 …f (strHostIFCfgParamAttr->cfg_attr_info.rts_threshold > 255 && strHostIFCfgParamAttr->cfg_attr_inf… in Handle_CfgParam()
634 strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->cfg_attr_info.rts_threshold; in Handle_CfgParam()
637 hif_drv->strCfgValues.rts_threshold = strHostIFCfgParamAttr->cfg_attr_info.rts_threshold; in Handle_CfgParam()
3988 *pu16WID_Value = hif_drv->strCfgValues.rts_threshold; in hif_get_cfg()
Dwilc_wfi_cfgoperations.c1657 …211_DBG, "Setting WIPHY_PARAM_RTS_THRESHOLD %d\n", priv->dev->ieee80211_ptr->wiphy->rts_threshold); in set_wiphy_params()
1660 pstrCfgParamVal.rts_threshold = priv->dev->ieee80211_ptr->wiphy->rts_threshold; in set_wiphy_params()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dhtc_drv_txrx.c306 if (priv->hw->wiphy->rts_threshold != (u32) -1) in ath9k_htc_tx_data()
307 if (skb->len > priv->hw->wiphy->rts_threshold) in ath9k_htc_tx_data()
Dxmit.c1172 u32 rts_thresh = sc->hw->wiphy->rts_threshold; in ath_buf_set_rate()
1305 u32 rts_thresh = sc->hw->wiphy->rts_threshold; in ath_tx_fill_desc()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2100.h528 u32 rts_threshold; member
Dipw2200.h914 __le16 rts_threshold; member
1256 u16 rts_threshold; member
Dipw2200.c2533 struct ipw_rts_threshold rts_threshold = { in ipw_send_rts_threshold() local
2534 .rts_threshold = cpu_to_le16(rts), in ipw_send_rts_threshold()
2543 sizeof(rts_threshold), &rts_threshold); in ipw_send_rts_threshold()
8597 priv->rts_threshold = DEFAULT_RTS_THRESHOLD; in ipw_sw_reset()
9278 priv->rts_threshold = DEFAULT_RTS_THRESHOLD; in ipw_wx_set_rts()
9285 priv->rts_threshold = wrqu->rts.value; in ipw_wx_set_rts()
9288 ipw_send_rts_threshold(priv, priv->rts_threshold); in ipw_wx_set_rts()
9290 IPW_DEBUG_WX("SET RTS Threshold -> %d\n", priv->rts_threshold); in ipw_wx_set_rts()
9300 wrqu->rts.value = priv->rts_threshold; in ipw_wx_get_rts()
10874 if (priv->rts_threshold) { in ipw_config()
[all …]
Dipw2100.c4982 priv->rts_threshold = threshold; in ipw2100_set_rts_threshold()
5711 err = ipw2100_set_rts_threshold(priv, priv->rts_threshold); in ipw2100_adapter_setup()
6119 priv->rts_threshold = DEFAULT_RTS_THRESHOLD | RTS_DISABLED; in ipw2100_alloc_device()
7192 value = priv->rts_threshold | RTS_DISABLED; in ipw2100_wx_set_rts()
7219 wrqu->rts.value = priv->rts_threshold & ~RTS_DISABLED; in ipw2100_wx_get_rts()
7223 wrqu->rts.disabled = (priv->rts_threshold & RTS_DISABLED) ? 1 : 0; in ipw2100_wx_get_rts()
/linux-4.4.14/drivers/net/wireless/hostap/
Dhostap_wlan.h785 int rts_threshold; /* dot11RTSThreshold */ member
Dhostap_hw.c1256 local->rts_threshold)) { in prism2_setup_rids()
1258 dev->name, local->rts_threshold); in prism2_setup_rids()
3179 local->rts_threshold = 2347; in prism2_init_local_data()
Dhostap_ioctl.c559 local->rts_threshold = rts->value; in prism2_ioctl_siwrts()
/linux-4.4.14/drivers/staging/vt6656/
Dmain_usb.c992 wiphy->rts_threshold = RTS_THRESH_DEF; in vt6656_probe()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dtx.c172 if (ieee80211_is_data(fc) && len > mvm->rts_threshold && in iwl_mvm_set_tx_cmd()
Dmvm.h640 u32 rts_threshold; member
Dmac80211.c607 mvm->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD; in iwl_mvm_mac_setup_register()
2820 mvm->rts_threshold = value; in iwl_mvm_mac_set_rts_threshold()
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/
Dmain.c120 .rts_threshold = IEEE80211_MAX_RTS_THRESHOLD,
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/
Dmain.c251 .rts_threshold = IEEE80211_MAX_RTS_THRESHOLD,
/linux-4.4.14/drivers/staging/vt6655/
Ddevice_main.c1660 wiphy->rts_threshold = RTS_THRESH_DEF; in vt6655_probe()
/linux-4.4.14/include/net/
Dcfg80211.h3224 u32 rts_threshold; member
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/
Dbase.c420 hw->wiphy->rts_threshold = 2347; in _rtl_init_mac80211()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dwmi.c712 .rts_threshold = WMI_VDEV_PARAM_RTS_THRESHOLD,
787 .rts_threshold = WMI_10X_VDEV_PARAM_RTS_THRESHOLD,
861 .rts_threshold = WMI_10X_VDEV_PARAM_RTS_THRESHOLD,
935 .rts_threshold = WMI_10_4_VDEV_PARAM_RTS_THRESHOLD,
Ddebug.c602 ar->wmi.vdev_param->rts_threshold, in ath10k_write_simulate_fw_crash()
Dmac.c704 vdev_param = ar->wmi.vdev_param->rts_threshold; in ath10k_mac_set_rts()
4529 ret = ath10k_mac_set_rts(arvif, ar->hw->wiphy->rts_threshold); in ath10k_add_interface()
Dwmi.h4430 u32 rts_threshold; member
Dwmi-tlv.c3341 .rts_threshold = WMI_TLV_VDEV_PARAM_RTS_THRESHOLD,
/linux-4.4.14/net/mac80211/
Dutil.c1827 drv_set_rts_threshold(local, hw->wiphy->rts_threshold); in ieee80211_reconfig()
Dtx.c693 if (len > tx->local->hw.wiphy->rts_threshold) { in ieee80211_tx_h_rate_ctrl()
Dcfg.c2106 err = drv_set_rts_threshold(local, wiphy->rts_threshold); in ieee80211_set_wiphy_params()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1385 ret = ath6kl_wmi_set_rts_cmd(ar->wmi, wiphy->rts_threshold); in ath6kl_cfg80211_set_wiphy_params()
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.c5742 hw->wiphy->rts_threshold = 2347; in rtl8xxxu_probe()