Home
last modified time | relevance | path

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

/drivers/staging/rtl8712/
Drtl871x_sta_mgt.c49 u32 _r8712_init_sta_priv(struct sta_priv *pstapriv) in _r8712_init_sta_priv()
79 static void mfree_all_stainfo(struct sta_priv *pstapriv) in mfree_all_stainfo()
97 static void mfree_sta_priv_lock(struct sta_priv *pstapriv) in mfree_sta_priv_lock()
102 u32 _r8712_free_sta_priv(struct sta_priv *pstapriv) in _r8712_free_sta_priv()
111 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo()
176 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_stainfo()
222 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_all_stainfo()
243 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo()
274 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_init_bcmc_stainfo()
285 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()
321 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame()
386 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame()
444 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
Ddrv_types.h150 struct sta_priv stapriv;
Drtl871x_mlme.c641 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_free_assoc_resources()
720 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_joinbss_event_callback()
978 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_stadel_event_callback()
1043 struct sta_priv *pstapriv = &adapter->stapriv; in r8712_got_addbareq_event_callback()
Drtl871x_xmit.c195 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_update_attrib()
920 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_xmit_classifier()
Drtl871x_cmd.c1000 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setstaKey_cmdrsp_callback()
1017 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_setassocsta_cmdrsp_callback()
Drtl8712_recv.c271 struct sta_priv *pstapriv ; in r8712_recvframe_chk_defrag()
Drtl871x_ioctl_linux.c474 struct sta_priv *pstapriv = &padapter->stapriv; in wpa_set_encryption()
/drivers/net/wireless/iwlwifi/dvm/
Dtx.c298 struct iwl_station_priv *sta_priv = NULL; in iwlagn_tx_skb() local
357 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb()
359 if (sta_priv && sta_priv->asleep && in iwlagn_tx_skb()
490 if (sta_priv && sta_priv->client && !is_agg) in iwlagn_tx_skb()
491 atomic_inc(&sta_priv->pending_frames); in iwlagn_tx_skb()
725 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_tx_agg_oper() local
733 ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; in iwlagn_tx_agg_oper()
734 q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; in iwlagn_tx_agg_oper()
735 priv->tid_data[sta_priv->sta_id][tid].agg.state = IWL_AGG_ON; in iwlagn_tx_agg_oper()
740 iwl_trans_txq_enable(priv->trans, q, fifo, sta_priv->sta_id, tid, in iwlagn_tx_agg_oper()
[all …]
Dmac80211.c750 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() local
798 sta_priv->lq_sta.lq.general_params.flags &= in iwlagn_mac_ampdu_action()
801 &sta_priv->lq_sta.lq, CMD_ASYNC, false); in iwlagn_mac_ampdu_action()
818 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add() local
826 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add()
828 atomic_set(&sta_priv->pending_frames, 0); in iwlagn_mac_sta_add()
830 sta_priv->client = true; in iwlagn_mac_sta_add()
841 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add()
851 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove() local
863 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove()
[all …]
Drs.c345 struct iwl_station_priv *sta_priv = in rs_program_fix_rate() local
347 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_program_fix_rate()
920 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_tx_status() local
921 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_tx_status()
1286 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo2() local
1287 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo2()
1341 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo3() local
1342 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo3()
1397 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_siso() local
1398 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_siso()
[all …]
Dsta.c350 struct iwl_station_priv *sta_priv; in iwl_prep_station() local
352 sta_priv = (void *)sta->drv_priv; in iwl_prep_station()
353 sta_priv->ctx = ctx; in iwl_prep_station()
/drivers/net/wireless/rt2x00/
Drt2x00mac.c467 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()
Drt2x00queue.c336 struct rt2x00_sta *sta_priv = NULL; in rt2x00queue_create_tx_descriptor_ht() local
342 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00queue_create_tx_descriptor_ht()
343 txdesc->u.ht.wcid = sta_priv->wcid; in rt2x00queue_create_tx_descriptor_ht()
Drt2800lib.c1226 struct rt2x00_sta *sta_priv = sta_to_rt2x00_sta(sta); in rt2800_sta_add() local
1237 sta_priv->wcid = wcid; in rt2800_sta_add()
6340 struct rt2x00_sta *sta_priv = (struct rt2x00_sta *)sta->drv_priv; in rt2800_ampdu_action() local
6350 if (sta_priv->wcid < 0) in rt2800_ampdu_action()
/drivers/net/wireless/iwlwifi/mvm/
Drs.c2045 struct iwl_mvm_sta *sta_priv = (void *)sta->drv_priv; in rs_rate_scale_perform() local
2061 tid_data = &sta_priv->tid_data[tid]; in rs_rate_scale_perform()
2402 tid_data = &sta_priv->tid_data[tid]; in rs_rate_scale_perform()
2555 struct iwl_mvm_sta *sta_priv = (struct iwl_mvm_sta *)sta->drv_priv; in rs_alloc_sta() local
2562 return &sta_priv->lq_sta; in rs_alloc_sta()
2574 struct iwl_mvm_sta *sta_priv; in iwl_mvm_rs_rate_init() local
2579 sta_priv = (struct iwl_mvm_sta *)sta->drv_priv; in iwl_mvm_rs_rate_init()
2580 lq_sta = &sta_priv->lq_sta; in iwl_mvm_rs_rate_init()
2583 lq_sta->lq.sta_id = sta_priv->sta_id; in iwl_mvm_rs_rate_init()
2597 sta_priv->sta_id); in iwl_mvm_rs_rate_init()
/drivers/net/wireless/iwlegacy/
D4965-rs.c2158 struct il_station_priv *sta_priv; in il4965_rs_initialize_lq() local
2164 sta_priv = (void *)sta->drv_priv; in il4965_rs_initialize_lq()
2277 struct il_station_priv *sta_priv = in il4965_rs_alloc_sta() local
2284 return &sta_priv->lq_sta; in il4965_rs_alloc_sta()
2297 struct il_station_priv *sta_priv; in il4965_rs_rate_init() local
2301 sta_priv = (struct il_station_priv *)sta->drv_priv; in il4965_rs_rate_init()
2302 lq_sta = &sta_priv->lq_sta; in il4965_rs_rate_init()
D4965-mac.c1654 struct il_station_priv *sta_priv = NULL; in il4965_tx_skb() local
1710 sta_priv = (void *)sta->drv_priv; in il4965_tx_skb()
1712 if (sta_priv && sta_priv->asleep && in il4965_tx_skb()
1900 if (sta_priv && sta_priv->client && !is_agg) in il4965_tx_skb()
1901 atomic_inc(&sta_priv->pending_frames); in il4965_tx_skb()
2436 struct il_station_priv *sta_priv; in il4965_non_agg_tx_status() local
2441 sta_priv = (void *)sta->drv_priv; in il4965_non_agg_tx_status()
2443 if (sta_priv->client && in il4965_non_agg_tx_status()
2444 atomic_dec_return(&sta_priv->pending_frames) == 0) in il4965_non_agg_tx_status()
6021 struct il_station_priv *sta_priv = (void *)sta->drv_priv; in il4965_mac_sta_add() local
[all …]
D3945-mac.c3013 struct il3945_sta_priv *sta_priv = (void *)sta->drv_priv; in il3945_mac_sta_add() local
3020 sta_priv->common.sta_id = IL_INVALID_STATION; in il3945_mac_sta_add()
3030 sta_priv->common.sta_id = sta_id; in il3945_mac_sta_add()