Lines Matching refs:hdrlen
666 size_t hdrlen, per_fragm, num_fragm, payload_len, left; in ieee80211_tx_h_fragment() local
686 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_tx_h_fragment()
687 payload_len = first->len - hdrlen; in ieee80211_tx_h_fragment()
688 per_fragm = frag_threshold - hdrlen - FCS_LEN; in ieee80211_tx_h_fragment()
697 pos = first->data + hdrlen + per_fragm; in ieee80211_tx_h_fragment()
728 fhdr = (struct ieee80211_hdr *) skb_put(frag, hdrlen); in ieee80211_tx_h_fragment()
729 memcpy(fhdr, first->data, hdrlen); in ieee80211_tx_h_fragment()
761 skb_trim(first, hdrlen + per_fragm); in ieee80211_tx_h_fragment()
954 int hdrlen, tid; in __ieee80211_tx_prepare() local
1017 hdrlen = ieee80211_hdrlen(hdr->frame_control); in __ieee80211_tx_prepare()
1018 if (skb->len > hdrlen + sizeof(rfc1042_header) + 2) { in __ieee80211_tx_prepare()
1019 u8 *pos = &skb->data[hdrlen + sizeof(rfc1042_header)]; in __ieee80211_tx_prepare()
1321 int hdrlen; in ieee80211_master_start_xmit() local
1329 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_master_start_xmit()
1332 if (likely(skb->len >= len_rthdr + hdrlen)) { in ieee80211_master_start_xmit()
1467 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_subif_start_xmit() local
1511 hdrlen = 24; in ieee80211_subif_start_xmit()
1520 hdrlen = 30; in ieee80211_subif_start_xmit()
1569 hdrlen = 30; in ieee80211_subif_start_xmit()
1578 hdrlen = 24; in ieee80211_subif_start_xmit()
1585 hdrlen = 24; in ieee80211_subif_start_xmit()
1609 hdrlen += 2; in ieee80211_subif_start_xmit()
1657 head_need = hdrlen + encaps_len + meshhdrlen - skb_headroom(skb); in ieee80211_subif_start_xmit()
1695 memcpy(skb_push(skb, hdrlen - 2), &hdr, hdrlen - 2); in ieee80211_subif_start_xmit()
1702 memcpy(skb_push(skb, hdrlen), &hdr, hdrlen); in ieee80211_subif_start_xmit()
1704 nh_pos += hdrlen; in ieee80211_subif_start_xmit()
1705 h_pos += hdrlen; in ieee80211_subif_start_xmit()