Searched refs:need_padding (Results 1 – 4 of 4) sorted by relevance
497 int need_padding; in lbtf_rx() local524 need_padding = ieee80211_is_data_qos(hdr->frame_control); in lbtf_rx()525 need_padding ^= ieee80211_has_a4(hdr->frame_control); in lbtf_rx()526 need_padding ^= ieee80211_is_data_qos(hdr->frame_control) && in lbtf_rx()530 if (need_padding) { in lbtf_rx()
408 int need_padding; in plfxlc_mac_rx() local449 need_padding = ieee80211_is_data_qos(fc) ^ ieee80211_has_a4(fc); in plfxlc_mac_rx()488 skb = dev_alloc_skb(payload_length + (need_padding ? 2 : 0)); in plfxlc_mac_rx()492 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() function883 sg_cnt = need_padding(buf_len) ? 1 : 0; in calc_sg_cnt()903 sg_cnt = need_padding(data_len) ? 1 : 0; in calc_sg_cnt_cursor()939 if (need_padding(buf_len)) { in init_sgs()962 if (need_padding(data_len)) { in init_sgs_cursor()996 if (need_padding(dlen)) { in init_sgs_pages()1026 if (need_padding(dlen)) in setup_message_sgs()1306 if (need_padding(rem_len)) in prepare_head_secure_big()