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