diff --git a/wmi/inc/wmi_unified_sta_param.h b/wmi/inc/wmi_unified_sta_param.h index 14eca73439..b3efebd753 100644 --- a/wmi/inc/wmi_unified_sta_param.h +++ b/wmi/inc/wmi_unified_sta_param.h @@ -276,9 +276,9 @@ struct flashing_req_params { /** * struct wmi_pcl_chan_weights - Params to get the valid weighed list - * @pcl_list: Preferred channel list already sorted in the order of preference + * @pcl_list: channel freq list sorted in preferred order * @pcl_len: Length of the PCL - * @saved_chan_list: Valid channel list updated as part of + * @saved_chan_list: Valid channel freq list updated as part of * WMA_UPDATE_CHAN_LIST_REQ * @saved_num_chan: Length of the valid channel list * @weighed_valid_list: Weights of the valid channel list. This will have one @@ -287,9 +287,9 @@ struct flashing_req_params { * @weight_list: Weights assigned by policy manager */ struct wmi_pcl_chan_weights { - uint8_t pcl_list[MAX_NUM_CHAN]; + uint32_t pcl_list[MAX_NUM_CHAN]; uint32_t pcl_len; - uint8_t saved_chan_list[MAX_NUM_CHAN]; + uint32_t saved_chan_list[MAX_NUM_CHAN]; uint32_t saved_num_chan; uint8_t weighed_valid_list[MAX_NUM_CHAN]; uint8_t weight_list[MAX_NUM_CHAN]; diff --git a/wmi/src/wmi_unified_sta_tlv.c b/wmi/src/wmi_unified_sta_tlv.c index baa648ee89..f41c32ece4 100644 --- a/wmi/src/wmi_unified_sta_tlv.c +++ b/wmi/src/wmi_unified_sta_tlv.c @@ -1958,7 +1958,7 @@ static QDF_STATUS send_pdev_set_pcl_cmd_tlv(wmi_unified_t wmi_handle, cmd_args = (uint32_t *) (buf_ptr + WMI_TLV_HDR_SIZE); for (i = 0; i < chan_len ; i++) { cmd_args[i] = msg->weighed_valid_list[i]; - WMI_LOGD("%s: chan:%d weight:%d", __func__, + WMI_LOGD("%s: freq:%d weight:%d", __func__, msg->saved_chan_list[i], cmd_args[i]); } wmi_mtrace(WMI_PDEV_SET_PCL_CMDID, NO_SESSION, 0);