Searched refs:need_padding (Results 1 – 4 of 4) sorted by relevance
492 int need_padding; in lbtf_rx() local519 need_padding = ieee80211_is_data_qos(hdr->frame_control); in lbtf_rx()520 need_padding ^= ieee80211_has_a4(hdr->frame_control); in lbtf_rx()521 need_padding ^= ieee80211_is_data_qos(hdr->frame_control) && in lbtf_rx()525 if (need_padding) { in lbtf_rx()
409 int need_padding; in plfxlc_mac_rx() local450 need_padding = ieee80211_is_data_qos(fc) ^ ieee80211_has_a4(fc); in plfxlc_mac_rx()489 skb = dev_alloc_skb(payload_length + (need_padding ? 2 : 0)); in plfxlc_mac_rx()493 if (need_padding) in plfxlc_mac_rx()
1023 int need_padding; in zd_mac_rx() local1080 need_padding = ieee80211_is_data_qos(fc) ^ ieee80211_has_a4(fc); in zd_mac_rx()1082 skb = dev_alloc_skb(length + (need_padding ? 2 : 0)); in zd_mac_rx()1085 if (need_padding) { in zd_mac_rx()
374 static bool need_padding(int len) in need_padding() function879 sg_cnt = need_padding(buf_len) ? 1 : 0; in calc_sg_cnt()899 sg_cnt = need_padding(data_len) ? 1 : 0; in calc_sg_cnt_cursor()935 if (need_padding(buf_len)) { in init_sgs()958 if (need_padding(data_len)) { in init_sgs_cursor()1202 if (need_padding(rem_len)) in prepare_head_secure_big()