Lines Matching refs:hdrlen
862 struct sk_buff *skb, int hdrlen, in ieee80211_fragment() argument
868 int per_fragm = frag_threshold - hdrlen - FCS_LEN; in ieee80211_fragment()
869 int pos = hdrlen + per_fragm; in ieee80211_fragment()
870 int rem = skb->len - hdrlen - per_fragm; in ieee80211_fragment()
910 memcpy(skb_put(tmp, hdrlen), skb->data, hdrlen); in ieee80211_fragment()
917 skb_trim(skb, hdrlen + per_fragm); in ieee80211_fragment()
928 int hdrlen; in ieee80211_tx_h_fragment() local
949 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_tx_h_fragment()
963 if (ieee80211_fragment(tx, skb, hdrlen, frag_threshold)) in ieee80211_tx_h_fragment()
2115 int hdrlen; in ieee80211_monitor_start_xmit() local
2150 hdrlen = ieee80211_hdrlen(hdr->frame_control); in ieee80211_monitor_start_xmit()
2152 if (skb->len < len_rthdr + hdrlen) in ieee80211_monitor_start_xmit()
2160 skb->len >= len_rthdr + hdrlen + sizeof(rfc1042_header) + 2) { in ieee80211_monitor_start_xmit()
2161 u8 *payload = (u8 *)hdr + hdrlen; in ieee80211_monitor_start_xmit()
2354 u16 ethertype, hdrlen, meshhdrlen = 0; in ieee80211_build_hdr() local
2387 hdrlen = 30; in ieee80211_build_hdr()
2414 hdrlen = 24; in ieee80211_build_hdr()
2424 hdrlen = 30; in ieee80211_build_hdr()
2465 hdrlen = ieee80211_fill_mesh_addresses(&hdr, &fc, in ieee80211_build_hdr()
2483 hdrlen = ieee80211_fill_mesh_addresses(&hdr, &fc, in ieee80211_build_hdr()
2514 hdrlen = 24; in ieee80211_build_hdr()
2524 hdrlen = 30; in ieee80211_build_hdr()
2531 hdrlen = 24; in ieee80211_build_hdr()
2545 hdrlen = 24; in ieee80211_build_hdr()
2558 hdrlen = 24; in ieee80211_build_hdr()
2585 hdrlen += 2; in ieee80211_build_hdr()
2667 head_need = hdrlen + encaps_len + meshhdrlen - skb_headroom(skb); in ieee80211_build_hdr()
2704 memcpy(skb_push(skb, hdrlen - 2), &hdr, hdrlen - 2); in ieee80211_build_hdr()
2711 memcpy(skb_push(skb, hdrlen), &hdr, hdrlen); in ieee80211_build_hdr()