Home
last modified time | relevance | path

Searched refs:hw (Results 1 – 25 of 77) sorted by relevance

1234

/net/mac80211/
A Dmain.c543 wiphy_info(hw->wiphy, in ieee80211_restart_hw()
914 local->hw.wiphy = wiphy; in ieee80211_alloc_hw_nm()
937 local->hw.queues = 1; in ieee80211_alloc_hw_nm()
938 local->hw.max_rates = 1; in ieee80211_alloc_hw_nm()
1030 return &local->hw; in ieee80211_alloc_hw_nm()
1119 local->hw.offchannel_tx_hw_queue >= local->hw.queues)) in ieee80211_register_hw()
1196 if (hw->wiphy->n_radio) { in ieee80211_register_hw()
1215 hw->max_report_rates = hw->max_rates; in ieee80211_register_hw()
1497 local->hw.conf.listen_interval = local->hw.max_listen_interval; in ieee80211_register_hw()
1584 wiphy_lock(hw->wiphy); in ieee80211_register_hw()
[all …]
A Ddriver-ops.h38 local->ops->tx(&local->hw, control, skb); in drv_tx()
45 lockdep_assert_wiphy(local->hw.wiphy); in drv_sync_rx_queues()
49 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues()
101 lockdep_assert_wiphy(local->hw.wiphy); in drv_suspend()
114 lockdep_assert_wiphy(local->hw.wiphy); in drv_resume()
117 ret = local->ops->resume(&local->hw); in drv_resume()
126 lockdep_assert_wiphy(local->hw.wiphy); in drv_set_wakeup()
153 lockdep_assert_wiphy(local->hw.wiphy); in drv_config()
166 lockdep_assert_wiphy(local->hw.wiphy); in drv_vif_cfg_changed()
206 lockdep_assert_wiphy(local->hw.wiphy); in drv_configure_filter()
[all …]
A Ddriver-ops.c18 lockdep_assert_wiphy(local->hw.wiphy); in drv_start()
27 ret = local->ops->start(&local->hw); in drv_start()
39 lockdep_assert_wiphy(local->hw.wiphy); in drv_stop()
45 local->ops->stop(&local->hw, suspend); in drv_stop()
63 lockdep_assert_wiphy(local->hw.wiphy); in drv_add_interface()
97 lockdep_assert_wiphy(local->hw.wiphy); in drv_change_interface()
112 lockdep_assert_wiphy(local->hw.wiphy); in drv_remove_interface()
143 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_state()
177 lockdep_assert_wiphy(local->hw.wiphy); in drv_sta_set_txpwr()
220 lockdep_assert_wiphy(local->hw.wiphy); in drv_conf_tx()
[all …]
A Doffchannel.c87 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_offchannel_stop_vifs()
137 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_offchannel_return()
200 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_end_finished_rocs()
267 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_hw_roc_start()
296 lockdep_assert_wiphy(local->hw.wiphy); in _ieee80211_start_next_roc()
326 wiphy_warn(local->hw.wiphy, in _ieee80211_start_next_roc()
390 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_start_next_roc()
454 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_roc_work()
493 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_roc_work()
503 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_hw_roc_done()
[all …]
A Dscan.c37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put()
448 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_scan_completed()
596 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_can_leave_ch()
634 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_run_deferred_scan()
729 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_start_scan()
925 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_scan_state_decision()
1095 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_scan_work()
1204 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_request_ibss_scan()
1215 if (!local->hw.wiphy->bands[band] || in ieee80211_request_ibss_scan()
1268 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_scan_cancel()
[all …]
A Dpm.c18 cfg80211_sched_scan_stopped_locked(local->hw.wiphy, 0); in ieee80211_sched_scan_cancel()
23 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend()
41 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION) && in __ieee80211_suspend()
43 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_suspend()
55 ieee80211_stop_queues_by_reason(hw, in __ieee80211_suspend()
110 local->hw.conf.flags |= IEEE80211_CONF_PS; in __ieee80211_suspend()
120 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION)) { in __ieee80211_suspend()
121 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_suspend()
127 ieee80211_wake_queues_by_reason(hw, in __ieee80211_suspend()
137 ieee80211_wake_queues_by_reason(hw, in __ieee80211_suspend()
[all …]
A Dutil.c45 return &local->hw; in wiphy_to_ieee80211_hw()
440 if (WARN_ON(queue >= hw->queues)) in __ieee80211_wake_queue()
506 if (WARN_ON(queue >= hw->queues)) in __ieee80211_stop_queue()
543 struct ieee80211_hw *hw = &local->hw; in ieee80211_add_pending_skb() local
565 struct ieee80211_hw *hw = &local->hw; in ieee80211_add_pending_skbs() local
588 for (i = 0; i < hw->queues; i++) in ieee80211_add_pending_skbs()
589 __ieee80211_wake_queue(hw, i, in ieee80211_add_pending_skbs()
626 if (WARN_ON(queue >= hw->queues)) in ieee80211_queue_stopped()
811 lockdep_assert_wiphy(hw->wiphy); in ieee80211_iterate_active_interfaces_mtx()
1748 struct ieee80211_hw *hw = &local->hw; in ieee80211_reconfig() local
[all …]
A Dkey.c65 lockdep_assert_wiphy(sdata->local->hw.wiphy); in update_vlan_tailroom_need_count()
127 lockdep_assert_wiphy(key->local->hw.wiphy); in ieee80211_key_enable_hw_accel()
272 lockdep_assert_wiphy(local->hw.wiphy); in _ieee80211_set_tx_key()
297 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_pairwise_rekey()
1013 void (*iter)(struct ieee80211_hw *hw, in ieee80211_iter_keys() argument
1024 lockdep_assert_wiphy(hw->wiphy); in ieee80211_iter_keys()
1043 void (*iter)(struct ieee80211_hw *hw, in _ieee80211_iter_keys_rcu() argument
1107 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_remove_link_keys()
1124 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_free_key_list()
1142 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_free_keys()
[all …]
A Diface.c111 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_recalc_idle()
161 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_verify_mac()
171 m = local->hw.wiphy->addr_mask; in ieee80211_verify_mac()
208 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_can_powered_addr_change()
307 guard(wiphy)(local->hw.wiphy); in ieee80211_change_mac()
545 wiphy_work_cancel(local->hw.wiphy, in ieee80211_do_stop()
1185 wiphy_name(local->hw.wiphy)); in ieee80211_add_virtual_monitor()
2093 m = local->hw.wiphy->addr_mask; in ieee80211_assign_perm_addr()
2108 m = local->hw.wiphy->perm_addr; in ieee80211_assign_perm_addr()
2188 local->hw.txq_data_size; in ieee80211_if_add()
[all …]
A Dchan.c21 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_num_assigned()
35 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_num_reserved()
55 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_num_chanctx()
69 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_can_create_new_chanctx()
148 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_reserved_chanreq()
171 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_chanctx_non_reserved_chandef()
1645 wiphy_info(local->hw.wiphy, in ieee80211_vif_use_reserved_switch()
2034 wiphy_info(local->hw.wiphy, in ieee80211_link_use_reserved_context()
2193 struct ieee80211_hw *hw, in ieee80211_iter_chan_contexts_atomic() argument
2211 struct ieee80211_hw *hw, in ieee80211_iter_chan_contexts_mtx() argument
[all …]
A Dtx.c252 wiphy_work_queue(local->hw.wiphy, in ieee80211_tx_h_dynamic_ps()
692 txrc.hw = &tx->local->hw; in ieee80211_tx_h_rate_ctrl()
1380 struct ieee80211_hw *hw; in codel_drop_func() local
1385 hw = &local->hw; in codel_drop_func()
1387 ieee80211_free_txskb(hw, skb); in codel_drop_func()
1554 if (local->hw.wiphy->txq_limit) in ieee80211_txq_set_params()
1913 ieee80211_free_txskb(hw, skb2); in ieee80211_tx_prepare_skb()
2005 wiphy_debug(local->hw.wiphy, in ieee80211_skb_resize()
3313 wiphy_debug(local->hw.wiphy, in ieee80211_amsdu_realloc_pad()
5253 txrc.hw = hw; in ieee80211_beacon_get_finish()
[all …]
A Dled.c35 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
37 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
39 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
41 wiphy_name(local->hw.wiphy)); in ieee80211_alloc_led_names()
216 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_radio_led_name()
224 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_assoc_led_name()
232 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_tx_led_name()
240 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_rx_led_name()
290 __ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw, in __ieee80211_create_tpt_led_trigger() argument
295 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_create_tpt_led_trigger()
[all …]
A Dstatus.c25 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_tx_status_irqsafe()
36 ieee80211_free_txskb(hw, skb); in ieee80211_tx_status_irqsafe()
55 ieee80211_free_txskb(&local->hw, skb); in ieee80211_handle_filtered_frame()
169 ieee80211_free_txskb(&local->hw, skb); in ieee80211_handle_filtered_frame()
303 sband = local->hw.wiphy->bands[info->band]; in ieee80211_add_tx_radiotap_header()
349 u16 known = local->hw.radiotap_vht_details & in ieee80211_add_tx_radiotap_header()
712 wiphy_work_queue(sdata->local->hw.wiphy, in ieee80211_handle_teardown_ttlm_status()
765 wiphy_work_queue(local->hw.wiphy, in ieee80211_report_used_skb()
880 } else if (i >= hw->max_report_rates) { in ieee80211_tx_get_rates()
1116 ieee80211_tx_status_ext(hw, &status); in ieee80211_tx_status_skb()
[all …]
A Dibss.c198 if (local->hw.queues >= IEEE80211_NUM_ACS) in ieee80211_ibss_build_presp()
231 lockdep_assert_wiphy(local->hw.wiphy); in __ieee80211_sta_join_ibss()
377 cfg80211_put_bss(local->hw.wiphy, bss); in __ieee80211_sta_join_ibss()
620 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_add_sta()
661 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_ibss_disconnect()
877 wiphy_work_queue(sdata->local->hw.wiphy, in ieee80211_ibss_process_chanswitch()
974 sband = local->hw.wiphy->bands[band]; in ieee80211_update_sta_info()
1210 sband = local->hw.wiphy->bands[band]; in ieee80211_ibss_rx_no_sta()
1228 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_ibss_sta_expire()
1697 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_ibss_notify_scan_completed()
[all …]
A Dagg-tx.c73 local->hw.extra_tx_headroom); in ieee80211_send_addba_request()
77 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_addba_request()
115 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_bar()
136 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_assign_tid_tx()
161 &sdata->local->hw, queue, in __acquires()
174 &sdata->local->hw, queue, in __releases()
207 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_agg_start_txq()
265 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_remove_tid_tx()
305 lockdep_assert_wiphy(sta->local->hw.wiphy); in __ieee80211_stop_tx_ba_session()
456 lockdep_assert_wiphy(sta->local->hw.wiphy); in ieee80211_send_addba_with_timeout()
[all …]
A Dmlme.c2146 size = local->hw.extra_tx_headroom + in ieee80211_send_assoc()
2222 local->hw.conf.listen_interval); in ieee80211_send_assoc()
2419 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_csa_switch_work()
2594 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_sta_abort_chanswitch()
2742 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_sta_process_chanswitch()
3280 wiphy_work_cancel(local->hw.wiphy, in ieee80211_change_ps()
4615 struct ieee80211_hw *hw = &sdata->local->hw; in ieee80211_beacon_loss() local
4627 struct ieee80211_hw *hw; in ieee80211_connection_loss() local
4632 hw = &sdata->local->hw; in ieee80211_connection_loss()
4644 struct ieee80211_hw *hw = &sdata->local->hw; in ieee80211_disconnect() local
[all …]
A Dsta_info.c100 lockdep_assert_wiphy(local->hw.wiphy); in link_sta_info_hash_add()
109 lockdep_assert_wiphy(local->hw.wiphy); in link_sta_info_hash_del()
541 struct ieee80211_hw *hw = &local->hw; in sta_info_alloc_link() local
544 if (ieee80211_hw_check(hw, USES_RSS)) { in sta_info_alloc_link()
603 struct ieee80211_hw *hw = &local->hw; in __sta_info_alloc() local
713 if (!hw->wiphy->bands[i]) in __sta_info_alloc()
886 lockdep_assert_wiphy(local->hw.wiphy); in sta_info_insert_finish()
1000 lockdep_assert_wiphy(local->hw.wiphy); in sta_info_insert_rcu()
1283 lockdep_assert_wiphy(local->hw.wiphy); in __sta_info_destroy_part1()
1510 lockdep_assert_wiphy(local->hw.wiphy); in __sta_info_destroy_part2()
[all …]
A Docb.c75 sband = local->hw.wiphy->bands[band]; in ieee80211_ocb_rx_no_sta()
81 wiphy_work_queue(local->hw.wiphy, &sdata->work); in ieee80211_ocb_rx_no_sta()
124 lockdep_assert_wiphy(sdata->local->hw.wiphy); in ieee80211_ocb_work()
155 wiphy_work_queue(local->hw.wiphy, &sdata->work); in ieee80211_ocb_housekeeping_timer()
177 lockdep_assert_wiphy(sdata->local->hw.wiphy); in ieee80211_ocb_join()
196 wiphy_work_queue(local->hw.wiphy, &sdata->work); in ieee80211_ocb_join()
208 lockdep_assert_wiphy(sdata->local->hw.wiphy); in ieee80211_ocb_leave()
A Dcfg.c252 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_change_iface()
510 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_add_key()
680 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_del_key()
780 params.seq = kseq.hw.seq; in ieee80211_get_key()
781 params.seq_len = kseq.hw.seq_len; in ieee80211_get_key()
882 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_dump_station()
917 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_get_station()
943 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_set_monitor_channel()
1387 lockdep_assert_wiphy(local->hw.wiphy); in ieee80211_start_ap()
2972 wiphy_debug(local->hw.wiphy, in ieee80211_set_txq_params()
[all …]
A Dairtime.c506 static u32 ieee80211_get_rate_duration(struct ieee80211_hw *hw, in ieee80211_get_rate_duration() argument
585 u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw, in ieee80211_calc_rx_airtime() argument
602 sband = hw->wiphy->bands[status->band]; in ieee80211_calc_rx_airtime()
625 static bool ieee80211_fill_rate_info(struct ieee80211_hw *hw, in ieee80211_fill_rate_info() argument
678 struct ieee80211_hw *hw, in ieee80211_fill_rx_status() argument
685 if (ieee80211_fill_rate_info(hw, stat, band, ri)) in ieee80211_fill_rx_status()
727 if (ieee80211_fill_rx_status(&stat, hw, rate, ri, band, len)) in ieee80211_calc_tx_airtime_rate()
730 return ieee80211_calc_rx_airtime(hw, &stat, len); in ieee80211_calc_tx_airtime_rate()
733 u32 ieee80211_calc_tx_airtime(struct ieee80211_hw *hw, in ieee80211_calc_tx_airtime() argument
788 return ieee80211_calc_rx_airtime(hw, &stat, len); in ieee80211_calc_expected_tx_airtime()
[all …]
A Ddebugfs.c62 local->hw.conf.flags);
66 local->hw.conf.power_level);
287 guard(wiphy)(local->hw.wiphy); in aql_txq_limit_write()
417 wiphy_lock(local->hw.wiphy); in reset_write()
418 __ieee80211_suspend(&local->hw, NULL); in reset_write()
419 ret = __ieee80211_resume(&local->hw); in reset_write()
420 wiphy_unlock(local->hw.wiphy); in reset_write()
517 if (test_bit(i, local->hw.flags)) in hwflags_read()
608 for (q = 0; q < local->hw.queues; q++) in queues_read()
632 wiphy_lock(local->hw.wiphy); in format_devstat_counter()
[all …]
A Dagg-rx.c72 lockdep_assert_wiphy(sta->local->hw.wiphy); in __ieee80211_stop_rx_ba_session()
75 lockdep_is_held(&sta->local->hw.wiphy->mtx)); in __ieee80211_stop_rx_ba_session()
135 wiphy_work_queue(sta->local->hw.wiphy, &sta->ampdu_mlme.work); in ieee80211_stop_rx_ba_session()
162 wiphy_work_queue(sta->local->hw.wiphy, &sta->ampdu_mlme.work); in sta_rx_agg_session_timer_expired()
239 bool amsdu = ieee80211_hw_check(&local->hw, SUPPORTS_AMSDU_IN_AMPDU); in ieee80211_send_addba_resp()
244 local->hw.extra_tx_headroom); in ieee80211_send_addba_resp()
248 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_addba_resp()
291 lockdep_assert_wiphy(sta->local->hw.wiphy); in __ieee80211_start_rx_ba_session()
384 if (ieee80211_hw_check(&local->hw, SUPPORTS_REORDERING_BUFFER)) { in __ieee80211_start_rx_ba_session()
512 wiphy_work_queue(sta->local->hw.wiphy, &sta->ampdu_mlme.work); in ieee80211_manage_rx_ba_offl()
[all …]
/net/mac802154/
A Dutil.c28 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue()
54 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_stop_queue()
73 ieee802154_stop_queue(&local->hw); in ieee802154_hold_queue()
83 ieee802154_wake_queue(&local->hw); in ieee802154_release_queue()
125 if (hw->flags & IEEE802154_HW_TX_OMIT_CKSUM) in ieee802154_xmit_complete()
133 hw->phy->lifs_period * NSEC_PER_USEC, in ieee802154_xmit_complete()
137 hw->phy->sifs_period * NSEC_PER_USEC, in ieee802154_xmit_complete()
144 if (atomic_dec_and_test(&hw->phy->ongoing_txs)) in ieee802154_xmit_complete()
145 wake_up(&hw->phy->sync_txq); in ieee802154_xmit_complete()
157 if (atomic_dec_and_test(&hw->phy->ongoing_txs)) in ieee802154_xmit_error()
[all …]
A Ddriver-ops.h16 return local->ops->xmit_async(&local->hw, skb); in drv_xmit_async()
24 return local->ops->xmit_sync(&local->hw, skb); in drv_xmit_sync()
42 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_id()
64 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_extended_addr()
141 if (local->hw.flags & IEEE802154_HW_AFILT) { in drv_start()
166 if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { in drv_start()
210 ret = local->ops->start(&local->hw); in drv_start()
220 local->ops->stop(&local->hw); in drv_stop()
257 ret = local->ops->set_txpower(&local->hw, mbm); in drv_set_tx_power()
275 ret = local->ops->set_cca_mode(&local->hw, cca); in drv_set_cca_mode()
[all …]
A Dmain.c87 local->hw.phy = local->phy; in ieee802154_alloc_hw()
120 return &local->hw; in ieee802154_alloc_hw()
171 void ieee802154_free_hw(struct ieee802154_hw *hw) in ieee802154_free_hw() argument
173 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_free_hw()
195 int ieee802154_register_hw(struct ieee802154_hw *hw) in ieee802154_register_hw() argument
197 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_register_hw()
219 wpan_phy_set_dev(local->phy, local->hw.parent); in ieee802154_register_hw()
226 if (!(hw->flags & IEEE802154_HW_CSMA_PARAMS)) { in ieee802154_register_hw()
235 if (!(hw->flags & IEEE802154_HW_FRAME_RETRIES)) { in ieee802154_register_hw()
240 if (hw->flags & IEEE802154_HW_PROMISCUOUS) in ieee802154_register_hw()
[all …]

Completed in 117 milliseconds

1234