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
195 scan_req = rcu_dereference(local->scan_req); in mac802154_scan_worker()
196 if (unlikely(!scan_req)) { in mac802154_scan_worker()
201 sdata = IEEE802154_WPAN_DEV_TO_SUB_IF(scan_req->wpan_dev); in mac802154_scan_worker()
211 wpan_phy = scan_req->wpan_phy; in mac802154_scan_worker()
212 scan_req_duration = scan_req->duration; in mac802154_scan_worker()
218 ret = mac802154_scan_find_next_chan(local, scan_req, page, &channel); in mac802154_scan_worker()
223 } while (!ieee802154_chan_is_valid(scan_req->wpan_phy, page, channel)); in mac802154_scan_worker()
249 if (scan_req->type == NL802154_SCAN_ACTIVE) { in mac802154_scan_worker()
286 rcu_assign_pointer(local->scan_req, request); in mac802154_trigger_scan_locked()
313 struct cfg802154_scan_request *scan_req; in mac802154_process_beacon() local
336 scan_req = rcu_dereference(local->scan_req); in mac802154_process_beacon()
337 if (likely(scan_req)) in mac802154_process_beacon()
338 nl802154_scan_event(scan_req->wpan_phy, scan_req->wpan_dev, &desc); in mac802154_process_beacon()