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()
81 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend()
93 ret = local->ops->resume(&local->hw); in drv_resume()
103 if (!local->ops->set_wakeup) in drv_set_wakeup()
107 local->ops->set_wakeup(&local->hw, enabled); in drv_set_wakeup()
129 ret = local->ops->config(&local->hw, changed); in drv_config()
157 if (local->ops->bss_info_changed) in drv_bss_info_changed()
158 local->ops->bss_info_changed(&local->hw, &sdata->vif, info, changed); in drv_bss_info_changed()
169 if (local->ops->prepare_multicast) in drv_prepare_multicast()
170 ret = local->ops->prepare_multicast(&local->hw, mc_list); in drv_prepare_multicast()
186 local->ops->configure_filter(&local->hw, changed_flags, total_flags, in drv_configure_filter()
200 if (local->ops->config_iface_filter) in drv_config_iface_filter()
201 local->ops->config_iface_filter(&local->hw, &sdata->vif, in drv_config_iface_filter()
212 if (local->ops->set_tim) in drv_set_tim()
213 ret = local->ops->set_tim(&local->hw, sta, set); in drv_set_tim()
233 ret = local->ops->set_key(&local->hw, cmd, &sdata->vif, sta, key); in drv_set_key()
254 if (local->ops->update_tkip_key) in drv_update_tkip_key()
255 local->ops->update_tkip_key(&local->hw, &sdata->vif, conf, in drv_update_tkip_key()
272 ret = local->ops->hw_scan(&local->hw, &sdata->vif, req); in drv_hw_scan()
286 local->ops->cancel_hw_scan(&local->hw, &sdata->vif); in drv_cancel_hw_scan()
304 ret = local->ops->sched_scan_start(&local->hw, &sdata->vif, in drv_sched_scan_start()
321 ret = local->ops->sched_scan_stop(&local->hw, &sdata->vif); in drv_sched_scan_stop()
334 if (local->ops->sw_scan_start) in drv_sw_scan_start()
335 local->ops->sw_scan_start(&local->hw, &sdata->vif, mac_addr); in drv_sw_scan_start()
345 if (local->ops->sw_scan_complete) in drv_sw_scan_complete()
346 local->ops->sw_scan_complete(&local->hw, &sdata->vif); in drv_sw_scan_complete()
357 if (local->ops->get_stats) in drv_get_stats()
358 ret = local->ops->get_stats(&local->hw, stats); in drv_get_stats()
368 if (local->ops->get_key_seq) in drv_get_key_seq()
369 local->ops->get_key_seq(&local->hw, &key->conf, seq); in drv_get_key_seq()
381 if (local->ops->set_frag_threshold) in drv_set_frag_threshold()
382 ret = local->ops->set_frag_threshold(&local->hw, value); in drv_set_frag_threshold()
395 if (local->ops->set_rts_threshold) in drv_set_rts_threshold()
396 ret = local->ops->set_rts_threshold(&local->hw, value); in drv_set_rts_threshold()
408 if (local->ops->set_coverage_class) in drv_set_coverage_class()
409 local->ops->set_coverage_class(&local->hw, value); in drv_set_coverage_class()
427 if (local->ops->sta_notify) in drv_sta_notify()
428 local->ops->sta_notify(&local->hw, &sdata->vif, cmd, sta); in drv_sta_notify()
445 if (local->ops->sta_add) in drv_sta_add()
446 ret = local->ops->sta_add(&local->hw, &sdata->vif, sta); in drv_sta_add()
464 if (local->ops->sta_remove) in drv_sta_remove()
465 local->ops->sta_remove(&local->hw, &sdata->vif, sta); in drv_sta_remove()
482 if (local->ops->sta_add_debugfs) in drv_sta_add_debugfs()
483 local->ops->sta_add_debugfs(&local->hw, &sdata->vif, in drv_sta_add_debugfs()
497 if (local->ops->sta_remove_debugfs) in drv_sta_remove_debugfs()
498 local->ops->sta_remove_debugfs(&local->hw, &sdata->vif, in drv_sta_remove_debugfs()
514 if (local->ops->sta_pre_rcu_remove) in drv_sta_pre_rcu_remove()
515 local->ops->sta_pre_rcu_remove(&local->hw, &sdata->vif, in drv_sta_pre_rcu_remove()
540 if (local->ops->sta_rate_tbl_update) in drv_sta_rate_tbl_update()
541 local->ops->sta_rate_tbl_update(&local->hw, &sdata->vif, sta); in drv_sta_rate_tbl_update()
556 if (local->ops->sta_statistics) in drv_sta_statistics()
557 local->ops->sta_statistics(&local->hw, &sdata->vif, sta, sinfo); in drv_sta_statistics()
580 if (local->ops->tx_last_beacon) in drv_tx_last_beacon()
581 ret = local->ops->tx_last_beacon(&local->hw); in drv_tx_last_beacon()
599 if (local->ops->get_survey) in drv_get_survey()
600 ret = local->ops->get_survey(&local->hw, idx, survey); in drv_get_survey()
611 if (local->ops->rfkill_poll) in drv_rfkill_poll()
612 local->ops->rfkill_poll(&local->hw); in drv_rfkill_poll()
627 if (local->ops->flush) in drv_flush()
628 local->ops->flush(&local->hw, vif, queues, drop); in drv_flush()
639 local->ops->channel_switch(&local->hw, &sdata->vif, ch_switch); in drv_channel_switch()
649 if (local->ops->set_antenna) in drv_set_antenna()
650 ret = local->ops->set_antenna(&local->hw, tx_ant, rx_ant); in drv_set_antenna()
660 if (local->ops->get_antenna) in drv_get_antenna()
661 ret = local->ops->get_antenna(&local->hw, tx_ant, rx_ant); in drv_get_antenna()
677 ret = local->ops->remain_on_channel(&local->hw, &sdata->vif, in drv_remain_on_channel()
691 ret = local->ops->cancel_remain_on_channel(&local->hw); in drv_cancel_remain_on_channel()
705 if (local->ops->set_ringparam) in drv_set_ringparam()
706 ret = local->ops->set_ringparam(&local->hw, tx, rx); in drv_set_ringparam()
718 if (local->ops->get_ringparam) in drv_get_ringparam()
719 local->ops->get_ringparam(&local->hw, tx, tx_max, rx, rx_max); in drv_get_ringparam()
730 if (local->ops->tx_frames_pending) in drv_tx_frames_pending()
731 ret = local->ops->tx_frames_pending(&local->hw); in drv_tx_frames_pending()
749 if (local->ops->set_bitrate_mask) in drv_set_bitrate_mask()
750 ret = local->ops->set_bitrate_mask(&local->hw, in drv_set_bitrate_mask()
765 if (local->ops->set_rekey_data) in drv_set_rekey_data()
766 local->ops->set_rekey_data(&local->hw, &sdata->vif, data); in drv_set_rekey_data()
775 if (local->ops->event_callback) in drv_event_callback()
776 local->ops->event_callback(&local->hw, &sdata->vif, event); in drv_event_callback()
788 if (local->ops->release_buffered_frames) in drv_release_buffered_frames()
789 local->ops->release_buffered_frames(&local->hw, &sta->sta, tids, in drv_release_buffered_frames()
803 if (local->ops->allow_buffered_frames) in drv_allow_buffered_frames()
804 local->ops->allow_buffered_frames(&local->hw, &sta->sta, in drv_allow_buffered_frames()
820 if (local->ops->mgd_prepare_tx) in drv_mgd_prepare_tx()
821 local->ops->mgd_prepare_tx(&local->hw, &sdata->vif); in drv_mgd_prepare_tx()
836 if (local->ops->mgd_protect_tdls_discover) in drv_mgd_protect_tdls_discover()
837 local->ops->mgd_protect_tdls_discover(&local->hw, &sdata->vif); in drv_mgd_protect_tdls_discover()
849 if (local->ops->add_chanctx) in drv_add_chanctx()
850 ret = local->ops->add_chanctx(&local->hw, &ctx->conf); in drv_add_chanctx()
867 if (local->ops->remove_chanctx) in drv_remove_chanctx()
868 local->ops->remove_chanctx(&local->hw, &ctx->conf); in drv_remove_chanctx()
880 if (local->ops->change_chanctx) { in drv_change_chanctx()
882 local->ops->change_chanctx(&local->hw, &ctx->conf, changed); in drv_change_chanctx()
897 if (local->ops->assign_vif_chanctx) { in drv_assign_vif_chanctx()
899 ret = local->ops->assign_vif_chanctx(&local->hw, in drv_assign_vif_chanctx()
918 if (local->ops->unassign_vif_chanctx) { in drv_unassign_vif_chanctx()
920 local->ops->unassign_vif_chanctx(&local->hw, in drv_unassign_vif_chanctx()
942 if (local->ops->start_ap) in drv_start_ap()
943 ret = local->ops->start_ap(&local->hw, &sdata->vif); in drv_start_ap()
955 if (local->ops->stop_ap) in drv_stop_ap()
956 local->ops->stop_ap(&local->hw, &sdata->vif); in drv_stop_ap()
967 if (local->ops->reconfig_complete) in drv_reconfig_complete()
968 local->ops->reconfig_complete(&local->hw, reconfig_type); in drv_reconfig_complete()
983 if (local->ops->set_default_unicast_key) in drv_set_default_unicast_key()
984 local->ops->set_default_unicast_key(&local->hw, &sdata->vif, in drv_set_default_unicast_key()
995 if (local->ops->ipv6_addr_change) in drv_ipv6_addr_change()
996 local->ops->ipv6_addr_change(&local->hw, &sdata->vif, idev); in drv_ipv6_addr_change()
1007 if (local->ops->channel_switch_beacon) { in drv_channel_switch_beacon()
1009 local->ops->channel_switch_beacon(&local->hw, &sdata->vif, in drv_channel_switch_beacon()
1025 if (local->ops->pre_channel_switch) in drv_pre_channel_switch()
1026 ret = local->ops->pre_channel_switch(&local->hw, &sdata->vif, in drv_pre_channel_switch()
1042 if (local->ops->post_channel_switch) in drv_post_channel_switch()
1043 ret = local->ops->post_channel_switch(&local->hw, &sdata->vif); in drv_post_channel_switch()
1058 if (local->ops->join_ibss) in drv_join_ibss()
1059 ret = local->ops->join_ibss(&local->hw, &sdata->vif); in drv_join_ibss()
1072 if (local->ops->leave_ibss) in drv_leave_ibss()
1073 local->ops->leave_ibss(&local->hw, &sdata->vif); in drv_leave_ibss()
1083 if (local->ops->get_expected_throughput) in drv_get_expected_throughput()
1084 ret = local->ops->get_expected_throughput(sta); in drv_get_expected_throughput()
1095 if (!local->ops->get_txpower) in drv_get_txpower()
1098 ret = local->ops->get_txpower(&local->hw, &sdata->vif, dbm); in drv_get_txpower()
1117 if (!local->ops->tdls_channel_switch) in drv_tdls_channel_switch()
1121 ret = local->ops->tdls_channel_switch(&local->hw, &sdata->vif, sta, in drv_tdls_channel_switch()
1137 if (!local->ops->tdls_cancel_channel_switch) in drv_tdls_cancel_channel_switch()
1141 local->ops->tdls_cancel_channel_switch(&local->hw, &sdata->vif, sta); in drv_tdls_cancel_channel_switch()
1151 if (local->ops->tdls_recv_channel_switch) in drv_tdls_recv_channel_switch()
1152 local->ops->tdls_recv_channel_switch(&local->hw, &sdata->vif, in drv_tdls_recv_channel_switch()
1166 local->ops->wake_tx_queue(&local->hw, &txq->txq); in drv_wake_tx_queue()