• Home
  • Raw
  • Download

Lines Matching refs:fc

266 static inline bool ieee80211_has_tods(__le16 fc)  in ieee80211_has_tods()  argument
268 return (fc & cpu_to_le16(IEEE80211_FCTL_TODS)) != 0; in ieee80211_has_tods()
275 static inline bool ieee80211_has_fromds(__le16 fc) in ieee80211_has_fromds() argument
277 return (fc & cpu_to_le16(IEEE80211_FCTL_FROMDS)) != 0; in ieee80211_has_fromds()
284 static inline bool ieee80211_has_a4(__le16 fc) in ieee80211_has_a4() argument
287 return (fc & tmp) == tmp; in ieee80211_has_a4()
294 static inline bool ieee80211_has_morefrags(__le16 fc) in ieee80211_has_morefrags() argument
296 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREFRAGS)) != 0; in ieee80211_has_morefrags()
303 static inline bool ieee80211_has_retry(__le16 fc) in ieee80211_has_retry() argument
305 return (fc & cpu_to_le16(IEEE80211_FCTL_RETRY)) != 0; in ieee80211_has_retry()
312 static inline bool ieee80211_has_pm(__le16 fc) in ieee80211_has_pm() argument
314 return (fc & cpu_to_le16(IEEE80211_FCTL_PM)) != 0; in ieee80211_has_pm()
321 static inline bool ieee80211_has_moredata(__le16 fc) in ieee80211_has_moredata() argument
323 return (fc & cpu_to_le16(IEEE80211_FCTL_MOREDATA)) != 0; in ieee80211_has_moredata()
330 static inline bool ieee80211_has_protected(__le16 fc) in ieee80211_has_protected() argument
332 return (fc & cpu_to_le16(IEEE80211_FCTL_PROTECTED)) != 0; in ieee80211_has_protected()
339 static inline bool ieee80211_has_order(__le16 fc) in ieee80211_has_order() argument
341 return (fc & cpu_to_le16(IEEE80211_FCTL_ORDER)) != 0; in ieee80211_has_order()
348 static inline bool ieee80211_is_mgmt(__le16 fc) in ieee80211_is_mgmt() argument
350 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == in ieee80211_is_mgmt()
358 static inline bool ieee80211_is_ctl(__le16 fc) in ieee80211_is_ctl() argument
360 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == in ieee80211_is_ctl()
368 static inline bool ieee80211_is_data(__le16 fc) in ieee80211_is_data() argument
370 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE)) == in ieee80211_is_data()
378 static inline bool ieee80211_is_data_qos(__le16 fc) in ieee80211_is_data_qos() argument
384 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_STYPE_QOS_DATA)) == in ieee80211_is_data_qos()
392 static inline bool ieee80211_is_data_present(__le16 fc) in ieee80211_is_data_present() argument
398 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | 0x40)) == in ieee80211_is_data_present()
406 static inline bool ieee80211_is_assoc_req(__le16 fc) in ieee80211_is_assoc_req() argument
408 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_assoc_req()
416 static inline bool ieee80211_is_assoc_resp(__le16 fc) in ieee80211_is_assoc_resp() argument
418 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_assoc_resp()
426 static inline bool ieee80211_is_reassoc_req(__le16 fc) in ieee80211_is_reassoc_req() argument
428 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_reassoc_req()
436 static inline bool ieee80211_is_reassoc_resp(__le16 fc) in ieee80211_is_reassoc_resp() argument
438 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_reassoc_resp()
446 static inline bool ieee80211_is_probe_req(__le16 fc) in ieee80211_is_probe_req() argument
448 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_probe_req()
456 static inline bool ieee80211_is_probe_resp(__le16 fc) in ieee80211_is_probe_resp() argument
458 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_probe_resp()
466 static inline bool ieee80211_is_beacon(__le16 fc) in ieee80211_is_beacon() argument
468 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_beacon()
476 static inline bool ieee80211_is_atim(__le16 fc) in ieee80211_is_atim() argument
478 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_atim()
486 static inline bool ieee80211_is_disassoc(__le16 fc) in ieee80211_is_disassoc() argument
488 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_disassoc()
496 static inline bool ieee80211_is_auth(__le16 fc) in ieee80211_is_auth() argument
498 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_auth()
506 static inline bool ieee80211_is_deauth(__le16 fc) in ieee80211_is_deauth() argument
508 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_deauth()
516 static inline bool ieee80211_is_action(__le16 fc) in ieee80211_is_action() argument
518 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_action()
526 static inline bool ieee80211_is_back_req(__le16 fc) in ieee80211_is_back_req() argument
528 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_back_req()
536 static inline bool ieee80211_is_back(__le16 fc) in ieee80211_is_back() argument
538 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_back()
546 static inline bool ieee80211_is_pspoll(__le16 fc) in ieee80211_is_pspoll() argument
548 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_pspoll()
556 static inline bool ieee80211_is_rts(__le16 fc) in ieee80211_is_rts() argument
558 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_rts()
566 static inline bool ieee80211_is_cts(__le16 fc) in ieee80211_is_cts() argument
568 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_cts()
576 static inline bool ieee80211_is_ack(__le16 fc) in ieee80211_is_ack() argument
578 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_ack()
586 static inline bool ieee80211_is_cfend(__le16 fc) in ieee80211_is_cfend() argument
588 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_cfend()
596 static inline bool ieee80211_is_cfendack(__le16 fc) in ieee80211_is_cfendack() argument
598 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_cfendack()
606 static inline bool ieee80211_is_nullfunc(__le16 fc) in ieee80211_is_nullfunc() argument
608 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_nullfunc()
616 static inline bool ieee80211_is_qos_nullfunc(__le16 fc) in ieee80211_is_qos_nullfunc() argument
618 return (fc & cpu_to_le16(IEEE80211_FCTL_FTYPE | IEEE80211_FCTL_STYPE)) == in ieee80211_is_qos_nullfunc()
626 static inline bool ieee80211_is_bufferable_mmpdu(__le16 fc) in ieee80211_is_bufferable_mmpdu() argument
630 return ieee80211_is_mgmt(fc) && in ieee80211_is_bufferable_mmpdu()
631 (ieee80211_is_action(fc) || in ieee80211_is_bufferable_mmpdu()
632 ieee80211_is_disassoc(fc) || in ieee80211_is_bufferable_mmpdu()
633 ieee80211_is_deauth(fc)); in ieee80211_is_bufferable_mmpdu()