/linux-4.4.14/drivers/net/wireless/orinoco/ |
H A D | cfg.c | 92 wiphy->frag_threshold = priv->frag_thresh + 1; orinoco_wiphy_register() 223 if (wiphy->frag_threshold == -1) orinoco_set_wiphy_params() 233 if (wiphy->frag_threshold == -1) orinoco_set_wiphy_params() 235 else if ((wiphy->frag_threshold < 257) || orinoco_set_wiphy_params() 236 (wiphy->frag_threshold > 2347)) orinoco_set_wiphy_params() 241 frag_value = wiphy->frag_threshold & ~0x1; orinoco_set_wiphy_params()
|
/linux-4.4.14/drivers/net/wireless/ti/wl1251/ |
H A D | tx.c | 117 u16 payload_len, frag_threshold, mem_blocks; wl1251_tx_frag_block_num() local 120 frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD; wl1251_tx_frag_block_num() 121 tx_hdr->frag_threshold = cpu_to_le16(frag_threshold); wl1251_tx_frag_block_num() 125 if (payload_len > frag_threshold) { wl1251_tx_frag_block_num() 127 ((frag_threshold + MAX_MPDU_HEADER_AND_SECURITY) / wl1251_tx_frag_block_num() 129 num_mpdus = payload_len / frag_threshold; wl1251_tx_frag_block_num() 131 payload_len -= num_mpdus * frag_threshold; wl1251_tx_frag_block_num()
|
H A D | tx.h | 151 __le16 frag_threshold; member in struct:tx_double_buffer_desc
|
/linux-4.4.14/drivers/staging/rtl8192u/ |
H A D | r819xU_firmware.c | 38 u16 frag_threshold; fw_download_code() local 51 frag_threshold = pfirmware->cmdpacket_frag_thresold; fw_download_code() 53 if ((buffer_len - frag_offset) > frag_threshold) { fw_download_code() 54 frag_length = frag_threshold; fw_download_code()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
H A D | uap_cmd.c | 314 config->frag_threshold = 0x7FFF; mwifiex_set_sys_config_invalid_data() 479 struct host_cmd_tlv_frag_threshold *frag_threshold; mwifiex_uap_bss_param_prepare() local 573 if ((bss_cfg->frag_threshold >= MWIFIEX_FRAG_MIN_VALUE) && mwifiex_uap_bss_param_prepare() 574 (bss_cfg->frag_threshold <= MWIFIEX_FRAG_MAX_VALUE)) { mwifiex_uap_bss_param_prepare() 575 frag_threshold = (struct host_cmd_tlv_frag_threshold *)tlv; mwifiex_uap_bss_param_prepare() 576 frag_threshold->header.type = mwifiex_uap_bss_param_prepare() 578 frag_threshold->header.len = mwifiex_uap_bss_param_prepare() 581 frag_threshold->frag_thr = cpu_to_le16(bss_cfg->frag_threshold); mwifiex_uap_bss_param_prepare()
|
H A D | ioctl.h | 97 u16 frag_threshold; member in struct:mwifiex_uap_bss_param
|
H A D | cfg80211.c | 664 bss_cfg->frag_threshold = wiphy->frag_threshold; mwifiex_cfg80211_set_wiphy_params() 695 wiphy->frag_threshold); mwifiex_cfg80211_set_wiphy_params() 3874 wiphy->frag_threshold = thr; mwifiex_register_cfg80211()
|
/linux-4.4.14/net/wireless/ |
H A D | debugfs.c | 37 wiphy->frag_threshold);
|
H A D | wext-compat.c | 328 u32 ofrag = wdev->wiphy->frag_threshold; cfg80211_wext_siwfrag() 332 wdev->wiphy->frag_threshold = (u32) -1; cfg80211_wext_siwfrag() 337 wdev->wiphy->frag_threshold = frag->value & ~0x1; cfg80211_wext_siwfrag() 342 wdev->wiphy->frag_threshold = ofrag; cfg80211_wext_siwfrag() 354 frag->value = wdev->wiphy->frag_threshold; cfg80211_wext_giwfrag()
|
H A D | core.c | 458 rdev->wiphy.frag_threshold = (u32) -1; wiphy_new_nm()
|
H A D | nl80211.c | 1299 rdev->wiphy.frag_threshold) || nl80211_send_wiphy() 2098 u32 frag_threshold = 0, rts_threshold = 0; nl80211_set_wiphy() local 2266 frag_threshold = nla_get_u32( nl80211_set_wiphy() 2268 if (frag_threshold < 256) nl80211_set_wiphy() 2271 if (frag_threshold != (u32) -1) { nl80211_set_wiphy() 2278 frag_threshold &= ~0x1; nl80211_set_wiphy() 2315 old_frag_threshold = rdev->wiphy.frag_threshold; nl80211_set_wiphy() 2324 rdev->wiphy.frag_threshold = frag_threshold; nl80211_set_wiphy() 2334 rdev->wiphy.frag_threshold = old_frag_threshold; nl80211_set_wiphy()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | fw.c | 167 u16 frag_threshold = MAX_FIRMWARE_CODE_SIZE; _rtl92s_firmware_downloadcode() local 184 if ((buffer_len - frag_offset) > frag_threshold) { _rtl92s_firmware_downloadcode() 185 frag_length = frag_threshold + extra_descoffset; _rtl92s_firmware_downloadcode()
|
/linux-4.4.14/drivers/net/wireless/ |
H A D | at76c50x-usb.h | 244 __le16 frag_threshold; member in struct:mib_mac 413 int frag_threshold; /* threshold for fragmentation of tx packets */ member in struct:at76_priv
|
H A D | at76c50x-usb.c | 891 priv->mib_buf.index = offsetof(struct mib_mac, frag_threshold); at76_set_frag() 1056 "max_rx_lifetime %d frag_threshold %d rts_threshold %d " at76_dump_mib_mac() 1064 le16_to_cpu(m->frag_threshold), le16_to_cpu(m->rts_threshold), at76_dump_mib_mac() 1370 priv->short_retry_limit, priv->frag_threshold, at76_startup_device() 1402 ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold); at76_startup_device() 1441 ret = at76_set_frag(priv, priv->frag_threshold); at76_startup_device() 2346 priv->frag_threshold = DEF_FRAG_THRESHOLD; at76_init_new_device()
|
H A D | rndis_wlan.c | 1248 static int set_frag_threshold(struct usbnet *usbdev, u32 frag_threshold) set_frag_threshold() argument 1252 netdev_dbg(usbdev->net, "%s(): %i\n", __func__, frag_threshold); set_frag_threshold() 1254 if (frag_threshold < 256 || frag_threshold > 2346) set_frag_threshold() 1255 frag_threshold = 2346; set_frag_threshold() 1257 tmp = cpu_to_le32(frag_threshold); set_frag_threshold() 1890 err = set_frag_threshold(usbdev, wiphy->frag_threshold); rndis_set_wiphy_params()
|
H A D | atmel.c | 523 int frag_threshold; member in struct:atmel_private 1575 priv->frag_threshold = 2346; init_atmel_card() 2242 priv->frag_threshold = fthr; atmel_set_frag() 2254 vwrq->value = priv->frag_threshold; atmel_get_frag() 4030 atmel_set_mib16(priv, Mac_Mib_Type, MAC_MIB_FRAG_THRESHOLD_POS, priv->frag_threshold); reset_atmel_card()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
H A D | acx.c | 911 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold) wl1271_acx_frag_threshold() argument 920 if (frag_threshold > IEEE80211_MAX_FRAG_THRESHOLD) wl1271_acx_frag_threshold() 921 frag_threshold = wl->conf.tx.frag_threshold; wl1271_acx_frag_threshold() 923 wl1271_debug(DEBUG_ACX, "acx frag threshold: %d", frag_threshold); wl1271_acx_frag_threshold() 932 acx->frag_threshold = cpu_to_le16((u16)frag_threshold); wl1271_acx_frag_threshold()
|
H A D | init.c | 730 ret = wl1271_acx_frag_threshold(wl, wl->hw->wiphy->frag_threshold); wl1271_hw_init()
|
H A D | acx.h | 461 __le16 frag_threshold; member in struct:acx_frag_threshold 1087 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold);
|
H A D | conf.h | 670 u16 frag_threshold; member in struct:conf_tx_settings
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
H A D | cfg80211.c | 470 if (wiphy->frag_threshold == -1) prism2_set_wiphy_params() 473 data = wiphy->frag_threshold; prism2_set_wiphy_params()
|
/linux-4.4.14/drivers/net/wireless/rsi/ |
H A D | rsi_mgmt.h | 215 __le16 frag_threshold; member in struct:rsi_vap_caps
|
H A D | rsi_91x_mac80211.c | 1089 wiphy->frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD; rsi_mac80211_attach()
|
H A D | rsi_91x_mgmt.c | 653 vap_caps->frag_threshold = cpu_to_le16(IEEE80211_MAX_FRAG_THRESHOLD); rsi_set_vap_capabilities()
|
/linux-4.4.14/net/mac80211/ |
H A D | tx.c | 669 tx->local->hw.wiphy->frag_threshold); ieee80211_tx_h_rate_ctrl() 853 int frag_threshold) ieee80211_fragment() 858 int per_fragm = frag_threshold - hdrlen - FCS_LEN; ieee80211_fragment() 874 frag_threshold + ieee80211_fragment() 917 int frag_threshold = tx->local->hw.wiphy->frag_threshold; ieee80211_tx_h_fragment() local 942 if (WARN_ON(skb->len + FCS_LEN <= frag_threshold)) ieee80211_tx_h_fragment() 953 if (ieee80211_fragment(tx, skb, hdrlen, frag_threshold)) ieee80211_tx_h_fragment() 1214 skb->len + FCS_LEN <= local->hw.wiphy->frag_threshold || ieee80211_tx_prepare() 2464 if (local->hw.wiphy->frag_threshold != (u32)-1 && ieee80211_check_fast_xmit() 851 ieee80211_fragment(struct ieee80211_tx_data *tx, struct sk_buff *skb, int hdrlen, int frag_threshold) ieee80211_fragment() argument
|
H A D | cfg.c | 2085 err = drv_set_frag_threshold(local, wiphy->frag_threshold); ieee80211_set_wiphy_params()
|
H A D | util.c | 1824 drv_set_frag_threshold(local, hw->wiphy->frag_threshold); ieee80211_reconfig()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | cfg80211.h | 96 u32 frag_threshold; member in struct:brcmf_cfg80211_conf
|
H A D | cfg80211.c | 1163 static s32 brcmf_set_frag(struct net_device *ndev, u32 frag_threshold) brcmf_set_frag() argument 1168 frag_threshold); brcmf_set_frag() 1207 (cfg->conf->frag_threshold != wiphy->frag_threshold)) { brcmf_cfg80211_set_wiphy_params() 1208 cfg->conf->frag_threshold = wiphy->frag_threshold; brcmf_cfg80211_set_wiphy_params() 1209 err = brcmf_set_frag(ndev, cfg->conf->frag_threshold); brcmf_cfg80211_set_wiphy_params() 5143 conf->frag_threshold = (u32)-1; brcmf_init_conf()
|
/linux-4.4.14/drivers/staging/vt6656/ |
H A D | main_usb.c | 991 wiphy->frag_threshold = FRAG_THRESH_DEF; vt6656_probe()
|
/linux-4.4.14/drivers/staging/wilc1000/ |
H A D | host_interface.c | 618 if (strHostIFCfgParamAttr->cfg_attr_info.frag_threshold > 255 && strHostIFCfgParamAttr->cfg_attr_info.frag_threshold < 7937) { Handle_CfgParam() 620 strWIDList[u8WidCnt].val = (s8 *)&strHostIFCfgParamAttr->cfg_attr_info.frag_threshold; Handle_CfgParam() 623 hif_drv->strCfgValues.frag_threshold = strHostIFCfgParamAttr->cfg_attr_info.frag_threshold; Handle_CfgParam() 3984 *pu16WID_Value = hif_drv->strCfgValues.frag_threshold; hif_get_cfg()
|
H A D | wilc_wfi_cfgoperations.c | 1650 PRINT_D(CFG80211_DBG, "Setting WIPHY_PARAM_FRAG_THRESHOLD %d\n", priv->dev->ieee80211_ptr->wiphy->frag_threshold); set_wiphy_params() 1652 pstrCfgParamVal.frag_threshold = priv->dev->ieee80211_ptr->wiphy->frag_threshold; set_wiphy_params()
|
H A D | host_interface.h | 113 u16 frag_threshold; member in struct:cfg_param_val
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.h | 529 u32 frag_threshold; member in struct:ipw2100_priv
|
H A D | ipw2100.c | 5022 priv->frag_threshold = threshold; 5750 priv, priv->frag_threshold, batch_mode); ipw2100_adapter_setup() 6120 priv->frag_threshold = DEFAULT_FTS | FRAG_DISABLED; ipw2100_alloc_device() 7312 priv->frag_threshold |= FRAG_DISABLED; ipw2100_wx_set_frag() 7320 priv->frag_threshold = priv->ieee->fts; ipw2100_wx_set_frag() 7337 wrqu->frag.value = priv->frag_threshold & ~FRAG_DISABLED; ipw2100_wx_get_frag() 7339 wrqu->frag.disabled = (priv->frag_threshold & FRAG_DISABLED) ? 1 : 0; ipw2100_wx_get_frag()
|
H A D | ipw2200.h | 919 __le16 frag_threshold; member in struct:ipw_frag_threshold
|
H A D | ipw2200.c | 2548 struct ipw_frag_threshold frag_threshold = { ipw_send_frag_threshold() local 2549 .frag_threshold = cpu_to_le16(frag), ipw_send_frag_threshold() 2558 sizeof(frag_threshold), &frag_threshold); ipw_send_frag_threshold()
|
/linux-4.4.14/drivers/staging/vt6655/ |
H A D | device_main.c | 1659 wiphy->frag_threshold = FRAG_THRESH_DEF; vt6655_probe()
|
/linux-4.4.14/drivers/net/wireless/ti/wl12xx/ |
H A D | main.c | 203 .frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD,
|
/linux-4.4.14/drivers/net/wireless/ti/wl18xx/ |
H A D | main.c | 334 .frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD,
|
/linux-4.4.14/include/net/ |
H A D | cfg80211.h | 1919 * @WIPHY_PARAM_FRAG_THRESHOLD: wiphy->frag_threshold has changed 3050 * @frag_threshold: Fragmentation threshold (dot11FragmentationThreshold); 3223 u32 frag_threshold; member in struct:wiphy
|