Home
last modified time | relevance | path

Searched refs:frag_threshold (Results 1 – 25 of 35) sorted by relevance

12

/linux-2.6.39/drivers/net/wireless/orinoco/
Dcfg.c91 wiphy->frag_threshold = priv->frag_thresh + 1; in orinoco_wiphy_register()
224 if (wiphy->frag_threshold < 0) in orinoco_set_wiphy_params()
234 if (wiphy->frag_threshold < 0) in orinoco_set_wiphy_params()
236 else if ((wiphy->frag_threshold < 257) || in orinoco_set_wiphy_params()
237 (wiphy->frag_threshold > 2347)) in orinoco_set_wiphy_params()
242 frag_value = wiphy->frag_threshold & ~0x1; in orinoco_set_wiphy_params()
/linux-2.6.39/drivers/net/wireless/wl1251/
Dtx.c112 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()
Dtx.h151 __le16 frag_threshold; member
/linux-2.6.39/drivers/staging/rtl8192e/
Dr819xE_firmware.c43 u16 frag_threshold; in fw_download_code() local
56 frag_threshold = pfirmware->cmdpacket_frag_thresold; in fw_download_code()
58 if ((buffer_len - frag_offset) > frag_threshold) { in fw_download_code()
59 frag_length = frag_threshold ; in fw_download_code()
Dr819xE_cmdpkt.c42 u16 frag_threshold; in cmpk_message_handle_tx() local
56 frag_threshold = pfirmware->cmdpacket_frag_thresold; in cmpk_message_handle_tx()
58 if((buffer_len - frag_offset) > frag_threshold) { in cmpk_message_handle_tx()
59 frag_length = frag_threshold ; in cmpk_message_handle_tx()
/linux-2.6.39/drivers/staging/rtl8192u/
Dr819xU_firmware.c36 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()
Dr819xU_cmdpkt.c114 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()
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/
Dcfg80211.c392 (iwm->conf.frag_threshold != wiphy->frag_threshold)) { in iwm_cfg80211_set_wiphy_params()
395 iwm->conf.frag_threshold = wiphy->frag_threshold; in iwm_cfg80211_set_wiphy_params()
399 iwm->conf.frag_threshold); in iwm_cfg80211_set_wiphy_params()
Diwm.h78 u32 frag_threshold; member
Dmain.c77 .frag_threshold = IEEE80211_MAX_FRAG_THRESHOLD,
/linux-2.6.39/drivers/net/wireless/
Dat76c50x-usb.h256 __le16 frag_threshold; member
412 int frag_threshold; /* threshold for fragmentation of tx packets */ member
Dat76c50x-usb.c905 priv->mib_buf.index = offsetof(struct mib_mac, frag_threshold); in at76_set_frag()
1078 le16_to_cpu(m->frag_threshold), le16_to_cpu(m->rts_threshold), in at76_dump_mib_mac()
1384 priv->short_retry_limit, priv->frag_threshold, in at76_startup_device()
1416 ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold); in at76_startup_device()
1453 ret = at76_set_frag(priv, priv->frag_threshold); in at76_startup_device()
2273 priv->frag_threshold = DEF_FRAG_THRESHOLD; in at76_init_new_device()
Drndis_wlan.c1288 static int set_frag_threshold(struct usbnet *usbdev, u32 frag_threshold) in set_frag_threshold() argument
1292 netdev_dbg(usbdev->net, "%s(): %i\n", __func__, frag_threshold); in set_frag_threshold()
1294 if (frag_threshold < 256 || frag_threshold > 2346) in set_frag_threshold()
1295 frag_threshold = 2346; in set_frag_threshold()
1297 tmp = cpu_to_le32(frag_threshold); in set_frag_threshold()
1887 err = set_frag_threshold(usbdev, wiphy->frag_threshold); in rndis_set_wiphy_params()
/linux-2.6.39/net/wireless/
Ddebugfs.c43 wiphy->frag_threshold);
Dwext-compat.c331 u32 ofrag = wdev->wiphy->frag_threshold; in cfg80211_wext_siwfrag()
335 wdev->wiphy->frag_threshold = (u32) -1; in cfg80211_wext_siwfrag()
340 wdev->wiphy->frag_threshold = frag->value & ~0x1; in cfg80211_wext_siwfrag()
346 wdev->wiphy->frag_threshold = ofrag; in cfg80211_wext_siwfrag()
358 frag->value = wdev->wiphy->frag_threshold; in cfg80211_wext_giwfrag()
Dnl80211.c585 dev->wiphy.frag_threshold); in nl80211_send_wiphy()
996 u32 frag_threshold = 0, rts_threshold = 0; in nl80211_set_wiphy() local
1165 frag_threshold = nla_get_u32( in nl80211_set_wiphy()
1167 if (frag_threshold < 256) { in nl80211_set_wiphy()
1171 if (frag_threshold != (u32) -1) { in nl80211_set_wiphy()
1178 frag_threshold &= ~0x1; in nl80211_set_wiphy()
1207 old_frag_threshold = rdev->wiphy.frag_threshold; in nl80211_set_wiphy()
1216 rdev->wiphy.frag_threshold = frag_threshold; in nl80211_set_wiphy()
1226 rdev->wiphy.frag_threshold = old_frag_threshold; in nl80211_set_wiphy()
/linux-2.6.39/net/mac80211/
Dtx.c618 tx->local->hw.wiphy->frag_threshold); in ieee80211_tx_h_rate_ctrl()
838 int frag_threshold) in ieee80211_fragment() argument
841 int per_fragm = frag_threshold - hdrlen - FCS_LEN; in ieee80211_fragment()
855 frag_threshold + in ieee80211_fragment()
887 int frag_threshold = tx->local->hw.wiphy->frag_threshold; in ieee80211_tx_h_fragment() local
905 if (WARN_ON(skb->len + FCS_LEN <= frag_threshold)) in ieee80211_tx_h_fragment()
916 if (ieee80211_fragment(tx->local, skb, hdrlen, frag_threshold)) in ieee80211_tx_h_fragment()
1266 skb->len + FCS_LEN > local->hw.wiphy->frag_threshold && in ieee80211_tx_prepare()
/linux-2.6.39/drivers/staging/wlan-ng/
Dcfg80211.c449 if (wiphy->frag_threshold == -1) in prism2_set_wiphy_params()
452 data = wiphy->frag_threshold; in prism2_set_wiphy_params()
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/
Dwl_cfg80211.h150 u32 frag_threshold; member
Dwl_cfg80211.c167 static s32 wl_set_frag(struct net_device *dev, u32 frag_threshold);
168 static s32 wl_set_rts(struct net_device *dev, u32 frag_threshold);
921 static s32 wl_set_frag(struct net_device *dev, u32 frag_threshold) in wl_set_frag() argument
925 err = wl_dev_intvar_set(dev, "fragthresh", frag_threshold); in wl_set_frag()
962 (wl->conf->frag_threshold != wiphy->frag_threshold)) { in wl_cfg80211_set_wiphy_params()
963 wl->conf->frag_threshold = wiphy->frag_threshold; in wl_cfg80211_set_wiphy_params()
964 err = wl_set_frag(ndev, wl->conf->frag_threshold); in wl_cfg80211_set_wiphy_params()
2760 conf->frag_threshold = (u32)-1; in wl_init_conf()
/linux-2.6.39/drivers/net/wireless/wl12xx/
Dconf.h702 u16 frag_threshold; member
Dacx.h789 __le16 frag_threshold; member
1273 int wl1271_acx_frag_threshold(struct wl1271 *wl, u16 frag_threshold);
Dacx.c901 int wl1271_acx_frag_threshold(struct wl1271 *wl, u16 frag_threshold) in wl1271_acx_frag_threshold() argument
915 acx->frag_threshold = cpu_to_le16(frag_threshold); in wl1271_acx_frag_threshold()
Dinit.c570 ret = wl1271_acx_frag_threshold(wl, wl->conf.tx.frag_threshold); in wl1271_hw_init()
/linux-2.6.39/drivers/net/wireless/ipw2x00/
Dipw2100.h537 u32 frag_threshold; member

12