/Linux-v4.19/drivers/net/wireless/ath/wcn36xx/ |
D | txrx.c | 121 struct wcn36xx_sta *sta_priv, in wcn36xx_tx_start_ampdu() argument 131 sta = wcn36xx_priv_to_sta(sta_priv); in wcn36xx_tx_start_ampdu() 142 spin_lock(&sta_priv->ampdu_lock); in wcn36xx_tx_start_ampdu() 143 if (sta_priv->ampdu_state[tid] != WCN36XX_AMPDU_NONE) in wcn36xx_tx_start_ampdu() 146 if (sta_priv->non_agg_frame_ct++ >= WCN36XX_AMPDU_START_THRESH) { in wcn36xx_tx_start_ampdu() 147 sta_priv->ampdu_state[tid] = WCN36XX_AMPDU_START; in wcn36xx_tx_start_ampdu() 148 sta_priv->non_agg_frame_ct = 0; in wcn36xx_tx_start_ampdu() 152 spin_unlock(&sta_priv->ampdu_lock); in wcn36xx_tx_start_ampdu() 158 struct wcn36xx_sta *sta_priv, in wcn36xx_set_tx_data() argument 173 if (sta_priv) { in wcn36xx_set_tx_data() [all …]
|
D | main.c | 181 struct wcn36xx_sta *sta_priv) in get_sta_index() argument 184 sta_priv->bss_sta_index : in get_sta_index() 185 sta_priv->sta_index; in get_sta_index() 480 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_tx() local 483 sta_priv = wcn36xx_sta_to_priv(control->sta); in wcn36xx_tx() 485 if (wcn36xx_start_tx(wcn, sta_priv, skb)) in wcn36xx_tx() 496 struct wcn36xx_sta *sta_priv = sta ? wcn36xx_sta_to_priv(sta) : NULL; in wcn36xx_set_key() local 548 sta_priv->is_data_encrypted = true; in wcn36xx_set_key() 562 get_sta_index(vif, sta_priv)); in wcn36xx_set_key() 573 list_for_each_entry(sta_priv, in wcn36xx_set_key() [all …]
|
D | wcn36xx.h | 273 struct ieee80211_sta *wcn36xx_priv_to_sta(struct wcn36xx_sta *sta_priv) in wcn36xx_priv_to_sta() argument 275 return container_of((void *)sta_priv, struct ieee80211_sta, drv_priv); in wcn36xx_priv_to_sta()
|
D | txrx.h | 164 struct wcn36xx_sta *sta_priv,
|
D | smd.c | 198 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_smd_set_sta_params() local 234 sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_set_sta_params() 241 sta_params->aid = sta_priv->aid; in wcn36xx_smd_set_sta_params() 243 memcpy(&sta_params->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params() 244 sizeof(sta_priv->supported_rates)); in wcn36xx_smd_set_sta_params() 1166 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_config_sta_rsp() local 1180 sta_priv->sta_index = params->sta_index; in wcn36xx_smd_config_sta_rsp() 1181 sta_priv->dpu_desc_index = params->dpu_index; in wcn36xx_smd_config_sta_rsp() 1182 sta_priv->ucast_dpu_sign = params->uc_ucast_sig; in wcn36xx_smd_config_sta_rsp() 1399 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_config_bss_rsp() local [all …]
|
/Linux-v4.19/drivers/staging/rtl8723bs/core/ |
D | rtw_sta_mgt.c | 54 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv() 106 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() 116 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset() 125 void kfree_all_stainfo(struct sta_priv *pstapriv); 126 void kfree_all_stainfo(struct sta_priv *pstapriv) in kfree_all_stainfo() 144 void kfree_sta_priv_lock(struct sta_priv *pstapriv); 145 void kfree_sta_priv_lock(struct sta_priv *pstapriv) in kfree_sta_priv_lock() 150 u32 _rtw_free_sta_priv(struct sta_priv *pstapriv) in _rtw_free_sta_priv() 189 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() 318 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo() [all …]
|
D | rtw_ap.c | 21 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info() 61 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM() 221 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk() 1432 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl() 1446 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta() 1523 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta() 2073 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update() 2394 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush() 2488 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ap_restore_network() 2563 struct sta_priv *pstapriv = &padapter->stapriv; in start_ap_mode() [all …]
|
/Linux-v4.19/drivers/staging/rtl8712/ |
D | sta_info.h | 102 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);
|
D | rtl871x_sta_mgt.c | 49 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() 92 u32 _r8712_free_sta_priv(struct sta_priv *pstapriv) in _r8712_free_sta_priv() 102 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo() 163 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_stainfo() 210 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_all_stainfo() 231 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo() 260 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_init_bcmc_stainfo() 267 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_get_bcmc_stainfo()
|
D | rtl871x_recv.c | 247 struct sta_priv *pstapriv; in r8712_portctrl() 315 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame() 384 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame() 444 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
|
D | drv_types.h | 147 struct sta_priv stapriv;
|
/Linux-v4.19/drivers/staging/rtl8188eu/core/ |
D | rtw_sta_mgt.c | 58 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv() 112 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() 122 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset() 130 u32 _rtw_free_sta_priv(struct sta_priv *pstapriv) in _rtw_free_sta_priv() 166 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() 253 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo() 381 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo() 406 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() 449 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo() 468 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_bcmc_stainfo() [all …]
|
D | rtw_ap.c | 22 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info() 36 struct sta_priv *pstapriv = &padapter->stapriv; in free_mlme_ap_info() 60 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM() 170 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk() 1005 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl() 1019 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta() 1082 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta() 1332 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update() 1556 struct sta_priv *pstapriv = &padapter->stapriv; in ap_free_sta() 1596 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tx.c | 285 struct iwl_station_priv *sta_priv = NULL; in iwlagn_tx_skb() local 343 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb() 345 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 …]
|
D | mac80211.c | 746 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() local 794 sta_priv->lq_sta.lq.general_params.flags &= in iwlagn_mac_ampdu_action() 797 &sta_priv->lq_sta.lq, CMD_ASYNC, false); in iwlagn_mac_ampdu_action() 814 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add() local 822 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add() 824 atomic_set(&sta_priv->pending_frames, 0); in iwlagn_mac_sta_add() 826 sta_priv->client = true; in iwlagn_mac_sta_add() 837 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add() 847 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove() local 859 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove() [all …]
|
D | rs.c | 344 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 …]
|
/Linux-v4.19/drivers/staging/rtl8188eu/include/ |
D | sta_info.h | 282 struct sta_priv { struct 344 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); argument 345 u32 _rtw_free_sta_priv(struct sta_priv *pstapriv); 348 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta); 349 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int off); 351 struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, u8 *hwaddr); 354 struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
|
D | drv_types.h | 135 struct sta_priv stapriv;
|
/Linux-v4.19/drivers/staging/rtl8723bs/include/ |
D | sta_info.h | 311 struct sta_priv { struct 369 extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); argument 370 extern u32 _rtw_free_sta_priv(struct sta_priv *pstapriv); 373 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta); 374 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset); 376 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr); 379 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
|
/Linux-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | mlme_linux.c | 133 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_assoc_event() 156 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_disassoc_event()
|
/Linux-v4.19/drivers/staging/rtl8188eu/hal/ |
D | hal_intf.c | 56 struct sta_priv *pstapriv = &adapt->stapriv; in rtw_hal_update_ra_mask()
|
/Linux-v4.19/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_dm.c | 206 struct sta_priv *pstapriv = &padapter->stapriv; in rtl8723b_hal_dm_in_lps() 233 struct sta_priv *pstapriv = &Adapter->stapriv; in rtl8723b_HalDmWatchDog_in_LPS()
|
/Linux-v4.19/drivers/net/wireless/st/cw1200/ |
D | txrx.c | 411 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()
|
D | sta.c | 1546 struct cw1200_sta_priv *sta_priv = in cw1200_sta_add() local 1554 sta_priv->link_id = cw1200_find_link_id(priv, sta->addr); in cw1200_sta_add() 1555 if (WARN_ON(!sta_priv->link_id)) { in cw1200_sta_add() 1561 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_add() 1565 priv->sta_asleep_mask |= BIT(sta_priv->link_id); in cw1200_sta_add() 1577 struct cw1200_sta_priv *sta_priv = in cw1200_sta_remove() local 1581 if (priv->mode != NL80211_IFTYPE_AP || !sta_priv->link_id) in cw1200_sta_remove() 1584 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_remove() 1643 struct cw1200_sta_priv *sta_priv = in cw1200_sta_notify() local 1647 __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); in cw1200_sta_notify()
|
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00mac.c | 457 struct rt2x00_sta *sta_priv = NULL; in rt2x00mac_set_key() local 489 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_set_key() 490 crypto.wcid = sta_priv->wcid; in rt2x00mac_set_key()
|