Home
last modified time | relevance | path

Searched refs:FCS_LEN (Results 1 – 25 of 31) sorted by relevance

12

/linux/drivers/net/wireless/ath/carl9170/
H A Drx.c531 if (len <= 40 + FCS_LEN) in carl9170_ps_beacon()
541 tim = carl9170_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in carl9170_ps_beacon()
582 if (len <= sizeof(*bar) + FCS_LEN) in carl9170_ba_check()
803 if (unlikely(mpdu_len < (2 + 2 + ETH_ALEN + FCS_LEN))) in carl9170_rx_untie_data()
H A Dtx.c1071 txc->f.length = cpu_to_le16(len + FCS_LEN); in carl9170_tx_prepare()
1606 SET_VAL(AR9170_MAC_BCN_HT2_LEN, *plcp, skb->len + FCS_LEN); in carl9170_tx_beacon_physet()
1609 *plcp |= ((skb->len + FCS_LEN) << (3 + 16)) + 0x0400; in carl9170_tx_beacon_physet()
1611 *plcp |= ((skb->len + FCS_LEN) << 16) + 0x0010; in carl9170_tx_beacon_physet()
1646 len = roundup(skb->len + FCS_LEN, 4); in carl9170_update_beacon()
1704 addr, skb->len + FCS_LEN); in carl9170_update_beacon()
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dps.c496 if (len <= 40 + FCS_LEN) in rtl_swlps_beacon()
505 tim = rtl_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in rtl_swlps_beacon()
965 if (len <= 40 + FCS_LEN) in rtl_p2p_info()
979 rtl_p2p_action_ie(hw , data , len - FCS_LEN); in rtl_p2p_info()
981 rtl_p2p_noa_ie(hw , data , len - FCS_LEN); in rtl_p2p_info()
H A Dpci.c398 u8 additionlen = FCS_LEN; in _rtl_update_earlymode_info()
778 if (!stats.crc && !stats.hwerror && (skb->len > FCS_LEN)) { in _rtl_pci_rx_interrupt()
H A Dbase.c1907 if (skb->len <= 40 + FCS_LEN) in rtl_beacon_statistic()
2646 if (len <= 40 + FCS_LEN) in rtl_recognize_peer()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.c223 plcp_fragment_len = fragment_len + FCS_LEN; in generate_txhdr_fw3()
325 len += FCS_LEN; in generate_txhdr_fw3()
459 if (unlikely(skb->len < (2+2+6/*minimum hdr*/ + FCS_LEN))) { in b43legacy_rx()
H A Dmain.c902 b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate); in b43legacy_write_template_common()
1028 b43legacy_generate_plcp_hdr(&plcp, size + FCS_LEN, rate->hw_value); in b43legacy_write_probe_resp_plcp()
/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dusb.c448 __be32 payload_len_nw = cpu_to_be32(buffer_len + FCS_LEN); in get_usb_req()
471 memset(buffer_dst, 0, FCS_LEN); in get_usb_req()
472 buffer_dst += FCS_LEN; in get_usb_req()
473 temp_usb_len += FCS_LEN; in get_usb_req()
/linux/net/mac80211/
H A Dmesh_sync.c107 len + FCS_LEN, 24); in mesh_sync_offset_rx_bcn_presp()
H A Dtx.c692 len = min_t(u32, tx->skb->len + FCS_LEN, in ieee80211_tx_h_rate_ctrl()
897 int per_fragm = frag_threshold - hdrlen - FCS_LEN; in ieee80211_fragment()
981 if (WARN_ON(skb->len + FCS_LEN <= frag_threshold)) in ieee80211_tx_h_fragment()
1277 skb->len + FCS_LEN <= local->hw.wiphy->frag_threshold || in ieee80211_tx_prepare()
2140 if (skb->len < (iterator._max_length + FCS_LEN)) in ieee80211_parse_tx_radiotap()
2143 skb_trim(skb, skb->len - FCS_LEN); in ieee80211_parse_tx_radiotap()
H A Dscan.c217 len + FCS_LEN, in ieee80211_bss_info_update()
H A Drx.c338 mpdulen += FCS_LEN; in ieee80211_add_rx_radiotap_header()
811 if (unlikely(origskb->len <= FCS_LEN + rtap_space)) { in ieee80211_rx_monitor()
817 present_fcs_len = FCS_LEN; in ieee80211_rx_monitor()
/linux/drivers/net/wireless/ath/ath5k/
H A Ddesc.c118 frame_len = pkt_len - padsize + FCS_LEN; in ath5k_hw_setup_2word_tx_desc()
294 frame_len = pkt_len - padsize + FCS_LEN; in ath5k_hw_setup_4word_tx_desc()
/linux/drivers/net/wireless/broadcom/b43/
H A Dxmit.c292 plcp_fragment_len = fragment_len + FCS_LEN; in b43_generate_txhdr()
483 len += FCS_LEN; in b43_generate_txhdr()
688 if (unlikely(skb->len < (2 + 2 + 6 /*minimum hdr */ + FCS_LEN))) { in b43_rx()
/linux/drivers/net/wireless/ath/ath9k/
H A Dcommon.c145 if (padsize && skb->len>=padpos+padsize+FCS_LEN) { in ath9k_cmn_rx_skb_postprocess()
H A Dbeacon.c89 info.pkt_len = skb->len + FCS_LEN; in ath9k_beacon_setup()
H A Dath9k.h125 #define IEEE80211_MAX_MPDU_LEN (3840 + FCS_LEN + \
H A Dxmit.c2300 int frmlen = skb->len + FCS_LEN; in ath_tx_prepare()
2948 fi->framelen = skb->len + FCS_LEN; in ath9k_tx99_send()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00dev.c607 if (rxdesc->size < sizeof(*ba) + FCS_LEN) in rt2x00lib_rxdone_check_ba()
659 if (skb->len <= 40 + FCS_LEN) in rt2x00lib_rxdone_check_ps()
669 tim = rt2x00lib_find_ie(skb->data, skb->len - FCS_LEN, WLAN_EID_TIM); in rt2x00lib_rxdone_check_ps()
/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.c854 unsigned int frag_len = skb->len + FCS_LEN; in fill_ctrlset()
1028 FCS_LEN + sizeof(struct rx_status)) in zd_mac_rx()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
H A Dmain.c5687 (DOT11_ACK_LEN + FCS_LEN)); in brcms_c_calc_ack_time()
5711 FCS_LEN)); in brcms_c_calc_ba_time()
6194 phylen = len + FCS_LEN; in brcms_c_d11hdrs_mac80211()
6566 rts_phylen = DOT11_CTS_LEN + FCS_LEN; in brcms_c_d11hdrs_mac80211()
6568 rts_phylen = DOT11_RTS_LEN + FCS_LEN; in brcms_c_d11hdrs_mac80211()
7116 len_mpdu = p->len - D11_PHY_HDR_LEN - FCS_LEN; in brcms_c_recvctl()
7247 len + FCS_LEN - D11_PHY_HDR_LEN, beacon->data); in brcms_c_beacon_write()
7436 (u16)len + FCS_LEN - D11_PHY_HDR_LEN); in brcms_c_bss_update_probe_resp()
H A Dampdu.c71 #define AMPDU_MAX_MPDU_OVERHEAD (FCS_LEN + DOT11_ICV_AES_LEN +\
/linux/drivers/net/wireless/ath/ath12k/
H A Ddp_rx.c2019 skb_trim(msdu, msdu->len - FCS_LEN); in ath12k_dp_rx_h_undecap_raw()
2856 tail_len = IEEE80211_CCMP_MIC_LEN + IEEE80211_TKIP_ICV_LEN + FCS_LEN; in ath12k_dp_rx_h_verify_tkip_mic()
2959 skb_trim(skb, skb->len - FCS_LEN); in ath12k_dp_rx_h_defrag()
/linux/drivers/net/wireless/admtek/
H A Dadm8211.c1702 len = hdrlen + payload_len + FCS_LEN; in adm8211_tx()
/linux/drivers/net/wireless/ath/ath11k/
H A Ddp_rx.c2054 skb_trim(msdu, msdu->len - FCS_LEN); in ath11k_dp_rx_h_undecap_raw()
3294 tail_len = IEEE80211_CCMP_MIC_LEN + IEEE80211_TKIP_ICV_LEN + FCS_LEN; in ath11k_dp_rx_h_verify_tkip_mic()
3398 skb_trim(skb, skb->len - FCS_LEN); in ath11k_dp_rx_h_defrag()

12