Home
last modified time | relevance | path

Searched refs:mhr (Results 1 – 3 of 3) sorted by relevance

/linux/net/mac802154/
H A Dscan.c141 local->scan_beacon_req.mhr.fc.type = IEEE802154_FC_TYPE_MAC_CMD; in mac802154_scan_prepare_beacon_req()
142 local->scan_beacon_req.mhr.fc.dest_addr_mode = IEEE802154_SHORT_ADDRESSING; in mac802154_scan_prepare_beacon_req()
143 local->scan_beacon_req.mhr.fc.version = IEEE802154_2003_STD; in mac802154_scan_prepare_beacon_req()
144 local->scan_beacon_req.mhr.fc.source_addr_mode = IEEE802154_NO_ADDRESSING; in mac802154_scan_prepare_beacon_req()
145 local->scan_beacon_req.mhr.dest.mode = IEEE802154_ADDR_SHORT; in mac802154_scan_prepare_beacon_req()
146 local->scan_beacon_req.mhr.dest.pan_id = cpu_to_le16(IEEE802154_PANID_BROADCAST); in mac802154_scan_prepare_beacon_req()
147 local->scan_beacon_req.mhr.dest.short_addr = cpu_to_le16(IEEE802154_ADDR_BROADCAST); in mac802154_scan_prepare_beacon_req()
355 local->beacon.mhr.seq = atomic_inc_return(&wpan_dev->bsn) & 0xFF; in mac802154_transmit_beacon()
484 local->beacon.mhr.fc.type = IEEE802154_FC_TYPE_BEACON; in mac802154_send_beacons_locked()
485 local->beacon.mhr.fc.security_enabled = 0; in mac802154_send_beacons_locked()
[all …]
/linux/net/ieee802154/
H A Dheader_ops.c128 struct ieee802154_hdr *mhr = &frame->mhr; in ieee802154_mac_cmd_push() local
131 skb_reserve(skb, sizeof(*mhr)); in ieee802154_mac_cmd_push()
132 ret = ieee802154_hdr_push(skb, mhr); in ieee802154_mac_cmd_push()
150 struct ieee802154_hdr *mhr = &beacon->mhr; in ieee802154_beacon_push() local
153 skb_reserve(skb, sizeof(*mhr)); in ieee802154_beacon_push()
154 ret = ieee802154_hdr_push(skb, mhr); in ieee802154_beacon_push()
/linux/include/net/
H A Dieee802154_netdev.h194 struct ieee802154_hdr mhr; member
199 struct ieee802154_hdr mhr; member
204 struct ieee802154_hdr mhr; member
209 struct ieee802154_hdr mhr; member
215 struct ieee802154_hdr mhr; member
221 struct ieee802154_hdr mhr; member