IEEE80211_SCTL_FRAG
frag_number = le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_FRAG;
frag = sc & IEEE80211_SCTL_FRAG;
hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
return le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_FRAG;
return le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_FRAG;
!(le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_FRAG) &&
hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
fragno = le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_FRAG;
hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
#define WLAN_GET_SEQ_FRAG(seq) ((seq) & IEEE80211_SCTL_FRAG)
hdr->seq_ctrl & cpu_to_le16(IEEE80211_SCTL_FRAG);
hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
wh->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
if ((ieee80211_has_morefrags(fc) || seq_ctrl & IEEE80211_SCTL_FRAG) &&
hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
tx_hdr->seq_ctrl &= cpu_to_le16(IEEE80211_SCTL_FRAG);
cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0);
cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0);
cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0);
cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0);
bool firstseg = (!(hdr->seq_ctrl & cpu_to_le16(IEEE80211_SCTL_FRAG)));
cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0);
cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0);
cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0);
return (seq_ctrl & cpu_to_le16(IEEE80211_SCTL_FRAG)) == 0;
hdr->seq_ctrl & cpu_to_le16(IEEE80211_SCTL_FRAG);
cpu_to_le16(IEEE80211_SCTL_FRAG)));
if (sc & IEEE80211_SCTL_FRAG) {
frag = sc & IEEE80211_SCTL_FRAG;
hdr->seq_ctrl |= cpu_to_le16(fragnum & IEEE80211_SCTL_FRAG);