/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 189 struct wcn36xx_sta *sta_priv) in get_sta_index() argument 192 sta_priv->bss_sta_index : in get_sta_index() 193 sta_priv->sta_index; in get_sta_index() 491 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_tx() local 494 sta_priv = wcn36xx_sta_to_priv(control->sta); in wcn36xx_tx() 496 if (wcn36xx_start_tx(wcn, sta_priv, skb)) in wcn36xx_tx() 507 struct wcn36xx_sta *sta_priv = sta ? wcn36xx_sta_to_priv(sta) : NULL; in wcn36xx_set_key() local 559 sta_priv->is_data_encrypted = true; in wcn36xx_set_key() 575 get_sta_index(vif, sta_priv)); in wcn36xx_set_key() 586 list_for_each_entry(sta_priv, in wcn36xx_set_key() [all …]
|
D | txrx.c | 486 struct wcn36xx_sta *sta_priv, in wcn36xx_tx_start_ampdu() argument 496 sta = wcn36xx_priv_to_sta(sta_priv); in wcn36xx_tx_start_ampdu() 507 spin_lock(&sta_priv->ampdu_lock); in wcn36xx_tx_start_ampdu() 508 if (sta_priv->ampdu_state[tid] != WCN36XX_AMPDU_NONE) in wcn36xx_tx_start_ampdu() 511 if (sta_priv->non_agg_frame_ct++ >= WCN36XX_AMPDU_START_THRESH) { in wcn36xx_tx_start_ampdu() 512 sta_priv->ampdu_state[tid] = WCN36XX_AMPDU_START; in wcn36xx_tx_start_ampdu() 513 sta_priv->non_agg_frame_ct = 0; in wcn36xx_tx_start_ampdu() 517 spin_unlock(&sta_priv->ampdu_lock); in wcn36xx_tx_start_ampdu() 523 struct wcn36xx_sta *sta_priv, in wcn36xx_set_tx_data() argument 540 if (sta_priv) { in wcn36xx_set_tx_data() [all …]
|
D | wcn36xx.h | 315 struct ieee80211_sta *wcn36xx_priv_to_sta(struct wcn36xx_sta *sta_priv) in wcn36xx_priv_to_sta() argument 317 return container_of((void *)sta_priv, struct ieee80211_sta, drv_priv); in wcn36xx_priv_to_sta()
|
D | txrx.h | 165 struct wcn36xx_sta *sta_priv,
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_sta_mgt.c | 53 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv() 107 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) 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() 120 void kfree_all_stainfo(struct sta_priv *pstapriv); 121 void kfree_all_stainfo(struct sta_priv *pstapriv) in kfree_all_stainfo() 137 void kfree_sta_priv_lock(struct sta_priv *pstapriv); 138 void kfree_sta_priv_lock(struct sta_priv *pstapriv) in kfree_sta_priv_lock() 143 u32 _rtw_free_sta_priv(struct sta_priv *pstapriv) in _rtw_free_sta_priv() 178 struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_alloc_stainfo() 278 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo() [all …]
|
D | rtw_ap.c | 15 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info() 55 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM() 179 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk() 1171 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl() 1183 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta() 1238 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta() 1688 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update() 1935 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush() 2009 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ap_restore_network() 2078 struct sta_priv *pstapriv = &padapter->stapriv; in start_ap_mode() [all …]
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | sta_info.h | 88 struct sta_priv { struct 120 int _r8712_init_sta_priv(struct sta_priv *pstapriv); argument 121 void _r8712_free_sta_priv(struct sta_priv *pstapriv); 122 struct sta_info *r8712_alloc_stainfo(struct sta_priv *pstapriv, 126 struct sta_info *r8712_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
|
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 | rtl871x_recv.c | 232 struct sta_priv *pstapriv; in r8712_portctrl() 299 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame() 368 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame() 428 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame()
|
D | drv_types.h | 137 struct sta_priv stapriv;
|
/linux-6.1.9/drivers/staging/r8188eu/core/ |
D | rtw_sta_mgt.c | 48 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv) in _rtw_init_sta_priv() 99 inline int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta) in rtw_stainfo_offset() 104 inline struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset) in rtw_get_stainfo_by_offset() 109 void _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() 252 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_stainfo() 371 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_free_all_stainfo() 396 struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr) in rtw_get_stainfo() 440 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_init_bcmc_stainfo() 460 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_bcmc_stainfo() [all …]
|
D | rtw_ap.c | 15 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info() 29 struct sta_priv *pstapriv = &padapter->stapriv; in free_mlme_ap_info() 53 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM() 161 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk() 736 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update() 941 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_assoc_event() 962 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_indicate_sta_disassoc_event() 984 struct sta_priv *pstapriv = &padapter->stapriv; in ap_free_sta() 1025 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush() 1090 struct sta_priv *pstapriv = &padapter->stapriv; in start_ap_mode() [all …]
|
D | rtw_recv.c | 502 struct sta_priv *pstapriv; in portctrl() 577 struct sta_priv *pstapriv = &padapter->stapriv; in process_pwrbit_data() 598 struct sta_priv *pstapriv = &padapter->stapriv; in process_wmmps_data() 681 struct sta_priv *pstapriv = &adapter->stapriv; in sta2sta_data_frame() 760 struct sta_priv *pstapriv = &adapter->stapriv; in ap2sta_data_frame() 843 struct sta_priv *pstapriv = &adapter->stapriv; in sta2ap_data_frame() 897 struct sta_priv *pstapriv = &padapter->stapriv; in validate_recv_ctrl_frame() 1318 struct sta_priv *pstapriv; in recvframe_chk_defrag() 1601 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_recv_indicatepkt()
|
/linux-6.1.9/drivers/staging/r8188eu/include/ |
D | sta_info.h | 241 struct sta_priv { struct 298 extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); argument 299 extern void _rtw_free_sta_priv(struct sta_priv *pstapriv); 302 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta); 303 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int off); 305 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *stapriv, u8 *hwaddr); 308 extern struct sta_info *rtw_get_stainfo(struct sta_priv *stapriv, u8 *hwaddr);
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | tx.c | 263 struct iwl_station_priv *sta_priv = NULL; in iwlagn_tx_skb() local 321 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb() 323 if (sta_priv && sta_priv->asleep && in iwlagn_tx_skb() 447 if (sta_priv && sta_priv->client && !is_agg) in iwlagn_tx_skb() 448 atomic_inc(&sta_priv->pending_frames); in iwlagn_tx_skb() 679 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_tx_agg_oper() local 687 ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; in iwlagn_tx_agg_oper() 688 q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; in iwlagn_tx_agg_oper() 689 priv->tid_data[sta_priv->sta_id][tid].agg.state = IWL_AGG_ON; in iwlagn_tx_agg_oper() 694 iwl_trans_txq_enable(priv->trans, q, fifo, sta_priv->sta_id, tid, in iwlagn_tx_agg_oper() [all …]
|
D | mac80211.c | 710 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_mac_ampdu_action() local 758 sta_priv->lq_sta.lq.general_params.flags &= in iwlagn_mac_ampdu_action() 761 &sta_priv->lq_sta.lq, CMD_ASYNC, false); in iwlagn_mac_ampdu_action() 778 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_add() local 786 sta_priv->sta_id = IWL_INVALID_STATION; in iwlagn_mac_sta_add() 788 atomic_set(&sta_priv->pending_frames, 0); in iwlagn_mac_sta_add() 790 sta_priv->client = true; in iwlagn_mac_sta_add() 801 sta_priv->sta_id = sta_id; in iwlagn_mac_sta_add() 811 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in iwlagn_mac_sta_remove() local 823 iwl_deactivate_station(priv, sta_priv->sta_id, sta->addr); in iwlagn_mac_sta_remove() [all …]
|
D | rs.c | 325 struct iwl_station_priv *sta_priv = in rs_program_fix_rate() local 327 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_program_fix_rate() 879 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_tx_status() local 880 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_tx_status() 1239 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo2() local 1240 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo2() 1294 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo3() local 1295 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo3() 1350 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_siso() local 1351 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_siso() [all …]
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | sta_info.h | 301 struct sta_priv { struct 359 extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); argument 360 extern u32 _rtw_free_sta_priv(struct sta_priv *pstapriv); 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); 369 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
|
/linux-6.1.9/drivers/net/wireless/silabs/wfx/ |
D | sta.c | 305 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_add() local 307 sta_priv->vif_id = wvif->id; in wfx_sta_add() 315 sta_priv->link_id = ffz(wvif->link_id_map); in wfx_sta_add() 316 wvif->link_id_map |= BIT(sta_priv->link_id); in wfx_sta_add() 317 WARN_ON(!sta_priv->link_id); in wfx_sta_add() 318 WARN_ON(sta_priv->link_id >= HIF_LINK_ID_MAX); in wfx_sta_add() 319 wfx_hif_map_link(wvif, false, sta->addr, sta_priv->link_id, sta->mfp); in wfx_sta_add() 327 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_remove() local 330 if (!sta_priv->link_id) in wfx_sta_remove() 333 wfx_hif_map_link(wvif, true, sta->addr, sta_priv->link_id, false); in wfx_sta_remove() [all …]
|
D | data_tx.c | 214 struct wfx_sta_priv *sta_priv = sta ? (struct wfx_sta_priv *)&sta->drv_priv : NULL; in wfx_tx_get_link_id() local 218 if (sta_priv && sta_priv->link_id) in wfx_tx_get_link_id() 219 return sta_priv->link_id; in wfx_tx_get_link_id()
|
/linux-6.1.9/drivers/staging/r8188eu/hal/ |
D | hal_intf.c | 47 struct sta_priv *pstapriv = &adapt->stapriv; in rtw_hal_update_ra_mask()
|
/linux-6.1.9/drivers/staging/rtl8723bs/hal/ |
D | rtl8723b_dm.c | 190 struct sta_priv *pstapriv = &padapter->stapriv; in rtl8723b_hal_dm_in_lps() 215 struct sta_priv *pstapriv = &Adapter->stapriv; in rtl8723b_HalDmWatchDog_in_LPS()
|
/linux-6.1.9/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() 819 struct cw1200_sta_priv *sta_priv; in cw1200_handle_pspoll() local 820 sta_priv = (struct cw1200_sta_priv *)&sta->drv_priv; in cw1200_handle_pspoll() 821 link_id = sta_priv->link_id; in cw1200_handle_pspoll() 822 pspoll_mask = BIT(sta_priv->link_id); in cw1200_handle_pspoll()
|
D | sta.c | 1544 struct cw1200_sta_priv *sta_priv = in cw1200_sta_add() local 1552 sta_priv->link_id = cw1200_find_link_id(priv, sta->addr); in cw1200_sta_add() 1553 if (WARN_ON(!sta_priv->link_id)) { in cw1200_sta_add() 1559 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_add() 1563 priv->sta_asleep_mask |= BIT(sta_priv->link_id); in cw1200_sta_add() 1575 struct cw1200_sta_priv *sta_priv = in cw1200_sta_remove() local 1579 if (priv->mode != NL80211_IFTYPE_AP || !sta_priv->link_id) in cw1200_sta_remove() 1582 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_remove() 1641 struct cw1200_sta_priv *sta_priv = in cw1200_sta_notify() local 1645 __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); in cw1200_sta_notify()
|
/linux-6.1.9/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 139 struct sta_priv *pstapriv = &padapter->stapriv; in wpa_set_encryption() 532 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_encryption() 770 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_beacon() 811 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_add_sta() 879 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_del_sta() 919 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ioctl_get_sta_data() 980 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_get_sta_wpaie()
|