Lines Matching refs:fc
62 u16 fc, ethertype;
71 fc = le_to_host16(hdr->frame_control);
73 if ((fc & (WLAN_FC_FROMDS | WLAN_FC_TODS)) != WLAN_FC_TODS) {
74 printf("Not ToDS data frame (fc=0x%04x)\n", fc);
123 u16 fc;
127 fc = le_to_host16(hdr->frame_control);
130 event.tx_status.type = WLAN_FC_GET_TYPE(fc);
131 event.tx_status.stype = WLAN_FC_GET_STYPE(fc);
143 u16 fc, type, stype;
157 fc = le_to_host16(hdr->frame_control);
158 type = WLAN_FC_GET_TYPE(fc);
159 stype = WLAN_FC_GET_STYPE(fc);
166 ver = fc & WLAN_FC_PVER;