/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | pmc.c | 27 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()
|
H A D | main.c | 505 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_set_key() local 522 vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP40; in wcn36xx_set_key() 525 vif_priv->encrypt_type = WCN36XX_HAL_ED_WEP104; in wcn36xx_set_key() 528 vif_priv->encrypt_type = WCN36XX_HAL_ED_CCMP; in wcn36xx_set_key() 531 vif_priv->encrypt_type = WCN36XX_HAL_ED_TKIP; in wcn36xx_set_key() 542 if (WCN36XX_HAL_ED_TKIP == vif_priv->encrypt_type) { in wcn36xx_set_key() 570 vif_priv->encrypt_type, in wcn36xx_set_key() 577 vif_priv->encrypt_type, in wcn36xx_set_key() 578 vif_priv->bss_index, in wcn36xx_set_key() 586 &vif_priv->sta_list, list) { in wcn36xx_set_key() [all …]
|
H A D | debug.c | 32 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()
|
H A D | smd.c | 367 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 …]
|
H A D | txrx.c | 474 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 …]
|
H A D | wcn36xx.h | 331 struct ieee80211_vif *wcn36xx_priv_to_vif(struct wcn36xx_vif *vif_priv) in wcn36xx_priv_to_vif() argument 333 return container_of((void *) vif_priv, struct ieee80211_vif, drv_priv); in wcn36xx_priv_to_vif()
|
H A D | dxe.h | 465 struct wcn36xx_vif *vif_priv,
|
H A D | dxe.c | 746 struct wcn36xx_vif *vif_priv, in wcn36xx_dxe_tx_frame() argument 835 if (is_low && vif_priv->pw_state == WCN36XX_BMPS) { in wcn36xx_dxe_tx_frame()
|
/linux/drivers/net/wireless/ath/carl9170/ |
H A D | main.c | 600 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 …]
|
H A D | carl9170.h | 309 struct carl9170_vif vif_priv[AR9170_MAX_VIRTUAL_MAC]; member 614 vif_priv[carl_vif->id]); in carl9170_get_priv()
|
H A D | tx.c | 121 vif = rcu_dereference(ar->vif_priv[vif_id].vif); in __carl9170_get_tx_sta()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | mac80211.c | 600 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_set_key() local 601 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_set_key() 664 ret = iwl_set_default_wep_key(priv, vif_priv->ctx, key); in iwlagn_mac_set_key() 667 ret = iwl_set_dynamic_key(priv, vif_priv->ctx, key, sta); in iwlagn_mac_set_key() 775 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_sta_add() local 788 ret = iwl_add_station_common(priv, vif_priv->ctx, sta->addr, in iwlagn_mac_sta_add() 836 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_sta_state() local 897 ret = iwl_sta_update_ht(priv, vif_priv->ctx, sta); in iwlagn_mac_sta_state() 1157 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwlagn_mac_conf_tx() local 1158 struct iwl_rxon_context *ctx = vif_priv->ctx; in iwlagn_mac_conf_tx() [all …]
|
H A D | lib.c | 98 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()
|
H A D | dev.h | 896 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv; in iwl_rxon_ctx_from_vif() local 898 return vif_priv->ctx; in iwl_rxon_ctx_from_vif()
|
H A D | sta.c | 1061 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/ |
H A D | dev.c | 1065 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/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | dev.c | 1290 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/drivers/net/wireless/rsi/ |
H A D | rsi_main.h | 190 struct vif_priv { struct 242 struct vif_priv vif_info[RSI_MAX_VIFS];
|
H A D | rsi_91x_mac80211.c | 464 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_add_interface() 843 struct vif_priv *vif_info = (struct vif_priv *)vif->drv_priv; in rsi_mac80211_bss_info_changed()
|
H A D | rsi_91x_core.c | 411 tx_params->vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; in rsi_core_xmit()
|
H A D | rsi_91x_mgmt.c | 542 u16 vap_id = ((struct vif_priv *)vif->drv_priv)->vap_id; in rsi_hal_send_sta_notify_frame()
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945.c | 2285 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()
|
H A D | 4965-mac.c | 1042 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()
|