• Home
  • Raw
  • Download

Lines Matching refs:hw

1806 		} hw;  member
2508 static inline bool _ieee80211_hw_check(struct ieee80211_hw *hw, in _ieee80211_hw_check() argument
2511 return test_bit(flg, hw->flags); in _ieee80211_hw_check()
2513 #define ieee80211_hw_check(hw, flg) _ieee80211_hw_check(hw, IEEE80211_HW_##flg) argument
2515 static inline void _ieee80211_hw_set(struct ieee80211_hw *hw, in _ieee80211_hw_set() argument
2518 return __set_bit(flg, hw->flags); in _ieee80211_hw_set()
2520 #define ieee80211_hw_set(hw, flg) _ieee80211_hw_set(hw, IEEE80211_HW_##flg) argument
2581 static inline void SET_IEEE80211_DEV(struct ieee80211_hw *hw, struct device *dev) in SET_IEEE80211_DEV() argument
2583 set_wiphy_dev(hw->wiphy, dev); in SET_IEEE80211_DEV()
2592 static inline void SET_IEEE80211_PERM_ADDR(struct ieee80211_hw *hw, const u8 *addr) in SET_IEEE80211_PERM_ADDR() argument
2594 memcpy(hw->wiphy->perm_addr, addr, ETH_ALEN); in SET_IEEE80211_PERM_ADDR()
2598 ieee80211_get_tx_rate(const struct ieee80211_hw *hw, in ieee80211_get_tx_rate() argument
2603 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; in ieee80211_get_tx_rate()
2607 ieee80211_get_rts_cts_rate(const struct ieee80211_hw *hw, in ieee80211_get_rts_cts_rate() argument
2612 return &hw->wiphy->bands[c->band]->bitrates[c->control.rts_cts_rate_idx]; in ieee80211_get_rts_cts_rate()
2616 ieee80211_get_alt_retry_rate(const struct ieee80211_hw *hw, in ieee80211_get_alt_retry_rate() argument
2621 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx]; in ieee80211_get_alt_retry_rate()
2632 void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb);
3757 void (*tx)(struct ieee80211_hw *hw,
3760 int (*start)(struct ieee80211_hw *hw);
3761 void (*stop)(struct ieee80211_hw *hw);
3763 int (*suspend)(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan);
3764 int (*resume)(struct ieee80211_hw *hw);
3765 void (*set_wakeup)(struct ieee80211_hw *hw, bool enabled);
3767 int (*add_interface)(struct ieee80211_hw *hw,
3769 int (*change_interface)(struct ieee80211_hw *hw,
3772 void (*remove_interface)(struct ieee80211_hw *hw,
3774 int (*config)(struct ieee80211_hw *hw, u32 changed);
3775 void (*bss_info_changed)(struct ieee80211_hw *hw,
3780 int (*start_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3781 void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3783 u64 (*prepare_multicast)(struct ieee80211_hw *hw,
3785 void (*configure_filter)(struct ieee80211_hw *hw,
3789 void (*config_iface_filter)(struct ieee80211_hw *hw,
3793 int (*set_tim)(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
3795 int (*set_key)(struct ieee80211_hw *hw, enum set_key_cmd cmd,
3798 void (*update_tkip_key)(struct ieee80211_hw *hw,
3803 void (*set_rekey_data)(struct ieee80211_hw *hw,
3806 void (*set_default_unicast_key)(struct ieee80211_hw *hw,
3808 int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3810 void (*cancel_hw_scan)(struct ieee80211_hw *hw,
3812 int (*sched_scan_start)(struct ieee80211_hw *hw,
3816 int (*sched_scan_stop)(struct ieee80211_hw *hw,
3818 void (*sw_scan_start)(struct ieee80211_hw *hw,
3821 void (*sw_scan_complete)(struct ieee80211_hw *hw,
3823 int (*get_stats)(struct ieee80211_hw *hw,
3825 void (*get_key_seq)(struct ieee80211_hw *hw,
3828 int (*set_frag_threshold)(struct ieee80211_hw *hw, u32 value);
3829 int (*set_rts_threshold)(struct ieee80211_hw *hw, u32 value);
3830 int (*sta_add)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3832 int (*sta_remove)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3835 void (*sta_add_debugfs)(struct ieee80211_hw *hw,
3840 void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3842 int (*sta_set_txpwr)(struct ieee80211_hw *hw,
3845 int (*sta_state)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3849 void (*sta_pre_rcu_remove)(struct ieee80211_hw *hw,
3852 void (*sta_rc_update)(struct ieee80211_hw *hw,
3856 void (*sta_rate_tbl_update)(struct ieee80211_hw *hw,
3859 void (*sta_statistics)(struct ieee80211_hw *hw,
3863 int (*conf_tx)(struct ieee80211_hw *hw,
3866 u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3867 void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3869 void (*offset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3871 void (*reset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3872 int (*tx_last_beacon)(struct ieee80211_hw *hw);
3902 int (*ampdu_action)(struct ieee80211_hw *hw,
3905 int (*get_survey)(struct ieee80211_hw *hw, int idx,
3907 void (*rfkill_poll)(struct ieee80211_hw *hw);
3908 void (*set_coverage_class)(struct ieee80211_hw *hw, s16 coverage_class);
3910 int (*testmode_cmd)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3912 int (*testmode_dump)(struct ieee80211_hw *hw, struct sk_buff *skb,
3916 void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3918 void (*channel_switch)(struct ieee80211_hw *hw,
3921 int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant);
3922 int (*get_antenna)(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant);
3924 int (*remain_on_channel)(struct ieee80211_hw *hw,
3929 int (*cancel_remain_on_channel)(struct ieee80211_hw *hw,
3931 int (*set_ringparam)(struct ieee80211_hw *hw, u32 tx, u32 rx);
3932 void (*get_ringparam)(struct ieee80211_hw *hw,
3934 bool (*tx_frames_pending)(struct ieee80211_hw *hw);
3935 int (*set_bitrate_mask)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3937 void (*event_callback)(struct ieee80211_hw *hw,
3941 void (*allow_buffered_frames)(struct ieee80211_hw *hw,
3946 void (*release_buffered_frames)(struct ieee80211_hw *hw,
3952 int (*get_et_sset_count)(struct ieee80211_hw *hw,
3954 void (*get_et_stats)(struct ieee80211_hw *hw,
3957 void (*get_et_strings)(struct ieee80211_hw *hw,
3961 void (*mgd_prepare_tx)(struct ieee80211_hw *hw,
3965 void (*mgd_protect_tdls_discover)(struct ieee80211_hw *hw,
3968 int (*add_chanctx)(struct ieee80211_hw *hw,
3970 void (*remove_chanctx)(struct ieee80211_hw *hw,
3972 void (*change_chanctx)(struct ieee80211_hw *hw,
3975 int (*assign_vif_chanctx)(struct ieee80211_hw *hw,
3978 void (*unassign_vif_chanctx)(struct ieee80211_hw *hw,
3981 int (*switch_vif_chanctx)(struct ieee80211_hw *hw,
3986 void (*reconfig_complete)(struct ieee80211_hw *hw,
3990 void (*ipv6_addr_change)(struct ieee80211_hw *hw,
3994 void (*channel_switch_beacon)(struct ieee80211_hw *hw,
3997 int (*pre_channel_switch)(struct ieee80211_hw *hw,
4001 int (*post_channel_switch)(struct ieee80211_hw *hw,
4003 void (*abort_channel_switch)(struct ieee80211_hw *hw,
4005 void (*channel_switch_rx_beacon)(struct ieee80211_hw *hw,
4009 int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
4010 void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
4011 u32 (*get_expected_throughput)(struct ieee80211_hw *hw,
4013 int (*get_txpower)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4016 int (*tdls_channel_switch)(struct ieee80211_hw *hw,
4021 void (*tdls_cancel_channel_switch)(struct ieee80211_hw *hw,
4024 void (*tdls_recv_channel_switch)(struct ieee80211_hw *hw,
4028 void (*wake_tx_queue)(struct ieee80211_hw *hw,
4030 void (*sync_rx_queues)(struct ieee80211_hw *hw);
4032 int (*start_nan)(struct ieee80211_hw *hw,
4035 int (*stop_nan)(struct ieee80211_hw *hw,
4037 int (*nan_change_conf)(struct ieee80211_hw *hw,
4040 int (*add_nan_func)(struct ieee80211_hw *hw,
4043 void (*del_nan_func)(struct ieee80211_hw *hw,
4046 bool (*can_aggregate_in_amsdu)(struct ieee80211_hw *hw,
4049 int (*get_ftm_responder_stats)(struct ieee80211_hw *hw,
4052 int (*start_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4054 void (*abort_pmsr)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4110 int ieee80211_register_hw(struct ieee80211_hw *hw);
4137 const char *__ieee80211_get_tx_led_name(struct ieee80211_hw *hw);
4138 const char *__ieee80211_get_rx_led_name(struct ieee80211_hw *hw);
4139 const char *__ieee80211_get_assoc_led_name(struct ieee80211_hw *hw);
4140 const char *__ieee80211_get_radio_led_name(struct ieee80211_hw *hw);
4142 __ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw,
4159 static inline const char *ieee80211_get_tx_led_name(struct ieee80211_hw *hw) in ieee80211_get_tx_led_name() argument
4162 return __ieee80211_get_tx_led_name(hw); in ieee80211_get_tx_led_name()
4180 static inline const char *ieee80211_get_rx_led_name(struct ieee80211_hw *hw) in ieee80211_get_rx_led_name() argument
4183 return __ieee80211_get_rx_led_name(hw); in ieee80211_get_rx_led_name()
4201 static inline const char *ieee80211_get_assoc_led_name(struct ieee80211_hw *hw) in ieee80211_get_assoc_led_name() argument
4204 return __ieee80211_get_assoc_led_name(hw); in ieee80211_get_assoc_led_name()
4222 static inline const char *ieee80211_get_radio_led_name(struct ieee80211_hw *hw) in ieee80211_get_radio_led_name() argument
4225 return __ieee80211_get_radio_led_name(hw); in ieee80211_get_radio_led_name()
4244 ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw, unsigned int flags, in ieee80211_create_tpt_led_trigger() argument
4249 return __ieee80211_create_tpt_led_trigger(hw, flags, blink_table, in ieee80211_create_tpt_led_trigger()
4264 void ieee80211_unregister_hw(struct ieee80211_hw *hw);
4275 void ieee80211_free_hw(struct ieee80211_hw *hw);
4289 void ieee80211_restart_hw(struct ieee80211_hw *hw);
4313 void ieee80211_rx_napi(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
4336 static inline void ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb) in ieee80211_rx() argument
4338 ieee80211_rx_napi(hw, NULL, skb, NULL); in ieee80211_rx()
4354 void ieee80211_rx_irqsafe(struct ieee80211_hw *hw, struct sk_buff *skb);
4369 static inline void ieee80211_rx_ni(struct ieee80211_hw *hw, in ieee80211_rx_ni() argument
4373 ieee80211_rx(hw, skb); in ieee80211_rx_ni()
4535 void ieee80211_tx_rate_update(struct ieee80211_hw *hw,
4555 void ieee80211_tx_status(struct ieee80211_hw *hw,
4572 void ieee80211_tx_status_ext(struct ieee80211_hw *hw,
4591 static inline void ieee80211_tx_status_noskb(struct ieee80211_hw *hw, in ieee80211_tx_status_noskb() argument
4600 ieee80211_tx_status_ext(hw, &status); in ieee80211_tx_status_noskb()
4615 static inline void ieee80211_tx_status_ni(struct ieee80211_hw *hw, in ieee80211_tx_status_ni() argument
4619 ieee80211_tx_status(hw, skb); in ieee80211_tx_status_ni()
4635 void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw,
4686 ieee80211_beacon_get_template(struct ieee80211_hw *hw,
4712 struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw,
4725 static inline struct sk_buff *ieee80211_beacon_get(struct ieee80211_hw *hw, in ieee80211_beacon_get() argument
4728 return ieee80211_beacon_get_tim(hw, vif, NULL, NULL); in ieee80211_beacon_get()
4789 struct sk_buff *ieee80211_proberesp_get(struct ieee80211_hw *hw,
4806 struct sk_buff *ieee80211_pspoll_get(struct ieee80211_hw *hw,
4828 struct sk_buff *ieee80211_nullfunc_get(struct ieee80211_hw *hw,
4845 struct sk_buff *ieee80211_probereq_get(struct ieee80211_hw *hw,
4864 void ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4882 __le16 ieee80211_rts_duration(struct ieee80211_hw *hw,
4900 void ieee80211_ctstoself_get(struct ieee80211_hw *hw,
4919 __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw,
4937 __le16 ieee80211_generic_frame_duration(struct ieee80211_hw *hw,
4965 ieee80211_get_buffered_bc(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
5145 void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue);
5154 void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue);
5166 int ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue);
5174 void ieee80211_stop_queues(struct ieee80211_hw *hw);
5182 void ieee80211_wake_queues(struct ieee80211_hw *hw);
5195 void ieee80211_scan_completed(struct ieee80211_hw *hw,
5206 void ieee80211_sched_scan_results(struct ieee80211_hw *hw);
5218 void ieee80211_sched_scan_stopped(struct ieee80211_hw *hw);
5250 void ieee80211_iterate_interfaces(struct ieee80211_hw *hw, u32 iter_flags,
5271 ieee80211_iterate_active_interfaces(struct ieee80211_hw *hw, u32 iter_flags, in ieee80211_iterate_active_interfaces() argument
5276 ieee80211_iterate_interfaces(hw, in ieee80211_iterate_active_interfaces()
5295 void ieee80211_iterate_active_interfaces_atomic(struct ieee80211_hw *hw,
5314 void ieee80211_iterate_active_interfaces_rtnl(struct ieee80211_hw *hw,
5333 void ieee80211_iterate_stations_atomic(struct ieee80211_hw *hw,
5346 void ieee80211_queue_work(struct ieee80211_hw *hw, struct work_struct *work);
5358 void ieee80211_queue_delayed_work(struct ieee80211_hw *hw,
5452 struct ieee80211_sta *ieee80211_find_sta_by_ifaddr(struct ieee80211_hw *hw,
5485 void ieee80211_sta_block_awake(struct ieee80211_hw *hw,
5577 void ieee80211_iter_keys(struct ieee80211_hw *hw,
5579 void (*iter)(struct ieee80211_hw *hw,
5601 void ieee80211_iter_keys_rcu(struct ieee80211_hw *hw,
5603 void (*iter)(struct ieee80211_hw *hw,
5630 struct ieee80211_hw *hw,
5631 void (*iter)(struct ieee80211_hw *hw,
5650 struct sk_buff *ieee80211_ap_probereq_get(struct ieee80211_hw *hw,
5734 void ieee80211_radar_detected(struct ieee80211_hw *hw);
5762 void ieee80211_ready_on_channel(struct ieee80211_hw *hw);
5768 void ieee80211_remain_on_channel_expired(struct ieee80211_hw *hw);
5908 struct ieee80211_hw *hw; member
5936 void *(*alloc)(struct ieee80211_hw *hw);
5937 void (*add_debugfs)(struct ieee80211_hw *hw, void *priv,
6015 int rate_control_set_rates(struct ieee80211_hw *hw,
6133 bool ieee80211_tx_prepare_skb(struct ieee80211_hw *hw,
6255 struct sk_buff *ieee80211_tx_dequeue(struct ieee80211_hw *hw,
6269 static inline struct sk_buff *ieee80211_tx_dequeue_ni(struct ieee80211_hw *hw, in ieee80211_tx_dequeue_ni() argument
6275 skb = ieee80211_tx_dequeue(hw, txq); in ieee80211_tx_dequeue_ni()
6291 struct ieee80211_txq *ieee80211_next_txq(struct ieee80211_hw *hw, u8 ac);
6302 void ieee80211_txq_schedule_start(struct ieee80211_hw *hw, u8 ac);
6305 static inline void ieee80211_txq_schedule_end(struct ieee80211_hw *hw, u8 ac) in ieee80211_txq_schedule_end() argument
6309 void __ieee80211_schedule_txq(struct ieee80211_hw *hw,
6325 ieee80211_schedule_txq(struct ieee80211_hw *hw, struct ieee80211_txq *txq) in ieee80211_schedule_txq() argument
6327 __ieee80211_schedule_txq(hw, txq, true); in ieee80211_schedule_txq()
6341 ieee80211_return_txq(struct ieee80211_hw *hw, struct ieee80211_txq *txq, in ieee80211_return_txq() argument
6344 __ieee80211_schedule_txq(hw, txq, force); in ieee80211_return_txq()
6371 bool ieee80211_txq_may_transmit(struct ieee80211_hw *hw,