/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 183 struct wcn36xx_sta *sta_priv) in get_sta_index() argument 186 sta_priv->bss_sta_index : in get_sta_index() 187 sta_priv->sta_index; in get_sta_index() 516 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_tx() local 519 sta_priv = wcn36xx_sta_to_priv(control->sta); in wcn36xx_tx() 521 if (wcn36xx_start_tx(wcn, sta_priv, skb)) in wcn36xx_tx() 532 struct wcn36xx_sta *sta_priv = sta ? wcn36xx_sta_to_priv(sta) : NULL; in wcn36xx_set_key() local 584 sta_priv->is_data_encrypted = true; in wcn36xx_set_key() 600 get_sta_index(vif, sta_priv)); in wcn36xx_set_key() 611 list_for_each_entry(sta_priv, in wcn36xx_set_key() [all …]
|
D | txrx.c | 363 struct wcn36xx_sta *sta_priv, in wcn36xx_tx_start_ampdu() argument 373 sta = wcn36xx_priv_to_sta(sta_priv); in wcn36xx_tx_start_ampdu() 384 spin_lock(&sta_priv->ampdu_lock); in wcn36xx_tx_start_ampdu() 385 if (sta_priv->ampdu_state[tid] != WCN36XX_AMPDU_NONE) in wcn36xx_tx_start_ampdu() 388 if (sta_priv->non_agg_frame_ct++ >= WCN36XX_AMPDU_START_THRESH) { in wcn36xx_tx_start_ampdu() 389 sta_priv->ampdu_state[tid] = WCN36XX_AMPDU_START; in wcn36xx_tx_start_ampdu() 390 sta_priv->non_agg_frame_ct = 0; in wcn36xx_tx_start_ampdu() 394 spin_unlock(&sta_priv->ampdu_lock); in wcn36xx_tx_start_ampdu() 400 struct wcn36xx_sta *sta_priv, in wcn36xx_set_tx_data() argument 417 if (sta_priv) { in wcn36xx_set_tx_data() [all …]
|
D | wcn36xx.h | 283 struct ieee80211_sta *wcn36xx_priv_to_sta(struct wcn36xx_sta *sta_priv) in wcn36xx_priv_to_sta() argument 285 return container_of((void *)sta_priv, struct ieee80211_sta, drv_priv); in wcn36xx_priv_to_sta()
|
D | smd.c | 361 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_smd_set_sta_params() local 397 sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_set_sta_params() 404 sta_params->aid = sta_priv->aid; in wcn36xx_smd_set_sta_params() 406 memcpy(&sta_params->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params() 1377 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_smd_set_sta_params_v1() local 1384 sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_set_sta_params_v1() 1387 memcpy(&sta_par->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params_v1() 1403 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_config_sta_rsp() local 1417 sta_priv->sta_index = params->sta_index; in wcn36xx_smd_config_sta_rsp() 1418 sta_priv->dpu_desc_index = params->dpu_index; in wcn36xx_smd_config_sta_rsp() [all …]
|
/drivers/staging/rtl8723bs/core/ |
D | rtw_sta_mgt.c | 54 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv() 105 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() 115 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset() 124 void kfree_all_stainfo(struct sta_priv *pstapriv); 125 void kfree_all_stainfo(struct sta_priv *pstapriv) in kfree_all_stainfo() 143 void kfree_sta_priv_lock(struct sta_priv *pstapriv); 144 void kfree_sta_priv_lock(struct sta_priv *pstapriv) in kfree_sta_priv_lock() 149 u32 _rtw_free_sta_priv(struct sta_priv *pstapriv) in _rtw_free_sta_priv() 188 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() 313 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() 60 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM() 207 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk() 1320 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl() 1334 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta() 1402 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta() 1918 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update() 2193 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush() 2274 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ap_restore_network() 2345 struct sta_priv *pstapriv = &padapter->stapriv; in start_ap_mode() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_sta_mgt.c | 37 int _r8712_init_sta_priv(struct sta_priv *pstapriv) in _r8712_init_sta_priv() 66 static void mfree_all_stainfo(struct sta_priv *pstapriv) in mfree_all_stainfo() 80 void _r8712_free_sta_priv(struct sta_priv *pstapriv) in _r8712_free_sta_priv() 89 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_alloc_stainfo() 150 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_stainfo() 197 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_free_all_stainfo() 218 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in r8712_get_stainfo() 247 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_init_bcmc_stainfo() 254 struct sta_priv *pstapriv = &padapter->stapriv; in r8712_get_bcmc_stainfo()
|
D | sta_info.h | 90 struct sta_priv { struct 122 int _r8712_init_sta_priv(struct sta_priv *pstapriv); argument 123 void _r8712_free_sta_priv(struct sta_priv *pstapriv); 124 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, 128 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
|
D | rtl871x_recv.c | 230 struct sta_priv *pstapriv; in r8712_portctrl() 297 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame() 366 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame() 426 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
|
/drivers/staging/rtl8188eu/core/ |
D | rtw_sta_mgt.c | 58 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv() 113 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() 123 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset() 131 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() 258 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo() 388 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo() 413 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() 455 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo() 473 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() 1012 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl() 1026 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta() 1089 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta() 1342 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update() 1566 struct sta_priv *pstapriv = &padapter->stapriv; in ap_free_sta() 1606 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush() [all …]
|
D | rtw_recv.c | 418 struct sta_priv *pstapriv; in portctrl() 520 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data() 545 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data() 633 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame() 712 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame() 800 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame() 858 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame() 1390 struct sta_priv *pstapriv; in recvframe_chk_defrag()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tx.c | 268 struct iwl_station_priv *sta_priv = NULL; in iwlagn_tx_skb() local 326 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb() 328 if (sta_priv && sta_priv->asleep && in iwlagn_tx_skb() 452 if (sta_priv && sta_priv->client && !is_agg) in iwlagn_tx_skb() 453 atomic_inc(&sta_priv->pending_frames); in iwlagn_tx_skb() 684 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_tx_agg_oper() local 692 ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; in iwlagn_tx_agg_oper() 693 q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; in iwlagn_tx_agg_oper() 694 priv->tid_data[sta_priv->sta_id][tid].agg.state = IWL_AGG_ON; in iwlagn_tx_agg_oper() 699 iwl_trans_txq_enable(priv->trans, q, fifo, sta_priv->sta_id, tid, in iwlagn_tx_agg_oper() [all …]
|
D | mac80211.c | 715 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() local 763 sta_priv->lq_sta.lq.general_params.flags &= in iwlagn_mac_ampdu_action() 766 &sta_priv->lq_sta.lq, CMD_ASYNC, false); in iwlagn_mac_ampdu_action() 783 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add() local 791 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add() 793 atomic_set(&sta_priv->pending_frames, 0); in iwlagn_mac_sta_add() 795 sta_priv->client = true; in iwlagn_mac_sta_add() 806 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add() 816 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove() local 828 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove() [all …]
|
D | rs.c | 330 struct iwl_station_priv *sta_priv = in rs_program_fix_rate() local 332 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_program_fix_rate() 884 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_tx_status() local 885 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_tx_status() 1244 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo2() local 1245 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo2() 1299 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo3() local 1300 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo3() 1355 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_siso() local 1356 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_siso() [all …]
|
/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);
|
/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);
|
/drivers/staging/wfx/ |
D | sta.c | 290 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_add() local 292 sta_priv->vif_id = wvif->id; in wfx_sta_add() 300 sta_priv->link_id = ffz(wvif->link_id_map); in wfx_sta_add() 301 wvif->link_id_map |= BIT(sta_priv->link_id); in wfx_sta_add() 302 WARN_ON(!sta_priv->link_id); in wfx_sta_add() 303 WARN_ON(sta_priv->link_id >= HIF_LINK_ID_MAX); in wfx_sta_add() 304 hif_map_link(wvif, false, sta->addr, sta_priv->link_id, sta->mfp); in wfx_sta_add() 313 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_remove() local 316 if (!sta_priv->link_id) in wfx_sta_remove() 319 hif_map_link(wvif, true, sta->addr, sta_priv->link_id, false); in wfx_sta_remove() [all …]
|
D | data_tx.c | 223 struct wfx_sta_priv *sta_priv = in wfx_tx_get_link_id() local 227 if (sta_priv && sta_priv->link_id) in wfx_tx_get_link_id() 228 return sta_priv->link_id; in wfx_tx_get_link_id()
|
/drivers/staging/rtl8188eu/os_dep/ |
D | mlme_linux.c | 132 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_assoc_event() 155 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_disassoc_event()
|
/drivers/net/wireless/st/cw1200/ |
D | txrx.c | 408 struct cw1200_sta_priv *sta_priv; member 440 if (t->sta && t->sta_priv->link_id) in cw1200_tx_h_calc_link_ids() 443 t->sta_priv->link_id; in cw1200_tx_h_calc_link_ids() 729 t.sta_priv = (struct cw1200_sta_priv *)&t.sta->drv_priv; in cw1200_tx() 822 struct cw1200_sta_priv *sta_priv; in cw1200_handle_pspoll() local 823 sta_priv = (struct cw1200_sta_priv *)&sta->drv_priv; in cw1200_handle_pspoll() 824 link_id = sta_priv->link_id; in cw1200_handle_pspoll() 825 pspoll_mask = BIT(sta_priv->link_id); in cw1200_handle_pspoll()
|
D | sta.c | 1543 struct cw1200_sta_priv *sta_priv = in cw1200_sta_add() local 1551 sta_priv->link_id = cw1200_find_link_id(priv, sta->addr); in cw1200_sta_add() 1552 if (WARN_ON(!sta_priv->link_id)) { in cw1200_sta_add() 1558 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_add() 1562 priv->sta_asleep_mask |= BIT(sta_priv->link_id); in cw1200_sta_add() 1574 struct cw1200_sta_priv *sta_priv = in cw1200_sta_remove() local 1578 if (priv->mode != NL80211_IFTYPE_AP || !sta_priv->link_id) in cw1200_sta_remove() 1581 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_remove() 1640 struct cw1200_sta_priv *sta_priv = in cw1200_sta_notify() local 1644 __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); in cw1200_sta_notify()
|
/drivers/staging/rtl8188eu/hal/ |
D | hal_intf.c | 56 struct sta_priv *pstapriv = &adapt->stapriv; in rtw_hal_update_ra_mask()
|
/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_dm.c | 207 struct sta_priv *pstapriv = &padapter->stapriv; in rtl8723b_hal_dm_in_lps() 234 struct sta_priv *pstapriv = &Adapter->stapriv; in rtl8723b_HalDmWatchDog_in_LPS()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00mac.c | 466 struct rt2x00_sta *sta_priv = NULL; in rt2x00mac_set_key() local 499 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_set_key() 500 crypto.wcid = sta_priv->wcid; in rt2x00mac_set_key()
|