Lines Matching refs:sta

149 					  struct sta_info *sta, u8 ac,
160 * @pending: pending frames queue -- use sta's spinlock to protect
161 * @sta: station we are attached to
189 struct sta_info *sta;
215 * @sta: station we are attached to
244 struct sta_info *sta;
276 * by wiphy mutex but also sta->lock
380 * @t_offset_setpoint: reference timing offset of this sta to be used when
479 * All link specific sta info are stored here for reference. This can be
488 * @sta: Points to the STA info
527 struct sta_info *sta;
616 * @dead: set to true when sta is unlinked
617 * @removed: set to true when sta is being removed from sta_list
618 * @uploaded: set to true when sta is uploaded to the driver
619 * @sta: station information we share with the driver
727 struct ieee80211_sta sta;
730 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta)
733 return sta->mesh->plink_state;
738 static inline void set_sta_flag(struct sta_info *sta,
744 set_bit(flag, &sta->_flags);
747 static inline void clear_sta_flag(struct sta_info *sta,
753 clear_bit(flag, &sta->_flags);
756 static inline int test_sta_flag(struct sta_info *sta,
759 return test_bit(flag, &sta->_flags);
762 static inline int test_and_clear_sta_flag(struct sta_info *sta,
768 return test_and_clear_bit(flag, &sta->_flags);
771 static inline int test_and_set_sta_flag(struct sta_info *sta,
777 return test_and_set_bit(flag, &sta->_flags);
780 int sta_info_move_state(struct sta_info *sta,
783 static inline void sta_info_pre_move_state(struct sta_info *sta,
788 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED));
790 ret = sta_info_move_state(sta, new_state);
795 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
798 #define rcu_dereference_protected_tid_tx(sta, tid) \
799 rcu_dereference_protected((sta)->ampdu_mlme.tid_tx[tid], \
800 lockdep_is_held(&(sta)->lock) || \
801 lockdep_is_held(&(sta)->local->hw.wiphy->mtx));
862 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
872 int sta_info_insert(struct sta_info *sta);
873 int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU);
875 int __must_check __sta_info_destroy(struct sta_info *sta);
881 void sta_info_recalc_tim(struct sta_info *sta);
916 void sta_set_rate_info_tx(struct sta_info *sta,
919 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo,
922 u32 sta_get_expected_throughput(struct sta_info *sta);
927 int ieee80211_sta_allocate_link(struct sta_info *sta, unsigned int link_id);
928 void ieee80211_sta_free_link(struct sta_info *sta, unsigned int link_id);
929 int ieee80211_sta_activate_link(struct sta_info *sta, unsigned int link_id);
930 void ieee80211_sta_remove_link(struct sta_info *sta, unsigned int link_id);
932 void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta);
933 void ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta);
934 void ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta);
936 unsigned long ieee80211_sta_last_active(struct sta_info *sta);
938 void ieee80211_sta_set_max_amsdu_subframes(struct sta_info *sta,
942 void __ieee80211_sta_recalc_aggregates(struct sta_info *sta, u16 active_links);