Lines Matching refs:ops

29 	local->ops->tx(&local->hw, control, skb);  in drv_tx()
36 if (local->ops->get_et_strings) { in drv_get_et_strings()
38 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings()
48 if (local->ops->get_et_stats) { in drv_get_et_stats()
50 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats()
60 if (local->ops->get_et_sset_count) { in drv_get_et_sset_count()
62 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count()
78 ret = local->ops->start(&local->hw); in drv_start()
88 local->ops->stop(&local->hw); in drv_stop()
109 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend()
121 ret = local->ops->resume(&local->hw); in drv_resume()
131 if (!local->ops->set_wakeup) in drv_set_wakeup()
135 local->ops->set_wakeup(&local->hw, enabled); in drv_set_wakeup()
154 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface()
175 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface()
189 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface()
201 ret = local->ops->config(&local->hw, changed); in drv_config()
229 if (local->ops->bss_info_changed) in drv_bss_info_changed()
230 local->ops->bss_info_changed(&local->hw, &sdata->vif, info, changed); in drv_bss_info_changed()
241 if (local->ops->prepare_multicast) in drv_prepare_multicast()
242 ret = local->ops->prepare_multicast(&local->hw, mc_list); in drv_prepare_multicast()
258 local->ops->configure_filter(&local->hw, changed_flags, total_flags, in drv_configure_filter()
268 if (local->ops->set_tim) in drv_set_tim()
269 ret = local->ops->set_tim(&local->hw, sta, set); in drv_set_tim()
289 ret = local->ops->set_key(&local->hw, cmd, &sdata->vif, sta, key); in drv_set_key()
310 if (local->ops->update_tkip_key) in drv_update_tkip_key()
311 local->ops->update_tkip_key(&local->hw, &sdata->vif, conf, in drv_update_tkip_key()
328 ret = local->ops->hw_scan(&local->hw, &sdata->vif, req); in drv_hw_scan()
342 local->ops->cancel_hw_scan(&local->hw, &sdata->vif); in drv_cancel_hw_scan()
360 ret = local->ops->sched_scan_start(&local->hw, &sdata->vif, in drv_sched_scan_start()
377 ret = local->ops->sched_scan_stop(&local->hw, &sdata->vif); in drv_sched_scan_stop()
390 if (local->ops->sw_scan_start) in drv_sw_scan_start()
391 local->ops->sw_scan_start(&local->hw, &sdata->vif, mac_addr); in drv_sw_scan_start()
401 if (local->ops->sw_scan_complete) in drv_sw_scan_complete()
402 local->ops->sw_scan_complete(&local->hw, &sdata->vif); in drv_sw_scan_complete()
413 if (local->ops->get_stats) in drv_get_stats()
414 ret = local->ops->get_stats(&local->hw, stats); in drv_get_stats()
423 if (local->ops->get_tkip_seq) in drv_get_tkip_seq()
424 local->ops->get_tkip_seq(&local->hw, hw_key_idx, iv32, iv16); in drv_get_tkip_seq()
436 if (local->ops->set_frag_threshold) in drv_set_frag_threshold()
437 ret = local->ops->set_frag_threshold(&local->hw, value); in drv_set_frag_threshold()
450 if (local->ops->set_rts_threshold) in drv_set_rts_threshold()
451 ret = local->ops->set_rts_threshold(&local->hw, value); in drv_set_rts_threshold()
463 if (local->ops->set_coverage_class) in drv_set_coverage_class()
464 local->ops->set_coverage_class(&local->hw, value); in drv_set_coverage_class()
482 if (local->ops->sta_notify) in drv_sta_notify()
483 local->ops->sta_notify(&local->hw, &sdata->vif, cmd, sta); in drv_sta_notify()
500 if (local->ops->sta_add) in drv_sta_add()
501 ret = local->ops->sta_add(&local->hw, &sdata->vif, sta); in drv_sta_add()
519 if (local->ops->sta_remove) in drv_sta_remove()
520 local->ops->sta_remove(&local->hw, &sdata->vif, sta); in drv_sta_remove()
537 if (local->ops->sta_add_debugfs) in drv_sta_add_debugfs()
538 local->ops->sta_add_debugfs(&local->hw, &sdata->vif, in drv_sta_add_debugfs()
552 if (local->ops->sta_remove_debugfs) in drv_sta_remove_debugfs()
553 local->ops->sta_remove_debugfs(&local->hw, &sdata->vif, in drv_sta_remove_debugfs()
569 if (local->ops->sta_pre_rcu_remove) in drv_sta_pre_rcu_remove()
570 local->ops->sta_pre_rcu_remove(&local->hw, &sdata->vif, in drv_sta_pre_rcu_remove()
591 if (local->ops->sta_state) { in drv_sta_state()
592 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state()
620 if (local->ops->sta_rc_update) in drv_sta_rc_update()
621 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update()
636 if (local->ops->sta_rate_tbl_update) in drv_sta_rate_tbl_update()
637 local->ops->sta_rate_tbl_update(&local->hw, &sdata->vif, sta); in drv_sta_rate_tbl_update()
652 if (local->ops->sta_statistics) in drv_sta_statistics()
653 local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo); in drv_sta_statistics()
675 if (local->ops->conf_tx) in drv_conf_tx()
676 ret = local->ops->conf_tx(&local->hw, &sdata->vif, in drv_conf_tx()
693 if (local->ops->get_tsf) in drv_get_tsf()
694 ret = local->ops->get_tsf(&local->hw, &sdata->vif); in drv_get_tsf()
709 if (local->ops->set_tsf) in drv_set_tsf()
710 local->ops->set_tsf(&local->hw, &sdata->vif, tsf); in drv_set_tsf()
723 if (local->ops->reset_tsf) in drv_reset_tsf()
724 local->ops->reset_tsf(&local->hw, &sdata->vif); in drv_reset_tsf()
735 if (local->ops->tx_last_beacon) in drv_tx_last_beacon()
736 ret = local->ops->tx_last_beacon(&local->hw); in drv_tx_last_beacon()
757 if (local->ops->ampdu_action) in drv_ampdu_action()
758 ret = local->ops->ampdu_action(&local->hw, &sdata->vif, action, in drv_ampdu_action()
773 if (local->ops->get_survey) in drv_get_survey()
774 ret = local->ops->get_survey(&local->hw, idx, survey); in drv_get_survey()
785 if (local->ops->rfkill_poll) in drv_rfkill_poll()
786 local->ops->rfkill_poll(&local->hw); in drv_rfkill_poll()
801 if (local->ops->flush) in drv_flush()
802 local->ops->flush(&local->hw, vif, queues, drop); in drv_flush()
813 local->ops->channel_switch(&local->hw, &sdata->vif, ch_switch); in drv_channel_switch()
823 if (local->ops->set_antenna) in drv_set_antenna()
824 ret = local->ops->set_antenna(&local->hw, tx_ant, rx_ant); in drv_set_antenna()
834 if (local->ops->get_antenna) in drv_get_antenna()
835 ret = local->ops->get_antenna(&local->hw, tx_ant, rx_ant); in drv_get_antenna()
851 ret = local->ops->remain_on_channel(&local->hw, &sdata->vif, in drv_remain_on_channel()
865 ret = local->ops->cancel_remain_on_channel(&local->hw); in drv_cancel_remain_on_channel()
879 if (local->ops->set_ringparam) in drv_set_ringparam()
880 ret = local->ops->set_ringparam(&local->hw, tx, rx); in drv_set_ringparam()
892 if (local->ops->get_ringparam) in drv_get_ringparam()
893 local->ops->get_ringparam(&local->hw, tx, tx_max, rx, rx_max); in drv_get_ringparam()
904 if (local->ops->tx_frames_pending) in drv_tx_frames_pending()
905 ret = local->ops->tx_frames_pending(&local->hw); in drv_tx_frames_pending()
923 if (local->ops->set_bitrate_mask) in drv_set_bitrate_mask()
924 ret = local->ops->set_bitrate_mask(&local->hw, in drv_set_bitrate_mask()
939 if (local->ops->set_rekey_data) in drv_set_rekey_data()
940 local->ops->set_rekey_data(&local->hw, &sdata->vif, data); in drv_set_rekey_data()
949 if (local->ops->event_callback) in drv_event_callback()
950 local->ops->event_callback(&local->hw, &sdata->vif, event); in drv_event_callback()
962 if (local->ops->release_buffered_frames) in drv_release_buffered_frames()
963 local->ops->release_buffered_frames(&local->hw, &sta->sta, tids, in drv_release_buffered_frames()
977 if (local->ops->allow_buffered_frames) in drv_allow_buffered_frames()
978 local->ops->allow_buffered_frames(&local->hw, &sta->sta, in drv_allow_buffered_frames()
994 if (local->ops->mgd_prepare_tx) in drv_mgd_prepare_tx()
995 local->ops->mgd_prepare_tx(&local->hw, &sdata->vif); in drv_mgd_prepare_tx()
1010 if (local->ops->mgd_protect_tdls_discover) in drv_mgd_protect_tdls_discover()
1011 local->ops->mgd_protect_tdls_discover(&local->hw, &sdata->vif); in drv_mgd_protect_tdls_discover()
1021 if (local->ops->add_chanctx) in drv_add_chanctx()
1022 ret = local->ops->add_chanctx(&local->hw, &ctx->conf); in drv_add_chanctx()
1037 if (local->ops->remove_chanctx) in drv_remove_chanctx()
1038 local->ops->remove_chanctx(&local->hw, &ctx->conf); in drv_remove_chanctx()
1048 if (local->ops->change_chanctx) { in drv_change_chanctx()
1050 local->ops->change_chanctx(&local->hw, &ctx->conf, changed); in drv_change_chanctx()
1065 if (local->ops->assign_vif_chanctx) { in drv_assign_vif_chanctx()
1067 ret = local->ops->assign_vif_chanctx(&local->hw, in drv_assign_vif_chanctx()
1084 if (local->ops->unassign_vif_chanctx) { in drv_unassign_vif_chanctx()
1086 local->ops->unassign_vif_chanctx(&local->hw, in drv_unassign_vif_chanctx()
1102 if (!local->ops->switch_vif_chanctx) in drv_switch_vif_chanctx()
1123 ret = local->ops->switch_vif_chanctx(&local->hw, in drv_switch_vif_chanctx()
1155 if (local->ops->start_ap) in drv_start_ap()
1156 ret = local->ops->start_ap(&local->hw, &sdata->vif); in drv_start_ap()
1168 if (local->ops->stop_ap) in drv_stop_ap()
1169 local->ops->stop_ap(&local->hw, &sdata->vif); in drv_stop_ap()
1180 if (local->ops->reconfig_complete) in drv_reconfig_complete()
1181 local->ops->reconfig_complete(&local->hw, reconfig_type); in drv_reconfig_complete()
1196 if (local->ops->set_default_unicast_key) in drv_set_default_unicast_key()
1197 local->ops->set_default_unicast_key(&local->hw, &sdata->vif, in drv_set_default_unicast_key()
1208 if (local->ops->ipv6_addr_change) in drv_ipv6_addr_change()
1209 local->ops->ipv6_addr_change(&local->hw, &sdata->vif, idev); in drv_ipv6_addr_change()
1220 if (local->ops->channel_switch_beacon) { in drv_channel_switch_beacon()
1222 local->ops->channel_switch_beacon(&local->hw, &sdata->vif, in drv_channel_switch_beacon()
1238 if (local->ops->pre_channel_switch) in drv_pre_channel_switch()
1239 ret = local->ops->pre_channel_switch(&local->hw, &sdata->vif, in drv_pre_channel_switch()
1255 if (local->ops->post_channel_switch) in drv_post_channel_switch()
1256 ret = local->ops->post_channel_switch(&local->hw, &sdata->vif); in drv_post_channel_switch()
1271 if (local->ops->join_ibss) in drv_join_ibss()
1272 ret = local->ops->join_ibss(&local->hw, &sdata->vif); in drv_join_ibss()
1285 if (local->ops->leave_ibss) in drv_leave_ibss()
1286 local->ops->leave_ibss(&local->hw, &sdata->vif); in drv_leave_ibss()
1296 if (local->ops->get_expected_throughput) in drv_get_expected_throughput()
1297 ret = local->ops->get_expected_throughput(sta); in drv_get_expected_throughput()
1308 if (!local->ops->get_txpower) in drv_get_txpower()
1311 ret = local->ops->get_txpower(&local->hw, &sdata->vif, dbm); in drv_get_txpower()
1330 if (!local->ops->tdls_channel_switch) in drv_tdls_channel_switch()
1334 ret = local->ops->tdls_channel_switch(&local->hw, &sdata->vif, sta, in drv_tdls_channel_switch()
1350 if (!local->ops->tdls_cancel_channel_switch) in drv_tdls_cancel_channel_switch()
1354 local->ops->tdls_cancel_channel_switch(&local->hw, &sdata->vif, sta); in drv_tdls_cancel_channel_switch()
1364 if (local->ops->tdls_recv_channel_switch) in drv_tdls_recv_channel_switch()
1365 local->ops->tdls_recv_channel_switch(&local->hw, &sdata->vif, in drv_tdls_recv_channel_switch()
1379 local->ops->wake_tx_queue(&local->hw, &txq->txq); in drv_wake_tx_queue()