/net/mac80211/ |
D | main.c | 102 offchannel_flag = local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 121 local->hw.conf.flags |= IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 123 local->hw.conf.flags &= ~IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 125 offchannel_flag ^= local->hw.conf.flags & IEEE80211_CONF_OFFCHANNEL; in ieee80211_hw_conf_chan() 128 !cfg80211_chandef_identical(&local->hw.conf.chandef, in ieee80211_hw_conf_chan() 130 local->hw.conf.chandef = chandef; in ieee80211_hw_conf_chan() 134 if (!conf_is_ht(&local->hw.conf)) { in ieee80211_hw_conf_chan() 140 local->hw.conf.smps_mode = IEEE80211_SMPS_STATIC; in ieee80211_hw_conf_chan() 141 } else if (local->hw.conf.smps_mode != local->smps_mode) { in ieee80211_hw_conf_chan() 142 local->hw.conf.smps_mode = local->smps_mode; in ieee80211_hw_conf_chan() [all …]
|
D | driver-ops.h | 35 local->ops->tx(&local->hw, control, skb); in drv_tx() 43 local->ops->sync_rx_queues(&local->hw); in drv_sync_rx_queues() 54 local->ops->get_et_strings(&local->hw, &sdata->vif, sset, data); in drv_get_et_strings() 66 local->ops->get_et_stats(&local->hw, &sdata->vif, stats, data); in drv_get_et_stats() 78 rv = local->ops->get_et_sset_count(&local->hw, &sdata->vif, in drv_get_et_sset_count() 97 ret = local->ops->suspend(&local->hw, wowlan); in drv_suspend() 109 ret = local->ops->resume(&local->hw); in drv_resume() 123 local->ops->set_wakeup(&local->hw, enabled); in drv_set_wakeup() 145 ret = local->ops->config(&local->hw, changed); in drv_config() 177 local->ops->bss_info_changed(&local->hw, &sdata->vif, info, changed); in drv_bss_info_changed() [all …]
|
D | pm.c | 18 cfg80211_sched_scan_stopped_locked(local->hw.wiphy, 0); in ieee80211_sched_scan_cancel() 21 int __ieee80211_suspend(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan) in __ieee80211_suspend() argument 23 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_suspend() 38 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION) && in __ieee80211_suspend() 53 ieee80211_stop_queues_by_reason(hw, in __ieee80211_suspend() 107 !(local->hw.conf.flags & IEEE80211_CONF_PS)) { in __ieee80211_suspend() 108 local->hw.conf.flags |= IEEE80211_CONF_PS; in __ieee80211_suspend() 118 if (ieee80211_hw_check(hw, AMPDU_AGGREGATION)) { in __ieee80211_suspend() 126 ieee80211_wake_queues_by_reason(hw, in __ieee80211_suspend() 136 ieee80211_wake_queues_by_reason(hw, in __ieee80211_suspend()
|
D | util.c | 44 return &local->hw; in wiphy_to_ieee80211_hw() 179 __le16 ieee80211_generic_frame_duration(struct ieee80211_hw *hw, in ieee80211_generic_frame_duration() argument 206 __le16 ieee80211_rts_duration(struct ieee80211_hw *hw, in ieee80211_rts_duration() argument 210 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_rts_duration() 218 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_rts_duration() 249 __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw, in ieee80211_ctstoself_duration() argument 254 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ctstoself_duration() 262 sband = local->hw.wiphy->bands[frame_txctl->band]; in ieee80211_ctstoself_duration() 364 if (local->hw.queues < IEEE80211_NUM_ACS) in _ieee80211_wake_txqs() 367 for (i = 0; i < local->hw.queues; i++) { in _ieee80211_wake_txqs() [all …]
|
D | tx.c | 71 sband = local->hw.wiphy->bands[info->band]; in ieee80211_duration() 214 if (!ieee80211_hw_check(&local->hw, SUPPORTS_PS)) in ieee80211_tx_h_dynamic_ps() 218 if (ieee80211_hw_check(&local->hw, SUPPORTS_DYNAMIC_PS)) in ieee80211_tx_h_dynamic_ps() 222 if (local->hw.conf.dynamic_ps_timeout <= 0) in ieee80211_tx_h_dynamic_ps() 263 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_tx_h_dynamic_ps() 264 ieee80211_stop_queues_by_reason(&local->hw, in ieee80211_tx_h_dynamic_ps() 269 ieee80211_queue_work(&local->hw, in ieee80211_tx_h_dynamic_ps() 278 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_tx_h_dynamic_ps() 367 ieee80211_free_txskb(&local->hw, skb); in purge_old_ps_buffers() 384 ieee80211_free_txskb(&local->hw, skb); in purge_old_ps_buffers() [all …]
|
D | driver-ops.c | 23 ret = local->ops->start(&local->hw); in drv_start() 40 local->ops->stop(&local->hw); in drv_stop() 61 !ieee80211_hw_check(&local->hw, WANT_MONITOR_VIF) && in drv_add_interface() 66 ret = local->ops->add_interface(&local->hw, &sdata->vif); in drv_add_interface() 87 ret = local->ops->change_interface(&local->hw, &sdata->vif, type, p2p); in drv_change_interface() 101 local->ops->remove_interface(&local->hw, &sdata->vif); in drv_remove_interface() 123 ret = local->ops->sta_state(&local->hw, &sdata->vif, &sta->sta, in drv_sta_state() 156 ret = local->ops->sta_set_txpwr(&local->hw, &sdata->vif, in drv_sta_set_txpwr() 176 local->ops->sta_rc_update(&local->hw, &sdata->vif, in drv_sta_rc_update() 206 ret = local->ops->conf_tx(&local->hw, &sdata->vif, in drv_conf_tx() [all …]
|
D | iface.c | 88 if (!(local->hw.conf.flags & IEEE80211_CONF_IDLE)) in __ieee80211_idle_off() 91 local->hw.conf.flags &= ~IEEE80211_CONF_IDLE; in __ieee80211_idle_off() 97 if (local->hw.conf.flags & IEEE80211_CONF_IDLE) in __ieee80211_idle_on() 102 local->hw.conf.flags |= IEEE80211_CONF_IDLE; in __ieee80211_idle_on() 162 if (is_zero_ether_addr(local->hw.wiphy->addr_mask)) in ieee80211_verify_mac() 170 m = local->hw.wiphy->addr_mask; in ieee80211_verify_mac() 314 int n_queues = sdata->local->hw.queues; in ieee80211_check_queues() 334 !ieee80211_hw_check(&sdata->local->hw, QUEUE_CONTROL)) { in ieee80211_check_queues() 361 wiphy_lock(sdata->local->hw.wiphy); in ieee80211_open() 363 wiphy_unlock(sdata->local->hw.wiphy); in ieee80211_open() [all …]
|
D | status.c | 21 void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw, in ieee80211_tx_status_irqsafe() argument 24 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_tx_status_irqsafe() 35 ieee80211_free_txskb(hw, skb); in ieee80211_tx_status_irqsafe() 54 ieee80211_free_txskb(&local->hw, skb); in ieee80211_handle_filtered_frame() 168 ieee80211_free_txskb(&local->hw, skb); in ieee80211_handle_filtered_frame() 226 ieee80211_queue_work(&local->hw, &sdata->recalc_smps); in ieee80211_frame_acked() 373 u16 known = local->hw.radiotap_vht_details & in ieee80211_add_tx_radiotap_header() 511 u16 known = local->hw.radiotap_vht_details & in ieee80211_add_tx_radiotap_header() 579 WARN_ON(!ieee80211_hw_check(&local->hw, REPORTS_TX_ACK_STATUS)); in ieee80211_tdls_td_tx_handle() 719 ieee80211_queue_work(&local->hw, in ieee80211_report_used_skb() [all …]
|
D | led.c | 35 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() 214 const char *__ieee80211_get_radio_led_name(struct ieee80211_hw *hw) in __ieee80211_get_radio_led_name() argument 216 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_radio_led_name() 222 const char *__ieee80211_get_assoc_led_name(struct ieee80211_hw *hw) in __ieee80211_get_assoc_led_name() argument 224 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_assoc_led_name() 230 const char *__ieee80211_get_tx_led_name(struct ieee80211_hw *hw) in __ieee80211_get_tx_led_name() argument 232 struct ieee80211_local *local = hw_to_local(hw); in __ieee80211_get_tx_led_name() [all …]
|
D | offchannel.c | 39 if (local->hw.conf.flags & IEEE80211_CONF_PS) { in ieee80211_offchannel_ps_enable() 41 local->hw.conf.flags &= ~IEEE80211_CONF_PS; in ieee80211_offchannel_ps_enable() 46 !ieee80211_hw_check(&local->hw, PS_NULLFUNC_STACK)) in ieee80211_offchannel_ps_enable() 67 else if (local->hw.conf.dynamic_ps_timeout > 0) { in ieee80211_offchannel_ps_disable() 76 msecs_to_jiffies(local->hw.conf.dynamic_ps_timeout)); in ieee80211_offchannel_ps_disable() 99 ieee80211_stop_queues_by_reason(&local->hw, IEEE80211_MAX_QUEUE_MAP, in ieee80211_offchannel_stop_vifs() 164 ieee80211_wake_queues_by_reason(&local->hw, IEEE80211_MAX_QUEUE_MAP, in ieee80211_offchannel_return() 176 ieee80211_free_txskb(&roc->sdata->local->hw, roc->frame); in ieee80211_roc_notify_destroy() 278 void ieee80211_ready_on_channel(struct ieee80211_hw *hw) in ieee80211_ready_on_channel() argument 280 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_ready_on_channel() [all …]
|
D | scan.c | 37 cfg80211_put_bss(local->hw.wiphy, in ieee80211_rx_bss_put() 129 local->hw.wiphy->bands[rx_status->band]; in ieee80211_update_bss_from_elems() 164 else if (ieee80211_hw_check(&local->hw, SIGNAL_DBM)) in ieee80211_bss_info_update() 166 else if (ieee80211_hw_check(&local->hw, SIGNAL_UNSPEC)) in ieee80211_bss_info_update() 167 bss_meta.signal = (rx_status->signal * 100) / local->hw.max_signal; in ieee80211_bss_info_update() 190 cbss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, in ieee80211_bss_info_update() 291 ieee80211_queue_delayed_work(&local->hw, &local->scan_work, 0); in ieee80211_scan_rx() 318 channel = ieee80211_get_channel_khz(local->hw.wiphy, in ieee80211_scan_rx() 365 if (ieee80211_hw_check(&local->hw, SINGLE_SCAN_ON_ALL_BANDS)) { in ieee80211_prep_hw_scan() 416 static void __ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted) in __ieee80211_scan_completed() argument [all …]
|
D | airtime.c | 408 static u32 ieee80211_get_rate_duration(struct ieee80211_hw *hw, in ieee80211_get_rate_duration() argument 471 u32 ieee80211_calc_rx_airtime(struct ieee80211_hw *hw, in ieee80211_calc_rx_airtime() argument 486 sband = hw->wiphy->bands[status->band]; in ieee80211_calc_rx_airtime() 497 duration = ieee80211_get_rate_duration(hw, status, &overhead); in ieee80211_calc_rx_airtime() 509 static bool ieee80211_fill_rate_info(struct ieee80211_hw *hw, in ieee80211_fill_rate_info() argument 513 struct ieee80211_supported_band *sband = hw->wiphy->bands[band]; in ieee80211_fill_rate_info() 553 struct ieee80211_hw *hw, in ieee80211_fill_rx_status() argument 560 if (ieee80211_fill_rate_info(hw, stat, band, ri)) in ieee80211_fill_rx_status() 595 static u32 ieee80211_calc_tx_airtime_rate(struct ieee80211_hw *hw, in ieee80211_calc_tx_airtime_rate() argument 602 if (ieee80211_fill_rx_status(&stat, hw, rate, ri, band, len)) in ieee80211_calc_tx_airtime_rate() [all …]
|
D | mlme.c | 116 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_beacon_monitor() 133 if (ieee80211_hw_check(&sdata->local->hw, CONNECTION_MONITOR)) in ieee80211_sta_reset_conn_monitor() 252 if (!ieee80211_chandef_vht_oper(&sdata->local->hw, vht_cap_info, in ieee80211_determine_chantype() 261 } else if (!ieee80211_chandef_vht_oper(&sdata->local->hw, in ieee80211_determine_chantype() 332 while (!cfg80211_chandef_usable(sdata->local->hw.wiphy, chandef, in ieee80211_determine_chantype() 371 local->hw.wiphy->bands[chan->band]; in ieee80211_config_bw() 707 sband = local->hw.wiphy->bands[chan->band]; in ieee80211_send_assoc() 736 skb = alloc_skb(local->hw.extra_tx_headroom + in ieee80211_send_assoc() 756 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_assoc() 769 ieee80211_hw_check(&local->hw, SPECTRUM_MGMT)) in ieee80211_send_assoc() [all …]
|
D | ibss.c | 93 sband = local->hw.wiphy->bands[chandef->chan->band]; in ieee80211_ibss_build_presp() 205 if (local->hw.queues >= IEEE80211_NUM_ACS) in ieee80211_ibss_build_presp() 267 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss() 280 if (!cfg80211_reg_can_beacon(local->hw.wiphy, &chandef, in __ieee80211_sta_join_ibss() 288 err = cfg80211_chandef_dfs_required(sdata->local->hw.wiphy, in __ieee80211_sta_join_ibss() 389 bss = cfg80211_inform_bss_frame_data(local->hw.wiphy, &bss_meta, mgmt, in __ieee80211_sta_join_ibss() 392 cfg80211_put_bss(local->hw.wiphy, bss); in __ieee80211_sta_join_ibss() 444 sband = sdata->local->hw.wiphy->bands[cbss->channel->band]; in ieee80211_sta_join_ibss() 498 cbss = cfg80211_get_bss(sdata->local->hw.wiphy, ifibss->chandef.chan, in ieee80211_ibss_csa_beacon() 510 cfg80211_put_bss(sdata->local->hw.wiphy, cbss); in ieee80211_ibss_csa_beacon() [all …]
|
D | key.c | 163 !ieee80211_hw_check(&key->local->hw, SUPPORTS_PER_STA_GTK)) in ieee80211_key_enable_hw_accel() 222 if (ieee80211_hw_check(&key->local->hw, SW_CRYPTO_CONTROL)) in ieee80211_key_enable_hw_accel() 276 if (force || !ieee80211_hw_check(&local->hw, AMPDU_KEYBORDER_SUPPORT)) in _ieee80211_set_tx_key() 301 !ieee80211_hw_check(&local->hw, AMPDU_KEYBORDER_SUPPORT)) { in ieee80211_pairwise_rekey() 330 if (ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION)) { in ieee80211_pairwise_rekey() 335 if (!wiphy_ext_feature_isset(local->hw.wiphy, in ieee80211_pairwise_rekey() 897 lockdep_assert_wiphy(sdata->local->hw.wiphy); in ieee80211_reenable_keys() 921 void ieee80211_iter_keys(struct ieee80211_hw *hw, in ieee80211_iter_keys() argument 923 void (*iter)(struct ieee80211_hw *hw, in ieee80211_iter_keys() argument 930 struct ieee80211_local *local = hw_to_local(hw); in ieee80211_iter_keys() [all …]
|
D | rate.c | 52 sband = local->hw.wiphy->bands[chanctx_conf->def.chan->band]; in rate_control_rate_init() 243 ref->priv = ref->ops->alloc(&local->hw); in rate_control_alloc() 286 sband = local->hw.wiphy->bands[band]; in ieee80211_check_rate_mask() 337 static void __rate_control_send_low(struct ieee80211_hw *hw, in __rate_control_send_low() argument 345 ieee80211_chandef_rate_flags(&hw->conf.chandef); in __rate_control_send_low() 380 1 : hw->max_rate_tries; in __rate_control_send_low() 396 __rate_control_send_low(txrc->hw, sband, pubsta, info, in rate_control_send_low() 878 sband = sdata->local->hw.wiphy->bands[info->band]; in ieee80211_get_tx_rates() 884 __rate_control_send_low(&sdata->local->hw, sband, sta, info, in ieee80211_get_tx_rates() 911 if (ieee80211_hw_check(&sdata->local->hw, HAS_RATE_CONTROL)) in rate_control_get_rate() [all …]
|
D | sta_info.c | 125 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta() 126 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta() 145 ieee80211_purge_tx_queue(&local->hw, &tid_tx->pending); in __cleanup_single_sta() 324 if (ieee80211_hw_check(&local->hw, HAS_RATE_CONTROL)) in sta_prepare_rate_control() 340 struct ieee80211_hw *hw = &local->hw; in sta_info_alloc() local 344 sta = kzalloc(sizeof(*sta) + hw->sta_data_size, gfp); in sta_info_alloc() 348 if (ieee80211_hw_check(hw, USES_RSS)) { in sta_info_alloc() 378 local->hw.max_rx_aggregation_subframes; in sta_info_alloc() 411 ALIGN(hw->txq_data_size, sizeof(void *)); in sta_info_alloc() 442 if (!hw->wiphy->bands[i]) in sta_info_alloc() [all …]
|
D | agg-tx.c | 71 skb = dev_alloc_skb(sizeof(*mgmt) + local->hw.extra_tx_headroom); in ieee80211_send_addba_request() 76 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_addba_request() 120 skb = dev_alloc_skb(sizeof(*bar) + local->hw.extra_tx_headroom); in ieee80211_send_bar() 124 skb_reserve(skb, local->hw.extra_tx_headroom); in ieee80211_send_bar() 170 &sdata->local->hw, queue, in __acquires() 183 &sdata->local->hw, queue, in __releases() 471 buf_size = local->hw.max_tx_aggregation_subframes; in ieee80211_send_addba_with_timeout() 609 !ieee80211_hw_check(&local->hw, AMPDU_AGGREGATION) || in ieee80211_start_tx_ba_session() 610 ieee80211_hw_check(&local->hw, TX_AMPDU_SETUP_IN_HW)) in ieee80211_start_tx_ba_session() 725 ieee80211_queue_work(&local->hw, &sta->ampdu_mlme.work); in ieee80211_start_tx_ba_session() [all …]
|
/net/mac802154/ |
D | util.c | 16 void ieee802154_wake_queue(struct ieee802154_hw *hw) in ieee802154_wake_queue() argument 18 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_wake_queue() 32 void ieee802154_stop_queue(struct ieee802154_hw *hw) in ieee802154_stop_queue() argument 34 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_stop_queue() 53 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_ifs_timer() 58 void ieee802154_xmit_complete(struct ieee802154_hw *hw, struct sk_buff *skb, in ieee802154_xmit_complete() argument 62 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_xmit_complete() 69 if (hw->flags & IEEE802154_HW_TX_OMIT_CKSUM) in ieee802154_xmit_complete() 77 hw->phy->lifs_period * NSEC_PER_USEC, in ieee802154_xmit_complete() 81 hw->phy->sifs_period * NSEC_PER_USEC, in ieee802154_xmit_complete() [all …]
|
D | driver-ops.h | 16 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() 36 ret = local->ops->start(&local->hw); in drv_start() 46 local->ops->stop(&local->hw); in drv_stop() 66 ret = local->ops->set_channel(&local->hw, page, channel); in drv_set_channel() 83 ret = local->ops->set_txpower(&local->hw, mbm); in drv_set_tx_power() 101 ret = local->ops->set_cca_mode(&local->hw, cca); in drv_set_cca_mode() 118 ret = local->ops->set_lbt(&local->hw, mode); in drv_set_lbt_mode() 136 ret = local->ops->set_cca_ed_level(&local->hw, mbm); in drv_set_cca_ed_level() 156 ret = local->ops->set_hw_addr_filt(&local->hw, &filt, in drv_set_pan_id() [all …]
|
D | main.c | 87 local->hw.phy = local->phy; in ieee802154_alloc_hw() 88 local->hw.priv = (char *)local + ALIGN(sizeof(*local), NETDEV_ALIGN); in ieee802154_alloc_hw() 112 return &local->hw; in ieee802154_alloc_hw() 116 void ieee802154_free_hw(struct ieee802154_hw *hw) in ieee802154_free_hw() argument 118 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_free_hw() 140 int ieee802154_register_hw(struct ieee802154_hw *hw) in ieee802154_register_hw() argument 142 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_register_hw() 156 wpan_phy_set_dev(local->phy, local->hw.parent); in ieee802154_register_hw() 160 if (!(hw->flags & IEEE802154_HW_CSMA_PARAMS)) { in ieee802154_register_hw() 169 if (!(hw->flags & IEEE802154_HW_FRAME_RETRIES)) { in ieee802154_register_hw() [all …]
|
D | tx.c | 40 ieee802154_xmit_complete(&local->hw, skb, false); in ieee802154_xmit_worker() 46 ieee802154_wake_queue(&local->hw); in ieee802154_xmit_worker() 57 if (!(local->hw.flags & IEEE802154_HW_TX_OMIT_CKSUM)) { in ieee802154_tx() 77 ieee802154_stop_queue(&local->hw); in ieee802154_tx() 85 ieee802154_wake_queue(&local->hw); in ieee802154_tx()
|
D | iface.c | 151 if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { in ieee802154_setup_hw() 158 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_setup_hw() 172 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_setup_hw() 178 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_setup_hw() 186 if (local->hw.flags & IEEE802154_HW_FRAME_RETRIES) { in ieee802154_setup_hw() 232 if (local->hw.flags & IEEE802154_HW_PROMISCUOUS) { in ieee802154_check_mac_settings() 237 if (local->hw.flags & IEEE802154_HW_AFILT) { in ieee802154_check_mac_settings() 244 if (local->hw.flags & IEEE802154_HW_CSMA_PARAMS) { in ieee802154_check_mac_settings() 251 if (local->hw.flags & IEEE802154_HW_FRAME_RETRIES) { in ieee802154_check_mac_settings() 256 if (local->hw.flags & IEEE802154_HW_LBT) { in ieee802154_check_mac_settings() [all …]
|
D | rx.c | 125 u64 hw = swab64((__force u64)addr->extended_addr); in ieee802154_print_addr() local 127 pr_debug("%s is hardware: %8phC\n", name, &hw); in ieee802154_print_addr() 262 if (local->hw.flags & IEEE802154_HW_RX_OMIT_CKSUM) { in ieee802154_rx() 274 if (local->hw.flags & IEEE802154_HW_RX_DROP_BAD_CKSUM) { in ieee802154_rx() 294 ieee802154_rx_irqsafe(struct ieee802154_hw *hw, struct sk_buff *skb, u8 lqi) in ieee802154_rx_irqsafe() argument 296 struct ieee802154_local *local = hw_to_local(hw); in ieee802154_rx_irqsafe()
|
D | ieee802154_i.h | 26 struct ieee802154_hw hw; member 98 hw_to_local(struct ieee802154_hw *hw) in hw_to_local() argument 100 return container_of(hw, struct ieee802154_local, hw); in hw_to_local()
|