Lines Matching refs:sdata

45 					 struct ieee802154_sub_if_data *sdata,  in mac802154_scan_cleanup_locked()  argument
48 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_scan_cleanup_locked()
78 sdata->required_filtering = sdata->iface_default_filtering; in mac802154_scan_cleanup_locked()
79 drv_start(local, sdata->required_filtering, &local->addr_filt); in mac802154_scan_cleanup_locked()
85 struct ieee802154_sub_if_data *sdata) in mac802154_abort_scan_locked() argument
92 return mac802154_scan_cleanup_locked(local, sdata, true); in mac802154_abort_scan_locked()
154 struct ieee802154_sub_if_data *sdata) in mac802154_transmit_beacon_req() argument
163 skb->dev = sdata->dev; in mac802154_transmit_beacon_req()
171 return ieee802154_mlme_tx(local, sdata, skb); in mac802154_transmit_beacon_req()
180 struct ieee802154_sub_if_data *sdata; in mac802154_scan_worker() local
202 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(scan_req->wpan_dev); in mac802154_scan_worker()
205 if (local->suspended || !ieee802154_sdata_running(sdata)) { in mac802154_scan_worker()
234 dev_err(&sdata->dev->dev, in mac802154_scan_worker()
246 dev_err(&sdata->dev->dev, in mac802154_scan_worker()
252 ret = mac802154_transmit_beacon_req(local, sdata); in mac802154_scan_worker()
254 dev_err(&sdata->dev->dev, in mac802154_scan_worker()
261 dev_dbg(&sdata->dev->dev, in mac802154_scan_worker()
269 mac802154_scan_cleanup_locked(local, sdata, false); in mac802154_scan_worker()
273 int mac802154_trigger_scan_locked(struct ieee802154_sub_if_data *sdata, in mac802154_trigger_scan_locked() argument
276 struct ieee802154_local *local = sdata->local; in mac802154_trigger_scan_locked()
295 sdata->required_filtering = IEEE802154_FILTERING_3_SCAN; in mac802154_trigger_scan_locked()
350 struct ieee802154_sub_if_data *sdata; in mac802154_transmit_beacon() local
369 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(beacon_req->wpan_dev); in mac802154_transmit_beacon()
370 skb->dev = sdata->dev; in mac802154_transmit_beacon()
398 return ieee802154_mlme_tx(local, sdata, skb); in mac802154_transmit_beacon()
406 struct ieee802154_sub_if_data *sdata; in mac802154_beacon_worker() local
418 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(beacon_req->wpan_dev); in mac802154_beacon_worker()
421 if (local->suspended || !ieee802154_sdata_running(sdata)) { in mac802154_beacon_worker()
433 dev_dbg(&sdata->dev->dev, "Sending beacon\n"); in mac802154_beacon_worker()
436 dev_err(&sdata->dev->dev, in mac802154_beacon_worker()
445 struct ieee802154_sub_if_data *sdata) in mac802154_stop_beacons_locked() argument
447 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_stop_beacons_locked()
467 int mac802154_send_beacons_locked(struct ieee802154_sub_if_data *sdata, in mac802154_send_beacons_locked() argument
470 struct ieee802154_local *local = sdata->local; in mac802154_send_beacons_locked()
471 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_send_beacons_locked()
476 mac802154_stop_beacons_locked(local, sdata); in mac802154_send_beacons_locked()
516 int mac802154_perform_association(struct ieee802154_sub_if_data *sdata, in mac802154_perform_association() argument
522 struct ieee802154_local *local = sdata->local; in mac802154_perform_association()
523 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_perform_association()
557 skb->dev = sdata->dev; in mac802154_perform_association()
570 ret = ieee802154_mlme_tx_one_locked(local, sdata, skb); in mac802154_perform_association()
574 dev_warn(&sdata->dev->dev, in mac802154_perform_association()
581 dev_warn(&sdata->dev->dev, in mac802154_perform_association()
593 dev_warn(&sdata->dev->dev, in mac802154_perform_association()
609 int mac802154_process_association_resp(struct ieee802154_sub_if_data *sdata, in mac802154_process_association_resp() argument
615 struct ieee802154_local *local = sdata->local; in mac802154_process_association_resp()
616 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_process_association_resp()
643 int mac802154_send_disassociation_notif(struct ieee802154_sub_if_data *sdata, in mac802154_send_disassociation_notif() argument
649 struct ieee802154_local *local = sdata->local; in mac802154_send_disassociation_notif()
650 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_send_disassociation_notif()
681 skb->dev = sdata->dev; in mac802154_send_disassociation_notif()
690 ret = ieee802154_mlme_tx_one_locked(local, sdata, skb); in mac802154_send_disassociation_notif()
692 dev_warn(&sdata->dev->dev, in mac802154_send_disassociation_notif()
699 dev_dbg(&sdata->dev->dev, "DISASSOC ACK received from %8phC\n", &teaddr); in mac802154_send_disassociation_notif()
704 mac802154_send_association_resp_locked(struct ieee802154_sub_if_data *sdata, in mac802154_send_association_resp_locked() argument
710 struct ieee802154_local *local = sdata->local; in mac802154_send_association_resp_locked()
711 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_send_association_resp_locked()
736 skb->dev = sdata->dev; in mac802154_send_association_resp_locked()
745 ret = ieee802154_mlme_tx_locked(local, sdata, skb); in mac802154_send_association_resp_locked()
747 dev_warn(&sdata->dev->dev, in mac802154_send_association_resp_locked()
757 int mac802154_process_association_req(struct ieee802154_sub_if_data *sdata, in mac802154_process_association_req() argument
760 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_process_association_req()
787 dev_dbg(&sdata->dev->dev, in mac802154_process_association_req()
817 dev_dbg(&sdata->dev->dev, in mac802154_process_association_req()
830 dev_dbg(&sdata->dev->dev, in mac802154_process_association_req()
835 ret = mac802154_send_association_resp_locked(sdata, child, &assoc_resp_pl); in mac802154_process_association_req()
841 dev_dbg(&sdata->dev->dev, in mac802154_process_association_req()
851 dev_dbg(&sdata->dev->dev, in mac802154_process_association_req()
864 int mac802154_process_disassociation_notif(struct ieee802154_sub_if_data *sdata, in mac802154_process_disassociation_notif() argument
869 struct wpan_dev *wpan_dev = &sdata->wpan_dev; in mac802154_process_disassociation_notif()