Lines Matching refs:hvif

333 	struct ath9k_htc_target_vif hvif;  in __ath9k_htc_remove_monitor_interface()  local
337 memset(&hvif, 0, sizeof(struct ath9k_htc_target_vif)); in __ath9k_htc_remove_monitor_interface()
338 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in __ath9k_htc_remove_monitor_interface()
339 hvif.index = priv->mon_vif_idx; in __ath9k_htc_remove_monitor_interface()
340 WMI_CMD_BUF(WMI_VAP_REMOVE_CMDID, &hvif); in __ath9k_htc_remove_monitor_interface()
353 struct ath9k_htc_target_vif hvif; in ath9k_htc_add_monitor_interface() local
373 memset(&hvif, 0, sizeof(struct ath9k_htc_target_vif)); in ath9k_htc_add_monitor_interface()
374 memcpy(&hvif.myaddr, common->macaddr, ETH_ALEN); in ath9k_htc_add_monitor_interface()
376 hvif.opmode = HTC_M_MONITOR; in ath9k_htc_add_monitor_interface()
377 hvif.index = ffz(priv->vif_slot); in ath9k_htc_add_monitor_interface()
379 WMI_CMD_BUF(WMI_VAP_CREATE_CMDID, &hvif); in ath9k_htc_add_monitor_interface()
387 priv->mon_vif_idx = hvif.index; in ath9k_htc_add_monitor_interface()
388 priv->vif_slot |= (1 << hvif.index); in ath9k_htc_add_monitor_interface()
408 tsta.vif_index = hvif.index; in ath9k_htc_add_monitor_interface()
1040 struct ath9k_htc_target_vif hvif; in ath9k_htc_add_interface() local
1047 memset(&hvif, 0, sizeof(struct ath9k_htc_target_vif)); in ath9k_htc_add_interface()
1048 memcpy(&hvif.myaddr, vif->addr, ETH_ALEN); in ath9k_htc_add_interface()
1052 hvif.opmode = HTC_M_STA; in ath9k_htc_add_interface()
1055 hvif.opmode = HTC_M_IBSS; in ath9k_htc_add_interface()
1058 hvif.opmode = HTC_M_HOSTAP; in ath9k_htc_add_interface()
1061 hvif.opmode = HTC_M_WDS; /* close enough */ in ath9k_htc_add_interface()
1071 avp->index = hvif.index = ffz(priv->vif_slot); in ath9k_htc_add_interface()
1072 hvif.rtsthreshold = cpu_to_be16(2304); in ath9k_htc_add_interface()
1073 WMI_CMD_BUF(WMI_VAP_CREATE_CMDID, &hvif); in ath9k_htc_add_interface()
1083 WMI_CMD_BUF(WMI_VAP_REMOVE_CMDID, &hvif); in ath9k_htc_add_interface()
1123 struct ath9k_htc_target_vif hvif; in ath9k_htc_remove_interface() local
1130 memset(&hvif, 0, sizeof(struct ath9k_htc_target_vif)); in ath9k_htc_remove_interface()
1131 memcpy(&hvif.myaddr, vif->addr, ETH_ALEN); in ath9k_htc_remove_interface()
1132 hvif.index = avp->index; in ath9k_htc_remove_interface()
1133 WMI_CMD_BUF(WMI_VAP_REMOVE_CMDID, &hvif); in ath9k_htc_remove_interface()