/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/ |
H A D | main.c | 183 struct wcn36xx_sta *sta_priv) in get_sta_index() 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() 182 get_sta_index(struct ieee80211_vif *vif, struct wcn36xx_sta *sta_priv) get_sta_index() argument 742 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); wcn36xx_update_allowed_rates() local 882 struct wcn36xx_sta *sta_priv; wcn36xx_bss_info_changed() local 1048 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); wcn36xx_sta_add() local 1078 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); wcn36xx_sta_remove() local 1125 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(params->sta); wcn36xx_ampdu_action() local [all...] |
H A D | txrx.c | 363 struct wcn36xx_sta *sta_priv, in wcn36xx_tx_start_ampdu() 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() 417 if (sta_priv) { in wcn36xx_set_tx_data() 362 wcn36xx_tx_start_ampdu(struct wcn36xx *wcn, struct wcn36xx_sta *sta_priv, struct sk_buff *skb) wcn36xx_tx_start_ampdu() argument 397 wcn36xx_set_tx_data(struct wcn36xx_tx_bd *bd, struct wcn36xx *wcn, struct wcn36xx_vif **vif_priv, struct wcn36xx_sta *sta_priv, struct sk_buff *skb, bool bcast) wcn36xx_set_tx_data() argument 526 wcn36xx_start_tx(struct wcn36xx *wcn, struct wcn36xx_sta *sta_priv, struct sk_buff *skb) wcn36xx_start_tx() argument [all...] |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wcn36xx/ |
H A D | main.c | 188 struct wcn36xx_sta *sta_priv) in get_sta_index() 191 sta_priv->bss_sta_index : in get_sta_index() 192 sta_priv->sta_index; in get_sta_index() 490 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_tx() local 493 sta_priv = wcn36xx_sta_to_priv(control->sta); in wcn36xx_tx() 495 if (wcn36xx_start_tx(wcn, sta_priv, skb)) in wcn36xx_tx() 506 struct wcn36xx_sta *sta_priv = sta ? wcn36xx_sta_to_priv(sta) : NULL; in wcn36xx_set_key() local 558 sta_priv->is_data_encrypted = true; in wcn36xx_set_key() 574 get_sta_index(vif, sta_priv)); in wcn36xx_set_key() 585 list_for_each_entry(sta_priv, in wcn36xx_set_key() 187 get_sta_index(struct ieee80211_vif *vif, struct wcn36xx_sta *sta_priv) get_sta_index() argument 721 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); wcn36xx_update_allowed_rates() local 861 struct wcn36xx_sta *sta_priv; wcn36xx_bss_info_changed() local 1030 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); wcn36xx_sta_add() local 1060 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); wcn36xx_sta_remove() local 1181 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(params->sta); wcn36xx_ampdu_action() local [all...] |
H A D | txrx.c | 486 struct wcn36xx_sta *sta_priv, in wcn36xx_tx_start_ampdu() 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() 540 if (sta_priv) { in wcn36xx_set_tx_data() 485 wcn36xx_tx_start_ampdu(struct wcn36xx *wcn, struct wcn36xx_sta *sta_priv, struct sk_buff *skb) wcn36xx_tx_start_ampdu() argument 520 wcn36xx_set_tx_data(struct wcn36xx_tx_bd *bd, struct wcn36xx *wcn, struct wcn36xx_vif **vif_priv, struct wcn36xx_sta *sta_priv, struct sk_buff *skb, bool bcast) wcn36xx_set_tx_data() argument 649 wcn36xx_start_tx(struct wcn36xx *wcn, struct wcn36xx_sta *sta_priv, struct sk_buff *skb) wcn36xx_start_tx() argument [all...] |
H A D | wcn36xx.h | 316 struct ieee80211_sta *wcn36xx_priv_to_sta(struct wcn36xx_sta *sta_priv) in wcn36xx_priv_to_sta() argument 318 return container_of((void *)sta_priv, struct ieee80211_sta, drv_priv); in wcn36xx_priv_to_sta()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
H A 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 *pstapri in rtw_free_stainfo() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/core/ |
H A 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 *pstapri in rtw_free_stainfo() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
H A 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()
|
H A D | sta_info.h | 90 struct sta_priv { struct 122 int _r8712_init_sta_priv(struct sta_priv *pstapriv); 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);
|
/kernel/linux/linux-6.6/drivers/staging/rtl8712/ |
H A 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()
|
H A D | sta_info.h | 88 struct sta_priv { struct 120 int _r8712_init_sta_priv(struct sta_priv *pstapriv); 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);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
H A 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 *pstapri in rtw_get_bcmc_stainfo() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A 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 in iwlagn_tx_agg_oper() 792 struct iwl_station_priv *sta_priv; iwlagn_non_agg_tx_status() local [all...] |
H A 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 in iwlagn_mac_sta_remove() 1549 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; iwlagn_mac_sta_notify() local [all...] |
H A 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 in rs_switch_to_siso() 2209 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; rs_rate_scale_perform() local 2640 struct iwl_station_priv *sta_priv; rs_initialize_lq() local 2753 struct iwl_station_priv *sta_priv = (struct iwl_station_priv *) sta->drv_priv; rs_alloc_sta() local 2772 struct iwl_station_priv *sta_priv; iwl_rs_rate_init() local 2875 struct iwl_station_priv *sta_priv = rs_fill_link_cmd() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | tx.c | 264 struct iwl_station_priv *sta_priv = NULL; in iwlagn_tx_skb() local 322 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb() 324 if (sta_priv && sta_priv->asleep && in iwlagn_tx_skb() 448 if (sta_priv && sta_priv->client && !is_agg) in iwlagn_tx_skb() 449 atomic_inc(&sta_priv->pending_frames); in iwlagn_tx_skb() 680 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_tx_agg_oper() local 688 ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; in iwlagn_tx_agg_oper() 689 q = priv->tid_data[sta_priv in iwlagn_tx_agg_oper() 788 struct iwl_station_priv *sta_priv; iwlagn_non_agg_tx_status() local [all...] |
H A 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 in iwlagn_mac_sta_remove() 1545 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; iwlagn_mac_sta_notify() local [all...] |
H A D | rs.c | 308 struct iwl_station_priv *sta_priv = in rs_program_fix_rate() local 310 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_program_fix_rate() 862 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_tx_status() local 863 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_tx_status() 1222 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo2() local 1223 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo2() 1277 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_mimo3() local 1278 struct iwl_rxon_context *ctx = sta_priv->ctx; in rs_switch_to_mimo3() 1333 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; in rs_switch_to_siso() local 1334 struct iwl_rxon_context *ctx = sta_priv in rs_switch_to_siso() 2187 struct iwl_station_priv *sta_priv = (void *)sta->drv_priv; rs_rate_scale_perform() local 2618 struct iwl_station_priv *sta_priv; rs_initialize_lq() local 2731 struct iwl_station_priv *sta_priv = (struct iwl_station_priv *) sta->drv_priv; rs_alloc_sta() local 2750 struct iwl_station_priv *sta_priv; iwl_rs_rate_init() local 2853 struct iwl_station_priv *sta_priv = rs_fill_link_cmd() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A D | sta_info.h | 311 struct sta_priv { struct 369 extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); 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);
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A D | sta_info.h | 282 struct sta_priv { struct 344 u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); 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);
|
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/include/ |
H A D | sta_info.h | 301 struct sta_priv { struct 359 extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); 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);
|
/kernel/linux/linux-5.10/drivers/staging/wfx/ |
H A 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 in wfx_sta_remove() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/ |
H A 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 in wfx_sta_remove() [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
H A 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()
|