Lines Matching refs:sta_ctxt_cmd

2551 	struct iwl_he_sta_context_cmd_v3 sta_ctxt_cmd = {  in iwl_mvm_cfg_he_sta()  local
2582 cmd = &sta_ctxt_cmd; in iwl_mvm_cfg_he_sta()
2592 sta = rcu_dereference(mvm->fw_id_to_mac_id[sta_ctxt_cmd.sta_id]); in iwl_mvm_cfg_he_sta()
2611 sta_ctxt_cmd.htc_flags = iwl_mvm_get_sta_htc_flags(sta, &sta->deflink); in iwl_mvm_cfg_he_sta()
2614 if (!iwl_mvm_set_sta_pkt_ext(mvm, &sta->deflink, &sta_ctxt_cmd.pkt_ext)) in iwl_mvm_cfg_he_sta()
2628 &sta_ctxt_cmd.trig_based_txf[0])) in iwl_mvm_cfg_he_sta()
2634 sta_ctxt_cmd.rand_alloc_ecwmin = in iwl_mvm_cfg_he_sta()
2636 sta_ctxt_cmd.rand_alloc_ecwmax = in iwl_mvm_cfg_he_sta()
2645 ether_addr_copy(sta_ctxt_cmd.ref_bssid_addr, in iwl_mvm_cfg_he_sta()
2647 sta_ctxt_cmd.max_bssid_indicator = in iwl_mvm_cfg_he_sta()
2649 sta_ctxt_cmd.bssid_index = vif->bss_conf.bssid_index; in iwl_mvm_cfg_he_sta()
2650 sta_ctxt_cmd.ema_ap = vif->bss_conf.ema_ap; in iwl_mvm_cfg_he_sta()
2651 sta_ctxt_cmd.profile_periodicity = in iwl_mvm_cfg_he_sta()
2655 sta_ctxt_cmd.flags = cpu_to_le32(flags); in iwl_mvm_cfg_he_sta()
2659 BUILD_BUG_ON(offsetof(typeof(sta_ctxt_cmd), pkt_ext) != in iwl_mvm_cfg_he_sta()
2661 memcpy(&sta_ctxt_cmd_v2, &sta_ctxt_cmd, in iwl_mvm_cfg_he_sta()
2662 offsetof(typeof(sta_ctxt_cmd), pkt_ext)); in iwl_mvm_cfg_he_sta()
2673 BUILD_BUG_ON(sizeof(sta_ctxt_cmd.pkt_ext.pkt_ext_qam_th[i][bw]) != in iwl_mvm_cfg_he_sta()
2677 &sta_ctxt_cmd.pkt_ext.pkt_ext_qam_th[i][bw], in iwl_mvm_cfg_he_sta()
2678 sizeof(sta_ctxt_cmd.pkt_ext.pkt_ext_qam_th[i][bw])); in iwl_mvm_cfg_he_sta()
2683 BUILD_BUG_ON(sizeof(sta_ctxt_cmd) - in iwl_mvm_cfg_he_sta()
2684 offsetofend(typeof(sta_ctxt_cmd), pkt_ext) != in iwl_mvm_cfg_he_sta()
2689 (u8 *)&sta_ctxt_cmd + in iwl_mvm_cfg_he_sta()
2690 offsetofend(typeof(sta_ctxt_cmd), pkt_ext), in iwl_mvm_cfg_he_sta()
2691 sizeof(sta_ctxt_cmd) - in iwl_mvm_cfg_he_sta()
2692 offsetofend(typeof(sta_ctxt_cmd), pkt_ext)); in iwl_mvm_cfg_he_sta()