| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | main.c | 188 struct wcn36xx_sta *sta_priv) in get_sta_index() argument 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() [all …]
|
| H A 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 …]
|
| H A D | txrx.h | 165 struct wcn36xx_sta *sta_priv,
|
| H A D | smd.c | 368 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_smd_set_sta_params() local 404 sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_set_sta_params() 411 sta_params->aid = sta_priv->aid; in wcn36xx_smd_set_sta_params() 413 memcpy(&sta_params->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params() 1393 struct wcn36xx_sta *sta_priv = NULL; in wcn36xx_smd_set_sta_params_v1() local 1400 sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_set_sta_params_v1() 1403 memcpy(&sta_par->supported_rates, &sta_priv->supported_rates, in wcn36xx_smd_set_sta_params_v1() 1419 struct wcn36xx_sta *sta_priv = wcn36xx_sta_to_priv(sta); in wcn36xx_smd_config_sta_rsp() local 1433 sta_priv->sta_index = params->sta_index; in wcn36xx_smd_config_sta_rsp() 1434 sta_priv->dpu_desc_index = params->dpu_index; in wcn36xx_smd_config_sta_rsp() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | tx.c | 266 struct iwl_station_priv *sta_priv = NULL; in iwlagn_tx_skb() local 324 sta_priv = (void *)sta->drv_priv; in iwlagn_tx_skb() 326 if (sta_priv && sta_priv->asleep && in iwlagn_tx_skb() 450 if (sta_priv && sta_priv->client && !is_agg) in iwlagn_tx_skb() 451 atomic_inc(&sta_priv->pending_frames); in iwlagn_tx_skb() 682 struct iwl_station_priv *sta_priv = (void *) sta->drv_priv; in iwlagn_tx_agg_oper() local 690 ssn = priv->tid_data[sta_priv->sta_id][tid].agg.ssn; in iwlagn_tx_agg_oper() 691 q = priv->tid_data[sta_priv->sta_id][tid].agg.txq_id; in iwlagn_tx_agg_oper() 692 priv->tid_data[sta_priv->sta_id][tid].agg.state = IWL_AGG_ON; in iwlagn_tx_agg_oper() 697 iwl_trans_txq_enable(priv->trans, q, fifo, sta_priv->sta_id, tid, in iwlagn_tx_agg_oper() [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->ctx; in rs_switch_to_siso() [all …]
|
| H A D | sta.c | 302 struct iwl_station_priv *sta_priv; in iwl_prep_station() local 304 sta_priv = (void *)sta->drv_priv; in iwl_prep_station() 305 sta_priv->ctx = ctx; in iwl_prep_station()
|
| /linux/drivers/staging/rtl8723bs/include/ |
| H A D | sta_info.h | 257 struct sta_priv { struct 315 extern u32 _rtw_init_sta_priv(struct sta_priv *pstapriv); argument 316 extern u32 _rtw_free_sta_priv(struct sta_priv *pstapriv); 319 int rtw_stainfo_offset(struct sta_priv *stapriv, struct sta_info *sta); 320 struct sta_info *rtw_get_stainfo_by_offset(struct sta_priv *stapriv, int offset); 322 extern struct sta_info *rtw_alloc_stainfo(struct sta_priv *pstapriv, u8 *hwaddr); 325 extern struct sta_info *rtw_get_stainfo(struct sta_priv *pstapriv, u8 *hwaddr);
|
| /linux/drivers/net/wireless/silabs/wfx/ |
| H A D | sta.c | 288 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_add() local 290 sta_priv->vif_id = wvif->id; in wfx_sta_add() 298 sta_priv->link_id = ffz(wvif->link_id_map); in wfx_sta_add() 299 wvif->link_id_map |= BIT(sta_priv->link_id); in wfx_sta_add() 300 WARN_ON(!sta_priv->link_id); in wfx_sta_add() 301 WARN_ON(sta_priv->link_id >= HIF_LINK_ID_MAX); in wfx_sta_add() 302 wfx_hif_map_link(wvif, false, sta->addr, sta_priv->link_id, sta->mfp); in wfx_sta_add() 310 struct wfx_sta_priv *sta_priv = (struct wfx_sta_priv *)&sta->drv_priv; in wfx_sta_remove() local 313 if (!sta_priv->link_id) in wfx_sta_remove() 316 wfx_hif_map_link(wvif, true, sta->addr, sta_priv->link_id, false); in wfx_sta_remove() [all …]
|
| H A D | data_tx.c | 244 struct wfx_sta_priv *sta_priv = sta ? (struct wfx_sta_priv *)&sta->drv_priv : NULL; in wfx_tx_get_link_id() local 248 if (sta_priv && sta_priv->link_id) in wfx_tx_get_link_id() 249 return sta_priv->link_id; in wfx_tx_get_link_id()
|
| /linux/drivers/staging/rtl8723bs/core/ |
| H A D | rtw_ap.c | 14 struct sta_priv *pstapriv = &padapter->stapriv; in init_mlme_ap_info() 54 struct sta_priv *pstapriv = &padapter->stapriv; in update_BCNTIM() 175 struct sta_priv *pstapriv = &padapter->stapriv; in expire_timeout_chk() 1133 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_set_macaddr_acl() 1145 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_add_sta() 1200 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_acl_remove_sta() 1634 struct sta_priv *pstapriv = &padapter->stapriv; in associated_clients_update() 1879 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_sta_flush() 1954 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_ap_restore_network() 2019 struct sta_priv *pstapriv = &padapter->stapriv; in start_ap_mode() [all …]
|
| H A D | rtw_mlme_ext.c | 564 struct sta_priv *pstapriv = &padapter->stapriv; in OnBeacon() 678 struct sta_priv *pstapriv = &padapter->stapriv; in OnAuth() 946 struct sta_priv *pstapriv = &padapter->stapriv; in OnAssocReq() 1462 struct sta_priv *pstapriv = &padapter->stapriv; in OnDeAuth() 1534 struct sta_priv *pstapriv = &padapter->stapriv; in OnDisassoc() 1579 struct sta_priv *pstapriv = &padapter->stapriv; in on_action_spct() 1621 struct sta_priv *pstapriv = &padapter->stapriv; in OnAction_back() 3422 struct sta_priv *pstapriv = &padapter->stapriv; in issue_action_BA() 3700 struct sta_priv *pstapriv = &padapter->stapriv; in send_delba() 4770 struct sta_priv *pstapriv = &padapter->stapriv; in mlmeext_joinbss_event_callback() [all …]
|
| H A D | rtw_xmit.c | 637 struct sta_priv *pstapriv = &padapter->stapriv; in update_attrib() 2048 struct sta_priv *pstapriv = &padapter->stapriv; in xmitframe_enqueue_for_sleeping_sta() 2193 struct sta_priv *pstapriv = &padapter->stapriv; in stop_sta_xmit() 2233 struct sta_priv *pstapriv = &padapter->stapriv; in wakeup_sta_to_xmit() 2350 struct sta_priv *pstapriv = &padapter->stapriv; in xmit_delivery_enabled_frames()
|
| H A D | rtw_cmd.c | 1487 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_chk_hi_queue_hdl() 1887 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_setstaKey_cmdrsp_callback() 1900 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_setassocsta_cmdrsp_callback()
|
| H A D | rtw_wlan_util.c | 896 struct sta_priv *pstapriv = &padapter->stapriv; in bwmode_update_check() 1621 struct sta_priv *pstapriv = &padapter->stapriv; in process_addba_req()
|
| /linux/drivers/staging/rtl8723bs/hal/ |
| H A D | rtl8723b_dm.c | 182 struct sta_priv *pstapriv = &padapter->stapriv; in rtl8723b_hal_dm_in_lps() 207 struct sta_priv *pstapriv = &Adapter->stapriv; in rtl8723b_HalDmWatchDog_in_LPS()
|
| /linux/drivers/net/wireless/st/cw1200/ |
| H A 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()
|
| H A D | sta.c | 1545 struct cw1200_sta_priv *sta_priv = in cw1200_sta_add() local 1553 sta_priv->link_id = cw1200_find_link_id(priv, sta->addr); in cw1200_sta_add() 1554 if (WARN_ON(!sta_priv->link_id)) { in cw1200_sta_add() 1560 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_add() 1564 priv->sta_asleep_mask |= BIT(sta_priv->link_id); in cw1200_sta_add() 1576 struct cw1200_sta_priv *sta_priv = in cw1200_sta_remove() local 1580 if (priv->mode != NL80211_IFTYPE_AP || !sta_priv->link_id) in cw1200_sta_remove() 1583 entry = &priv->link_id_db[sta_priv->link_id - 1]; in cw1200_sta_remove() 1642 struct cw1200_sta_priv *sta_priv = in cw1200_sta_notify() local 1646 __cw1200_sta_notify(dev, vif, notify_cmd, sta_priv->link_id); in cw1200_sta_notify()
|
| /linux/drivers/net/wireless/ralink/rt2x00/ |
| H A D | rt2x00mac.c | 465 struct rt2x00_sta *sta_priv = NULL; in rt2x00mac_set_key() local 498 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00mac_set_key() 499 crypto.wcid = sta_priv->wcid; in rt2x00mac_set_key()
|
| H A D | rt2x00queue.c | 300 struct rt2x00_sta *sta_priv = NULL; in rt2x00queue_create_tx_descriptor_ht() local 304 sta_priv = sta_to_rt2x00_sta(sta); in rt2x00queue_create_tx_descriptor_ht() 305 txdesc->u.ht.wcid = sta_priv->wcid; in rt2x00queue_create_tx_descriptor_ht()
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-mac.c | 1652 struct il_station_priv *sta_priv = NULL; in il4965_tx_skb() local 1708 sta_priv = (void *)sta->drv_priv; in il4965_tx_skb() 1710 if (sta_priv && sta_priv->asleep && in il4965_tx_skb() 1896 if (sta_priv && sta_priv->client && !is_agg) in il4965_tx_skb() 1897 atomic_inc(&sta_priv->pending_frames); in il4965_tx_skb() 2429 struct il_station_priv *sta_priv; in il4965_non_agg_tx_status() local 2434 sta_priv = (void *)sta->drv_priv; in il4965_non_agg_tx_status() 2436 if (sta_priv->client && in il4965_non_agg_tx_status() 2437 atomic_dec_return(&sta_priv->pending_frames) == 0) in il4965_non_agg_tx_status() 6014 struct il_station_priv *sta_priv = (void *)sta->drv_priv; in il4965_mac_sta_add() local [all …]
|
| H A D | 4965-rs.c | 2249 struct il_station_priv *sta_priv = in il4965_rs_alloc_sta() local 2256 return &sta_priv->lq_sta; in il4965_rs_alloc_sta() 2269 struct il_station_priv *sta_priv; in il4965_rs_rate_init() local 2273 sta_priv = (struct il_station_priv *)sta->drv_priv; in il4965_rs_rate_init() 2274 lq_sta = &sta_priv->lq_sta; in il4965_rs_rate_init()
|
| H A D | 3945-mac.c | 2932 struct il3945_sta_priv *sta_priv = (void *)sta->drv_priv; in il3945_mac_sta_add() local 2939 sta_priv->common.sta_id = IL_INVALID_STATION; in il3945_mac_sta_add() 2949 sta_priv->common.sta_id = sta_id; in il3945_mac_sta_add()
|
| /linux/drivers/staging/rtl8723bs/os_dep/ |
| H A D | ioctl_cfg80211.c | 504 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_cfg80211_ap_set_encryption() 769 struct sta_priv *pstapriv = &padapter->stapriv; in rtw_cfg80211_set_encryption() 971 struct sta_priv *pstapriv = &padapter->stapriv; in cfg80211_rtw_get_station() 2342 struct sta_priv *pstapriv = &padapter->stapriv; in cfg80211_rtw_del_station() 2398 static struct sta_info *rtw_sta_info_get_by_idx(const int idx, struct sta_priv *pstapriv) in rtw_sta_info_get_by_idx() 2426 struct sta_priv *pstapriv = &padapter->stapriv; in cfg80211_rtw_dump_station()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | cfg80211.c | 3495 struct mwifiex_private *sta_priv = in mwifiex_cfg80211_suspend() local 3498 sta_priv->scan_aborting = true; in mwifiex_cfg80211_suspend() 3528 if (!sta_priv->media_connected && !wowlan->nd_config) { in mwifiex_cfg80211_suspend() 3535 ret = mwifiex_set_mef_filter(sta_priv, wowlan); in mwifiex_cfg80211_suspend() 3547 mwifiex_cfg80211_sched_scan_start(wiphy, sta_priv->netdev, in mwifiex_cfg80211_suspend() 3553 mwifiex_dbg(sta_priv->adapter, INFO, "Wake on device disconnect\n"); in mwifiex_cfg80211_suspend() 3559 ret = mwifiex_set_hs_params(sta_priv, HostCmd_ACT_GEN_SET, in mwifiex_cfg80211_suspend() 3565 sta_priv->scan_aborting = false; in mwifiex_cfg80211_suspend()
|