Lines Matching refs:vif_priv
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()
842 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_start_hw_scan() local
863 msg_body->bss_type = vif_priv->bss_type; in wcn36xx_smd_start_hw_scan()
1196 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_add_sta_self_rsp() local
1213 vif_priv->self_sta_index = rsp->self_sta_index; in wcn36xx_smd_add_sta_self_rsp()
1214 vif_priv->self_dpu_desc_index = rsp->dpu_index; in wcn36xx_smd_add_sta_self_rsp()
1593 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_set_bss_params() local
1634 bss->dtim_period = vif_priv->dtim_period; in wcn36xx_smd_set_bss_params()
1650 bss->ssid.length = vif_priv->ssid.length; in wcn36xx_smd_set_bss_params()
1651 memcpy(bss->ssid.ssid, vif_priv->ssid.ssid, vif_priv->ssid.length); in wcn36xx_smd_set_bss_params()
1671 vif_priv->bss_type = bss->bss_type; in wcn36xx_smd_set_bss_params()
1847 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_config_bss_rsp() local
1870 vif_priv->bss_index = params->bss_index; in wcn36xx_smd_config_bss_rsp()
1878 vif_priv->self_ucast_dpu_sign = params->ucast_dpu_signature; in wcn36xx_smd_config_bss_rsp()
1916 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_delete_bss() local
1921 if (vif_priv->bss_index == WCN36XX_HAL_BSS_INVALID_IDX) in wcn36xx_smd_delete_bss()
1926 msg_body.bss_index = vif_priv->bss_index; in wcn36xx_smd_delete_bss()
1943 vif_priv->bss_index = WCN36XX_HAL_BSS_INVALID_IDX; in wcn36xx_smd_delete_bss()
2221 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_enter_bmps() local
2227 msg_body.bss_index = vif_priv->bss_index; in wcn36xx_smd_enter_bmps()
2229 msg_body.dtim_period = vif_priv->dtim_period; in wcn36xx_smd_enter_bmps()
2251 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_exit_bmps() local
2257 msg_body.bss_index = vif_priv->bss_index; in wcn36xx_smd_exit_bmps()
2368 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_keep_alive_req() local
2375 msg_body.bss_index = vif_priv->bss_index; in wcn36xx_smd_keep_alive_req()
2807 struct wcn36xx_vif *vif_priv; in wcn36xx_smd_delete_sta_context_ind() local
2822 list_for_each_entry(vif_priv, &wcn->vif_list, list) { in wcn36xx_smd_delete_sta_context_ind()
2824 vif = wcn36xx_priv_to_vif(vif_priv); in wcn36xx_smd_delete_sta_context_ind()
2831 if (vif_priv->sta_assoc && in wcn36xx_smd_delete_sta_context_ind()
2836 vif_priv->bss_index); in wcn36xx_smd_delete_sta_context_ind()
2917 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_set_mc_list() local
2934 msg_body->mc_addr_list.bss_index = vif_priv->bss_index; in wcn36xx_smd_set_mc_list()
2954 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_arp_offload() local
2969 msg_body.ns_offload_params.bss_index = vif_priv->bss_index; in wcn36xx_smd_arp_offload()
2992 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_ipv6_ns_offload() local
3008 if (vif_priv->num_target_ipv6_addrs) { in wcn36xx_smd_ipv6_ns_offload()
3010 &vif_priv->target_ipv6_addrs[0].in6_u, in wcn36xx_smd_ipv6_ns_offload()
3013 &vif_priv->target_ipv6_addrs[0].in6_u, in wcn36xx_smd_ipv6_ns_offload()
3017 if (vif_priv->num_target_ipv6_addrs > 1) { in wcn36xx_smd_ipv6_ns_offload()
3019 &vif_priv->target_ipv6_addrs[1].in6_u, in wcn36xx_smd_ipv6_ns_offload()
3025 ns_params->bss_index = vif_priv->bss_index; in wcn36xx_smd_ipv6_ns_offload()
3054 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_gtk_offload() local
3063 memcpy(&msg_body.kek, vif_priv->rekey_data.kek, NL80211_KEK_LEN); in wcn36xx_smd_gtk_offload()
3064 memcpy(&msg_body.kck, vif_priv->rekey_data.kck, NL80211_KCK_LEN); in wcn36xx_smd_gtk_offload()
3066 le64_to_cpu(vif_priv->rekey_data.replay_ctr); in wcn36xx_smd_gtk_offload()
3067 msg_body.bss_index = vif_priv->bss_index; in wcn36xx_smd_gtk_offload()
3092 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_gtk_offload_get_info_rsp() local
3101 if (rsp->bss_index != vif_priv->bss_index) { in wcn36xx_smd_gtk_offload_get_info_rsp()
3107 if (vif_priv->rekey_data.replay_ctr != cpu_to_le64(rsp->key_replay_counter)) { in wcn36xx_smd_gtk_offload_get_info_rsp()
3109 vif_priv->rekey_data.replay_ctr = in wcn36xx_smd_gtk_offload_get_info_rsp()
3133 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_gtk_offload_get_info() local
3141 msg_body.bss_index = vif_priv->bss_index; in wcn36xx_smd_gtk_offload_get_info()
3257 struct wcn36xx_vif *vif_priv = wcn36xx_vif_to_priv(vif); in wcn36xx_smd_add_beacon_filter() local
3275 body->bss_index = vif_priv->bss_index; in wcn36xx_smd_add_beacon_filter()