Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/wcn36xx/
A 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()
A Dmain.c593 vif_priv->encrypt_type, in wcn36xx_set_key()
600 vif_priv->encrypt_type, in wcn36xx_set_key()
601 vif_priv->bss_index, in wcn36xx_set_key()
625 vif_priv->encrypt_type, in wcn36xx_set_key()
626 vif_priv->bss_index, in wcn36xx_set_key()
635 vif_priv->encrypt_type, in wcn36xx_set_key()
713 if (vif_priv->sta_assoc) in wcn36xx_sw_scan_start()
1001 list_del(&vif_priv->list); in wcn36xx_remove_interface()
1049 sta_priv->vif = vif_priv; in wcn36xx_sta_add()
1096 if (vif_priv->sta_assoc) { in wcn36xx_get_first_assoc_vif()
[all …]
A Ddebug.c31 struct wcn36xx_vif *vif_priv = NULL; in read_file_bool_bmps() local
35 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in read_file_bool_bmps()
36 vif = wcn36xx_priv_to_vif(vif_priv); in read_file_bool_bmps()
38 if (vif_priv->pw_state == WCN36XX_BMPS) in read_file_bool_bmps()
56 struct wcn36xx_vif *vif_priv = NULL; in write_file_bool_bmps() local
70 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in write_file_bool_bmps()
71 vif = wcn36xx_priv_to_vif(vif_priv); in write_file_bool_bmps()
81 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in write_file_bool_bmps()
82 vif = wcn36xx_priv_to_vif(vif_priv); in write_file_bool_bmps()
A Dsmd.c855 msg_body->bss_type = vif_priv->bss_type; in wcn36xx_smd_start_hw_scan()
1626 bss->dtim_period = vif_priv->dtim_period; in wcn36xx_smd_set_bss_params()
1643 memcpy(bss->ssid.ssid, vif_priv->ssid.ssid, vif_priv->ssid.length); in wcn36xx_smd_set_bss_params()
1663 vif_priv->bss_type = bss->bss_type; in wcn36xx_smd_set_bss_params()
1862 vif_priv->bss_index = params->bss_index; in wcn36xx_smd_config_bss_rsp()
2764 struct wcn36xx_vif *vif_priv; in wcn36xx_smd_delete_sta_context_ind() local
2781 vif = wcn36xx_priv_to_vif(vif_priv); in wcn36xx_smd_delete_sta_context_ind()
2788 if (vif_priv->sta_assoc && in wcn36xx_smd_delete_sta_context_ind()
2793 vif_priv->bss_index); in wcn36xx_smd_delete_sta_context_ind()
2965 if (vif_priv->num_target_ipv6_addrs) { in wcn36xx_smd_ipv6_ns_offload()
[all …]
A Dtxrx.c435 struct wcn36xx_vif *vif_priv = NULL; in get_vif_by_addr() local
437 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in get_vif_by_addr()
438 vif = wcn36xx_priv_to_vif(vif_priv); in get_vif_by_addr()
440 return vif_priv; in get_vif_by_addr()
483 struct wcn36xx_vif **vif_priv, in wcn36xx_set_tx_data() argument
548 *vif_priv = __vif_priv; in wcn36xx_set_tx_data()
562 struct wcn36xx_vif **vif_priv, in wcn36xx_set_tx_mgmt() argument
599 *vif_priv = __vif_priv; in wcn36xx_set_tx_mgmt()
615 struct wcn36xx_vif *vif_priv = NULL; in wcn36xx_start_tx() local
654 wcn36xx_set_tx_mgmt(&bd, wcn, &vif_priv, skb, bcast); in wcn36xx_start_tx()
[all …]
A Dwcn36xx.h312 struct ieee80211_vif *wcn36xx_priv_to_vif(struct wcn36xx_vif *vif_priv) in wcn36xx_priv_to_vif() argument
314 return container_of((void *) vif_priv, struct ieee80211_vif, drv_priv); in wcn36xx_priv_to_vif()
A Ddxe.h465 struct wcn36xx_vif *vif_priv,
A Ddxe.c730 struct wcn36xx_vif *vif_priv, in wcn36xx_dxe_tx_frame() argument
819 if (is_low && vif_priv->pw_state == WCN36XX_BMPS) { in wcn36xx_dxe_tx_frame()
/linux/drivers/net/wireless/ath/carl9170/
A Dmain.c608 if (vif_priv->active) { in carl9170_op_add_interface()
613 vif_id = vif_priv->id; in carl9170_op_add_interface()
618 vif_priv->beacon = NULL; in carl9170_op_add_interface()
674 vif_priv->active = true; in carl9170_op_add_interface()
675 vif_priv->id = vif_id; in carl9170_op_add_interface()
733 vif_priv->active = false; in carl9170_op_add_interface()
768 id = vif_priv->id; in carl9170_op_remove_interface()
770 vif_priv->active = false; in carl9170_op_remove_interface()
796 vif_priv->beacon = NULL; in carl9170_op_remove_interface()
1998 ar->vif_priv[i].id = i; in carl9170_register()
[all …]
A Dcarl9170.h309 struct carl9170_vif vif_priv[AR9170_MAX_VIRTUAL_MAC]; member
615 vif_priv[carl_vif->id]); in carl9170_get_priv()
A Dtx.c121 vif = rcu_dereference(ar->vif_priv[vif_id].vif); in __carl9170_get_tx_sta()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
A 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
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()
1160 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_conf_tx() local
1161 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_conf_tx()
1265 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_add_interface() local
[all …]
A 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()
A Ddev.h893 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwl_rxon_ctx_from_vif() local
895 return vif_priv->ctx; in iwl_rxon_ctx_from_vif()
A 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/drivers/net/wireless/realtek/rtl818x/rtl8187/
A Ddev.c1065 struct rtl8187_vif *vif_priv = in rtl8187_beacon_work() local
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()
1131 vif_priv->enable_beacon = false; in rtl8187_add_interface()
1257 struct rtl8187_vif *vif_priv; in rtl8187_bss_info_changed() local
1293 vif_priv->enable_beacon = info->enable_beacon; in rtl8187_bss_info_changed()
1297 if (vif_priv->enable_beacon) in rtl8187_bss_info_changed()
[all …]
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/
A Ddev.c1286 struct rtl8180_vif *vif_priv = in rtl8180_beacon_work() local
1290 struct ieee80211_hw *dev = vif_priv->dev; in rtl8180_beacon_work()
1320 schedule_delayed_work(&vif_priv->beacon_work, in rtl8180_beacon_work()
1328 struct rtl8180_vif *vif_priv; in rtl8180_add_interface() local
1347 vif_priv = (struct rtl8180_vif *)&vif->drv_priv; in rtl8180_add_interface()
1348 vif_priv->dev = dev; in rtl8180_add_interface()
1350 vif_priv->enable_beacon = false; in rtl8180_add_interface()
1502 struct rtl8180_vif *vif_priv; in rtl8180_bss_info_changed() local
1557 vif_priv->enable_beacon = info->enable_beacon; in rtl8180_bss_info_changed()
1561 if (vif_priv->enable_beacon) in rtl8180_bss_info_changed()
[all …]
/linux/drivers/net/wireless/rsi/
A Drsi_main.h190 struct vif_priv { struct
242 struct vif_priv vif_info[RSI_MAX_VIFS];
A Drsi_91x_mac80211.c464 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_add_interface()
845 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_bss_info_changed()
A Drsi_91x_core.c411 tx_params->vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; in rsi_core_xmit()
A Drsi_91x_mgmt.c542 u16 vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; in rsi_hal_send_sta_notify_frame()
/linux/drivers/net/wireless/intel/iwlegacy/
A 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()
A 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()

Completed in 79 milliseconds