|
@@ -104,8 +104,8 @@ static QDF_STATUS send_vdev_create_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
cmd->num_cfg_txrx_streams = num_bands;
|
|
|
copy_vdev_create_pdev_id(wmi_handle, cmd, param);
|
|
|
WMI_CHAR_ARRAY_TO_MAC_ADDR(macaddr, &cmd->vdev_macaddr);
|
|
|
- WMI_LOGD("%s: ID = %d VAP Addr = %02x:%02x:%02x:%02x:%02x:%02x",
|
|
|
- __func__, param->if_id,
|
|
|
+ WMI_LOGD("%s: ID = %d[pdev:%d] VAP Addr = %02x:%02x:%02x:%02x:%02x:%02x",
|
|
|
+ __func__, param->if_id, cmd->pdev_id,
|
|
|
macaddr[0], macaddr[1], macaddr[2],
|
|
|
macaddr[3], macaddr[4], macaddr[5]);
|
|
|
buf_ptr = (uint8_t *)cmd + sizeof(*cmd);
|
|
@@ -343,6 +343,10 @@ static QDF_STATUS send_vdev_start_cmd_tlv(wmi_unified_t wmi_handle,
|
|
|
cmd->beacon_interval = req->beacon_intval;
|
|
|
cmd->dtim_period = req->dtim_period;
|
|
|
|
|
|
+ cmd->bcn_tx_rate = req->bcn_tx_rate_code;
|
|
|
+ if (req->bcn_tx_rate_code)
|
|
|
+ cmd->flags |= WMI_UNIFIED_VDEV_START_BCN_TX_RATE_PRESENT;
|
|
|
+
|
|
|
if (!req->is_restart) {
|
|
|
cmd->beacon_interval = req->beacon_intval;
|
|
|
cmd->dtim_period = req->dtim_period;
|
|
@@ -5905,6 +5909,7 @@ static QDF_STATUS send_roam_scan_offload_rssi_thresh_cmd_tlv(wmi_unified_t wmi_h
|
|
|
wmi_roam_scan_extended_threshold_param *ext_thresholds = NULL;
|
|
|
wmi_roam_earlystop_rssi_thres_param *early_stop_thresholds = NULL;
|
|
|
wmi_roam_dense_thres_param *dense_thresholds = NULL;
|
|
|
+ wmi_roam_bg_scan_roaming_param *bg_scan_params = NULL;
|
|
|
|
|
|
len = sizeof(wmi_roam_scan_rssi_threshold_fixed_param);
|
|
|
len += WMI_TLV_HDR_SIZE; /* TLV for ext_thresholds*/
|
|
@@ -5913,6 +5918,8 @@ static QDF_STATUS send_roam_scan_offload_rssi_thresh_cmd_tlv(wmi_unified_t wmi_h
|
|
|
len += sizeof(wmi_roam_earlystop_rssi_thres_param);
|
|
|
len += WMI_TLV_HDR_SIZE; /* TLV for dense thresholds*/
|
|
|
len += sizeof(wmi_roam_dense_thres_param);
|
|
|
+ len += WMI_TLV_HDR_SIZE; /* TLV for BG Scan*/
|
|
|
+ len += sizeof(wmi_roam_bg_scan_roaming_param);
|
|
|
buf = wmi_buf_alloc(wmi_handle, len);
|
|
|
if (!buf) {
|
|
|
WMI_LOGE("%s : wmi_buf_alloc failed", __func__);
|
|
@@ -5995,6 +6002,20 @@ static QDF_STATUS send_roam_scan_offload_rssi_thresh_cmd_tlv(wmi_unified_t wmi_h
|
|
|
WMITLV_GET_STRUCT_TLVLEN
|
|
|
(wmi_roam_dense_thres_param));
|
|
|
|
|
|
+ buf_ptr += sizeof(wmi_roam_dense_thres_param);
|
|
|
+ WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC,
|
|
|
+ sizeof(wmi_roam_bg_scan_roaming_param));
|
|
|
+ buf_ptr += WMI_TLV_HDR_SIZE;
|
|
|
+ bg_scan_params = (wmi_roam_bg_scan_roaming_param *) buf_ptr;
|
|
|
+ bg_scan_params->roam_bg_scan_bad_rssi_thresh =
|
|
|
+ roam_req->bg_scan_bad_rssi_thresh;
|
|
|
+ bg_scan_params->roam_bg_scan_client_bitmap =
|
|
|
+ roam_req->bg_scan_client_bitmap;
|
|
|
+ WMITLV_SET_HDR(&bg_scan_params->tlv_header,
|
|
|
+ WMITLV_TAG_STRUC_wmi_roam_bg_scan_roaming_param,
|
|
|
+ WMITLV_GET_STRUCT_TLVLEN
|
|
|
+ (wmi_roam_bg_scan_roaming_param));
|
|
|
+
|
|
|
status = wmi_unified_cmd_send(wmi_handle, buf,
|
|
|
len, WMI_ROAM_SCAN_RSSI_THRESHOLD);
|
|
|
if (QDF_IS_STATUS_ERROR(status)) {
|