Lines Matching refs:ops
58 if (lhw->ops->start == NULL) { in lkpi_80211_mo_start()
69 error = lhw->ops->start(hw); in lkpi_80211_mo_start()
83 if (lhw->ops->stop == NULL) in lkpi_80211_mo_stop()
87 lhw->ops->stop(hw); in lkpi_80211_mo_stop()
98 if (lhw->ops->get_antenna == NULL) { in lkpi_80211_mo_get_antenna()
104 error = lhw->ops->get_antenna(hw, txs, rxs); in lkpi_80211_mo_get_antenna()
117 if (lhw->ops->set_frag_threshold == NULL) { in lkpi_80211_mo_set_frag_threshold()
123 error = lhw->ops->set_frag_threshold(hw, frag_th); in lkpi_80211_mo_set_frag_threshold()
136 if (lhw->ops->set_rts_threshold == NULL) { in lkpi_80211_mo_set_rts_threshold()
142 error = lhw->ops->set_rts_threshold(hw, rts_th); in lkpi_80211_mo_set_rts_threshold()
157 if (lhw->ops->add_interface == NULL) { in lkpi_80211_mo_add_interface()
173 error = lhw->ops->add_interface(hw, vif); in lkpi_80211_mo_add_interface()
191 if (lhw->ops->remove_interface == NULL) in lkpi_80211_mo_remove_interface()
203 lhw->ops->remove_interface(hw, vif); in lkpi_80211_mo_remove_interface()
224 if (lhw->ops->hw_scan == NULL) { in lkpi_80211_mo_hw_scan()
231 error = lhw->ops->hw_scan(hw, vif, sr); in lkpi_80211_mo_hw_scan()
244 if (lhw->ops->cancel_hw_scan == NULL) in lkpi_80211_mo_cancel_hw_scan()
248 lhw->ops->cancel_hw_scan(hw, vif); in lkpi_80211_mo_cancel_hw_scan()
257 if (lhw->ops->sw_scan_complete == NULL) in lkpi_80211_mo_sw_scan_complete()
261 lhw->ops->sw_scan_complete(hw, vif); in lkpi_80211_mo_sw_scan_complete()
272 if (lhw->ops->sw_scan_start == NULL) in lkpi_80211_mo_sw_scan_start()
276 lhw->ops->sw_scan_start(hw, vif, addr); in lkpi_80211_mo_sw_scan_start()
291 if (lhw->ops->prepare_multicast == NULL) in lkpi_80211_mo_prepare_multicast()
295 ptr = lhw->ops->prepare_multicast(hw, mc_list); in lkpi_80211_mo_prepare_multicast()
306 if (lhw->ops->configure_filter == NULL) in lkpi_80211_mo_configure_filter()
313 lhw->ops->configure_filter(hw, changed_flags, total_flags, mc_ptr); in lkpi_80211_mo_configure_filter()
331 if (lhw->ops->sta_add == NULL) { in lkpi_80211_mo_sta_add()
343 error = lhw->ops->sta_add(hw, vif, sta); in lkpi_80211_mo_sta_add()
360 if (lhw->ops->sta_remove == NULL) { in lkpi_80211_mo_sta_remove()
373 error = lhw->ops->sta_remove(hw, vif, sta); in lkpi_80211_mo_sta_remove()
391 if (lhw->ops->sta_state != NULL) { in lkpi_80211_mo_sta_state()
393 error = lhw->ops->sta_state(hw, vif, sta, lsta->state, nstate); in lkpi_80211_mo_sta_state()
432 if (lhw->ops->config == NULL) { in lkpi_80211_mo_config()
438 error = lhw->ops->config(hw, changed); in lkpi_80211_mo_config()
453 if (lhw->ops->assign_vif_chanctx == NULL) { in lkpi_80211_mo_assign_vif_chanctx()
460 error = lhw->ops->assign_vif_chanctx(hw, vif, conf, chanctx_conf); in lkpi_80211_mo_assign_vif_chanctx()
475 if (lhw->ops->unassign_vif_chanctx == NULL) in lkpi_80211_mo_unassign_vif_chanctx()
483 lhw->ops->unassign_vif_chanctx(hw, vif, conf, *chanctx_conf); in lkpi_80211_mo_unassign_vif_chanctx()
497 if (lhw->ops->add_chanctx == NULL) { in lkpi_80211_mo_add_chanctx()
503 error = lhw->ops->add_chanctx(hw, chanctx_conf); in lkpi_80211_mo_add_chanctx()
520 if (lhw->ops->change_chanctx == NULL) in lkpi_80211_mo_change_chanctx()
524 lhw->ops->change_chanctx(hw, chanctx_conf, changed); in lkpi_80211_mo_change_chanctx()
535 if (lhw->ops->remove_chanctx == NULL) in lkpi_80211_mo_remove_chanctx()
539 lhw->ops->remove_chanctx(hw, chanctx_conf); in lkpi_80211_mo_remove_chanctx()
551 if (lhw->ops->link_info_changed == NULL && in lkpi_80211_mo_bss_info_changed()
552 lhw->ops->bss_info_changed == NULL) in lkpi_80211_mo_bss_info_changed()
556 if (lhw->ops->link_info_changed != NULL) in lkpi_80211_mo_bss_info_changed()
557 lhw->ops->link_info_changed(hw, vif, conf, changed); in lkpi_80211_mo_bss_info_changed()
559 lhw->ops->bss_info_changed(hw, vif, conf, changed); in lkpi_80211_mo_bss_info_changed()
570 if (lhw->ops->conf_tx == NULL) { in lkpi_80211_mo_conf_tx()
577 error = lhw->ops->conf_tx(hw, vif, link_id, ac, txqp); in lkpi_80211_mo_conf_tx()
590 if (lhw->ops->flush == NULL) in lkpi_80211_mo_flush()
594 lhw->ops->flush(hw, vif, nqueues, drop); in lkpi_80211_mo_flush()
604 if (lhw->ops->mgd_prepare_tx == NULL) in lkpi_80211_mo_mgd_prepare_tx()
608 lhw->ops->mgd_prepare_tx(hw, vif, txinfo); in lkpi_80211_mo_mgd_prepare_tx()
618 if (lhw->ops->mgd_complete_tx == NULL) in lkpi_80211_mo_mgd_complete_tx()
622 lhw->ops->mgd_complete_tx(hw, vif, txinfo); in lkpi_80211_mo_mgd_complete_tx()
632 if (lhw->ops->tx == NULL) in lkpi_80211_mo_tx()
636 lhw->ops->tx(hw, txctrl, skb); in lkpi_80211_mo_tx()
645 if (lhw->ops->wake_tx_queue == NULL) in lkpi_80211_mo_wake_tx_queue()
649 lhw->ops->wake_tx_queue(hw, txq); in lkpi_80211_mo_wake_tx_queue()
658 if (lhw->ops->sync_rx_queues == NULL) in lkpi_80211_mo_sync_rx_queues()
662 lhw->ops->sync_rx_queues(hw); in lkpi_80211_mo_sync_rx_queues()
672 if (lhw->ops->sta_pre_rcu_remove == NULL) in lkpi_80211_mo_sta_pre_rcu_remove()
676 lhw->ops->sta_pre_rcu_remove(hw, vif, sta); in lkpi_80211_mo_sta_pre_rcu_remove()
688 if (lhw->ops->set_key == NULL) { in lkpi_80211_mo_set_key()
694 error = lhw->ops->set_key(hw, cmd, vif, sta, kc); in lkpi_80211_mo_set_key()
708 if (lhw->ops->ampdu_action == NULL) { in lkpi_80211_mo_ampdu_action()
716 error = lhw->ops->ampdu_action(hw, vif, params); in lkpi_80211_mo_ampdu_action()