Lines Matching refs:sta
464 struct ieee80211_sta sta; member
467 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument
470 return sta->plink_state; in sta_plink_state()
475 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag() argument
481 set_bit(flag, &sta->_flags); in set_sta_flag()
484 static inline void clear_sta_flag(struct sta_info *sta, in clear_sta_flag() argument
490 clear_bit(flag, &sta->_flags); in clear_sta_flag()
493 static inline int test_sta_flag(struct sta_info *sta, in test_sta_flag() argument
496 return test_bit(flag, &sta->_flags); in test_sta_flag()
499 static inline int test_and_clear_sta_flag(struct sta_info *sta, in test_and_clear_sta_flag() argument
505 return test_and_clear_bit(flag, &sta->_flags); in test_and_clear_sta_flag()
508 static inline int test_and_set_sta_flag(struct sta_info *sta, in test_and_set_sta_flag() argument
514 return test_and_set_bit(flag, &sta->_flags); in test_and_set_sta_flag()
517 int sta_info_move_state(struct sta_info *sta,
520 static inline void sta_info_pre_move_state(struct sta_info *sta, in sta_info_pre_move_state() argument
525 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_pre_move_state()
527 ret = sta_info_move_state(sta, new_state); in sta_info_pre_move_state()
532 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
536 rcu_dereference_protected_tid_tx(struct sta_info *sta, int tid) in rcu_dereference_protected_tid_tx() argument
538 return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid], in rcu_dereference_protected_tid_tx()
539 lockdep_is_held(&sta->lock) || in rcu_dereference_protected_tid_tx()
540 lockdep_is_held(&sta->ampdu_mlme.mtx)); in rcu_dereference_protected_tid_tx()
573 if (ether_addr_equal(_sta->sta.addr, (_addr)))
587 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta);
597 int sta_info_insert(struct sta_info *sta);
598 int sta_info_insert_rcu(struct sta_info *sta) __acquires(RCU);
600 int __must_check __sta_info_destroy(struct sta_info *sta);
606 void sta_info_recalc_tim(struct sta_info *sta);
626 void sta_set_rate_info_tx(struct sta_info *sta,
629 void sta_set_rate_info_rx(struct sta_info *sta,
631 void sta_set_sinfo(struct sta_info *sta, struct station_info *sinfo);
635 u8 sta_info_tx_streams(struct sta_info *sta);
637 void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta);
638 void ieee80211_sta_ps_deliver_poll_response(struct sta_info *sta);
639 void ieee80211_sta_ps_deliver_uapsd(struct sta_info *sta);