Lines Matching refs:scan_req
56 request = rcu_replace_pointer(local->scan_req, NULL, 1); in mac802154_scan_cleanup_locked()
118 struct cfg802154_scan_request *scan_req, in mac802154_scan_get_next_channel() argument
122 *channel = find_next_bit((const unsigned long *)&scan_req->channels, in mac802154_scan_get_next_channel()
128 struct cfg802154_scan_request *scan_req, in mac802154_scan_find_next_chan() argument
131 mac802154_scan_get_next_channel(local, scan_req, channel); in mac802154_scan_find_next_chan()
178 struct cfg802154_scan_request *scan_req; in mac802154_scan_worker() local
196 scan_req = rcu_dereference(local->scan_req); in mac802154_scan_worker()
197 if (unlikely(!scan_req)) { in mac802154_scan_worker()
202 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(scan_req->wpan_dev); in mac802154_scan_worker()
212 wpan_phy = scan_req->wpan_phy; in mac802154_scan_worker()
213 scan_req_type = scan_req->type; in mac802154_scan_worker()
214 scan_req_duration = scan_req->duration; in mac802154_scan_worker()
220 ret = mac802154_scan_find_next_chan(local, scan_req, page, &channel); in mac802154_scan_worker()
225 } while (!ieee802154_chan_is_valid(scan_req->wpan_phy, page, channel)); in mac802154_scan_worker()
288 rcu_assign_pointer(local->scan_req, request); in mac802154_trigger_scan_locked()
315 struct cfg802154_scan_request *scan_req; in mac802154_process_beacon() local
338 scan_req = rcu_dereference(local->scan_req); in mac802154_process_beacon()
339 if (likely(scan_req)) in mac802154_process_beacon()
340 nl802154_scan_event(scan_req->wpan_phy, scan_req->wpan_dev, &desc); in mac802154_process_beacon()