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

/net/mac80211/
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 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 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 Dkey.c69 * 2. SKB resize was skipped because all the keys were hw planted but
112 !(key->local->hw.flags & IEEE80211_HW_SUPPORTS_PER_STA_GTK))
553 void ieee80211_iter_keys(struct ieee80211_hw *hw, argument
555 void (*iter)(struct ieee80211_hw *hw,
562 struct ieee80211_local *local = hw_to_local(hw);
572 iter(hw, &sdata->vif,
579 iter(hw, &sdata->vif,
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 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 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 Drc80211_minstrel.h101 struct ieee80211_hw *hw; member in struct:minstrel_priv
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 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 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 Drc80211_minstrel_ht.c760 if (mp->hw->max_rates >= 3) {
765 if (mp->hw->max_rates >= 2) {
772 rate_control_set_rates(mp->hw, mi->sta, rates);
891 /* Don't use EAPOL frames for sampling on non-mrr hw */
892 if (mp->hw->max_rates == 1 &&
935 if (!(mp->hw->flags & IEEE80211_HW_SUPPORTS_HT_CCK_RATES))
1078 struct ieee80211_hw *hw = mp->hw; local
1083 sband = hw->wiphy->bands[i];
1120 minstrel_ht_alloc(struct ieee80211_hw *hw, struc argument
[all...]
H A Dsta_info.c124 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]);
125 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]);
144 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending);
281 if (local->hw.flags & IEEE80211_HW_HAS_RATE_CONTROL)
302 sta = kzalloc(sizeof(*sta) + local->hw.sta_data_size, gfp);
383 local->hw.wiphy->bands[ieee80211_get_sdata_band(sdata)];
652 if (local->hw.flags & IEEE80211_HW_AP_LINK_PS)
755 ieee80211_free_txskb(&local->hw, skb);
784 ieee80211_free_txskb(&local->hw, skb);
1046 struct ieee80211_sta *ieee80211_find_sta_by_ifaddr(struct ieee80211_hw *hw, argument
1542 ieee80211_sta_block_awake(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta, bool block) argument
[all...]
H A Drx.c44 if (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS) {
96 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM)
149 if (!(has_fcs && (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS)))
195 if (has_fcs && (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS))
245 if (local->hw.flags & IEEE80211_HW_SIGNAL_DBM &&
276 *pos++ = local->hw.radiotap_mcs_details;
324 u16 known = local->hw.radiotap_vht_details;
396 if (local->hw.flags & IEEE80211_HW_RX_INCLUDES_FCS)
968 ieee80211_queue_work(&local->hw, &rx->sdata->work);
1116 if (!(local->hw
3238 __ieee80211_rx_handle_packet(struct ieee80211_hw *hw, struct sk_buff *skb) argument
3351 ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb) argument
3462 ieee80211_rx_irqsafe(struct ieee80211_hw *hw, struct sk_buff *skb) 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 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 Dieee80211_i.h1045 struct ieee80211_hw hw; member in struct:ieee80211_local
1399 struct ieee80211_hw *hw)
1401 return container_of(hw, struct ieee80211_local, hw);
1565 void ieee80211_purge_tx_queue(struct ieee80211_hw *hw,
1663 /* Suspend/resume and hw reconfiguration */
1667 int __ieee80211_suspend(struct ieee80211_hw *hw,
1670 static inline int __ieee80211_resume(struct ieee80211_hw *hw) argument
1672 struct ieee80211_local *local = hw_to_local(hw);
1676 wiphy_name(hw
1398 hw_to_local( struct ieee80211_hw *hw) argument
[all...]
/net/mac802154/
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 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 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 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 Dwpan.c132 mutex_lock(&priv->hw->slaves_mtx);
134 mutex_unlock(&priv->hw->slaves_mtx);
144 mutex_lock(&priv->hw->slaves_mtx);
146 mutex_unlock(&priv->hw->slaves_mtx);
153 struct wpan_phy *phy = priv->hw->phy;
346 return mac802154_tx(priv->hw, skb, page, chan);
509 u64 hw = swab64((__force u64) addr->extended_addr); local
511 pr_debug("%s is hardware: %8phC\n", name, &hw);
/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);
/net/rfkill/
H A Dcore.c543 void rfkill_set_states(struct rfkill *rfkill, bool sw, bool hw) argument
559 if (hw)
569 if (swprev != sw || hwprev != hw)

Completed in 386 milliseconds