Lines Matching refs:sta

146 					  struct sta_info *sta, u8 ac,
185 struct sta_info *sta; member
239 struct sta_info *sta; member
641 struct ieee80211_sta sta; member
644 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument
647 return sta->mesh->plink_state; in sta_plink_state()
652 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument
658 set_bit(flag, &sta->_flags); in set_sta_flag()
661 static inline void clear_sta_flag(struct sta_info *sta, in clear_sta_flag() argument
667 clear_bit(flag, &sta->_flags); in clear_sta_flag()
670 static inline int test_sta_flag(struct sta_info *sta, in test_sta_flag() argument
673 return test_bit(flag, &sta->_flags); in test_sta_flag()
676 static inline int test_and_clear_sta_flag(struct sta_info *sta, in test_and_clear_sta_flag() argument
682 return test_and_clear_bit(flag, &sta->_flags); in test_and_clear_sta_flag()
685 static inline int test_and_set_sta_flag(struct sta_info *sta, in test_and_set_sta_flag() argument
691 return test_and_set_bit(flag, &sta->_flags); in test_and_set_sta_flag()
694 int sta_info_move_state(struct sta_info *sta,
697 static inline void sta_info_pre_move_state(struct sta_info *sta, in sta_info_pre_move_state() argument
702 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_pre_move_state()
704 ret = sta_info_move_state(sta, new_state); in sta_info_pre_move_state()
709 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
713 rcu_dereference_protected_tid_tx(struct sta_info *sta, int tid) in rcu_dereference_protected_tid_tx() argument
715 return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid], in rcu_dereference_protected_tid_tx()
716 lockdep_is_held(&sta->lock) || in rcu_dereference_protected_tid_tx()
717 lockdep_is_held(&sta->ampdu_mlme.mtx)); in rcu_dereference_protected_tid_tx()
763 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
773 int sta_info_insert(struct sta_info *sta);
774 int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU);
776 int __must_check __sta_info_destroy(struct sta_info *sta);
782 void sta_info_recalc_tim(struct sta_info *sta);
809 void sta_set_rate_info_tx(struct sta_info *sta,
812 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo,
815 u32 sta_get_expected_throughput(struct sta_info *sta);
819 u8 sta_info_tx_streams(struct sta_info *sta);
821 void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta);
822 void ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta);
823 void ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta);
825 unsigned long ieee80211_sta_last_active(struct sta_info *sta);