Lines Matching refs:hw

1548 		} hw;  member
2076 static inline bool _ieee80211_hw_check(struct ieee80211_hw *hw, in _ieee80211_hw_check() argument
2079 return test_bit(flg, hw->flags); in _ieee80211_hw_check()
2081 #define ieee80211_hw_check(hw, flg) _ieee80211_hw_check(hw, IEEE80211_HW_##flg) argument
2083 static inline void _ieee80211_hw_set(struct ieee80211_hw *hw, in _ieee80211_hw_set() argument
2086 return __set_bit(flg, hw->flags); in _ieee80211_hw_set()
2088 #define ieee80211_hw_set(hw, flg) _ieee80211_hw_set(hw, IEEE80211_HW_##flg) argument
2149 static inline void SET_IEEE80211_DEV(struct ieee80211_hw *hw, struct device *dev) in SET_IEEE80211_DEV() argument
2151 set_wiphy_dev(hw->wiphy, dev); in SET_IEEE80211_DEV()
2160 static inline void SET_IEEE80211_PERM_ADDR(struct ieee80211_hw *hw, u8 *addr) in SET_IEEE80211_PERM_ADDR() argument
2162 memcpy(hw->wiphy->perm_addr, addr, ETH_ALEN); in SET_IEEE80211_PERM_ADDR()
2166 ieee80211_get_tx_rate(const struct ieee80211_hw *hw, in ieee80211_get_tx_rate() argument
2171 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[0].idx]; in ieee80211_get_tx_rate()
2175 ieee80211_get_rts_cts_rate(const struct ieee80211_hw *hw, in ieee80211_get_rts_cts_rate() argument
2180 return &hw->wiphy->bands[c->band]->bitrates[c->control.rts_cts_rate_idx]; in ieee80211_get_rts_cts_rate()
2184 ieee80211_get_alt_retry_rate(const struct ieee80211_hw *hw, in ieee80211_get_alt_retry_rate() argument
2189 return &hw->wiphy->bands[c->band]->bitrates[c->control.rates[idx + 1].idx]; in ieee80211_get_alt_retry_rate()
2200 void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb);
3264 void (*tx)(struct ieee80211_hw *hw,
3267 int (*start)(struct ieee80211_hw *hw);
3268 void (*stop)(struct ieee80211_hw *hw);
3270 int (*suspend)(struct ieee80211_hw *hw, struct cfg80211_wowlan *wowlan);
3271 int (*resume)(struct ieee80211_hw *hw);
3272 void (*set_wakeup)(struct ieee80211_hw *hw, bool enabled);
3274 int (*add_interface)(struct ieee80211_hw *hw,
3276 int (*change_interface)(struct ieee80211_hw *hw,
3279 void (*remove_interface)(struct ieee80211_hw *hw,
3281 int (*config)(struct ieee80211_hw *hw, u32 changed);
3282 void (*bss_info_changed)(struct ieee80211_hw *hw,
3287 int (*start_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3288 void (*stop_ap)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3290 u64 (*prepare_multicast)(struct ieee80211_hw *hw,
3292 void (*configure_filter)(struct ieee80211_hw *hw,
3296 void (*config_iface_filter)(struct ieee80211_hw *hw,
3300 int (*set_tim)(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
3302 int (*set_key)(struct ieee80211_hw *hw, enum set_key_cmd cmd,
3305 void (*update_tkip_key)(struct ieee80211_hw *hw,
3310 void (*set_rekey_data)(struct ieee80211_hw *hw,
3313 void (*set_default_unicast_key)(struct ieee80211_hw *hw,
3315 int (*hw_scan)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3317 void (*cancel_hw_scan)(struct ieee80211_hw *hw,
3319 int (*sched_scan_start)(struct ieee80211_hw *hw,
3323 int (*sched_scan_stop)(struct ieee80211_hw *hw,
3325 void (*sw_scan_start)(struct ieee80211_hw *hw,
3328 void (*sw_scan_complete)(struct ieee80211_hw *hw,
3330 int (*get_stats)(struct ieee80211_hw *hw,
3332 void (*get_key_seq)(struct ieee80211_hw *hw,
3335 int (*set_frag_threshold)(struct ieee80211_hw *hw, u32 value);
3336 int (*set_rts_threshold)(struct ieee80211_hw *hw, u32 value);
3337 int (*sta_add)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3339 int (*sta_remove)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3342 void (*sta_add_debugfs)(struct ieee80211_hw *hw,
3346 void (*sta_remove_debugfs)(struct ieee80211_hw *hw,
3351 void (*sta_notify)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3353 int (*sta_state)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3357 void (*sta_pre_rcu_remove)(struct ieee80211_hw *hw,
3360 void (*sta_rc_update)(struct ieee80211_hw *hw,
3364 void (*sta_rate_tbl_update)(struct ieee80211_hw *hw,
3367 void (*sta_statistics)(struct ieee80211_hw *hw,
3371 int (*conf_tx)(struct ieee80211_hw *hw,
3374 u64 (*get_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3375 void (*set_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3377 void (*reset_tsf)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3378 int (*tx_last_beacon)(struct ieee80211_hw *hw);
3379 int (*ampdu_action)(struct ieee80211_hw *hw,
3384 int (*get_survey)(struct ieee80211_hw *hw, int idx,
3386 void (*rfkill_poll)(struct ieee80211_hw *hw);
3387 void (*set_coverage_class)(struct ieee80211_hw *hw, s16 coverage_class);
3389 int (*testmode_cmd)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3391 int (*testmode_dump)(struct ieee80211_hw *hw, struct sk_buff *skb,
3395 void (*flush)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3397 void (*channel_switch)(struct ieee80211_hw *hw,
3400 int (*set_antenna)(struct ieee80211_hw *hw, u32 tx_ant, u32 rx_ant);
3401 int (*get_antenna)(struct ieee80211_hw *hw, u32 *tx_ant, u32 *rx_ant);
3403 int (*remain_on_channel)(struct ieee80211_hw *hw,
3408 int (*cancel_remain_on_channel)(struct ieee80211_hw *hw);
3409 int (*set_ringparam)(struct ieee80211_hw *hw, u32 tx, u32 rx);
3410 void (*get_ringparam)(struct ieee80211_hw *hw,
3412 bool (*tx_frames_pending)(struct ieee80211_hw *hw);
3413 int (*set_bitrate_mask)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3415 void (*event_callback)(struct ieee80211_hw *hw,
3419 void (*allow_buffered_frames)(struct ieee80211_hw *hw,
3424 void (*release_buffered_frames)(struct ieee80211_hw *hw,
3430 int (*get_et_sset_count)(struct ieee80211_hw *hw,
3432 void (*get_et_stats)(struct ieee80211_hw *hw,
3435 void (*get_et_strings)(struct ieee80211_hw *hw,
3439 void (*mgd_prepare_tx)(struct ieee80211_hw *hw,
3442 void (*mgd_protect_tdls_discover)(struct ieee80211_hw *hw,
3445 int (*add_chanctx)(struct ieee80211_hw *hw,
3447 void (*remove_chanctx)(struct ieee80211_hw *hw,
3449 void (*change_chanctx)(struct ieee80211_hw *hw,
3452 int (*assign_vif_chanctx)(struct ieee80211_hw *hw,
3455 void (*unassign_vif_chanctx)(struct ieee80211_hw *hw,
3458 int (*switch_vif_chanctx)(struct ieee80211_hw *hw,
3463 void (*reconfig_complete)(struct ieee80211_hw *hw,
3467 void (*ipv6_addr_change)(struct ieee80211_hw *hw,
3471 void (*channel_switch_beacon)(struct ieee80211_hw *hw,
3474 int (*pre_channel_switch)(struct ieee80211_hw *hw,
3478 int (*post_channel_switch)(struct ieee80211_hw *hw,
3481 int (*join_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3482 void (*leave_ibss)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
3484 int (*get_txpower)(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
3487 int (*tdls_channel_switch)(struct ieee80211_hw *hw,
3492 void (*tdls_cancel_channel_switch)(struct ieee80211_hw *hw,
3495 void (*tdls_recv_channel_switch)(struct ieee80211_hw *hw,
3499 void (*wake_tx_queue)(struct ieee80211_hw *hw,
3555 int ieee80211_register_hw(struct ieee80211_hw *hw);
3582 const char *__ieee80211_get_tx_led_name(struct ieee80211_hw *hw);
3583 const char *__ieee80211_get_rx_led_name(struct ieee80211_hw *hw);
3584 const char *__ieee80211_get_assoc_led_name(struct ieee80211_hw *hw);
3585 const char *__ieee80211_get_radio_led_name(struct ieee80211_hw *hw);
3587 __ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw,
3604 static inline const char *ieee80211_get_tx_led_name(struct ieee80211_hw *hw) in ieee80211_get_tx_led_name() argument
3607 return __ieee80211_get_tx_led_name(hw); in ieee80211_get_tx_led_name()
3625 static inline const char *ieee80211_get_rx_led_name(struct ieee80211_hw *hw) in ieee80211_get_rx_led_name() argument
3628 return __ieee80211_get_rx_led_name(hw); in ieee80211_get_rx_led_name()
3646 static inline const char *ieee80211_get_assoc_led_name(struct ieee80211_hw *hw) in ieee80211_get_assoc_led_name() argument
3649 return __ieee80211_get_assoc_led_name(hw); in ieee80211_get_assoc_led_name()
3667 static inline const char *ieee80211_get_radio_led_name(struct ieee80211_hw *hw) in ieee80211_get_radio_led_name() argument
3670 return __ieee80211_get_radio_led_name(hw); in ieee80211_get_radio_led_name()
3689 ieee80211_create_tpt_led_trigger(struct ieee80211_hw *hw, unsigned int flags, in ieee80211_create_tpt_led_trigger() argument
3694 return __ieee80211_create_tpt_led_trigger(hw, flags, blink_table, in ieee80211_create_tpt_led_trigger()
3709 void ieee80211_unregister_hw(struct ieee80211_hw *hw);
3720 void ieee80211_free_hw(struct ieee80211_hw *hw);
3734 void ieee80211_restart_hw(struct ieee80211_hw *hw);
3757 void ieee80211_rx_napi(struct ieee80211_hw *hw, struct sk_buff *skb,
3780 static inline void ieee80211_rx(struct ieee80211_hw *hw, struct sk_buff *skb) in ieee80211_rx() argument
3782 ieee80211_rx_napi(hw, skb, NULL); in ieee80211_rx()
3798 void ieee80211_rx_irqsafe(struct ieee80211_hw *hw, struct sk_buff *skb);
3813 static inline void ieee80211_rx_ni(struct ieee80211_hw *hw, in ieee80211_rx_ni() argument
3817 ieee80211_rx(hw, skb); in ieee80211_rx_ni()
3937 void ieee80211_tx_status(struct ieee80211_hw *hw,
3956 void ieee80211_tx_status_noskb(struct ieee80211_hw *hw,
3972 static inline void ieee80211_tx_status_ni(struct ieee80211_hw *hw, in ieee80211_tx_status_ni() argument
3976 ieee80211_tx_status(hw, skb); in ieee80211_tx_status_ni()
3992 void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw,
4043 ieee80211_beacon_get_template(struct ieee80211_hw *hw,
4069 struct sk_buff *ieee80211_beacon_get_tim(struct ieee80211_hw *hw,
4082 static inline struct sk_buff *ieee80211_beacon_get(struct ieee80211_hw *hw, in ieee80211_beacon_get() argument
4085 return ieee80211_beacon_get_tim(hw, vif, NULL, NULL); in ieee80211_beacon_get()
4133 struct sk_buff *ieee80211_proberesp_get(struct ieee80211_hw *hw,
4150 struct sk_buff *ieee80211_pspoll_get(struct ieee80211_hw *hw,
4167 struct sk_buff *ieee80211_nullfunc_get(struct ieee80211_hw *hw,
4183 struct sk_buff *ieee80211_probereq_get(struct ieee80211_hw *hw,
4202 void ieee80211_rts_get(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
4220 __le16 ieee80211_rts_duration(struct ieee80211_hw *hw,
4238 void ieee80211_ctstoself_get(struct ieee80211_hw *hw,
4257 __le16 ieee80211_ctstoself_duration(struct ieee80211_hw *hw,
4275 __le16 ieee80211_generic_frame_duration(struct ieee80211_hw *hw,
4303 ieee80211_get_buffered_bc(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
4502 void ieee80211_wake_queue(struct ieee80211_hw *hw, int queue);
4511 void ieee80211_stop_queue(struct ieee80211_hw *hw, int queue);
4523 int ieee80211_queue_stopped(struct ieee80211_hw *hw, int queue);
4531 void ieee80211_stop_queues(struct ieee80211_hw *hw);
4539 void ieee80211_wake_queues(struct ieee80211_hw *hw);
4552 void ieee80211_scan_completed(struct ieee80211_hw *hw, bool aborted);
4562 void ieee80211_sched_scan_results(struct ieee80211_hw *hw);
4574 void ieee80211_sched_scan_stopped(struct ieee80211_hw *hw);
4606 void ieee80211_iterate_interfaces(struct ieee80211_hw *hw, u32 iter_flags,
4627 ieee80211_iterate_active_interfaces(struct ieee80211_hw *hw, u32 iter_flags, in ieee80211_iterate_active_interfaces() argument
4632 ieee80211_iterate_interfaces(hw, in ieee80211_iterate_active_interfaces()
4651 void ieee80211_iterate_active_interfaces_atomic(struct ieee80211_hw *hw,
4670 void ieee80211_iterate_active_interfaces_rtnl(struct ieee80211_hw *hw,
4689 void ieee80211_iterate_stations_atomic(struct ieee80211_hw *hw,
4702 void ieee80211_queue_work(struct ieee80211_hw *hw, struct work_struct *work);
4714 void ieee80211_queue_delayed_work(struct ieee80211_hw *hw,
4808 struct ieee80211_sta *ieee80211_find_sta_by_ifaddr(struct ieee80211_hw *hw,
4841 void ieee80211_sta_block_awake(struct ieee80211_hw *hw,
4883 void ieee80211_iter_keys(struct ieee80211_hw *hw,
4885 void (*iter)(struct ieee80211_hw *hw,
4912 struct ieee80211_hw *hw,
4913 void (*iter)(struct ieee80211_hw *hw,
4932 struct sk_buff *ieee80211_ap_probereq_get(struct ieee80211_hw *hw,
5014 void ieee80211_radar_detected(struct ieee80211_hw *hw);
5042 void ieee80211_ready_on_channel(struct ieee80211_hw *hw);
5048 void ieee80211_remain_on_channel_expired(struct ieee80211_hw *hw);
5139 struct ieee80211_hw *hw; member
5153 void *(*alloc)(struct ieee80211_hw *hw, struct dentry *debugfsdir);
5255 int rate_control_set_rates(struct ieee80211_hw *hw,
5358 bool ieee80211_tx_prepare_skb(struct ieee80211_hw *hw,
5468 struct sk_buff *ieee80211_tx_dequeue(struct ieee80211_hw *hw,