/drivers/net/wireless/orinoco/ |
D | cfg.c | 91 wiphy->frag_threshold = priv->frag_thresh + 1; in orinoco_wiphy_register() 222 if (wiphy->frag_threshold < 0) in orinoco_set_wiphy_params() 232 if (wiphy->frag_threshold < 0) in orinoco_set_wiphy_params() 234 else if ((wiphy->frag_threshold < 257) || in orinoco_set_wiphy_params() 235 (wiphy->frag_threshold > 2347)) in orinoco_set_wiphy_params() 240 frag_value = wiphy->frag_threshold & ~0x1; in orinoco_set_wiphy_params()
|
/drivers/net/wireless/ti/wl1251/ |
D | tx.c | 112 u16 payload_len, frag_threshold, mem_blocks; in wl1251_tx_frag_block_num() local 115 frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD; in wl1251_tx_frag_block_num() 116 tx_hdr->frag_threshold = cpu_to_le16(frag_threshold); in wl1251_tx_frag_block_num() 120 if (payload_len > frag_threshold) { in wl1251_tx_frag_block_num() 122 ((frag_threshold + MAX_MPDU_HEADER_AND_SECURITY) / in wl1251_tx_frag_block_num() 124 num_mpdus = payload_len / frag_threshold; in wl1251_tx_frag_block_num() 126 payload_len -= num_mpdus * frag_threshold; in wl1251_tx_frag_block_num()
|
D | tx.h | 151 __le16 frag_threshold; member
|
/drivers/net/wireless/mwifiex/ |
D | uap_cmd.c | 275 config->frag_threshold = 0x7FFF; in mwifiex_set_sys_config_invalid_data() 437 struct host_cmd_tlv_frag_threshold *frag_threshold; in mwifiex_uap_bss_param_prepare() local 528 if ((bss_cfg->frag_threshold >= MWIFIEX_FRAG_MIN_VALUE) && in mwifiex_uap_bss_param_prepare() 529 (bss_cfg->frag_threshold <= MWIFIEX_FRAG_MAX_VALUE)) { in mwifiex_uap_bss_param_prepare() 530 frag_threshold = (struct host_cmd_tlv_frag_threshold *)tlv; in mwifiex_uap_bss_param_prepare() 531 frag_threshold->tlv.type = in mwifiex_uap_bss_param_prepare() 533 frag_threshold->tlv.len = in mwifiex_uap_bss_param_prepare() 536 frag_threshold->frag_thr = cpu_to_le16(bss_cfg->frag_threshold); in mwifiex_uap_bss_param_prepare()
|
D | ioctl.h | 94 u16 frag_threshold; member
|
D | cfg80211.c | 609 bss_cfg->frag_threshold = wiphy->frag_threshold; in mwifiex_cfg80211_set_wiphy_params() 659 wiphy->frag_threshold); in mwifiex_cfg80211_set_wiphy_params()
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | r8192E_firmware.c | 40 u16 frag_threshold; in fw_download_code() local 51 frag_threshold = pfirmware->cmdpacket_frag_thresold; in fw_download_code() 53 if ((buffer_len - frag_offset) > frag_threshold) { in fw_download_code() 54 frag_length = frag_threshold ; in fw_download_code()
|
D | r8192E_cmdpkt.c | 46 u16 frag_threshold; in cmpk_message_handle_tx() local 58 frag_threshold = pfirmware->cmdpacket_frag_thresold; in cmpk_message_handle_tx() 61 if ((buffer_len - frag_offset) > frag_threshold) { in cmpk_message_handle_tx() 62 frag_length = frag_threshold ; in cmpk_message_handle_tx()
|
/drivers/staging/rtl8192u/ |
D | r819xU_firmware.c | 36 u16 frag_threshold; in fw_download_code() local 49 frag_threshold = pfirmware->cmdpacket_frag_thresold; in fw_download_code() 51 if((buffer_len - frag_offset) > frag_threshold) { in fw_download_code() 52 frag_length = frag_threshold ; in fw_download_code()
|
D | r819xU_cmdpkt.c | 114 u16 frag_threshold; in cmpk_message_handle_tx() local 127 frag_threshold = pfirmware->cmdpacket_frag_thresold; in cmpk_message_handle_tx() 129 if((buffer_len - frag_offset) > frag_threshold) { in cmpk_message_handle_tx() 130 frag_length = frag_threshold ; in cmpk_message_handle_tx()
|
/drivers/net/wireless/ |
D | at76c50x-usb.h | 256 __le16 frag_threshold; member 412 int frag_threshold; /* threshold for fragmentation of tx packets */ member
|
D | at76c50x-usb.c | 873 priv->mib_buf.index = offsetof(struct mib_mac, frag_threshold); in at76_set_frag() 1046 le16_to_cpu(m->frag_threshold), le16_to_cpu(m->rts_threshold), in at76_dump_mib_mac() 1351 priv->short_retry_limit, priv->frag_threshold, in at76_startup_device() 1383 ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold); in at76_startup_device() 1420 ret = at76_set_frag(priv, priv->frag_threshold); in at76_startup_device() 2236 priv->frag_threshold = DEF_FRAG_THRESHOLD; in at76_init_new_device()
|
D | rndis_wlan.c | 1250 static int set_frag_threshold(struct usbnet *usbdev, u32 frag_threshold) in set_frag_threshold() argument 1254 netdev_dbg(usbdev->net, "%s(): %i\n", __func__, frag_threshold); in set_frag_threshold() 1256 if (frag_threshold < 256 || frag_threshold > 2346) in set_frag_threshold() 1257 frag_threshold = 2346; in set_frag_threshold() 1259 tmp = cpu_to_le32(frag_threshold); in set_frag_threshold() 1891 err = set_frag_threshold(usbdev, wiphy->frag_threshold); in rndis_set_wiphy_params()
|
D | atmel.c | 525 int frag_threshold; member 1577 priv->frag_threshold = 2346; in init_atmel_card() 2244 priv->frag_threshold = fthr; in atmel_set_frag() 2256 vwrq->value = priv->frag_threshold; in atmel_get_frag() 4041 atmel_set_mib16(priv, Mac_Mib_Type, MAC_MIB_FRAG_THRESHOLD_POS, priv->frag_threshold); in reset_atmel_card()
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | fw.c | 170 u16 frag_threshold = MAX_FIRMWARE_CODE_SIZE; in _rtl92s_firmware_downloadcode() local 187 if ((buffer_len - frag_offset) > frag_threshold) { in _rtl92s_firmware_downloadcode() 188 frag_length = frag_threshold + extra_descoffset; in _rtl92s_firmware_downloadcode()
|
/drivers/net/wireless/ti/wlcore/ |
D | acx.c | 908 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold) in wl1271_acx_frag_threshold() argument 917 if (frag_threshold > IEEE80211_MAX_FRAG_THRESHOLD) in wl1271_acx_frag_threshold() 918 frag_threshold = wl->conf.tx.frag_threshold; in wl1271_acx_frag_threshold() 920 wl1271_debug(DEBUG_ACX, "acx frag threshold: %d", frag_threshold); in wl1271_acx_frag_threshold() 929 acx->frag_threshold = cpu_to_le16((u16)frag_threshold); in wl1271_acx_frag_threshold()
|
D | acx.h | 461 __le16 frag_threshold; member 1086 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold);
|
D | conf.h | 670 u16 frag_threshold; member
|
D | init.c | 720 ret = wl1271_acx_frag_threshold(wl, wl->hw->wiphy->frag_threshold); in wl1271_hw_init()
|
/drivers/staging/wlan-ng/ |
D | cfg80211.c | 463 if (wiphy->frag_threshold == -1) in prism2_set_wiphy_params() 466 data = wiphy->frag_threshold; in prism2_set_wiphy_params()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | wl_cfg80211.h | 109 u32 frag_threshold; member
|
D | wl_cfg80211.c | 1010 static s32 brcmf_set_frag(struct net_device *ndev, u32 frag_threshold) in brcmf_set_frag() argument 1015 frag_threshold); in brcmf_set_frag() 1054 (cfg->conf->frag_threshold != wiphy->frag_threshold)) { in brcmf_cfg80211_set_wiphy_params() 1055 cfg->conf->frag_threshold = wiphy->frag_threshold; in brcmf_cfg80211_set_wiphy_params() 1056 err = brcmf_set_frag(ndev, cfg->conf->frag_threshold); in brcmf_cfg80211_set_wiphy_params() 4735 conf->frag_threshold = (u32)-1; in brcmf_init_conf()
|
/drivers/net/wireless/ipw2x00/ |
D | ipw2100.h | 529 u32 frag_threshold; member
|
D | ipw2100.c | 5033 priv->frag_threshold = threshold; 6131 priv->frag_threshold = DEFAULT_FTS | FRAG_DISABLED; in ipw2100_alloc_device() 7329 priv->frag_threshold |= FRAG_DISABLED; in ipw2100_wx_set_frag() 7337 priv->frag_threshold = priv->ieee->fts; in ipw2100_wx_set_frag() 7354 wrqu->frag.value = priv->frag_threshold & ~FRAG_DISABLED; in ipw2100_wx_get_frag() 7356 wrqu->frag.disabled = (priv->frag_threshold & FRAG_DISABLED) ? 1 : 0; in ipw2100_wx_get_frag()
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 205 .frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD,
|