Home
last modified time | relevance | path

Searched refs:sta_priv (Results 1 – 25 of 60) sorted by relevance

123

/drivers/net/wireless/ath/wcn36xx/
Dmain.c174 struct wcn36xx_sta *sta_priv) in get_sta_index() argument
177 sta_priv->bss_sta_index : in get_sta_index()
178 sta_priv->sta_index; in get_sta_index()
373 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_tx() local
376 sta_priv = (struct wcn36xx_sta *)control->sta->drv_priv; in wcn36xx_tx()
378 if (wcn36xx_start_tx(wcn, sta_priv, skb)) in wcn36xx_tx()
389 struct wcn36xx_sta *sta_priv = vif_priv->sta; in wcn36xx_set_key() local
439 sta_priv->is_data_encrypted = true; in wcn36xx_set_key()
453 get_sta_index(vif, sta_priv)); in wcn36xx_set_key()
462 sta_priv->is_data_encrypted = true; in wcn36xx_set_key()
[all …]
Dtxrx.c116 struct wcn36xx_sta *sta_priv, in wcn36xx_set_tx_data() argument
128 if (sta_priv) { in wcn36xx_set_tx_data()
129 __vif_priv = sta_priv->vif; in wcn36xx_set_tx_data()
134 bd->dpu_sign = sta_priv->ucast_dpu_sign; in wcn36xx_set_tx_data()
136 bd->sta_index = sta_priv->bss_sta_index; in wcn36xx_set_tx_data()
137 bd->dpu_desc_idx = sta_priv->bss_dpu_desc_index; in wcn36xx_set_tx_data()
141 bd->sta_index = sta_priv->sta_index; in wcn36xx_set_tx_data()
142 bd->dpu_desc_idx = sta_priv->dpu_desc_index; in wcn36xx_set_tx_data()
152 (sta_priv && !sta_priv->is_data_encrypted)) in wcn36xx_set_tx_data()
204 struct wcn36xx_sta *sta_priv, in wcn36xx_start_tx() argument
[all …]
Dtxrx.h157 struct wcn36xx_sta *sta_priv,
/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c49 u32 _r8712_init_sta_priv(struct sta_priv *pstapriv) in _r8712_init_sta_priv()
78 static void mfree_all_stainfo(struct sta_priv *pstapriv) in mfree_all_stainfo()
96 static void mfree_sta_priv_lock(struct sta_priv *pstapriv) in mfree_sta_priv_lock()
101 u32 _r8712_free_sta_priv(struct sta_priv *pstapriv) in _r8712_free_sta_priv()
110 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo()
175 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_stainfo()
221 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_all_stainfo()
242 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo()
273 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_init_bcmc_stainfo()
284 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_get_bcmc_stainfo()
Dsta_info.h102 struct sta_priv { struct
134 u32 _r8712_init_sta_priv(struct sta_priv *pstapriv); argument
135 u32 _r8712_free_sta_priv(struct sta_priv *pstapriv);
136 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv,
140 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
Drtl871x_recv.c255 struct sta_priv *pstapriv; in r8712_portctrl()
320 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
385 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
443 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
Ddrv_types.h150 struct sta_priv stapriv;
/drivers/staging/rtl8188eu/core/
Drtw_sta_mgt.c74 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv()
130 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset()
140 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset()
149 static void rtw_mfree_all_stainfo(struct sta_priv *pstapriv) in rtw_mfree_all_stainfo()
169 static void rtw_mfree_sta_priv_lock(struct sta_priv *pstapriv) in rtw_mfree_sta_priv_lock()
174 u32 _rtw_free_sta_priv(struct sta_priv *pstapriv) in _rtw_free_sta_priv()
211 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo()
303 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo()
431 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo()
457 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo()
[all …]
Drtw_ap.c32 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info()
47 struct sta_priv *pstapriv = &padapter->stapriv; in free_mlme_ap_info()
71 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM()
280 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk()
1113 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl()
1127 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta()
1191 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta()
1492 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update()
1716 struct sta_priv *pstapriv = &padapter->stapriv; in ap_free_sta()
1758 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ap_inform_ch_switch()
[all …]
Drtw_recv.c494 struct sta_priv *pstapriv; in portctrl()
600 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data()
625 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data()
719 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
808 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
915 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
975 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame()
1523 struct sta_priv *pstapriv; in recvframe_chk_defrag()
/drivers/net/wireless/iwlwifi/dvm/
Dtx.c285 struct iwl_station_priv *sta_priv = NULL; in iwlagn_tx_skb() local
344 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb()
346 if (sta_priv && sta_priv->asleep && in iwlagn_tx_skb()
470 if (sta_priv && sta_priv->client && !is_agg) in iwlagn_tx_skb()
471 atomic_inc(&sta_priv->pending_frames); in iwlagn_tx_skb()
702 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_tx_agg_oper() local
710 ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; in iwlagn_tx_agg_oper()
711 q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; in iwlagn_tx_agg_oper()
712 priv->tid_data[sta_priv->sta_id][tid].agg.state = IWL_AGG_ON; in iwlagn_tx_agg_oper()
717 iwl_trans_txq_enable(priv->trans, q, fifo, sta_priv->sta_id, tid, in iwlagn_tx_agg_oper()
[all …]
Dmac80211.c725 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() local
773 sta_priv->lq_sta.lq.general_params.flags &= in iwlagn_mac_ampdu_action()
776 &sta_priv->lq_sta.lq, CMD_ASYNC, false); in iwlagn_mac_ampdu_action()
793 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add() local
801 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add()
803 atomic_set(&sta_priv->pending_frames, 0); in iwlagn_mac_sta_add()
805 sta_priv->client = true; in iwlagn_mac_sta_add()
816 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add()
826 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove() local
838 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
[all …]
Drs.c344 struct iwl_station_priv *sta_priv = in rs_program_fix_rate() local
346 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_program_fix_rate()
908 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_tx_status() local
909 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_tx_status()
1268 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo2() local
1269 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo2()
1323 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo3() local
1324 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo3()
1379 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_siso() local
1380 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_siso()
[all …]
/drivers/staging/rtl8723au/core/
Drtw_sta_mgt.c54 int _rtw_init_sta_priv23a(struct sta_priv *pstapriv) in _rtw_init_sta_priv23a()
84 int _rtw_free_sta_priv23a(struct sta_priv *pstapriv) in _rtw_free_sta_priv23a()
115 rtw_alloc_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr, gfp_t gfp) in rtw_alloc_stainfo23a()
202 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo23a()
332 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo23a()
355 struct sta_info *rtw_get_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr) in rtw_get_stainfo23a()
391 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo23a()
413 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_bcmc_stainfo23a()
426 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_access_ctrl23a()
Drtw_ap.c31 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info23a()
45 struct sta_priv *pstapriv = &padapter->stapriv; in free_mlme_ap_info23a()
69 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM()
184 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk23a()
1048 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl23a()
1062 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta23a()
1122 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta23a()
1396 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update23a()
1654 struct sta_priv *pstapriv = &padapter->stapriv; in ap_free_sta23a()
1703 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ap_inform_ch_switch23a()
[all …]
Drtw_recv.c548 struct sta_priv *pstapriv ; in portctrl()
673 struct sta_priv *pstapriv = &padapter->stapriv; in process23a_pwrbit_data()
700 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data()
793 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
895 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
1024 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
1093 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame()
1716 struct sta_priv *pstapriv; in recvframe_chk_defrag23a()
/drivers/staging/rtl8188eu/include/
Dsta_info.h294 struct sta_priv { struct
354 extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); argument
355 extern u32 _rtw_free_sta_priv(struct sta_priv *pstapriv);
358 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta);
359 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int off);
361 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
364 extern struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
/drivers/staging/rtl8723au/include/
Dsta_info.h312 struct sta_priv { struct
362 int _rtw_init_sta_priv23a(struct sta_priv *pstapriv); argument
363 int _rtw_free_sta_priv23a(struct sta_priv *pstapriv);
365 struct sta_info *rtw_alloc_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr, gfp_t gfp);
368 struct sta_info *rtw_get_stainfo23a(struct sta_priv *pstapriv, const u8 *hwaddr);
Ddrv_types.h226 struct sta_priv stapriv;
/drivers/net/wireless/rt2x00/
Drt2x00mac.c465 struct rt2x00_sta *sta_priv = NULL; in rt2x00mac_set_key() local
497 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_set_key()
498 crypto.wcid = sta_priv->wcid; in rt2x00mac_set_key()
542 struct rt2x00_sta *sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_sta_add() local
549 sta_priv->wcid = -1; in rt2x00mac_sta_add()
559 struct rt2x00_sta *sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_sta_remove() local
564 if (sta_priv->wcid < 0) in rt2x00mac_sta_remove()
567 return rt2x00dev->ops->lib->sta_remove(rt2x00dev, sta_priv->wcid); in rt2x00mac_sta_remove()
/drivers/staging/rtl8188eu/os_dep/
Dmlme_linux.c150 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_assoc_event()
174 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_disassoc_event()
/drivers/net/wireless/cw1200/
Dtxrx.c411 struct cw1200_sta_priv *sta_priv; member
443 if (t->sta && t->sta_priv->link_id) in cw1200_tx_h_calc_link_ids()
446 t->sta_priv->link_id; in cw1200_tx_h_calc_link_ids()
732 t.sta_priv = (struct cw1200_sta_priv *)&t.sta->drv_priv; in cw1200_tx()
825 struct cw1200_sta_priv *sta_priv; in cw1200_handle_pspoll() local
826 sta_priv = (struct cw1200_sta_priv *)&sta->drv_priv; in cw1200_handle_pspoll()
827 link_id = sta_priv->link_id; in cw1200_handle_pspoll()
828 pspoll_mask = BIT(sta_priv->link_id); in cw1200_handle_pspoll()
Dsta.c1554 struct cw1200_sta_priv *sta_priv = in cw1200_sta_add() local
1562 sta_priv->link_id = cw1200_find_link_id(priv, sta->addr); in cw1200_sta_add()
1563 if (WARN_ON(!sta_priv->link_id)) { in cw1200_sta_add()
1569 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_add()
1573 priv->sta_asleep_mask |= BIT(sta_priv->link_id); in cw1200_sta_add()
1585 struct cw1200_sta_priv *sta_priv = in cw1200_sta_remove() local
1589 if (priv->mode != NL80211_IFTYPE_AP || !sta_priv->link_id) in cw1200_sta_remove()
1592 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_remove()
1651 struct cw1200_sta_priv *sta_priv = in cw1200_sta_notify() local
1655 __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); in cw1200_sta_notify()
/drivers/net/wireless/iwlwifi/mvm/
Drs.c1979 struct iwl_mvm_sta *sta_priv = (void *)sta->drv_priv; in rs_rate_scale_perform() local
1983 lq_sta->is_agg = !!sta_priv->agg_tids; in rs_rate_scale_perform()
2247 tid_data = &sta_priv->tid_data[tid]; in rs_rate_scale_perform()
2263 tid_data = &sta_priv->tid_data[tid]; in rs_rate_scale_perform()
2465 struct iwl_mvm_sta *sta_priv = (struct iwl_mvm_sta *)sta->drv_priv; in rs_alloc_sta() local
2468 struct iwl_lq_sta *lq_sta = &sta_priv->lq_sta; in rs_alloc_sta()
2480 return &sta_priv->lq_sta; in rs_alloc_sta()
2618 struct iwl_mvm_sta *sta_priv; in iwl_mvm_rs_rate_init() local
2623 sta_priv = (struct iwl_mvm_sta *)sta->drv_priv; in iwl_mvm_rs_rate_init()
2624 lq_sta = &sta_priv->lq_sta; in iwl_mvm_rs_rate_init()
[all …]
/drivers/staging/rtl8723au/os_dep/
Drecv_linux.c101 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_recv_indicatepkt23a()

123