Lines Matching refs:sta

149 					  struct sta_info *sta, u8 ac,
189 struct sta_info *sta; member
244 struct sta_info *sta; member
527 struct sta_info *sta; member
727 struct ieee80211_sta sta; member
730 static inline int ieee80211_tdls_sta_link_id(struct sta_info *sta) in ieee80211_tdls_sta_link_id() argument
733 return sta->sta.valid_links ? __ffs(sta->sta.valid_links) : 0; in ieee80211_tdls_sta_link_id()
736 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument
739 return sta->mesh->plink_state; in sta_plink_state()
744 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument
750 set_bit(flag, &sta->_flags); in set_sta_flag()
753 static inline void clear_sta_flag(struct sta_info *sta, in clear_sta_flag() argument
759 clear_bit(flag, &sta->_flags); in clear_sta_flag()
762 static inline int test_sta_flag(struct sta_info *sta, in test_sta_flag() argument
765 return test_bit(flag, &sta->_flags); in test_sta_flag()
768 static inline int test_and_clear_sta_flag(struct sta_info *sta, in test_and_clear_sta_flag() argument
774 return test_and_clear_bit(flag, &sta->_flags); in test_and_clear_sta_flag()
777 static inline int test_and_set_sta_flag(struct sta_info *sta, in test_and_set_sta_flag() argument
783 return test_and_set_bit(flag, &sta->_flags); in test_and_set_sta_flag()
786 int sta_info_move_state(struct sta_info *sta,
789 static inline void sta_info_pre_move_state(struct sta_info *sta, in sta_info_pre_move_state() argument
794 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_pre_move_state()
796 ret = sta_info_move_state(sta, new_state); in sta_info_pre_move_state()
801 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
804 #define rcu_dereference_protected_tid_tx(sta, tid) \ argument
805 rcu_dereference_protected((sta)->ampdu_mlme.tid_tx[tid], \
806 lockdep_is_held(&(sta)->lock) || \
807 lockdep_is_held(&(sta)->local->hw.wiphy->mtx));
868 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
878 int sta_info_insert(struct sta_info *sta);
879 int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU);
881 int __must_check __sta_info_destroy(struct sta_info *sta);
887 void sta_info_recalc_tim(struct sta_info *sta);
922 void sta_set_rate_info_tx(struct sta_info *sta,
925 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo,
928 u32 sta_get_expected_throughput(struct sta_info *sta);
933 int ieee80211_sta_allocate_link(struct sta_info *sta, unsigned int link_id);
934 void ieee80211_sta_free_link(struct sta_info *sta, unsigned int link_id);
935 int ieee80211_sta_activate_link(struct sta_info *sta, unsigned int link_id);
936 void ieee80211_sta_remove_link(struct sta_info *sta, unsigned int link_id);
938 void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta);
939 void ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta);
940 void ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta);
942 unsigned long ieee80211_sta_last_active(struct sta_info *sta);
944 void ieee80211_sta_set_max_amsdu_subframes(struct sta_info *sta,
948 void __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links);