Lines Matching refs:power_info
17103 struct reg_fw_afc_power_event *power_info, in copy_afc_event_fixed_hdr_power_info() argument
17106 power_info->fw_status_code = afc_power_event_hdr->fw_status_code; in copy_afc_event_fixed_hdr_power_info()
17107 power_info->resp_id = afc_power_event_hdr->resp_id; in copy_afc_event_fixed_hdr_power_info()
17108 power_info->serv_resp_code = afc_power_event_hdr->afc_serv_resp_code; in copy_afc_event_fixed_hdr_power_info()
17109 power_info->afc_wfa_version = in copy_afc_event_fixed_hdr_power_info()
17111 power_info->afc_wfa_version |= in copy_afc_event_fixed_hdr_power_info()
17114 power_info->avail_exp_time_d = in copy_afc_event_fixed_hdr_power_info()
17116 power_info->avail_exp_time_d |= in copy_afc_event_fixed_hdr_power_info()
17118 power_info->avail_exp_time_d |= in copy_afc_event_fixed_hdr_power_info()
17121 power_info->avail_exp_time_t = in copy_afc_event_fixed_hdr_power_info()
17123 power_info->avail_exp_time_t |= in copy_afc_event_fixed_hdr_power_info()
17125 power_info->avail_exp_time_t |= in copy_afc_event_fixed_hdr_power_info()
17128 power_info->fw_status_code, in copy_afc_event_fixed_hdr_power_info()
17129 power_info->resp_id, in copy_afc_event_fixed_hdr_power_info()
17130 power_info->serv_resp_code); in copy_afc_event_fixed_hdr_power_info()
17132 power_info->afc_wfa_version, in copy_afc_event_fixed_hdr_power_info()
17133 power_info->avail_exp_time_d, in copy_afc_event_fixed_hdr_power_info()
17134 power_info->avail_exp_time_t); in copy_afc_event_fixed_hdr_power_info()
17148 struct reg_fw_afc_power_event *power_info; in copy_power_event() local
17152 power_info = qdf_mem_malloc(sizeof(*power_info)); in copy_power_event()
17154 if (!power_info) in copy_power_event()
17158 copy_afc_event_fixed_hdr_power_info(power_info, afc_power_event_hdr); in copy_power_event()
17159 afc_info->power_info = power_info; in copy_power_event()
17161 power_info->num_freq_objs = param_buf->num_freq_info_array; in copy_power_event()
17163 power_info->num_freq_objs); in copy_power_event()
17164 if (power_info->num_freq_objs > 0) { in copy_power_event()
17168 afc_freq_info = qdf_mem_malloc(power_info->num_freq_objs * in copy_power_event()
17174 copy_afc_freq_obj_info(afc_freq_info, power_info->num_freq_objs, in copy_power_event()
17176 power_info->afc_freq_info = afc_freq_info; in copy_power_event()
17181 power_info->num_chan_objs = param_buf->num_channel_info_array; in copy_power_event()
17182 wmi_debug("Number of channel objects = %d", power_info->num_chan_objs); in copy_power_event()
17183 if (power_info->num_chan_objs > 0) { in copy_power_event()
17188 afc_chan_info = qdf_mem_malloc(power_info->num_chan_objs * in copy_power_event()
17195 power_info->num_chan_objs, in copy_power_event()
17198 power_info->afc_chan_info = afc_chan_info; in copy_power_event()