Lines Matching full:local

16 	WARN_ONCE(!sdata->local->reconfig_failure &&				\
33 static inline void drv_tx(struct ieee80211_local *local, in drv_tx() argument
37 local->ops->tx(&local->hw, control, skb); in drv_tx()
40 static inline void drv_sync_rx_queues(struct ieee80211_local *local, in drv_sync_rx_queues() argument
44 lockdep_assert_wiphy(local->hw.wiphy); in drv_sync_rx_queues()
46 if (local->ops->sync_rx_queues) { in drv_sync_rx_queues()
47 trace_drv_sync_rx_queues(local, sta->sdata, &sta->sta); in drv_sync_rx_queues()
48 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues()
49 trace_drv_return_void(local); in drv_sync_rx_queues()
56 struct ieee80211_local *local = sdata->local; in drv_get_et_strings() local
57 if (local->ops->get_et_strings) { in drv_get_et_strings()
58 trace_drv_get_et_strings(local, sset); in drv_get_et_strings()
59 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings()
60 trace_drv_return_void(local); in drv_get_et_strings()
68 struct ieee80211_local *local = sdata->local; in drv_get_et_stats() local
69 if (local->ops->get_et_stats) { in drv_get_et_stats()
70 trace_drv_get_et_stats(local); in drv_get_et_stats()
71 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats()
72 trace_drv_return_void(local); in drv_get_et_stats()
79 struct ieee80211_local *local = sdata->local; in drv_get_et_sset_count() local
81 if (local->ops->get_et_sset_count) { in drv_get_et_sset_count()
82 trace_drv_get_et_sset_count(local, sset); in drv_get_et_sset_count()
83 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count()
85 trace_drv_return_int(local, rv); in drv_get_et_sset_count()
90 int drv_start(struct ieee80211_local *local);
91 void drv_stop(struct ieee80211_local *local, bool suspend);
94 static inline int drv_suspend(struct ieee80211_local *local, in drv_suspend() argument
100 lockdep_assert_wiphy(local->hw.wiphy); in drv_suspend()
102 trace_drv_suspend(local); in drv_suspend()
103 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend()
104 trace_drv_return_int(local, ret); in drv_suspend()
108 static inline int drv_resume(struct ieee80211_local *local) in drv_resume() argument
113 lockdep_assert_wiphy(local->hw.wiphy); in drv_resume()
115 trace_drv_resume(local); in drv_resume()
116 ret = local->ops->resume(&local->hw); in drv_resume()
117 trace_drv_return_int(local, ret); in drv_resume()
121 static inline void drv_set_wakeup(struct ieee80211_local *local, in drv_set_wakeup() argument
125 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_wakeup()
127 if (!local->ops->set_wakeup) in drv_set_wakeup()
130 trace_drv_set_wakeup(local, enabled); in drv_set_wakeup()
131 local->ops->set_wakeup(&local->hw, enabled); in drv_set_wakeup()
132 trace_drv_return_void(local); in drv_set_wakeup()
136 int drv_add_interface(struct ieee80211_local *local,
139 int drv_change_interface(struct ieee80211_local *local,
143 void drv_remove_interface(struct ieee80211_local *local,
146 static inline int drv_config(struct ieee80211_local *local, u32 changed) in drv_config() argument
151 lockdep_assert_wiphy(local->hw.wiphy); in drv_config()
153 trace_drv_config(local, changed); in drv_config()
154 ret = local->ops->config(&local->hw, changed); in drv_config()
155 trace_drv_return_int(local, ret); in drv_config()
159 static inline void drv_vif_cfg_changed(struct ieee80211_local *local, in drv_vif_cfg_changed() argument
164 lockdep_assert_wiphy(local->hw.wiphy); in drv_vif_cfg_changed()
169 trace_drv_vif_cfg_changed(local, sdata, changed); in drv_vif_cfg_changed()
170 if (local->ops->vif_cfg_changed) in drv_vif_cfg_changed()
171 local->ops->vif_cfg_changed(&local->hw, &sdata->vif, changed); in drv_vif_cfg_changed()
172 else if (local->ops->bss_info_changed) in drv_vif_cfg_changed()
173 local->ops->bss_info_changed(&local->hw, &sdata->vif, in drv_vif_cfg_changed()
175 trace_drv_return_void(local); in drv_vif_cfg_changed()
178 void drv_link_info_changed(struct ieee80211_local *local,
183 static inline u64 drv_prepare_multicast(struct ieee80211_local *local, in drv_prepare_multicast() argument
188 trace_drv_prepare_multicast(local, mc_list->count); in drv_prepare_multicast()
190 if (local->ops->prepare_multicast) in drv_prepare_multicast()
191 ret = local->ops->prepare_multicast(&local->hw, mc_list); in drv_prepare_multicast()
193 trace_drv_return_u64(local, ret); in drv_prepare_multicast()
198 static inline void drv_configure_filter(struct ieee80211_local *local, in drv_configure_filter() argument
204 lockdep_assert_wiphy(local->hw.wiphy); in drv_configure_filter()
206 trace_drv_configure_filter(local, changed_flags, total_flags, in drv_configure_filter()
208 local->ops->configure_filter(&local->hw, changed_flags, total_flags, in drv_configure_filter()
210 trace_drv_return_void(local); in drv_configure_filter()
213 static inline void drv_config_iface_filter(struct ieee80211_local *local, in drv_config_iface_filter() argument
219 lockdep_assert_wiphy(local->hw.wiphy); in drv_config_iface_filter()
221 trace_drv_config_iface_filter(local, sdata, filter_flags, in drv_config_iface_filter()
223 if (local->ops->config_iface_filter) in drv_config_iface_filter()
224 local->ops->config_iface_filter(&local->hw, &sdata->vif, in drv_config_iface_filter()
227 trace_drv_return_void(local); in drv_config_iface_filter()
230 static inline int drv_set_tim(struct ieee80211_local *local, in drv_set_tim() argument
234 trace_drv_set_tim(local, sta, set); in drv_set_tim()
235 if (local->ops->set_tim) in drv_set_tim()
236 ret = local->ops->set_tim(&local->hw, sta, set); in drv_set_tim()
237 trace_drv_return_int(local, ret); in drv_set_tim()
241 int drv_set_key(struct ieee80211_local *local,
247 static inline void drv_update_tkip_key(struct ieee80211_local *local, in drv_update_tkip_key() argument
262 trace_drv_update_tkip_key(local, sdata, conf, ista, iv32); in drv_update_tkip_key()
263 if (local->ops->update_tkip_key) in drv_update_tkip_key()
264 local->ops->update_tkip_key(&local->hw, &sdata->vif, conf, in drv_update_tkip_key()
266 trace_drv_return_void(local); in drv_update_tkip_key()
269 static inline int drv_hw_scan(struct ieee80211_local *local, in drv_hw_scan() argument
276 lockdep_assert_wiphy(local->hw.wiphy); in drv_hw_scan()
281 trace_drv_hw_scan(local, sdata); in drv_hw_scan()
282 ret = local->ops->hw_scan(&local->hw, &sdata->vif, req); in drv_hw_scan()
283 trace_drv_return_int(local, ret); in drv_hw_scan()
287 static inline void drv_cancel_hw_scan(struct ieee80211_local *local, in drv_cancel_hw_scan() argument
291 lockdep_assert_wiphy(local->hw.wiphy); in drv_cancel_hw_scan()
296 trace_drv_cancel_hw_scan(local, sdata); in drv_cancel_hw_scan()
297 local->ops->cancel_hw_scan(&local->hw, &sdata->vif); in drv_cancel_hw_scan()
298 trace_drv_return_void(local); in drv_cancel_hw_scan()
302 drv_sched_scan_start(struct ieee80211_local *local, in drv_sched_scan_start() argument
310 lockdep_assert_wiphy(local->hw.wiphy); in drv_sched_scan_start()
315 trace_drv_sched_scan_start(local, sdata); in drv_sched_scan_start()
316 ret = local->ops->sched_scan_start(&local->hw, &sdata->vif, in drv_sched_scan_start()
318 trace_drv_return_int(local, ret); in drv_sched_scan_start()
322 static inline int drv_sched_scan_stop(struct ieee80211_local *local, in drv_sched_scan_stop() argument
328 lockdep_assert_wiphy(local->hw.wiphy); in drv_sched_scan_stop()
333 trace_drv_sched_scan_stop(local, sdata); in drv_sched_scan_stop()
334 ret = local->ops->sched_scan_stop(&local->hw, &sdata->vif); in drv_sched_scan_stop()
335 trace_drv_return_int(local, ret); in drv_sched_scan_stop()
340 static inline void drv_sw_scan_start(struct ieee80211_local *local, in drv_sw_scan_start() argument
345 lockdep_assert_wiphy(local->hw.wiphy); in drv_sw_scan_start()
347 trace_drv_sw_scan_start(local, sdata, mac_addr); in drv_sw_scan_start()
348 if (local->ops->sw_scan_start) in drv_sw_scan_start()
349 local->ops->sw_scan_start(&local->hw, &sdata->vif, mac_addr); in drv_sw_scan_start()
350 trace_drv_return_void(local); in drv_sw_scan_start()
353 static inline void drv_sw_scan_complete(struct ieee80211_local *local, in drv_sw_scan_complete() argument
357 lockdep_assert_wiphy(local->hw.wiphy); in drv_sw_scan_complete()
359 trace_drv_sw_scan_complete(local, sdata); in drv_sw_scan_complete()
360 if (local->ops->sw_scan_complete) in drv_sw_scan_complete()
361 local->ops->sw_scan_complete(&local->hw, &sdata->vif); in drv_sw_scan_complete()
362 trace_drv_return_void(local); in drv_sw_scan_complete()
365 static inline int drv_get_stats(struct ieee80211_local *local, in drv_get_stats() argument
371 lockdep_assert_wiphy(local->hw.wiphy); in drv_get_stats()
373 if (local->ops->get_stats) in drv_get_stats()
374 ret = local->ops->get_stats(&local->hw, stats); in drv_get_stats()
375 trace_drv_get_stats(local, stats, ret); in drv_get_stats()
380 static inline void drv_get_key_seq(struct ieee80211_local *local, in drv_get_key_seq() argument
384 if (local->ops->get_key_seq) in drv_get_key_seq()
385 local->ops->get_key_seq(&local->hw, &key->conf, seq); in drv_get_key_seq()
386 trace_drv_get_key_seq(local, &key->conf); in drv_get_key_seq()
389 static inline int drv_set_frag_threshold(struct ieee80211_local *local, in drv_set_frag_threshold() argument
395 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_frag_threshold()
397 trace_drv_set_frag_threshold(local, value); in drv_set_frag_threshold()
398 if (local->ops->set_frag_threshold) in drv_set_frag_threshold()
399 ret = local->ops->set_frag_threshold(&local->hw, value); in drv_set_frag_threshold()
400 trace_drv_return_int(local, ret); in drv_set_frag_threshold()
404 static inline int drv_set_rts_threshold(struct ieee80211_local *local, in drv_set_rts_threshold() argument
410 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_rts_threshold()
412 trace_drv_set_rts_threshold(local, value); in drv_set_rts_threshold()
413 if (local->ops->set_rts_threshold) in drv_set_rts_threshold()
414 ret = local->ops->set_rts_threshold(&local->hw, value); in drv_set_rts_threshold()
415 trace_drv_return_int(local, ret); in drv_set_rts_threshold()
419 static inline int drv_set_coverage_class(struct ieee80211_local *local, in drv_set_coverage_class() argument
424 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_coverage_class()
426 trace_drv_set_coverage_class(local, value); in drv_set_coverage_class()
427 if (local->ops->set_coverage_class) in drv_set_coverage_class()
428 local->ops->set_coverage_class(&local->hw, value); in drv_set_coverage_class()
432 trace_drv_return_int(local, ret); in drv_set_coverage_class()
436 static inline void drv_sta_notify(struct ieee80211_local *local, in drv_sta_notify() argument
445 trace_drv_sta_notify(local, sdata, cmd, sta); in drv_sta_notify()
446 if (local->ops->sta_notify) in drv_sta_notify()
447 local->ops->sta_notify(&local->hw, &sdata->vif, cmd, sta); in drv_sta_notify()
448 trace_drv_return_void(local); in drv_sta_notify()
451 static inline int drv_sta_add(struct ieee80211_local *local, in drv_sta_add() argument
458 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_add()
464 trace_drv_sta_add(local, sdata, sta); in drv_sta_add()
465 if (local->ops->sta_add) in drv_sta_add()
466 ret = local->ops->sta_add(&local->hw, &sdata->vif, sta); in drv_sta_add()
468 trace_drv_return_int(local, ret); in drv_sta_add()
473 static inline void drv_sta_remove(struct ieee80211_local *local, in drv_sta_remove() argument
478 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_remove()
484 trace_drv_sta_remove(local, sdata, sta); in drv_sta_remove()
485 if (local->ops->sta_remove) in drv_sta_remove()
486 local->ops->sta_remove(&local->hw, &sdata->vif, sta); in drv_sta_remove()
488 trace_drv_return_void(local); in drv_sta_remove()
492 static inline void drv_vif_add_debugfs(struct ieee80211_local *local, in drv_vif_add_debugfs() argument
505 if (local->ops->vif_add_debugfs) in drv_vif_add_debugfs()
506 local->ops->vif_add_debugfs(&local->hw, &sdata->vif); in drv_vif_add_debugfs()
509 static inline void drv_link_add_debugfs(struct ieee80211_local *local, in drv_link_add_debugfs() argument
515 lockdep_assert_wiphy(local->hw.wiphy); in drv_link_add_debugfs()
521 if (local->ops->link_add_debugfs) in drv_link_add_debugfs()
522 local->ops->link_add_debugfs(&local->hw, &sdata->vif, in drv_link_add_debugfs()
526 static inline void drv_sta_add_debugfs(struct ieee80211_local *local, in drv_sta_add_debugfs() argument
532 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_add_debugfs()
538 if (local->ops->sta_add_debugfs) in drv_sta_add_debugfs()
539 local->ops->sta_add_debugfs(&local->hw, &sdata->vif, in drv_sta_add_debugfs()
543 static inline void drv_link_sta_add_debugfs(struct ieee80211_local *local, in drv_link_sta_add_debugfs() argument
549 lockdep_assert_wiphy(local->hw.wiphy); in drv_link_sta_add_debugfs()
555 if (local->ops->link_sta_add_debugfs) in drv_link_sta_add_debugfs()
556 local->ops->link_sta_add_debugfs(&local->hw, &sdata->vif, in drv_link_sta_add_debugfs()
560 static inline void drv_vif_add_debugfs(struct ieee80211_local *local, in drv_vif_add_debugfs() argument
567 static inline void drv_sta_pre_rcu_remove(struct ieee80211_local *local, in drv_sta_pre_rcu_remove() argument
572 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_pre_rcu_remove()
578 trace_drv_sta_pre_rcu_remove(local, sdata, &sta->sta); in drv_sta_pre_rcu_remove()
579 if (local->ops->sta_pre_rcu_remove) in drv_sta_pre_rcu_remove()
580 local->ops->sta_pre_rcu_remove(&local->hw, &sdata->vif, in drv_sta_pre_rcu_remove()
582 trace_drv_return_void(local); in drv_sta_pre_rcu_remove()
586 int drv_sta_state(struct ieee80211_local *local,
593 int drv_sta_set_txpwr(struct ieee80211_local *local,
597 void drv_link_sta_rc_update(struct ieee80211_local *local,
601 static inline void drv_sta_rate_tbl_update(struct ieee80211_local *local, in drv_sta_rate_tbl_update() argument
609 trace_drv_sta_rate_tbl_update(local, sdata, sta); in drv_sta_rate_tbl_update()
610 if (local->ops->sta_rate_tbl_update) in drv_sta_rate_tbl_update()
611 local->ops->sta_rate_tbl_update(&local->hw, &sdata->vif, sta); in drv_sta_rate_tbl_update()
613 trace_drv_return_void(local); in drv_sta_rate_tbl_update()
616 static inline void drv_sta_statistics(struct ieee80211_local *local, in drv_sta_statistics() argument
622 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_statistics()
628 trace_drv_sta_statistics(local, sdata, sta); in drv_sta_statistics()
629 if (local->ops->sta_statistics) in drv_sta_statistics()
630 local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo); in drv_sta_statistics()
631 trace_drv_return_void(local); in drv_sta_statistics()
634 int drv_conf_tx(struct ieee80211_local *local,
638 u64 drv_get_tsf(struct ieee80211_local *local,
640 void drv_set_tsf(struct ieee80211_local *local,
643 void drv_offset_tsf(struct ieee80211_local *local,
646 void drv_reset_tsf(struct ieee80211_local *local,
649 static inline int drv_tx_last_beacon(struct ieee80211_local *local) in drv_tx_last_beacon() argument
654 lockdep_assert_wiphy(local->hw.wiphy); in drv_tx_last_beacon()
656 trace_drv_tx_last_beacon(local); in drv_tx_last_beacon()
657 if (local->ops->tx_last_beacon) in drv_tx_last_beacon()
658 ret = local->ops->tx_last_beacon(&local->hw); in drv_tx_last_beacon()
659 trace_drv_return_int(local, ret); in drv_tx_last_beacon()
663 int drv_ampdu_action(struct ieee80211_local *local,
667 static inline int drv_get_survey(struct ieee80211_local *local, int idx, in drv_get_survey() argument
673 lockdep_assert_wiphy(local->hw.wiphy); in drv_get_survey()
675 trace_drv_get_survey(local, idx, survey); in drv_get_survey()
677 if (local->ops->get_survey) in drv_get_survey()
678 ret = local->ops->get_survey(&local->hw, idx, survey); in drv_get_survey()
680 trace_drv_return_int(local, ret); in drv_get_survey()
685 static inline void drv_rfkill_poll(struct ieee80211_local *local) in drv_rfkill_poll() argument
688 lockdep_assert_wiphy(local->hw.wiphy); in drv_rfkill_poll()
690 if (local->ops->rfkill_poll) in drv_rfkill_poll()
691 local->ops->rfkill_poll(&local->hw); in drv_rfkill_poll()
694 static inline void drv_flush(struct ieee80211_local *local, in drv_flush() argument
701 lockdep_assert_wiphy(local->hw.wiphy); in drv_flush()
709 trace_drv_flush(local, queues, drop); in drv_flush()
710 if (local->ops->flush) in drv_flush()
711 local->ops->flush(&local->hw, vif, queues, drop); in drv_flush()
712 trace_drv_return_void(local); in drv_flush()
715 static inline void drv_flush_sta(struct ieee80211_local *local, in drv_flush_sta() argument
720 lockdep_assert_wiphy(local->hw.wiphy); in drv_flush_sta()
730 trace_drv_flush_sta(local, sdata, &sta->sta); in drv_flush_sta()
731 if (local->ops->flush_sta) in drv_flush_sta()
732 local->ops->flush_sta(&local->hw, &sdata->vif, &sta->sta); in drv_flush_sta()
733 trace_drv_return_void(local); in drv_flush_sta()
736 static inline void drv_channel_switch(struct ieee80211_local *local, in drv_channel_switch() argument
741 lockdep_assert_wiphy(local->hw.wiphy); in drv_channel_switch()
743 trace_drv_channel_switch(local, sdata, ch_switch); in drv_channel_switch()
744 local->ops->channel_switch(&local->hw, &sdata->vif, ch_switch); in drv_channel_switch()
745 trace_drv_return_void(local); in drv_channel_switch()
749 static inline int drv_set_antenna(struct ieee80211_local *local, in drv_set_antenna() argument
754 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_antenna()
755 if (local->ops->set_antenna) in drv_set_antenna()
756 ret = local->ops->set_antenna(&local->hw, tx_ant, rx_ant); in drv_set_antenna()
757 trace_drv_set_antenna(local, tx_ant, rx_ant, ret); in drv_set_antenna()
761 static inline int drv_get_antenna(struct ieee80211_local *local, in drv_get_antenna() argument
766 lockdep_assert_wiphy(local->hw.wiphy); in drv_get_antenna()
767 if (local->ops->get_antenna) in drv_get_antenna()
768 ret = local->ops->get_antenna(&local->hw, tx_ant, rx_ant); in drv_get_antenna()
769 trace_drv_get_antenna(local, *tx_ant, *rx_ant, ret); in drv_get_antenna()
773 static inline int drv_remain_on_channel(struct ieee80211_local *local, in drv_remain_on_channel() argument
782 lockdep_assert_wiphy(local->hw.wiphy); in drv_remain_on_channel()
784 trace_drv_remain_on_channel(local, sdata, chan, duration, type); in drv_remain_on_channel()
785 ret = local->ops->remain_on_channel(&local->hw, &sdata->vif, in drv_remain_on_channel()
787 trace_drv_return_int(local, ret); in drv_remain_on_channel()
793 drv_cancel_remain_on_channel(struct ieee80211_local *local, in drv_cancel_remain_on_channel() argument
799 lockdep_assert_wiphy(local->hw.wiphy); in drv_cancel_remain_on_channel()
801 trace_drv_cancel_remain_on_channel(local, sdata); in drv_cancel_remain_on_channel()
802 ret = local->ops->cancel_remain_on_channel(&local->hw, &sdata->vif); in drv_cancel_remain_on_channel()
803 trace_drv_return_int(local, ret); in drv_cancel_remain_on_channel()
808 static inline int drv_set_ringparam(struct ieee80211_local *local, in drv_set_ringparam() argument
814 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_ringparam()
816 trace_drv_set_ringparam(local, tx, rx); in drv_set_ringparam()
817 if (local->ops->set_ringparam) in drv_set_ringparam()
818 ret = local->ops->set_ringparam(&local->hw, tx, rx); in drv_set_ringparam()
819 trace_drv_return_int(local, ret); in drv_set_ringparam()
824 static inline void drv_get_ringparam(struct ieee80211_local *local, in drv_get_ringparam() argument
828 lockdep_assert_wiphy(local->hw.wiphy); in drv_get_ringparam()
830 trace_drv_get_ringparam(local, tx, tx_max, rx, rx_max); in drv_get_ringparam()
831 if (local->ops->get_ringparam) in drv_get_ringparam()
832 local->ops->get_ringparam(&local->hw, tx, tx_max, rx, rx_max); in drv_get_ringparam()
833 trace_drv_return_void(local); in drv_get_ringparam()
836 static inline bool drv_tx_frames_pending(struct ieee80211_local *local) in drv_tx_frames_pending() argument
841 lockdep_assert_wiphy(local->hw.wiphy); in drv_tx_frames_pending()
843 trace_drv_tx_frames_pending(local); in drv_tx_frames_pending()
844 if (local->ops->tx_frames_pending) in drv_tx_frames_pending()
845 ret = local->ops->tx_frames_pending(&local->hw); in drv_tx_frames_pending()
846 trace_drv_return_bool(local, ret); in drv_tx_frames_pending()
851 static inline int drv_set_bitrate_mask(struct ieee80211_local *local, in drv_set_bitrate_mask() argument
858 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_bitrate_mask()
863 trace_drv_set_bitrate_mask(local, sdata, mask); in drv_set_bitrate_mask()
864 if (local->ops->set_bitrate_mask) in drv_set_bitrate_mask()
865 ret = local->ops->set_bitrate_mask(&local->hw, in drv_set_bitrate_mask()
867 trace_drv_return_int(local, ret); in drv_set_bitrate_mask()
872 static inline void drv_set_rekey_data(struct ieee80211_local *local, in drv_set_rekey_data() argument
877 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_rekey_data()
882 trace_drv_set_rekey_data(local, sdata, data); in drv_set_rekey_data()
883 if (local->ops->set_rekey_data) in drv_set_rekey_data()
884 local->ops->set_rekey_data(&local->hw, &sdata->vif, data); in drv_set_rekey_data()
885 trace_drv_return_void(local); in drv_set_rekey_data()
888 static inline void drv_event_callback(struct ieee80211_local *local, in drv_event_callback() argument
892 trace_drv_event_callback(local, sdata, event); in drv_event_callback()
893 if (local->ops->event_callback) in drv_event_callback()
894 local->ops->event_callback(&local->hw, &sdata->vif, event); in drv_event_callback()
895 trace_drv_return_void(local); in drv_event_callback()
899 drv_release_buffered_frames(struct ieee80211_local *local, in drv_release_buffered_frames() argument
904 trace_drv_release_buffered_frames(local, &sta->sta, tids, num_frames, in drv_release_buffered_frames()
906 if (local->ops->release_buffered_frames) in drv_release_buffered_frames()
907 local->ops->release_buffered_frames(&local->hw, &sta->sta, tids, in drv_release_buffered_frames()
910 trace_drv_return_void(local); in drv_release_buffered_frames()
914 drv_allow_buffered_frames(struct ieee80211_local *local, in drv_allow_buffered_frames() argument
919 trace_drv_allow_buffered_frames(local, &sta->sta, tids, num_frames, in drv_allow_buffered_frames()
921 if (local->ops->allow_buffered_frames) in drv_allow_buffered_frames()
922 local->ops->allow_buffered_frames(&local->hw, &sta->sta, in drv_allow_buffered_frames()
925 trace_drv_return_void(local); in drv_allow_buffered_frames()
928 static inline void drv_mgd_prepare_tx(struct ieee80211_local *local, in drv_mgd_prepare_tx() argument
933 lockdep_assert_wiphy(local->hw.wiphy); in drv_mgd_prepare_tx()
940 trace_drv_mgd_prepare_tx(local, sdata, info->duration, in drv_mgd_prepare_tx()
942 if (local->ops->mgd_prepare_tx) in drv_mgd_prepare_tx()
943 local->ops->mgd_prepare_tx(&local->hw, &sdata->vif, info); in drv_mgd_prepare_tx()
944 trace_drv_return_void(local); in drv_mgd_prepare_tx()
947 static inline void drv_mgd_complete_tx(struct ieee80211_local *local, in drv_mgd_complete_tx() argument
952 lockdep_assert_wiphy(local->hw.wiphy); in drv_mgd_complete_tx()
958 trace_drv_mgd_complete_tx(local, sdata, info->duration, in drv_mgd_complete_tx()
960 if (local->ops->mgd_complete_tx) in drv_mgd_complete_tx()
961 local->ops->mgd_complete_tx(&local->hw, &sdata->vif, info); in drv_mgd_complete_tx()
962 trace_drv_return_void(local); in drv_mgd_complete_tx()
966 drv_mgd_protect_tdls_discover(struct ieee80211_local *local, in drv_mgd_protect_tdls_discover() argument
971 lockdep_assert_wiphy(local->hw.wiphy); in drv_mgd_protect_tdls_discover()
979 trace_drv_mgd_protect_tdls_discover(local, sdata); in drv_mgd_protect_tdls_discover()
980 if (local->ops->mgd_protect_tdls_discover) in drv_mgd_protect_tdls_discover()
981 local->ops->mgd_protect_tdls_discover(&local->hw, &sdata->vif, in drv_mgd_protect_tdls_discover()
983 trace_drv_return_void(local); in drv_mgd_protect_tdls_discover()
986 static inline int drv_add_chanctx(struct ieee80211_local *local, in drv_add_chanctx() argument
992 lockdep_assert_wiphy(local->hw.wiphy); in drv_add_chanctx()
994 trace_drv_add_chanctx(local, ctx); in drv_add_chanctx()
995 if (local->ops->add_chanctx) in drv_add_chanctx()
996 ret = local->ops->add_chanctx(&local->hw, &ctx->conf); in drv_add_chanctx()
997 trace_drv_return_int(local, ret); in drv_add_chanctx()
1004 static inline void drv_remove_chanctx(struct ieee80211_local *local, in drv_remove_chanctx() argument
1008 lockdep_assert_wiphy(local->hw.wiphy); in drv_remove_chanctx()
1013 trace_drv_remove_chanctx(local, ctx); in drv_remove_chanctx()
1014 if (local->ops->remove_chanctx) in drv_remove_chanctx()
1015 local->ops->remove_chanctx(&local->hw, &ctx->conf); in drv_remove_chanctx()
1016 trace_drv_return_void(local); in drv_remove_chanctx()
1020 static inline void drv_change_chanctx(struct ieee80211_local *local, in drv_change_chanctx() argument
1025 lockdep_assert_wiphy(local->hw.wiphy); in drv_change_chanctx()
1027 trace_drv_change_chanctx(local, ctx, changed); in drv_change_chanctx()
1028 if (local->ops->change_chanctx) { in drv_change_chanctx()
1030 local->ops->change_chanctx(&local->hw, &ctx->conf, changed); in drv_change_chanctx()
1032 trace_drv_return_void(local); in drv_change_chanctx()
1035 int drv_assign_vif_chanctx(struct ieee80211_local *local,
1039 void drv_unassign_vif_chanctx(struct ieee80211_local *local,
1043 int drv_switch_vif_chanctx(struct ieee80211_local *local,
1047 static inline int drv_start_ap(struct ieee80211_local *local, in drv_start_ap() argument
1054 lockdep_assert_wiphy(local->hw.wiphy); in drv_start_ap()
1059 trace_drv_start_ap(local, sdata, link_conf); in drv_start_ap()
1060 if (local->ops->start_ap) in drv_start_ap()
1061 ret = local->ops->start_ap(&local->hw, &sdata->vif, link_conf); in drv_start_ap()
1062 trace_drv_return_int(local, ret); in drv_start_ap()
1066 static inline void drv_stop_ap(struct ieee80211_local *local, in drv_stop_ap() argument
1071 lockdep_assert_wiphy(local->hw.wiphy); in drv_stop_ap()
1076 trace_drv_stop_ap(local, sdata, link_conf); in drv_stop_ap()
1077 if (local->ops->stop_ap) in drv_stop_ap()
1078 local->ops->stop_ap(&local->hw, &sdata->vif, link_conf); in drv_stop_ap()
1079 trace_drv_return_void(local); in drv_stop_ap()
1083 drv_reconfig_complete(struct ieee80211_local *local, in drv_reconfig_complete() argument
1087 lockdep_assert_wiphy(local->hw.wiphy); in drv_reconfig_complete()
1089 trace_drv_reconfig_complete(local, reconfig_type); in drv_reconfig_complete()
1090 if (local->ops->reconfig_complete) in drv_reconfig_complete()
1091 local->ops->reconfig_complete(&local->hw, reconfig_type); in drv_reconfig_complete()
1092 trace_drv_return_void(local); in drv_reconfig_complete()
1096 drv_set_default_unicast_key(struct ieee80211_local *local, in drv_set_default_unicast_key() argument
1101 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_default_unicast_key()
1108 trace_drv_set_default_unicast_key(local, sdata, key_idx); in drv_set_default_unicast_key()
1109 if (local->ops->set_default_unicast_key) in drv_set_default_unicast_key()
1110 local->ops->set_default_unicast_key(&local->hw, &sdata->vif, in drv_set_default_unicast_key()
1112 trace_drv_return_void(local); in drv_set_default_unicast_key()
1116 static inline void drv_ipv6_addr_change(struct ieee80211_local *local, in drv_ipv6_addr_change() argument
1120 trace_drv_ipv6_addr_change(local, sdata); in drv_ipv6_addr_change()
1121 if (local->ops->ipv6_addr_change) in drv_ipv6_addr_change()
1122 local->ops->ipv6_addr_change(&local->hw, &sdata->vif, idev); in drv_ipv6_addr_change()
1123 trace_drv_return_void(local); in drv_ipv6_addr_change()
1131 struct ieee80211_local *local = sdata->local; in drv_channel_switch_beacon() local
1134 lockdep_assert_wiphy(local->hw.wiphy); in drv_channel_switch_beacon()
1136 if (local->ops->channel_switch_beacon) { in drv_channel_switch_beacon()
1137 trace_drv_channel_switch_beacon(local, sdata, chandef); in drv_channel_switch_beacon()
1138 local->ops->channel_switch_beacon(&local->hw, &sdata->vif, in drv_channel_switch_beacon()
1147 struct ieee80211_local *local = sdata->local; in drv_pre_channel_switch() local
1151 lockdep_assert_wiphy(local->hw.wiphy); in drv_pre_channel_switch()
1159 trace_drv_pre_channel_switch(local, sdata, ch_switch); in drv_pre_channel_switch()
1160 if (local->ops->pre_channel_switch) in drv_pre_channel_switch()
1161 ret = local->ops->pre_channel_switch(&local->hw, &sdata->vif, in drv_pre_channel_switch()
1163 trace_drv_return_int(local, ret); in drv_pre_channel_switch()
1171 struct ieee80211_local *local = sdata->local; in drv_post_channel_switch() local
1175 lockdep_assert_wiphy(local->hw.wiphy); in drv_post_channel_switch()
1183 trace_drv_post_channel_switch(local, sdata); in drv_post_channel_switch()
1184 if (local->ops->post_channel_switch) in drv_post_channel_switch()
1185 ret = local->ops->post_channel_switch(&local->hw, &sdata->vif, in drv_post_channel_switch()
1187 trace_drv_return_int(local, ret); in drv_post_channel_switch()
1195 struct ieee80211_local *local = sdata->local; in drv_abort_channel_switch() local
1198 lockdep_assert_wiphy(local->hw.wiphy); in drv_abort_channel_switch()
1206 trace_drv_abort_channel_switch(local, sdata); in drv_abort_channel_switch()
1208 if (local->ops->abort_channel_switch) in drv_abort_channel_switch()
1209 local->ops->abort_channel_switch(&local->hw, &sdata->vif, in drv_abort_channel_switch()
1217 struct ieee80211_local *local = sdata->local; in drv_channel_switch_rx_beacon() local
1220 lockdep_assert_wiphy(local->hw.wiphy); in drv_channel_switch_rx_beacon()
1228 trace_drv_channel_switch_rx_beacon(local, sdata, ch_switch); in drv_channel_switch_rx_beacon()
1229 if (local->ops->channel_switch_rx_beacon) in drv_channel_switch_rx_beacon()
1230 local->ops->channel_switch_rx_beacon(&local->hw, &sdata->vif, in drv_channel_switch_rx_beacon()
1234 static inline int drv_join_ibss(struct ieee80211_local *local, in drv_join_ibss() argument
1240 lockdep_assert_wiphy(local->hw.wiphy); in drv_join_ibss()
1244 trace_drv_join_ibss(local, sdata, &sdata->vif.bss_conf); in drv_join_ibss()
1245 if (local->ops->join_ibss) in drv_join_ibss()
1246 ret = local->ops->join_ibss(&local->hw, &sdata->vif); in drv_join_ibss()
1247 trace_drv_return_int(local, ret); in drv_join_ibss()
1251 static inline void drv_leave_ibss(struct ieee80211_local *local, in drv_leave_ibss() argument
1255 lockdep_assert_wiphy(local->hw.wiphy); in drv_leave_ibss()
1259 trace_drv_leave_ibss(local, sdata); in drv_leave_ibss()
1260 if (local->ops->leave_ibss) in drv_leave_ibss()
1261 local->ops->leave_ibss(&local->hw, &sdata->vif); in drv_leave_ibss()
1262 trace_drv_return_void(local); in drv_leave_ibss()
1265 static inline u32 drv_get_expected_throughput(struct ieee80211_local *local, in drv_get_expected_throughput() argument
1271 if (local->ops->get_expected_throughput && sta->uploaded) in drv_get_expected_throughput()
1272 ret = local->ops->get_expected_throughput(&local->hw, &sta->sta); in drv_get_expected_throughput()
1273 trace_drv_return_u32(local, ret); in drv_get_expected_throughput()
1278 static inline int drv_get_txpower(struct ieee80211_local *local, in drv_get_txpower() argument
1285 lockdep_assert_wiphy(local->hw.wiphy); in drv_get_txpower()
1287 if (!local->ops->get_txpower) in drv_get_txpower()
1290 ret = local->ops->get_txpower(&local->hw, &sdata->vif, link_id, dbm); in drv_get_txpower()
1291 trace_drv_get_txpower(local, sdata, link_id, *dbm, ret); in drv_get_txpower()
1297 drv_tdls_channel_switch(struct ieee80211_local *local, in drv_tdls_channel_switch() argument
1306 lockdep_assert_wiphy(local->hw.wiphy); in drv_tdls_channel_switch()
1310 if (!local->ops->tdls_channel_switch) in drv_tdls_channel_switch()
1313 trace_drv_tdls_channel_switch(local, sdata, sta, oper_class, chandef); in drv_tdls_channel_switch()
1314 ret = local->ops->tdls_channel_switch(&local->hw, &sdata->vif, sta, in drv_tdls_channel_switch()
1317 trace_drv_return_int(local, ret); in drv_tdls_channel_switch()
1322 drv_tdls_cancel_channel_switch(struct ieee80211_local *local, in drv_tdls_cancel_channel_switch() argument
1327 lockdep_assert_wiphy(local->hw.wiphy); in drv_tdls_cancel_channel_switch()
1331 if (!local->ops->tdls_cancel_channel_switch) in drv_tdls_cancel_channel_switch()
1334 trace_drv_tdls_cancel_channel_switch(local, sdata, sta); in drv_tdls_cancel_channel_switch()
1335 local->ops->tdls_cancel_channel_switch(&local->hw, &sdata->vif, sta); in drv_tdls_cancel_channel_switch()
1336 trace_drv_return_void(local); in drv_tdls_cancel_channel_switch()
1340 drv_tdls_recv_channel_switch(struct ieee80211_local *local, in drv_tdls_recv_channel_switch() argument
1344 trace_drv_tdls_recv_channel_switch(local, sdata, params); in drv_tdls_recv_channel_switch()
1345 if (local->ops->tdls_recv_channel_switch) in drv_tdls_recv_channel_switch()
1346 local->ops->tdls_recv_channel_switch(&local->hw, &sdata->vif, in drv_tdls_recv_channel_switch()
1348 trace_drv_return_void(local); in drv_tdls_recv_channel_switch()
1351 static inline void drv_wake_tx_queue(struct ieee80211_local *local, in drv_wake_tx_queue() argument
1357 if (local->in_reconfig) { in drv_wake_tx_queue()
1365 trace_drv_wake_tx_queue(local, sdata, txq); in drv_wake_tx_queue()
1366 local->ops->wake_tx_queue(&local->hw, &txq->txq); in drv_wake_tx_queue()
1369 static inline void schedule_and_wake_txq(struct ieee80211_local *local, in schedule_and_wake_txq() argument
1372 ieee80211_schedule_txq(&local->hw, &txqi->txq); in schedule_and_wake_txq()
1373 drv_wake_tx_queue(local, txqi); in schedule_and_wake_txq()
1376 static inline int drv_can_aggregate_in_amsdu(struct ieee80211_local *local, in drv_can_aggregate_in_amsdu() argument
1380 if (!local->ops->can_aggregate_in_amsdu) in drv_can_aggregate_in_amsdu()
1383 return local->ops->can_aggregate_in_amsdu(&local->hw, head, skb); in drv_can_aggregate_in_amsdu()
1387 drv_get_ftm_responder_stats(struct ieee80211_local *local, in drv_get_ftm_responder_stats() argument
1394 lockdep_assert_wiphy(local->hw.wiphy); in drv_get_ftm_responder_stats()
1398 if (local->ops->get_ftm_responder_stats) in drv_get_ftm_responder_stats()
1399 ret = local->ops->get_ftm_responder_stats(&local->hw, in drv_get_ftm_responder_stats()
1402 trace_drv_get_ftm_responder_stats(local, sdata, ftm_stats); in drv_get_ftm_responder_stats()
1407 static inline int drv_start_pmsr(struct ieee80211_local *local, in drv_start_pmsr() argument
1414 lockdep_assert_wiphy(local->hw.wiphy); in drv_start_pmsr()
1418 trace_drv_start_pmsr(local, sdata); in drv_start_pmsr()
1420 if (local->ops->start_pmsr) in drv_start_pmsr()
1421 ret = local->ops->start_pmsr(&local->hw, &sdata->vif, request); in drv_start_pmsr()
1422 trace_drv_return_int(local, ret); in drv_start_pmsr()
1427 static inline void drv_abort_pmsr(struct ieee80211_local *local, in drv_abort_pmsr() argument
1431 trace_drv_abort_pmsr(local, sdata); in drv_abort_pmsr()
1434 lockdep_assert_wiphy(local->hw.wiphy); in drv_abort_pmsr()
1438 if (local->ops->abort_pmsr) in drv_abort_pmsr()
1439 local->ops->abort_pmsr(&local->hw, &sdata->vif, request); in drv_abort_pmsr()
1440 trace_drv_return_void(local); in drv_abort_pmsr()
1443 static inline int drv_start_nan(struct ieee80211_local *local, in drv_start_nan() argument
1450 lockdep_assert_wiphy(local->hw.wiphy); in drv_start_nan()
1453 trace_drv_start_nan(local, sdata, conf); in drv_start_nan()
1454 ret = local->ops->start_nan(&local->hw, &sdata->vif, conf); in drv_start_nan()
1455 trace_drv_return_int(local, ret); in drv_start_nan()
1459 static inline void drv_stop_nan(struct ieee80211_local *local, in drv_stop_nan() argument
1463 lockdep_assert_wiphy(local->hw.wiphy); in drv_stop_nan()
1466 trace_drv_stop_nan(local, sdata); in drv_stop_nan()
1467 local->ops->stop_nan(&local->hw, &sdata->vif); in drv_stop_nan()
1468 trace_drv_return_void(local); in drv_stop_nan()
1471 static inline int drv_nan_change_conf(struct ieee80211_local *local, in drv_nan_change_conf() argument
1479 lockdep_assert_wiphy(local->hw.wiphy); in drv_nan_change_conf()
1482 if (!local->ops->nan_change_conf) in drv_nan_change_conf()
1485 trace_drv_nan_change_conf(local, sdata, conf, changes); in drv_nan_change_conf()
1486 ret = local->ops->nan_change_conf(&local->hw, &sdata->vif, conf, in drv_nan_change_conf()
1488 trace_drv_return_int(local, ret); in drv_nan_change_conf()
1493 static inline int drv_add_nan_func(struct ieee80211_local *local, in drv_add_nan_func() argument
1500 lockdep_assert_wiphy(local->hw.wiphy); in drv_add_nan_func()
1503 if (!local->ops->add_nan_func) in drv_add_nan_func()
1506 trace_drv_add_nan_func(local, sdata, nan_func); in drv_add_nan_func()
1507 ret = local->ops->add_nan_func(&local->hw, &sdata->vif, nan_func); in drv_add_nan_func()
1508 trace_drv_return_int(local, ret); in drv_add_nan_func()
1513 static inline void drv_del_nan_func(struct ieee80211_local *local, in drv_del_nan_func() argument
1518 lockdep_assert_wiphy(local->hw.wiphy); in drv_del_nan_func()
1521 trace_drv_del_nan_func(local, sdata, instance_id); in drv_del_nan_func()
1522 if (local->ops->del_nan_func) in drv_del_nan_func()
1523 local->ops->del_nan_func(&local->hw, &sdata->vif, instance_id); in drv_del_nan_func()
1524 trace_drv_return_void(local); in drv_del_nan_func()
1527 static inline int drv_set_tid_config(struct ieee80211_local *local, in drv_set_tid_config() argument
1535 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_tid_config()
1536 ret = local->ops->set_tid_config(&local->hw, &sdata->vif, sta, in drv_set_tid_config()
1538 trace_drv_return_int(local, ret); in drv_set_tid_config()
1543 static inline int drv_reset_tid_config(struct ieee80211_local *local, in drv_reset_tid_config() argument
1550 lockdep_assert_wiphy(local->hw.wiphy); in drv_reset_tid_config()
1551 ret = local->ops->reset_tid_config(&local->hw, &sdata->vif, sta, tids); in drv_reset_tid_config()
1552 trace_drv_return_int(local, ret); in drv_reset_tid_config()
1557 static inline void drv_update_vif_offload(struct ieee80211_local *local, in drv_update_vif_offload() argument
1561 lockdep_assert_wiphy(local->hw.wiphy); in drv_update_vif_offload()
1564 if (!local->ops->update_vif_offload) in drv_update_vif_offload()
1567 trace_drv_update_vif_offload(local, sdata); in drv_update_vif_offload()
1568 local->ops->update_vif_offload(&local->hw, &sdata->vif); in drv_update_vif_offload()
1569 trace_drv_return_void(local); in drv_update_vif_offload()
1572 static inline void drv_sta_set_4addr(struct ieee80211_local *local, in drv_sta_set_4addr() argument
1579 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_set_4addr()
1583 trace_drv_sta_set_4addr(local, sdata, sta, enabled); in drv_sta_set_4addr()
1584 if (local->ops->sta_set_4addr) in drv_sta_set_4addr()
1585 local->ops->sta_set_4addr(&local->hw, &sdata->vif, sta, enabled); in drv_sta_set_4addr()
1586 trace_drv_return_void(local); in drv_sta_set_4addr()
1589 static inline void drv_sta_set_decap_offload(struct ieee80211_local *local, in drv_sta_set_decap_offload() argument
1597 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_set_decap_offload()
1601 trace_drv_sta_set_decap_offload(local, sdata, sta, enabled); in drv_sta_set_decap_offload()
1602 if (local->ops->sta_set_decap_offload) in drv_sta_set_decap_offload()
1603 local->ops->sta_set_decap_offload(&local->hw, &sdata->vif, sta, in drv_sta_set_decap_offload()
1605 trace_drv_return_void(local); in drv_sta_set_decap_offload()
1608 static inline void drv_add_twt_setup(struct ieee80211_local *local, in drv_add_twt_setup() argument
1616 lockdep_assert_wiphy(local->hw.wiphy); in drv_add_twt_setup()
1623 trace_drv_add_twt_setup(local, sta, twt, twt_agrt); in drv_add_twt_setup()
1624 local->ops->add_twt_setup(&local->hw, sta, twt); in drv_add_twt_setup()
1625 trace_drv_return_void(local); in drv_add_twt_setup()
1628 static inline void drv_twt_teardown_request(struct ieee80211_local *local, in drv_twt_teardown_request() argument
1634 lockdep_assert_wiphy(local->hw.wiphy); in drv_twt_teardown_request()
1638 if (!local->ops->twt_teardown_request) in drv_twt_teardown_request()
1641 trace_drv_twt_teardown_request(local, sta, flowid); in drv_twt_teardown_request()
1642 local->ops->twt_teardown_request(&local->hw, sta, flowid); in drv_twt_teardown_request()
1643 trace_drv_return_void(local); in drv_twt_teardown_request()
1646 static inline int drv_net_fill_forward_path(struct ieee80211_local *local, in drv_net_fill_forward_path() argument
1658 trace_drv_net_fill_forward_path(local, sdata, sta); in drv_net_fill_forward_path()
1659 if (local->ops->net_fill_forward_path) in drv_net_fill_forward_path()
1660 ret = local->ops->net_fill_forward_path(&local->hw, in drv_net_fill_forward_path()
1663 trace_drv_return_int(local, ret); in drv_net_fill_forward_path()
1668 static inline int drv_net_setup_tc(struct ieee80211_local *local, in drv_net_setup_tc() argument
1678 trace_drv_net_setup_tc(local, sdata, type); in drv_net_setup_tc()
1679 if (local->ops->net_setup_tc) in drv_net_setup_tc()
1680 ret = local->ops->net_setup_tc(&local->hw, &sdata->vif, dev, in drv_net_setup_tc()
1682 trace_drv_return_int(local, ret); in drv_net_setup_tc()
1687 static inline bool drv_can_activate_links(struct ieee80211_local *local, in drv_can_activate_links() argument
1693 lockdep_assert_wiphy(local->hw.wiphy); in drv_can_activate_links()
1698 trace_drv_can_activate_links(local, sdata, active_links); in drv_can_activate_links()
1699 if (local->ops->can_activate_links) in drv_can_activate_links()
1700 ret = local->ops->can_activate_links(&local->hw, &sdata->vif, in drv_can_activate_links()
1702 trace_drv_return_bool(local, ret); in drv_can_activate_links()
1707 int drv_change_vif_links(struct ieee80211_local *local,
1711 int drv_change_sta_links(struct ieee80211_local *local,
1717 drv_can_neg_ttlm(struct ieee80211_local *local, in drv_can_neg_ttlm() argument
1727 trace_drv_can_neg_ttlm(local, sdata, neg_ttlm); in drv_can_neg_ttlm()
1728 if (local->ops->can_neg_ttlm) in drv_can_neg_ttlm()
1729 res = local->ops->can_neg_ttlm(&local->hw, &sdata->vif, in drv_can_neg_ttlm()
1731 trace_drv_neg_ttlm_res(local, sdata, res, neg_ttlm); in drv_can_neg_ttlm()
1737 drv_prep_add_interface(struct ieee80211_local *local, in drv_prep_add_interface() argument
1740 trace_drv_prep_add_interface(local, type); in drv_prep_add_interface()
1741 if (local->ops->prep_add_interface) in drv_prep_add_interface()
1742 local->ops->prep_add_interface(&local->hw, type); in drv_prep_add_interface()
1744 trace_drv_return_void(local); in drv_prep_add_interface()