Lines Matching defs:lhw

53 	struct lkpi_hw *lhw;
56 lhw = HW_TO_LHW(hw);
57 if (lhw->ops->start == NULL) {
62 if ((lhw->sc_flags & LKPI_MAC80211_DRV_STARTED)) {
68 error = lhw->ops->start(hw);
70 lhw->sc_flags |= LKPI_MAC80211_DRV_STARTED;
79 struct lkpi_hw *lhw;
81 lhw = HW_TO_LHW(hw);
82 if (lhw->ops->stop == NULL)
86 lhw->ops->stop(hw, suspend);
87 lhw->sc_flags &= ~LKPI_MAC80211_DRV_STARTED;
93 struct lkpi_hw *lhw;
96 lhw = HW_TO_LHW(hw);
97 if (lhw->ops->get_antenna == NULL) {
103 error = lhw->ops->get_antenna(hw, txs, rxs);
112 struct lkpi_hw *lhw;
115 lhw = HW_TO_LHW(hw);
116 if (lhw->ops->set_frag_threshold == NULL) {
122 error = lhw->ops->set_frag_threshold(hw, frag_th);
131 struct lkpi_hw *lhw;
134 lhw = HW_TO_LHW(hw);
135 if (lhw->ops->set_rts_threshold == NULL) {
141 error = lhw->ops->set_rts_threshold(hw, rts_th);
151 struct lkpi_hw *lhw;
155 lhw = HW_TO_LHW(hw);
156 if (lhw->ops->add_interface == NULL) {
172 error = lhw->ops->add_interface(hw, vif);
186 struct lkpi_hw *lhw;
189 lhw = HW_TO_LHW(hw);
190 if (lhw->ops->remove_interface == NULL)
202 lhw->ops->remove_interface(hw, vif);
213 struct lkpi_hw *lhw;
222 lhw = HW_TO_LHW(hw);
223 if (lhw->ops->hw_scan == NULL) {
230 error = lhw->ops->hw_scan(hw, vif, sr);
240 struct lkpi_hw *lhw;
242 lhw = HW_TO_LHW(hw);
243 if (lhw->ops->cancel_hw_scan == NULL)
247 lhw->ops->cancel_hw_scan(hw, vif);
253 struct lkpi_hw *lhw;
255 lhw = HW_TO_LHW(hw);
256 if (lhw->ops->sw_scan_complete == NULL)
260 lhw->ops->sw_scan_complete(hw, vif);
261 lhw->scan_flags &= ~LKPI_LHW_SCAN_RUNNING;
268 struct lkpi_hw *lhw;
270 lhw = HW_TO_LHW(hw);
271 if (lhw->ops->sw_scan_start == NULL)
275 lhw->ops->sw_scan_start(hw, vif, addr);
286 struct lkpi_hw *lhw;
289 lhw = HW_TO_LHW(hw);
290 if (lhw->ops->prepare_multicast == NULL)
294 ptr = lhw->ops->prepare_multicast(hw, mc_list);
302 struct lkpi_hw *lhw;
304 lhw = HW_TO_LHW(hw);
305 if (lhw->ops->configure_filter == NULL)
312 lhw->ops->configure_filter(hw, changed_flags, total_flags, mc_ptr);
325 struct lkpi_hw *lhw;
329 lhw = HW_TO_LHW(hw);
330 if (lhw->ops->sta_add == NULL) {
342 error = lhw->ops->sta_add(hw, vif, sta);
354 struct lkpi_hw *lhw;
358 lhw = HW_TO_LHW(hw);
359 if (lhw->ops->sta_remove == NULL) {
372 error = lhw->ops->sta_remove(hw, vif, sta);
384 struct lkpi_hw *lhw;
388 lhw = HW_TO_LHW(hw);
390 if (lhw->ops->sta_state != NULL) {
392 error = lhw->ops->sta_state(hw, vif, sta, lsta->state, nstate);
427 struct lkpi_hw *lhw;
430 lhw = HW_TO_LHW(hw);
431 if (lhw->ops->config == NULL) {
437 error = lhw->ops->config(hw, changed);
448 struct lkpi_hw *lhw;
451 lhw = HW_TO_LHW(hw);
452 if (lhw->ops->assign_vif_chanctx == NULL) {
459 error = lhw->ops->assign_vif_chanctx(hw, vif, conf, chanctx_conf);
471 struct lkpi_hw *lhw;
473 lhw = HW_TO_LHW(hw);
474 if (lhw->ops->unassign_vif_chanctx == NULL)
482 lhw->ops->unassign_vif_chanctx(hw, vif, conf, *chanctx_conf);
491 struct lkpi_hw *lhw;
495 lhw = HW_TO_LHW(hw);
496 if (lhw->ops->add_chanctx == NULL) {
502 error = lhw->ops->add_chanctx(hw, chanctx_conf);
516 struct lkpi_hw *lhw;
518 lhw = HW_TO_LHW(hw);
519 if (lhw->ops->change_chanctx == NULL)
523 lhw->ops->change_chanctx(hw, chanctx_conf, changed);
530 struct lkpi_hw *lhw;
533 lhw = HW_TO_LHW(hw);
534 if (lhw->ops->remove_chanctx == NULL)
538 lhw->ops->remove_chanctx(hw, chanctx_conf);
547 struct lkpi_hw *lhw;
549 lhw = HW_TO_LHW(hw);
550 if (lhw->ops->link_info_changed == NULL &&
551 lhw->ops->bss_info_changed == NULL)
555 if (lhw->ops->link_info_changed != NULL)
556 lhw->ops->link_info_changed(hw, vif, conf, changed);
558 lhw->ops->bss_info_changed(hw, vif, conf, changed);
565 struct lkpi_hw *lhw;
568 lhw = HW_TO_LHW(hw);
569 if (lhw->ops->conf_tx == NULL) {
576 error = lhw->ops->conf_tx(hw, vif, link_id, ac, txqp);
586 struct lkpi_hw *lhw;
588 lhw = HW_TO_LHW(hw);
589 if (lhw->ops->flush == NULL)
593 lhw->ops->flush(hw, vif, nqueues, drop);
600 struct lkpi_hw *lhw;
602 lhw = HW_TO_LHW(hw);
603 if (lhw->ops->mgd_prepare_tx == NULL)
607 lhw->ops->mgd_prepare_tx(hw, vif, txinfo);
614 struct lkpi_hw *lhw;
616 lhw = HW_TO_LHW(hw);
617 if (lhw->ops->mgd_complete_tx == NULL)
621 lhw->ops->mgd_complete_tx(hw, vif, txinfo);
628 struct lkpi_hw *lhw;
630 lhw = HW_TO_LHW(hw);
631 if (lhw->ops->tx == NULL)
635 lhw->ops->tx(hw, txctrl, skb);
641 struct lkpi_hw *lhw;
643 lhw = HW_TO_LHW(hw);
644 if (lhw->ops->wake_tx_queue == NULL)
648 lhw->ops->wake_tx_queue(hw, txq);
654 struct lkpi_hw *lhw;
656 lhw = HW_TO_LHW(hw);
657 if (lhw->ops->sync_rx_queues == NULL)
661 lhw->ops->sync_rx_queues(hw);
668 struct lkpi_hw *lhw;
670 lhw = HW_TO_LHW(hw);
671 if (lhw->ops->sta_pre_rcu_remove == NULL)
675 lhw->ops->sta_pre_rcu_remove(hw, vif, sta);
683 struct lkpi_hw *lhw;
686 lhw = HW_TO_LHW(hw);
687 if (lhw->ops->set_key == NULL) {
693 error = lhw->ops->set_key(hw, cmd, vif, sta, kc);
703 struct lkpi_hw *lhw;
706 lhw = HW_TO_LHW(hw);
707 if (lhw->ops->ampdu_action == NULL) {
715 error = lhw->ops->ampdu_action(hw, vif, params);