Home
last modified time | relevance | path

Searched refs:mac_pl (Results 1 – 4 of 4) sorted by relevance

/linux/net/ieee802154/
H A Dheader_ops.c127 struct ieee802154_mac_cmd_pl *mac_pl = &frame->mac_pl; in ieee802154_mac_cmd_push() local
139 skb_put_data(skb, mac_pl, sizeof(*mac_pl)); in ieee802154_mac_cmd_push()
149 struct ieee802154_beacon_hdr *mac_pl = &beacon->mac_pl; in ieee802154_beacon_push() local
161 skb_put_data(skb, mac_pl, sizeof(*mac_pl)); in ieee802154_beacon_push()
163 if (mac_pl->pend_short_addr_count || mac_pl->pend_ext_addr_count) in ieee802154_beacon_push()
311 struct ieee802154_mac_cmd_pl *mac_pl) in ieee802154_mac_cmd_pl_pull() argument
313 if (!pskb_may_pull(skb, sizeof(*mac_pl))) in ieee802154_mac_cmd_pl_pull()
316 memcpy(mac_pl, skb->data, sizeof(*mac_pl)); in ieee802154_mac_cmd_pl_pull()
317 skb_pull(skb, sizeof(*mac_pl)); in ieee802154_mac_cmd_pl_pull()
/linux/include/net/
H A Dieee802154_netdev.h195 struct ieee802154_beacon_hdr mac_pl; member
200 struct ieee802154_mac_cmd_pl mac_pl; member
205 struct ieee802154_mac_cmd_pl mac_pl; member
210 struct ieee802154_mac_cmd_pl mac_pl; member
216 struct ieee802154_mac_cmd_pl mac_pl; member
222 struct ieee802154_mac_cmd_pl mac_pl; member
257 struct ieee802154_mac_cmd_pl *mac_pl);
/linux/net/mac802154/
H A Dscan.c148 local->scan_beacon_req.mac_pl.cmd_id = IEEE802154_CMD_BEACON_REQ; in mac802154_scan_prepare_beacon_req()
496 local->beacon.mac_pl.beacon_order = request->interval; in mac802154_send_beacons_locked()
498 local->beacon.mac_pl.superframe_order = request->interval; in mac802154_send_beacons_locked()
499 local->beacon.mac_pl.final_cap_slot = 0xf; in mac802154_send_beacons_locked()
500 local->beacon.mac_pl.battery_life_ext = 0; in mac802154_send_beacons_locked()
501 local->beacon.mac_pl.pan_coordinator = !wpan_dev->parent; in mac802154_send_beacons_locked()
502 local->beacon.mac_pl.assoc_permit = 1; in mac802154_send_beacons_locked()
546 frame.mac_pl.cmd_id = IEEE802154_CMD_ASSOCIATION_REQ; in mac802154_perform_association()
673 frame.mac_pl.cmd_id = IEEE802154_CMD_DISASSOCIATION_NOTIFY; in mac802154_send_disassociation_notif()
729 frame.mac_pl.cmd_id = IEEE802154_CMD_ASSOCIATION_RESP; in mac802154_send_association_resp_locked()
H A Dieee802154_i.h170 struct ieee802154_mac_cmd_pl mac_pl; in ieee802154_get_mac_cmd() local
176 ret = ieee802154_mac_cmd_pl_pull(skb, &mac_pl); in ieee802154_get_mac_cmd()
180 *mac_cmd = mac_pl.cmd_id; in ieee802154_get_mac_cmd()