| /Linux-v5.4/drivers/net/wireless/intersil/orinoco/ | 
| D | cfg.c | 92 		wiphy->frag_threshold = priv->frag_thresh + 1;  in orinoco_wiphy_register()223 			if (wiphy->frag_threshold == -1)  in orinoco_set_wiphy_params()
 233 			if (wiphy->frag_threshold == -1)  in orinoco_set_wiphy_params()
 235 			else if ((wiphy->frag_threshold < 257) ||  in orinoco_set_wiphy_params()
 236 				 (wiphy->frag_threshold > 2347))  in orinoco_set_wiphy_params()
 241 				frag_value = wiphy->frag_threshold & ~0x1;  in orinoco_set_wiphy_params()
 
 | 
| /Linux-v5.4/drivers/net/wireless/ti/wl1251/ | 
| D | tx.c | 103 	u16 payload_len, frag_threshold, mem_blocks;  in wl1251_tx_frag_block_num()  local106 	frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD;  in wl1251_tx_frag_block_num()
 107 	tx_hdr->frag_threshold = cpu_to_le16(frag_threshold);  in wl1251_tx_frag_block_num()
 111 	if (payload_len > frag_threshold) {  in wl1251_tx_frag_block_num()
 113 			((frag_threshold + MAX_MPDU_HEADER_AND_SECURITY) /  in wl1251_tx_frag_block_num()
 115 		num_mpdus = payload_len / frag_threshold;  in wl1251_tx_frag_block_num()
 117 		payload_len -= num_mpdus * frag_threshold;  in wl1251_tx_frag_block_num()
 
 | 
| D | tx.h | 137 	__le16 frag_threshold;  member
 | 
| /Linux-v5.4/drivers/staging/rtl8192u/ | 
| D | r819xU_firmware.c | 39 	u16		    frag_threshold;  in fw_download_code()  local52 	frag_threshold = pfirmware->cmdpacket_frag_threshold;  in fw_download_code()
 54 		if ((buffer_len - frag_offset) > frag_threshold) {  in fw_download_code()
 55 			frag_length = frag_threshold;  in fw_download_code()
 
 | 
| /Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ | 
| D | uap_cmd.c | 298 	config->frag_threshold = 0x7FFF;  in mwifiex_set_sys_config_invalid_data()487 	struct host_cmd_tlv_frag_threshold *frag_threshold;  in mwifiex_uap_bss_param_prepare()  local
 581 	if ((bss_cfg->frag_threshold >= MWIFIEX_FRAG_MIN_VALUE) &&  in mwifiex_uap_bss_param_prepare()
 582 	    (bss_cfg->frag_threshold <= MWIFIEX_FRAG_MAX_VALUE)) {  in mwifiex_uap_bss_param_prepare()
 583 		frag_threshold = (struct host_cmd_tlv_frag_threshold *)tlv;  in mwifiex_uap_bss_param_prepare()
 584 		frag_threshold->header.type =  in mwifiex_uap_bss_param_prepare()
 586 		frag_threshold->header.len =  in mwifiex_uap_bss_param_prepare()
 589 		frag_threshold->frag_thr = cpu_to_le16(bss_cfg->frag_threshold);  in mwifiex_uap_bss_param_prepare()
 
 | 
| D | ioctl.h | 101 	u16 frag_threshold;  member
 | 
| /Linux-v5.4/drivers/net/wireless/atmel/ | 
| D | at76c50x-usb.h | 240 	__le16 frag_threshold;  member409 	int frag_threshold;	/* threshold for fragmentation of tx packets */  member
 
 | 
| D | at76c50x-usb.c | 886 	priv->mib_buf.index = offsetof(struct mib_mac, frag_threshold);  in at76_set_frag()1059 		 le16_to_cpu(m->frag_threshold), le16_to_cpu(m->rts_threshold),  in at76_dump_mib_mac()
 1365 		 priv->short_retry_limit, priv->frag_threshold,  in at76_startup_device()
 1397 	ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold);  in at76_startup_device()
 1436 	ret = at76_set_frag(priv, priv->frag_threshold);  in at76_startup_device()
 2344 	priv->frag_threshold = DEF_FRAG_THRESHOLD;  in at76_init_new_device()
 
 | 
| D | atmel.c | 523 	int frag_threshold;  member1554 	priv->frag_threshold = 2346;  in init_atmel_card()
 2224 	priv->frag_threshold = fthr;  in atmel_set_frag()
 2236 	vwrq->value = priv->frag_threshold;  in atmel_get_frag()
 4006 	atmel_set_mib16(priv, Mac_Mib_Type, MAC_MIB_FRAG_THRESHOLD_POS, priv->frag_threshold);  in reset_atmel_card()
 
 | 
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ | 
| D | fw.c | 139 	u16 frag_threshold = MAX_FIRMWARE_CODE_SIZE;  in _rtl92s_firmware_downloadcode()  local154 		if ((buffer_len - frag_offset) > frag_threshold) {  in _rtl92s_firmware_downloadcode()
 155 			frag_length = frag_threshold + extra_descoffset;  in _rtl92s_firmware_downloadcode()
 
 | 
| /Linux-v5.4/net/wireless/ | 
| D | debugfs.c | 34 		      wiphy->frag_threshold);
 | 
| D | wext-compat.c | 295 	u32 ofrag = wdev->wiphy->frag_threshold;  in cfg80211_wext_siwfrag()299 		wdev->wiphy->frag_threshold = (u32) -1;  in cfg80211_wext_siwfrag()
 304 		wdev->wiphy->frag_threshold = frag->value & ~0x1;  in cfg80211_wext_siwfrag()
 309 		wdev->wiphy->frag_threshold = ofrag;  in cfg80211_wext_siwfrag()
 321 	frag->value = wdev->wiphy->frag_threshold;  in cfg80211_wext_giwfrag()
 
 | 
| /Linux-v5.4/drivers/net/wireless/ti/wlcore/ | 
| D | acx.c | 896 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold)  in wl1271_acx_frag_threshold()  argument905 	if (frag_threshold > IEEE80211_MAX_FRAG_THRESHOLD)  in wl1271_acx_frag_threshold()
 906 		frag_threshold = wl->conf.tx.frag_threshold;  in wl1271_acx_frag_threshold()
 908 	wl1271_debug(DEBUG_ACX, "acx frag threshold: %d", frag_threshold);  in wl1271_acx_frag_threshold()
 917 	acx->frag_threshold = cpu_to_le16((u16)frag_threshold);  in wl1271_acx_frag_threshold()
 
 | 
| D | acx.h | 448 	__le16 frag_threshold;  member1074 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold);
 
 | 
| D | conf.h | 425 	u16 frag_threshold;  member
 | 
| D | init.c | 721 	ret = wl1271_acx_frag_threshold(wl, wl->hw->wiphy->frag_threshold);  in wl1271_hw_init()
 | 
| /Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ | 
| D | cfg80211.h | 93 	u32 frag_threshold;  member
 | 
| D | cfg80211.c | 1166 static s32 brcmf_set_frag(struct net_device *ndev, u32 frag_threshold)  in brcmf_set_frag()  argument1173 				      frag_threshold);  in brcmf_set_frag()
 1214 	    (cfg->conf->frag_threshold != wiphy->frag_threshold)) {  in brcmf_cfg80211_set_wiphy_params()
 1215 		cfg->conf->frag_threshold = wiphy->frag_threshold;  in brcmf_cfg80211_set_wiphy_params()
 1216 		err = brcmf_set_frag(ndev, cfg->conf->frag_threshold);  in brcmf_cfg80211_set_wiphy_params()
 5795 	conf->frag_threshold = (u32)-1;  in brcmf_init_conf()
 
 | 
| /Linux-v5.4/drivers/staging/wlan-ng/ | 
| D | cfg80211.c | 415 		if (wiphy->frag_threshold == -1)  in prism2_set_wiphy_params()418 			data = wiphy->frag_threshold;  in prism2_set_wiphy_params()
 
 | 
| /Linux-v5.4/drivers/staging/wilc1000/ | 
| D | wilc_hif.h | 76 	u16 frag_threshold;  member
 | 
| D | wilc_wfi_cfgoperations.c | 801 		if (wiphy->frag_threshold > 255 &&  in set_wiphy_params()802 		    wiphy->frag_threshold < 7937) {  in set_wiphy_params()
 805 				   wiphy->frag_threshold);  in set_wiphy_params()
 807 			cfg_param_val.frag_threshold = wiphy->frag_threshold;  in set_wiphy_params()
 
 | 
| /Linux-v5.4/drivers/net/wireless/ | 
| D | rndis_wlan.c | 1236 static int set_frag_threshold(struct usbnet *usbdev, u32 frag_threshold)  in set_frag_threshold()  argument1240 	netdev_dbg(usbdev->net, "%s(): %i\n", __func__, frag_threshold);  in set_frag_threshold()
 1242 	if (frag_threshold < 256 || frag_threshold > 2346)  in set_frag_threshold()
 1243 		frag_threshold = 2346;  in set_frag_threshold()
 1245 	tmp = cpu_to_le32(frag_threshold);  in set_frag_threshold()
 1876 		err = set_frag_threshold(usbdev, wiphy->frag_threshold);  in rndis_set_wiphy_params()
 
 | 
| /Linux-v5.4/net/mac80211/ | 
| D | tx.c | 678 			 tx->local->hw.wiphy->frag_threshold);  in ieee80211_tx_h_rate_ctrl()860 			      int frag_threshold)  in ieee80211_fragment()  argument
 865 	int per_fragm = frag_threshold - hdrlen - FCS_LEN;  in ieee80211_fragment()
 881 				    frag_threshold +  in ieee80211_fragment()
 924 	int frag_threshold = tx->local->hw.wiphy->frag_threshold;  in ieee80211_tx_h_fragment()  local
 949 	if (WARN_ON(skb->len + FCS_LEN <= frag_threshold))  in ieee80211_tx_h_fragment()
 960 	if (ieee80211_fragment(tx, skb, hdrlen, frag_threshold))  in ieee80211_tx_h_fragment()
 1223 		    skb->len + FCS_LEN <= local->hw.wiphy->frag_threshold ||  in ieee80211_tx_prepare()
 2904 	if (local->hw.wiphy->frag_threshold != (u32)-1 &&  in ieee80211_check_fast_xmit()
 
 | 
| /Linux-v5.4/drivers/net/wireless/rsi/ | 
| D | rsi_mgmt.h | 427 	__le16 frag_threshold;  member
 | 
| /Linux-v5.4/drivers/net/wireless/intel/ipw2x00/ | 
| D | ipw2100.h | 515 	u32 frag_threshold;  member
 |