Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/ti/wl1251/
H A Dtx.c103 u16 payload_len, frag_threshold, mem_blocks; in wl1251_tx_frag_block_num() local
106 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()
H A Dtx.h137 __le16 frag_threshold; member
/linux/drivers/net/wireless/marvell/mwifiex/
H A Duap_cmd.c282 config->frag_threshold = 0x7FFF; in mwifiex_set_sys_config_invalid_data()
472 struct host_cmd_tlv_frag_threshold *frag_threshold; in mwifiex_uap_bss_param_prepare() local
573 if ((bss_cfg->frag_threshold >= MWIFIEX_FRAG_MIN_VALUE) && in mwifiex_uap_bss_param_prepare()
574 (bss_cfg->frag_threshold <= MWIFIEX_FRAG_MAX_VALUE)) { in mwifiex_uap_bss_param_prepare()
575 frag_threshold = (struct host_cmd_tlv_frag_threshold *)tlv; in mwifiex_uap_bss_param_prepare()
576 frag_threshold->header.type = in mwifiex_uap_bss_param_prepare()
578 frag_threshold->header.len = in mwifiex_uap_bss_param_prepare()
581 frag_threshold->frag_thr = cpu_to_le16(bss_cfg->frag_threshold); in mwifiex_uap_bss_param_prepare()
H A Dioctl.h89 u16 frag_threshold; member
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Duap_cmd.c131 struct host_cmd_tlv_frag_threshold *frag_threshold; in nxpwifi_uap_bss_param_prepare() local
231 if (bss_cfg->frag_threshold >= NXPWIFI_FRAG_THRESHOLD_MIN && in nxpwifi_uap_bss_param_prepare()
232 bss_cfg->frag_threshold <= NXPWIFI_FRAG_THRESHOLD_MAX) { in nxpwifi_uap_bss_param_prepare()
233 frag_threshold = (struct host_cmd_tlv_frag_threshold *)tlv; in nxpwifi_uap_bss_param_prepare()
234 frag_threshold->header.type = in nxpwifi_uap_bss_param_prepare()
236 frag_threshold->header.len = in nxpwifi_uap_bss_param_prepare()
239 frag_threshold->frag_thr = cpu_to_le16(bss_cfg->frag_threshold); in nxpwifi_uap_bss_param_prepare()
1112 config->frag_threshold = NXPWIFI_INVALID_FRAG; in nxpwifi_set_sys_config_invalid_data()
H A Dcfg.h395 u16 frag_threshold; member
H A Dcfg80211.c655 bss_cfg->frag_threshold = wiphy->frag_threshold; in nxpwifi_cfg80211_set_wiphy_params()
676 wiphy->frag_threshold); in nxpwifi_cfg80211_set_wiphy_params()
3921 wiphy->frag_threshold = thr; in nxpwifi_register_cfg80211()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dfw.c139 u16 frag_threshold = MAX_FIRMWARE_CODE_SIZE; in _rtl92s_firmware_downloadcode() local
154 if ((buffer_len - frag_offset) > frag_threshold) { in _rtl92s_firmware_downloadcode()
155 frag_length = frag_threshold + extra_descoffset; in _rtl92s_firmware_downloadcode()
/linux/drivers/net/wireless/morsemicro/mm81x/
H A Dcommand.h80 int mm81x_cmd_set_frag_threshold(struct mm81x *mors, u32 frag_threshold);
H A Dcommand.c541 int mm81x_cmd_set_frag_threshold(struct mm81x *mors, u32 frag_threshold) in mm81x_cmd_set_frag_threshold() argument
547 .value = cpu_to_le32(frag_threshold), in mm81x_cmd_set_frag_threshold()
/linux/drivers/net/wireless/atmel/
H A Dat76c50x-usb.h240 __le16 frag_threshold; member
409 int frag_threshold; /* threshold for fragmentation of tx packets */ member
H A Dat76c50x-usb.c886 priv->mib_buf.index = offsetof(struct mib_mac, frag_threshold); in at76_set_frag()
1054 le16_to_cpu(m->frag_threshold), le16_to_cpu(m->rts_threshold), in at76_dump_mib_mac()
1358 priv->short_retry_limit, priv->frag_threshold, in at76_startup_device()
1390 ccfg->fragmentation_threshold = cpu_to_le16(priv->frag_threshold); in at76_startup_device()
1429 ret = at76_set_frag(priv, priv->frag_threshold); in at76_startup_device()
2331 priv->frag_threshold = DEF_FRAG_THRESHOLD; in at76_init_new_device()
/linux/drivers/net/wireless/ti/wlcore/
H A Dacx.c896 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold) in wl1271_acx_frag_threshold() argument
905 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()
H A Dacx.h448 __le16 frag_threshold; member
1074 int wl1271_acx_frag_threshold(struct wl1271 *wl, u32 frag_threshold);
H A Dconf.h425 u16 frag_threshold; member
H A Dinit.c721 ret = wl1271_acx_frag_threshold(wl, wl->hw->wiphy->frag_threshold); in wl1271_hw_init()
/linux/net/wireless/
H A Dwext-compat.c294 u32 ofrag = wdev->wiphy->frag_threshold; in cfg80211_wext_siwfrag()
300 wdev->wiphy->frag_threshold = (u32) -1; in cfg80211_wext_siwfrag()
305 wdev->wiphy->frag_threshold = frag->value & ~0x1; in cfg80211_wext_siwfrag()
310 wdev->wiphy->frag_threshold = ofrag; in cfg80211_wext_siwfrag()
321 frag->value = wdev->wiphy->frag_threshold; in cfg80211_wext_giwfrag()
H A Ddebugfs.c53 wiphy->frag_threshold); in ht_print_chan()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dhif.h56 u16 frag_threshold; member
H A Dcfg80211.c827 if (wiphy->frag_threshold > 255 && in set_wiphy_params()
828 wiphy->frag_threshold < 7937) { in set_wiphy_params()
831 wiphy->frag_threshold); in set_wiphy_params()
833 cfg_param_val.frag_threshold = wiphy->frag_threshold; in set_wiphy_params()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.h112 u32 frag_threshold; member
H A Dcfg80211.c1612 static s32 brcmf_set_frag(struct net_device *ndev, u32 frag_threshold) in brcmf_set_frag() argument
1619 frag_threshold); in brcmf_set_frag()
1661 (cfg->conf->frag_threshold != wiphy->frag_threshold)) { in brcmf_cfg80211_set_wiphy_params()
1662 cfg->conf->frag_threshold = wiphy->frag_threshold; in brcmf_cfg80211_set_wiphy_params()
1663 err = brcmf_set_frag(ndev, cfg->conf->frag_threshold); in brcmf_cfg80211_set_wiphy_params()
6792 conf->frag_threshold = (u32)-1; in brcmf_init_conf()
/linux/net/mac80211/
H A Dtx.c694 tx->local->hw.wiphy->frag_threshold); in ieee80211_tx_h_rate_ctrl()
893 int frag_threshold) in ieee80211_fragment() argument
898 int per_fragm = frag_threshold - hdrlen - FCS_LEN; in ieee80211_fragment()
914 frag_threshold + in ieee80211_fragment()
957 int frag_threshold = tx->local->hw.wiphy->frag_threshold; in ieee80211_tx_h_fragment() local
982 if (WARN_ON(skb->len + FCS_LEN <= frag_threshold)) in ieee80211_tx_h_fragment()
993 if (ieee80211_fragment(tx, skb, hdrlen, frag_threshold)) in ieee80211_tx_h_fragment()
1282 skb->len + FCS_LEN <= local->hw.wiphy->frag_threshold || in ieee80211_tx_prepare()
3144 if (local->hw.wiphy->frag_threshold != (u32)-1 && in ieee80211_check_fast_xmit()
/linux/drivers/net/wireless/rsi/
H A Drsi_mgmt.h427 __le16 frag_threshold; member
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dqlink.h1077 __le32 frag_threshold; member

12