Searched refs:hw (Results 1 - 25 of 50) sorted by relevance

12

/net/mac80211/
H A Dmain.c104 offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL;
121 local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL;
123 local->hw.conf.flags &= ~IEEE80211_CONF_OFFCHANNEL;
125 offchannel_flag ^= local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL;
128 !cfg80211_chandef_identical(&local->hw.conf.chandef,
130 local->hw.conf.chandef = chandef;
134 if (!conf_is_ht(&local->hw.conf)) {
140 local->hw.conf.smps_mode = IEEE80211_SMPS_STATIC;
141 } else if (local->hw.conf.smps_mode != local->smps_mode) {
142 local->hw
265 ieee80211_restart_hw(struct ieee80211_hw *hw) argument
752 ieee80211_register_hw(struct ieee80211_hw *hw) argument
1087 ieee80211_napi_add(struct ieee80211_hw *hw, struct napi_struct *napi, struct net_device *napi_dev, int (*poll)(struct napi_struct *, int), int weight) argument
1099 ieee80211_unregister_hw(struct ieee80211_hw *hw) argument
1155 ieee80211_free_hw(struct ieee80211_hw *hw) argument
[all...]
H A Ddriver-ops.h29 local->ops->tx(&local->hw, control, skb);
38 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data);
50 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data);
62 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif,
78 ret = local->ops->start(&local->hw);
88 local->ops->stop(&local->hw);
109 ret = local->ops->suspend(&local->hw, wowlan);
121 ret = local->ops->resume(&local->hw);
135 local->ops->set_wakeup(&local->hw, enabled);
149 !(local->hw
[all...]
H A Dpm.c9 int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) argument
11 struct ieee80211_local *local = hw_to_local(hw);
26 if (hw->flags & IEEE80211_HW_AMPDU_AGGREGATION) {
36 ieee80211_stop_queues_by_reason(hw,
68 if (hw->flags & IEEE80211_HW_AMPDU_AGGREGATION) {
76 ieee80211_wake_queues_by_reason(hw,
H A Dled.c56 "%srx", wiphy_name(local->hw.wiphy));
58 "%stx", wiphy_name(local->hw.wiphy));
60 "%sassoc", wiphy_name(local->hw.wiphy));
62 "%sradio", wiphy_name(local->hw.wiphy));
136 char *__ieee80211_get_radio_led_name(struct ieee80211_hw *hw) argument
138 struct ieee80211_local *local = hw_to_local(hw);
144 char *__ieee80211_get_assoc_led_name(struct ieee80211_hw *hw) argument
146 struct ieee80211_local *local = hw_to_local(hw);
152 char *__ieee80211_get_tx_led_name(struct ieee80211_hw *hw) argument
154 struct ieee80211_local *local = hw_to_local(hw);
160 __ieee80211_get_rx_led_name(struct ieee80211_hw *hw) argument
214 __ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw, unsigned int flags, const struct ieee80211_tpt_blink *blink_table, unsigned int blink_table_len) argument
[all...]
H A Doffchannel.c42 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
44 local->hw.conf.flags &= ~IEEE80211_CONF_PS;
49 !(local->hw.flags & IEEE80211_HW_PS_NULLFUNC_STACK))
87 local->hw.conf.flags |= IEEE80211_CONF_PS;
89 } else if (local->hw.conf.dynamic_ps_timeout > 0) {
98 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout));
121 ieee80211_stop_queues_by_reason(&local->hw, IEEE80211_MAX_QUEUE_MAP,
185 ieee80211_wake_queues_by_reason(&local->hw, IEEE80211_MAX_QUEUE_MAP,
245 void ieee80211_ready_on_channel(struct ieee80211_hw *hw) argument
247 struct ieee80211_local *local = hw_to_local(hw);
449 ieee80211_remain_on_channel_expired(struct ieee80211_hw *hw) argument
[all...]
H A Ddebugfs.c232 local->hw.conf.power_level);
238 local->rate_ctrl ? local->rate_ctrl->ops->name : "hw/driver");
247 __ieee80211_suspend(&local->hw, NULL);
248 __ieee80211_resume(&local->hw);
273 sf += scnprintf(buf, mxln - sf, "0x%x\n", local->hw.flags);
274 if (local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL)
276 if (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS)
278 if (local->hw.flags & IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING)
281 if (local->hw.flags & IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE)
284 if (local->hw
[all...]
H A Dutil.c46 return &local->hw;
178 __le16 ieee80211_generic_frame_duration(struct ieee80211_hw *hw, argument
205 __le16 ieee80211_rts_duration(struct ieee80211_hw *hw, argument
209 struct ieee80211_local *local = hw_to_local(hw);
217 sband = local->hw.wiphy->bands[frame_txctl->band];
248 __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw, argument
253 struct ieee80211_local *local = hw_to_local(hw);
261 sband = local->hw.wiphy->bands[frame_txctl->band];
295 if (local->hw.queues < IEEE80211_NUM_ACS)
320 static void __ieee80211_wake_queue(struct ieee80211_hw *hw, in argument
354 ieee80211_wake_queue_by_reason(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) argument
366 ieee80211_wake_queue(struct ieee80211_hw *hw, int queue) argument
374 __ieee80211_stop_queue(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) argument
414 ieee80211_stop_queue_by_reason(struct ieee80211_hw *hw, int queue, enum queue_stop_reason reason, bool refcounted) argument
426 ieee80211_stop_queue(struct ieee80211_hw *hw, int queue) argument
437 struct ieee80211_hw *hw = &local->hw; local
459 struct ieee80211_hw *hw = &local->hw; local
489 ieee80211_stop_queues_by_reason(struct ieee80211_hw *hw, unsigned long queues, enum queue_stop_reason reason, bool refcounted) argument
506 ieee80211_stop_queues(struct ieee80211_hw *hw) argument
514 ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue) argument
531 ieee80211_wake_queues_by_reason(struct ieee80211_hw *hw, unsigned long queues, enum queue_stop_reason reason, bool refcounted) argument
548 ieee80211_wake_queues(struct ieee80211_hw *hw) argument
654 ieee80211_iterate_active_interfaces( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument
668 ieee80211_iterate_active_interfaces_atomic( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument
682 ieee80211_iterate_active_interfaces_rtnl( struct ieee80211_hw *hw, u32 iter_flags, void (*iterator)(void *data, u8 *mac, struct ieee80211_vif *vif), void *data) argument
723 ieee80211_queue_work(struct ieee80211_hw *hw, struct work_struct *work) argument
734 ieee80211_queue_delayed_work(struct ieee80211_hw *hw, struct delayed_work *dwork, unsigned long delay) argument
1641 struct ieee80211_hw *hw = &local->hw; local
2539 ieee80211_radar_detected(struct ieee80211_hw *hw) argument
[all...]
H A Dscan.c38 cfg80211_put_bss(local->hw.wiphy,
73 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM)
75 else if (local->hw.flags & IEEE80211_HW_SIGNAL_UNSPEC)
76 signal = (rx_status->signal * 100) / local->hw.max_signal;
84 cbss = cfg80211_inform_bss_width_frame(local->hw.wiphy, channel,
154 local->hw.wiphy->bands[rx_status->band];
204 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
245 if (local->hw.flags & IEEE80211_SINGLE_HW_SCAN_ON_ALL_BANDS) {
288 static void __ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted) argument
290 struct ieee80211_local *local = hw_to_local(hw);
351 ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted) argument
1106 ieee80211_sched_scan_results(struct ieee80211_hw *hw) argument
1144 ieee80211_sched_scan_stopped(struct ieee80211_hw *hw) argument
[all...]
H A Dtx.c70 sband = local->hw.wiphy->bands[info->band];
205 if (!(local->hw.flags & IEEE80211_HW_SUPPORTS_PS))
209 if (local->hw.flags & IEEE80211_HW_SUPPORTS_DYNAMIC_PS)
213 if (local->hw.conf.dynamic_ps_timeout <= 0)
251 if (local->hw.conf.flags & IEEE80211_CONF_PS) {
252 ieee80211_stop_queues_by_reason(&local->hw,
257 ieee80211_queue_work(&local->hw,
266 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout));
376 ieee80211_free_txskb(&local->hw, skb);
383 ps_dbg_hw(&local->hw, "P
1393 ieee80211_tx_prepare_skb(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct sk_buff *skb, int band, struct ieee80211_sta **sta) argument
2552 __ieee80211_beacon_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_mutable_offsets *offs, bool is_template) argument
2741 ieee80211_beacon_get_template(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_mutable_offsets *offs) argument
2749 ieee80211_beacon_get_tim(struct ieee80211_hw *hw, struct ieee80211_vif *vif, u16 *tim_offset, u16 *tim_length) argument
2766 ieee80211_proberesp_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2800 ieee80211_pspoll_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2838 ieee80211_nullfunc_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2874 ieee80211_probereq_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const u8 *ssid, size_t ssid_len, size_t tailroom) argument
2916 ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_rts *rts) argument
2932 ieee80211_ctstoself_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif, const void *frame, size_t frame_len, const struct ieee80211_tx_info *frame_txctl, struct ieee80211_cts *cts) argument
2948 ieee80211_get_buffered_bc(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
[all...]
H A Dmlme.c121 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR)
137 if (sdata->local->hw.flags & IEEE80211_HW_CONNECTION_MONITOR)
317 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef,
376 sband = local->hw.wiphy->bands[chan->band];
614 sband = local->hw.wiphy->bands[chan->band];
644 skb = alloc_skb(local->hw.extra_tx_headroom +
658 skb_reserve(skb, local->hw.extra_tx_headroom);
663 if (!(local->hw.flags & IEEE80211_HW_2GHZ_SHORT_SLOT_INCAPABLE))
665 if (!(local->hw.flags & IEEE80211_HW_2GHZ_SHORT_PREAMBLE_INCAPABLE))
673 (local->hw
2117 ieee80211_ap_probereq_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif) argument
2224 struct ieee80211_hw *hw = &sdata->local->hw; local
2236 struct ieee80211_hw *hw = &sdata->local->hw; local
[all...]
H A Drc80211_minstrel.c111 if (mp->hw->max_rates >= 3) {
116 if (mp->hw->max_rates >= 2) {
127 rate_control_set_rates(mp->hw, mi->sta, ratetbl);
458 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef);
535 struct ieee80211_hw *hw = mp->hw; local
544 sband = hw->wiphy->bands[i];
582 u32 rate_flags = ieee80211_chandef_rate_flags(&mp->hw->conf.chandef);
585 sband = mp->hw->wiphy->bands[IEEE80211_BAND_2GHZ];
609 minstrel_alloc(struct ieee80211_hw *hw, struc argument
[all...]
H A Diface.c84 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE))
87 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE;
93 if (local->hw.conf.flags & IEEE80211_CONF_IDLE)
98 local->hw.conf.flags |= IEEE80211_CONF_IDLE;
167 if (is_zero_ether_addr(local->hw.wiphy->addr_mask))
175 m = local->hw.wiphy->addr_mask;
314 int n_queues = sdata->local->hw.queues;
331 !(sdata->local->hw.flags & IEEE80211_HW_QUEUE_CONTROL)) {
371 if (local->hw.flags & IEEE80211_HW_QUEUE_CONTROL)
373 else if (local->hw
[all...]
H A Drate.c158 debugfsdir = debugfs_create_dir("rc", local->hw.wiphy->debugfsdir);
163 ref->priv = ref->ops->alloc(&local->hw, debugfsdir);
221 static void __rate_control_send_low(struct ieee80211_hw *hw, argument
229 ieee80211_chandef_rate_flags(&hw->conf.chandef);
253 1 : hw->max_rate_tries;
270 __rate_control_send_low(txrc->hw, sband, pubsta, info,
647 sband = sdata->local->hw.wiphy->bands[info->band];
653 __rate_control_send_low(&sdata->local->hw, sband, sta, info,
682 if (sdata->local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL)
687 if (sdata->local->hw
695 rate_control_set_rates(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta, struct ieee80211_sta_rates *rates) argument
[all...]
H A Dibss.c92 sband = local->hw.wiphy->bands[chandef->chan->band];
193 if (local->hw.queues >= IEEE80211_NUM_ACS)
257 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef,
270 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef,
278 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy,
378 bss = cfg80211_inform_bss_width_frame(local->hw.wiphy, chan,
381 cfg80211_put_bss(local->hw.wiphy, bss);
427 sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
484 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, ifibss->chandef.chan,
499 cfg80211_put_bss(sdata->local->hw
[all...]
H A Dstatus.c25 void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw, argument
28 struct ieee80211_local *local = hw_to_local(hw);
39 ieee80211_free_txskb(hw, skb);
164 ieee80211_free_txskb(&local->hw, skb);
185 if (local->hw.flags & IEEE80211_HW_REPORTS_TX_ACK_STATUS)
224 ieee80211_queue_work(&local->hw, &sdata->recalc_smps);
350 u16 known = local->hw.radiotap_vht_details &
574 void ieee80211_tx_status(struct ieee80211_hw *hw, struct sk_buff *skb) argument
578 struct ieee80211_local *local = hw_to_local(hw);
602 } else if (i >= hw
850 ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb) argument
859 ieee80211_purge_tx_queue(struct ieee80211_hw *hw, struct sk_buff_head *skbs) argument
[all...]
H A Dagg-rx.c125 ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work);
166 ieee80211_queue_work(&sta->local->hw, &sta->ampdu_mlme.work);
190 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
194 skb_reserve(skb, local->hw.extra_tx_headroom);
261 /* make sure the size doesn't exceed the maximum supported by the hw */
262 if (buf_size > local->hw.max_rx_aggregation_subframes)
263 buf_size = local->hw.max_rx_aggregation_subframes;
391 ieee80211_queue_work(&local->hw, &sdata->work);
412 ieee80211_queue_work(&local->hw, &sdata->work);
H A Dchan.c417 ctx = kzalloc(sizeof(*ctx) + local->hw.chanctx_data_size, GFP_KERNEL);
443 local->hw.conf.radar_enabled = ctx->conf.radar_enabled;
503 WARN_ON(local->hw.conf.radar_enabled &&
506 local->hw.conf.radar_enabled = false;
581 local->hw.conf.radar_enabled = chanctx->conf.radar_enabled;
912 ieee80211_queue_work(&sdata->local->hw,
916 ieee80211_queue_work(&sdata->local->hw,
1086 local->hw.conf.radar_enabled = new_ctx->conf.radar_enabled;
1237 wiphy_info(local->hw.wiphy,
1392 cfg80211_stop_iface(local->hw
1690 ieee80211_iter_chan_contexts_atomic( struct ieee80211_hw *hw, void (*iter)(struct ieee80211_hw *hw, struct ieee80211_chanctx_conf *chanctx_conf, void *data), void *iter_data) argument
[all...]
H A Dagg-tx.c72 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom);
77 skb_reserve(skb, local->hw.extra_tx_headroom);
121 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom);
125 skb_reserve(skb, local->hw.extra_tx_headroom);
177 &sdata->local->hw, queue,
190 &sdata->local->hw, queue,
465 local->hw.max_tx_aggregation_subframes,
523 !(local->hw.flags & IEEE80211_HW_AMPDU_AGGREGATION) ||
524 (local->hw.flags & IEEE80211_HW_TX_AMPDU_SETUP_IN_HW))
629 ieee80211_queue_work(&local->hw,
[all...]
/net/mac802154/
H A Dieee802154_dev.c40 struct mac802154_priv *ipriv = priv->hw;
46 mutex_lock(&priv->hw->slaves_mtx);
47 list_for_each_entry(subif, &priv->hw->slaves, list) {
50 mutex_unlock(&priv->hw->slaves_mtx);
54 mutex_unlock(&priv->hw->slaves_mtx);
57 mutex_lock(&priv->hw->slaves_mtx);
59 mutex_unlock(&priv->hw->slaves_mtx);
62 res = ipriv->ops->start(&ipriv->hw);
71 res = ipriv->ops->ieee_addr(&ipriv->hw, addr);
81 priv->hw
294 ieee802154_free_device(struct ieee802154_dev *hw) argument
[all...]
H A Dmib.c49 return priv->hw;
56 struct mac802154_priv *hw = mac802154_slave_get_priv(nw->dev); local
59 res = hw->ops->set_hw_addr_filt(&hw->hw,
60 &hw->hw.hw_filt,
80 queue_work(priv->hw->dev_workqueue, &work->work);
93 if ((priv->hw->ops->set_hw_addr_filt) &&
94 (priv->hw
172 struct mac802154_priv *hw = mac802154_slave_get_priv(nw->dev); local
[all...]
H A Dtx.c54 res = xw->priv->ops->set_channel(&xw->priv->hw,
66 res = xw->priv->ops->xmit(&xw->priv->hw, xw->skb);
95 mac802154_monitors_rx(mac802154_to_priv(&priv->hw), skb);
97 if (!(priv->hw.flags & IEEE802154_HW_OMIT_CKSUM)) {
105 if (skb_cow_head(skb, priv->hw.extra_tx_headroom))
H A Drx.c54 mac802154_subif_rx(struct ieee802154_dev *hw, struct sk_buff *skb, u8 lqi) argument
56 struct mac802154_priv *priv = mac802154_to_priv(hw);
62 if (!(priv->hw.flags & IEEE802154_HW_OMIT_CKSUM)) {
H A Dmac802154.h34 struct ieee802154_dev hw; member in struct:mac802154_priv
76 struct mac802154_priv *hw; member in struct:mac802154_sub_if_data
106 #define mac802154_to_priv(_hw) container_of(_hw, struct mac802154_priv, hw)
H A Dmonitor.c46 chan = priv->hw->phy->current_channel;
47 page = priv->hw->phy->current_page;
60 return mac802154_tx(priv->hw, skb, page, chan);
/net/netfilter/ipvs/
H A Dip_vs_fo.c30 int hw = 0; /* Track highest weight */ local
39 atomic_read(&dest->weight) > hw) {
41 hw = atomic_read(&dest->weight);

Completed in 339 milliseconds

12