Home
last modified time | relevance | path

Searched refs:vif_priv (Results 1 – 23 of 23) sorted by relevance

/linux-6.1.9/drivers/net/wireless/ath/wcn36xx/
Dpmc.c27 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_pmc_enter_bmps_state() local
32 vif_priv->pw_state = WCN36XX_BMPS; in wcn36xx_pmc_enter_bmps_state()
33 vif_priv->bmps_fail_ct = 0; in wcn36xx_pmc_enter_bmps_state()
43 if (vif_priv->bmps_fail_ct++ == WCN36XX_BMPS_FAIL_THREHOLD) { in wcn36xx_pmc_enter_bmps_state()
45 vif_priv->bmps_fail_ct = 0; in wcn36xx_pmc_enter_bmps_state()
54 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_pmc_exit_bmps_state() local
56 if (WCN36XX_BMPS != vif_priv->pw_state) { in wcn36xx_pmc_exit_bmps_state()
63 vif_priv->pw_state = WCN36XX_FULL_POWER; in wcn36xx_pmc_exit_bmps_state()
Dmain.c506 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_set_key() local
523 vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP40; in wcn36xx_set_key()
526 vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP104; in wcn36xx_set_key()
529 vif_priv->encrypt_type = WCN36XX_HAL_ED_CCMP; in wcn36xx_set_key()
532 vif_priv->encrypt_type = WCN36XX_HAL_ED_TKIP; in wcn36xx_set_key()
543 if (WCN36XX_HAL_ED_TKIP == vif_priv->encrypt_type) { in wcn36xx_set_key()
571 vif_priv->encrypt_type, in wcn36xx_set_key()
578 vif_priv->encrypt_type, in wcn36xx_set_key()
579 vif_priv->bss_index, in wcn36xx_set_key()
587 &vif_priv->sta_list, list) { in wcn36xx_set_key()
[all …]
Ddebug.c32 struct wcn36xx_vif *vif_priv = NULL; in read_file_bool_bmps() local
36 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in read_file_bool_bmps()
37 vif = wcn36xx_priv_to_vif(vif_priv); in read_file_bool_bmps()
39 if (vif_priv->pw_state == WCN36XX_BMPS) in read_file_bool_bmps()
57 struct wcn36xx_vif *vif_priv = NULL; in write_file_bool_bmps() local
71 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in write_file_bool_bmps()
72 vif = wcn36xx_priv_to_vif(vif_priv); in write_file_bool_bmps()
82 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in write_file_bool_bmps()
83 vif = wcn36xx_priv_to_vif(vif_priv); in write_file_bool_bmps()
Dsmd.c367 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_set_sta_params() local
376 sta_params->sta_index = vif_priv->self_sta_index; in wcn36xx_smd_set_sta_params()
391 sta_params->encrypt_type = vif_priv->encrypt_type; in wcn36xx_smd_set_sta_params()
400 sta_params->bssid_index = vif_priv->bss_index; in wcn36xx_smd_set_sta_params()
699 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_init_scan() local
707 if (vif_priv->bss_index != WCN36XX_HAL_BSS_INVALID_IDX) { in wcn36xx_smd_init_scan()
711 msg_body.scan_entry.bss_index[0] = vif_priv->bss_index; in wcn36xx_smd_init_scan()
801 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_finish_scan() local
810 if (vif_priv->bss_index != WCN36XX_HAL_BSS_INVALID_IDX) { in wcn36xx_smd_finish_scan()
814 msg_body.scan_entry.bss_index[0] = vif_priv->bss_index; in wcn36xx_smd_finish_scan()
[all …]
Dtxrx.c474 struct wcn36xx_vif *vif_priv = NULL; in get_vif_by_addr() local
476 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in get_vif_by_addr()
477 vif = wcn36xx_priv_to_vif(vif_priv); in get_vif_by_addr()
479 return vif_priv; in get_vif_by_addr()
522 struct wcn36xx_vif **vif_priv, in wcn36xx_set_tx_data() argument
587 *vif_priv = __vif_priv; in wcn36xx_set_tx_data()
601 struct wcn36xx_vif **vif_priv, in wcn36xx_set_tx_mgmt() argument
638 *vif_priv = __vif_priv; in wcn36xx_set_tx_mgmt()
654 struct wcn36xx_vif *vif_priv = NULL; in wcn36xx_start_tx() local
690 wcn36xx_set_tx_data(&bd, wcn, &vif_priv, sta_priv, skb, bcast); in wcn36xx_start_tx()
[all …]
Dwcn36xx.h327 struct ieee80211_vif *wcn36xx_priv_to_vif(struct wcn36xx_vif *vif_priv) in wcn36xx_priv_to_vif() argument
329 return container_of((void *) vif_priv, struct ieee80211_vif, drv_priv); in wcn36xx_priv_to_vif()
Ddxe.h465 struct wcn36xx_vif *vif_priv,
Ddxe.c745 struct wcn36xx_vif *vif_priv, in wcn36xx_dxe_tx_frame() argument
834 if (is_low && vif_priv->pw_state == WCN36XX_BMPS) { in wcn36xx_dxe_tx_frame()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Dmain.c600 struct carl9170_vif_info *vif_priv = (void *) vif->drv_priv; in carl9170_op_add_interface() local
607 if (vif_priv->active) { in carl9170_op_add_interface()
612 vif_id = vif_priv->id; in carl9170_op_add_interface()
613 vif_priv->enable_beacon = false; in carl9170_op_add_interface()
616 dev_kfree_skb_any(vif_priv->beacon); in carl9170_op_add_interface()
617 vif_priv->beacon = NULL; in carl9170_op_add_interface()
671 BUG_ON(ar->vif_priv[vif_id].id != vif_id); in carl9170_op_add_interface()
673 vif_priv->active = true; in carl9170_op_add_interface()
674 vif_priv->id = vif_id; in carl9170_op_add_interface()
675 vif_priv->enable_beacon = false; in carl9170_op_add_interface()
[all …]
Dcarl9170.h309 struct carl9170_vif vif_priv[AR9170_MAX_VIRTUAL_MAC]; member
614 vif_priv[carl_vif->id]); in carl9170_get_priv()
Dtx.c121 vif = rcu_dereference(ar->vif_priv[vif_id].vif); in __carl9170_get_tx_sta()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c602 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_set_key() local
603 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_set_key()
666 ret = iwl_set_default_wep_key(priv, vif_priv->ctx, key); in iwlagn_mac_set_key()
669 ret = iwl_set_dynamic_key(priv, vif_priv->ctx, key, sta); in iwlagn_mac_set_key()
779 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_sta_add() local
792 ret = iwl_add_station_common(priv, vif_priv->ctx, sta->addr, in iwlagn_mac_sta_add()
840 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_sta_state() local
901 ret = iwl_sta_update_ht(priv, vif_priv->ctx, sta); in iwlagn_mac_sta_state()
1161 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_conf_tx() local
1162 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_conf_tx()
[all …]
Dlib.c98 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_manage_ibss_station() local
101 return iwlagn_add_bssid_station(priv, vif_priv->ctx, in iwlagn_manage_ibss_station()
103 &vif_priv->ibss_bssid_sta_id); in iwlagn_manage_ibss_station()
104 return iwl_remove_station(priv, vif_priv->ibss_bssid_sta_id, in iwlagn_manage_ibss_station()
Ddev.h894 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwl_rxon_ctx_from_vif() local
896 return vif_priv->ctx; in iwl_rxon_ctx_from_vif()
Dsta.c1061 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_key_sta_id() local
1071 if (vif->type == NL80211_IFTYPE_STATION && vif_priv->ctx) in iwlagn_key_sta_id()
1072 return vif_priv->ctx->ap_sta_id; in iwlagn_key_sta_id()
/linux-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8187/
Ddev.c1065 struct rtl8187_vif *vif_priv = in rtl8187_beacon_work() local
1068 container_of((void *)vif_priv, struct ieee80211_vif, drv_priv); in rtl8187_beacon_work()
1069 struct ieee80211_hw *dev = vif_priv->dev; in rtl8187_beacon_work()
1099 schedule_delayed_work(&vif_priv->beacon_work, in rtl8187_beacon_work()
1108 struct rtl8187_vif *vif_priv; in rtl8187_add_interface() local
1128 vif_priv = (struct rtl8187_vif *)&vif->drv_priv; in rtl8187_add_interface()
1129 vif_priv->dev = dev; in rtl8187_add_interface()
1130 INIT_DELAYED_WORK(&vif_priv->beacon_work, rtl8187_beacon_work); in rtl8187_add_interface()
1131 vif_priv->enable_beacon = false; in rtl8187_add_interface()
1257 struct rtl8187_vif *vif_priv; in rtl8187_bss_info_changed() local
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c1290 struct rtl8180_vif *vif_priv = in rtl8180_beacon_work() local
1293 container_of((void *)vif_priv, struct ieee80211_vif, drv_priv); in rtl8180_beacon_work()
1294 struct ieee80211_hw *dev = vif_priv->dev; in rtl8180_beacon_work()
1324 schedule_delayed_work(&vif_priv->beacon_work, in rtl8180_beacon_work()
1332 struct rtl8180_vif *vif_priv; in rtl8180_add_interface() local
1351 vif_priv = (struct rtl8180_vif *)&vif->drv_priv; in rtl8180_add_interface()
1352 vif_priv->dev = dev; in rtl8180_add_interface()
1353 INIT_DELAYED_WORK(&vif_priv->beacon_work, rtl8180_beacon_work); in rtl8180_add_interface()
1354 vif_priv->enable_beacon = false; in rtl8180_add_interface()
1507 struct rtl8180_vif *vif_priv; in rtl8180_bss_info_changed() local
[all …]
/linux-6.1.9/drivers/net/wireless/rsi/
Drsi_main.h190 struct vif_priv { struct
242 struct vif_priv vif_info[RSI_MAX_VIFS];
Drsi_91x_mac80211.c463 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_add_interface()
842 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_bss_info_changed()
Drsi_91x_core.c411 tx_params->vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; in rsi_core_xmit()
Drsi_91x_mgmt.c542 u16 vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; in rsi_hal_send_sta_notify_frame()
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D3945.c2285 struct il_vif_priv *vif_priv = (void *)vif->drv_priv; in il3945_manage_ibss_station() local
2291 &vif_priv->ibss_bssid_sta_id); in il3945_manage_ibss_station()
2295 il3945_sync_sta(il, vif_priv->ibss_bssid_sta_id, in il3945_manage_ibss_station()
2299 il3945_rate_scale_init(il->hw, vif_priv->ibss_bssid_sta_id); in il3945_manage_ibss_station()
2304 return il_remove_station(il, vif_priv->ibss_bssid_sta_id, in il3945_manage_ibss_station()
D4965-mac.c1042 struct il_vif_priv *vif_priv = (void *)vif->drv_priv; in il4965_manage_ibss_station() local
1046 &vif_priv->ibss_bssid_sta_id); in il4965_manage_ibss_station()
1047 return il_remove_station(il, vif_priv->ibss_bssid_sta_id, in il4965_manage_ibss_station()