Home
last modified time | relevance | path

Searched refs:sta_info (Results 1 – 25 of 111) sorted by relevance

12345

/openbmc/linux/net/mac80211/
H A Dsta_info.h149 struct sta_info *sta, u8 ac,
152 struct sta_info;
189 struct sta_info *sta;
244 struct sta_info *sta;
397 struct sta_info *plink_sta;
530 struct sta_info *sta;
655 struct sta_info { struct
735 static inline enum nl80211_plink_state sta_plink_state(struct sta_info *sta) in sta_plink_state() argument
743 static inline void set_sta_flag(struct sta_info *sta, in set_sta_flag()
752 static inline void clear_sta_flag(struct sta_info *sta, in clear_sta_flag()
[all …]
H A Dmesh.h111 struct sta_info __rcu *next_hop;
274 struct sta_info *sta,
288 u64 ieee80211_mps_set_sta_local_pm(struct sta_info *sta,
291 struct sta_info *sta,
293 void ieee80211_mps_sta_status_update(struct sta_info *sta);
294 void ieee80211_mps_rx_h_sta_process(struct sta_info *sta,
296 void ieee80211_mpsp_trigger_process(u8 *qc, struct sta_info *sta,
298 void ieee80211_mps_frame_release(struct sta_info *sta,
317 void mesh_path_fix_nexthop(struct mesh_path *mpath, struct sta_info *next_hop);
328 struct sta_info *sta);
[all …]
H A Dsta_info.c76 .head_offset = offsetof(struct sta_info, hash_node),
77 .key_offset = offsetof(struct sta_info, addr),
93 struct sta_info *sta) in sta_info_hash_del()
117 static void __cleanup_single_sta(struct sta_info *sta) in __cleanup_single_sta()
181 static void cleanup_single_sta(struct sta_info *sta) in cleanup_single_sta()
197 struct sta_info *sta_info_get(struct ieee80211_sub_if_data *sdata, in sta_info_get()
202 struct sta_info *sta; in sta_info_get()
222 struct sta_info *sta_info_get_bss(struct ieee80211_sub_if_data *sdata, in sta_info_get_bss()
227 struct sta_info *sta; in sta_info_get_bss()
260 struct sta_info *sta = link_sta->sta; in link_sta_info_get_bss()
[all …]
H A Drate.h26 struct sta_info *sta,
32 void rate_control_rate_init(struct sta_info *sta);
35 struct sta_info *sta,
40 struct sta_info *sta, gfp_t gfp) in rate_control_alloc_sta()
46 static inline void rate_control_free_sta(struct sta_info *sta) in rate_control_free_sta()
55 static inline void rate_control_add_sta_debugfs(struct sta_info *sta) in rate_control_add_sta_debugfs()
H A Dmesh_ps.c19 static struct sk_buff *mps_qos_null_get(struct sta_info *sta) in mps_qos_null_get()
52 static void mps_qos_null_tx(struct sta_info *sta) in mps_qos_null_tx()
84 struct sta_info *sta; in ieee80211_mps_local_status_update()
152 u64 ieee80211_mps_set_sta_local_pm(struct sta_info *sta, in ieee80211_mps_set_sta_local_pm()
188 struct sta_info *sta, in ieee80211_mps_set_frame_flags()
232 void ieee80211_mps_sta_status_update(struct sta_info *sta) in ieee80211_mps_sta_status_update()
275 static void mps_set_sta_peer_pm(struct sta_info *sta, in mps_set_sta_peer_pm()
311 static void mps_set_sta_nonpeer_pm(struct sta_info *sta, in mps_set_sta_nonpeer_pm()
338 void ieee80211_mps_rx_h_sta_process(struct sta_info *sta, in ieee80211_mps_rx_h_sta_process()
364 static void mpsp_trigger_send(struct sta_info *sta, bool rspi, bool eosp) in mpsp_trigger_send()
[all …]
H A Ddebugfs_sta.h8 void ieee80211_sta_debugfs_add(struct sta_info *sta);
9 void ieee80211_sta_debugfs_remove(struct sta_info *sta);
17 static inline void ieee80211_sta_debugfs_add(struct sta_info *sta) {} in ieee80211_sta_debugfs_add()
18 static inline void ieee80211_sta_debugfs_remove(struct sta_info *sta) {} in ieee80211_sta_debugfs_remove()
H A Dagg-tx.c142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx()
190 ieee80211_agg_stop_txq(struct sta_info *sta, int tid) in ieee80211_agg_stop_txq()
211 ieee80211_agg_start_txq(struct sta_info *sta, int tid, bool enable) in ieee80211_agg_start_txq()
270 static void ieee80211_remove_tid_tx(struct sta_info *sta, int tid) in ieee80211_remove_tid_tx()
299 int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_tx_ba_session()
435 struct sta_info *sta = tid_tx->sta; in sta_addba_resp_timer_expired()
452 static void ieee80211_send_addba_with_timeout(struct sta_info *sta, in ieee80211_send_addba_with_timeout()
496 void ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid) in ieee80211_tx_ba_session_handle_start()
562 struct sta_info *sta = container_of(pubsta, struct sta_info, sta); in ieee80211_refresh_tx_agg_session_timer()
583 struct sta_info *sta = tid_tx->sta; in sta_tx_agg_session_timer_expired()
[all …]
H A Dmesh_plink.c59 struct sta_info *sta) in rssi_threshold_check()
75 static inline void mesh_plink_fsm_restart(struct sta_info *sta) in mesh_plink_fsm_restart()
97 struct sta_info *sta; in mesh_set_short_slot_time()
160 struct sta_info *sta; in mesh_set_ht_prot_mode()
212 struct sta_info *sta, in mesh_plink_frame_tx()
369 static u64 __mesh_plink_deactivate(struct sta_info *sta) in __mesh_plink_deactivate()
394 u64 mesh_plink_deactivate(struct sta_info *sta) in mesh_plink_deactivate()
420 struct sta_info *sta, in mesh_sta_info_init()
489 struct sta_info *sta; in mesh_allocate_aid()
514 static struct sta_info *
[all …]
H A Docb.c48 struct sta_info *sta; in ieee80211_ocb_rx_no_sta()
87 static struct sta_info *ieee80211_ocb_finish_sta(struct sta_info *sta) in ieee80211_ocb_finish_sta()
125 struct sta_info *sta; in ieee80211_ocb_work()
135 struct sta_info, list); in ieee80211_ocb_work()
210 struct sta_info *sta; in ieee80211_ocb_leave()
218 struct sta_info, list); in ieee80211_ocb_leave()
H A Dkey.h26 struct sta_info;
61 struct sta_info *sta;
149 struct sta_info *sta);
166 struct sta_info *sta);
H A Ds1g.c11 void ieee80211_s1g_sta_rate_init(struct sta_info *sta) in ieee80211_s1g_sta_rate_init()
97 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_setup()
125 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_rx_twt_teardown()
135 struct sta_info *sta, struct sk_buff *skb) in ieee80211_s1g_tx_twt_setup_fail()
154 struct sta_info *sta; in ieee80211_s1g_rx_twt_action()
182 struct sta_info *sta; in ieee80211_s1g_status_twt_action()
H A Dagg-rx.c58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session()
117 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session()
129 struct sta_info *sta; in ieee80211_stop_rx_ba_session()
155 struct sta_info *sta = tid_rx->sta; in sta_rx_agg_session_timer_expired()
199 static void ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, in ieee80211_send_addba_resp()
253 void ___ieee80211_start_rx_ba_session(struct sta_info *sta, in ___ieee80211_start_rx_ba_session()
447 static void __ieee80211_start_rx_ba_session(struct sta_info *sta, in __ieee80211_start_rx_ba_session()
462 struct sta_info *sta, in ieee80211_process_addba_request()
511 struct sta_info *sta; in ieee80211_manage_rx_ba_offl()
530 struct sta_info *sta; in ieee80211_rx_ba_timer_expired()
H A Ddebugfs_key.h18 struct sta_info *sta);
40 struct sta_info *sta) in ieee80211_debugfs_key_sta_del()
/openbmc/linux/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c10 void _rtw_init_stainfo(struct sta_info *psta);
11 void _rtw_init_stainfo(struct sta_info *psta) in _rtw_init_stainfo()
13 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _rtw_init_stainfo()
55 struct sta_info *psta; in _rtw_init_sta_priv()
58 pstapriv->pallocated_stainfo_buf = vzalloc(sizeof(struct sta_info) * NUM_STA+4); in _rtw_init_sta_priv()
78 psta = (struct sta_info *)(pstapriv->pstainfo_buf); in _rtw_init_sta_priv()
107 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset()
109 int offset = (((u8 *)sta) - stapriv->pstainfo_buf)/sizeof(struct sta_info); in rtw_stainfo_offset()
114 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset()
116 return (struct sta_info *)(stapriv->pstainfo_buf + offset * sizeof(struct sta_info)); in rtw_get_stainfo_by_offset()
[all …]
H A Drtw_ap.c31 struct sta_info *psta = NULL; in free_mlme_ap_info()
167 static u8 chk_sta_is_alive(struct sta_info *psta) in chk_sta_is_alive()
178 struct sta_info *psta = NULL; in expire_timeout_chk()
189 psta = list_entry(plist, struct sta_info, auth_list); in expire_timeout_chk()
214 psta = list_entry(plist, struct sta_info, asoc_list); in expire_timeout_chk()
324 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level) in add_RATid()
381 struct sta_info *psta = rtw_get_bcmc_stainfo(padapter); in update_bmc_sta()
453 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta) in update_sta_info_apmode()
565 static void update_ap_info(struct adapter *padapter, struct sta_info *psta) in update_ap_info()
817 struct sta_info *psta = NULL; in rtw_check_beacon_data()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtw_ap.h14 void add_RATid(struct adapter *padapter, struct sta_info *psta, u8 rssi_level);
16 void update_sta_info_apmode(struct adapter *padapter, struct sta_info *psta);
24 u8 rtw_ap_set_pairwise_key(struct adapter *padapter, struct sta_info *psta);
29 void bss_cap_update_on_sta_join(struct adapter *padapter, struct sta_info *psta);
30 u8 bss_cap_update_on_sta_leave(struct adapter *padapter, struct sta_info *psta);
31 void sta_info_update(struct adapter *padapter, struct sta_info *psta);
32 void ap_sta_info_defer_update(struct adapter *padapter, struct sta_info *psta);
33 u8 ap_free_sta(struct adapter *padapter, struct sta_info *psta, bool active, u16 reason);
H A Drtw_mlme_ext.h289 struct sta_info *psta;
467 extern void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta);
472 u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta);
540 void VCS_update(struct adapter *padapter, struct sta_info *psta);
541 void update_ldpc_stbc_cap(struct sta_info *psta);
543 void update_beacon_info(struct adapter *padapter, u8 *pframe, uint len, struct sta_info *psta);
548 void update_sta_basic_rate(struct sta_info *psta, u8 wireless_mode);
552 void update_sta_info(struct adapter *padapter, struct sta_info *psta);
553 void Update_RA_Entry(struct adapter *padapter, struct sta_info *psta);
554 void set_sta_rate(struct adapter *padapter, struct sta_info *psta);
[all …]
H A Dsta_info.h70 struct sta_info { struct
330 struct sta_info *sta_aid[NUM_STA];
363 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
364 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset);
366 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
367 extern u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta);
369 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
371 extern struct sta_info *rtw_get_bcmc_stainfo(struct adapter *padapter);
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_sta_mgt.c25 static void _init_stainfo(struct sta_info *psta) in _init_stainfo()
27 memset((u8 *)psta, 0, sizeof(struct sta_info)); in _init_stainfo()
39 struct sta_info *psta; in _r8712_init_sta_priv()
42 pstapriv->pallocated_stainfo_buf = kmalloc(sizeof(struct sta_info) * in _r8712_init_sta_priv()
53 psta = (struct sta_info *)(pstapriv->pstainfo_buf); in _r8712_init_sta_priv()
89 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo()
93 struct sta_info *psta; in r8712_alloc_stainfo()
103 struct sta_info, list); in r8712_alloc_stainfo()
142 void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta) in r8712_free_stainfo()
196 struct sta_info *psta = NULL; in r8712_free_all_stainfo()
[all …]
H A Dsta_info.h44 struct sta_info { struct
122 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv,
124 void r8712_free_stainfo(struct _adapter *padapter, struct sta_info *psta);
126 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
128 struct sta_info *r8712_get_bcmc_stainfo(struct _adapter *padapter);
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_ap.c56 static struct sta_info* ap_get_sta(struct ap_data *ap, u8 *sta);
58 struct sta_info *sta);
86 static void ap_sta_hash_add(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_add()
92 static void ap_sta_hash_del(struct ap_data *ap, struct sta_info *sta) in ap_sta_hash_del()
94 struct sta_info *s; in ap_sta_hash_del()
112 static void ap_free_sta(struct ap_data *ap, struct sta_info *sta) in ap_free_sta()
152 static void hostap_event_new_sta(struct net_device *dev, struct sta_info *sta) in hostap_event_new_sta()
163 struct sta_info *sta) in hostap_event_expired_sta()
177 struct sta_info *sta = from_timer(sta, t, timer); in ap_handle_timer()
469 struct sta_info *sta; in ap_control_kick_mac()
[all …]
H A Dhostap_ap.h40 struct sta_info { struct
42 struct sta_info *hnext; /* next entry in hash table list */ argument
183 struct sta_info *sta_hash[STA_HASH_SIZE];
207 struct sta_info *sta_aid[MAX_AID_TABLE_SIZE];
/openbmc/linux/Documentation/livepatch/
H A Dshadow-vars.rst102 spinlock to net/mac80211/sta_info.h :: struct sta_info. Each use-case
119 For commit 1d147bfa6429, when a parent sta_info structure is allocated,
123 struct sta_info *sta_info_alloc(struct ieee80211_sub_if_data *sdata,
126 struct sta_info *sta;
141 for a specific struct sta_info:::
143 void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta)
153 When the parent sta_info structure is freed, first free the shadow
156 void sta_info_free(struct ieee80211_local *local, struct sta_info *sta)
184 void ieee80211_sta_ps_deliver_wakeup(struct sta_info *sta)
/openbmc/linux/drivers/net/wireless/ath/carl9170/
H A Dtx.c141 struct carl9170_sta_info *sta_info; in carl9170_tx_ps_unblock() local
148 sta_info = (struct carl9170_sta_info *) sta->drv_priv; in carl9170_tx_ps_unblock()
149 if (atomic_dec_return(&sta_info->pending_frames) == 0) in carl9170_tx_ps_unblock()
385 struct carl9170_sta_info *sta_info; in carl9170_tx_status_process_ampdu() local
400 sta_info = (void *) sta->drv_priv; in carl9170_tx_status_process_ampdu()
401 tid_info = rcu_dereference(sta_info->agg[tid]); in carl9170_tx_status_process_ampdu()
409 if (sta_info->stats[tid].clear) { in carl9170_tx_status_process_ampdu()
410 sta_info->stats[tid].clear = false; in carl9170_tx_status_process_ampdu()
411 sta_info->stats[tid].req = false; in carl9170_tx_status_process_ampdu()
412 sta_info->stats[tid].ampdu_len = 0; in carl9170_tx_status_process_ampdu()
[all …]
H A Dmain.c1304 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_add() local
1307 atomic_set(&sta_info->pending_frames, 0); in carl9170_op_sta_add()
1319 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) in carl9170_op_sta_add()
1320 RCU_INIT_POINTER(sta_info->agg[i], NULL); in carl9170_op_sta_add()
1322 sta_info->ampdu_max_len = 1 << (3 + sta->deflink.ht_cap.ampdu_factor); in carl9170_op_sta_add()
1323 sta_info->ht_sta = true; in carl9170_op_sta_add()
1334 struct carl9170_sta_info *sta_info = (void *) sta->drv_priv; in carl9170_op_sta_remove() local
1340 sta_info->ht_sta = false; in carl9170_op_sta_remove()
1343 for (i = 0; i < ARRAY_SIZE(sta_info->agg); i++) { in carl9170_op_sta_remove()
1346 tid_info = rcu_dereference(sta_info->agg[i]); in carl9170_op_sta_remove()
[all …]

12345