Lines Matching refs:mode
145 local->scan_beacon_req.mhr.dest.mode = IEEE802154_ADDR_SHORT; in mac802154_scan_prepare_beacon_req()
321 if (unlikely(src->mode == IEEE802154_ADDR_NONE)) in mac802154_process_beacon()
493 local->beacon.mhr.source.mode = IEEE802154_ADDR_LONG; in mac802154_send_beacons_locked()
532 frame.mhr.fc.dest_addr_mode = (coord->mode == IEEE802154_ADDR_LONG) ? in mac802154_perform_association()
536 frame.mhr.source.mode = IEEE802154_ADDR_LONG; in mac802154_perform_association()
539 frame.mhr.dest.mode = coord->mode; in mac802154_perform_association()
541 if (coord->mode == IEEE802154_ADDR_LONG) in mac802154_perform_association()
622 if (unlikely(src->mode != IEEE802154_EXTENDED_ADDRESSING || in mac802154_process_association_resp()
623 dest->mode != IEEE802154_EXTENDED_ADDRESSING)) in mac802154_process_association_resp()
659 frame.mhr.fc.dest_addr_mode = (target->mode == IEEE802154_ADDR_LONG) ? in mac802154_send_disassociation_notif()
663 frame.mhr.source.mode = IEEE802154_ADDR_LONG; in mac802154_send_disassociation_notif()
666 frame.mhr.dest.mode = target->mode; in mac802154_send_disassociation_notif()
668 if (target->mode == IEEE802154_ADDR_LONG) in mac802154_send_disassociation_notif()
723 frame.mhr.source.mode = IEEE802154_ADDR_LONG; in mac802154_send_association_resp_locked()
725 frame.mhr.dest.mode = IEEE802154_ADDR_LONG; in mac802154_send_association_resp_locked()
773 if (unlikely(src->mode != IEEE802154_EXTENDED_ADDRESSING)) in mac802154_process_association_req()
779 if (dest->mode == IEEE802154_EXTENDED_ADDRESSING && in mac802154_process_association_req()
782 else if (dest->mode == IEEE802154_SHORT_ADDRESSING && in mac802154_process_association_req()
808 child->mode = IEEE802154_EXTENDED_ADDRESSING; in mac802154_process_association_req()
825 child->mode = IEEE802154_SHORT_ADDRESSING; in mac802154_process_association_req()
847 tmp.mode = child->mode; in mac802154_process_association_req()
878 if (unlikely(src->mode != IEEE802154_EXTENDED_ADDRESSING)) in mac802154_process_disassociation_notif()
881 if (dest->mode == IEEE802154_EXTENDED_ADDRESSING && in mac802154_process_disassociation_notif()
884 else if (dest->mode == IEEE802154_SHORT_ADDRESSING && in mac802154_process_disassociation_notif()
891 target.mode = IEEE802154_EXTENDED_ADDRESSING; in mac802154_process_disassociation_notif()