qcacmn: Add change to send beacon rate to FW
Add support for sending beacon tx rate to FW when we are creating an interface Change-Id: Id48a545f154af4139541ab347eec4ce5c91c278d CRs-Fixed: 2413314
Este cometimento está contido em:

cometido por
nshrivas

ascendente
adfc94c17c
cometimento
3e7e01e645
@@ -111,7 +111,6 @@ QDF_STATUS tgt_vdev_mgr_create_send(
|
||||
QDF_STATUS tgt_vdev_mgr_create_complete(struct vdev_mlme_obj *vdev_mlme)
|
||||
{
|
||||
struct wlan_objmgr_vdev *vdev;
|
||||
enum QDF_OPMODE opmode;
|
||||
struct vdev_set_params param = {0};
|
||||
struct wlan_lmac_if_mlme_tx_ops *txops;
|
||||
struct vdev_mlme_inactivity_params *inactivity;
|
||||
@@ -126,18 +125,7 @@ QDF_STATUS tgt_vdev_mgr_create_complete(struct vdev_mlme_obj *vdev_mlme)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
opmode = wlan_vdev_mlme_get_opmode(vdev);
|
||||
inactivity = &vdev_mlme->mgmt.inactivity_params;
|
||||
if (opmode == QDF_SAP_MODE) {
|
||||
param.vdev_id = wlan_vdev_get_id(vdev);
|
||||
|
||||
param.param_value = vdev_mlme->mgmt.rate_info.bcn_tx_rate;
|
||||
param.param_id = WLAN_MLME_CFG_BCN_TX_RATE;
|
||||
status = txops->vdev_set_param_send(vdev, ¶m);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
mlme_err("VDEV_%d: Failed to set beacon rate!",
|
||||
vdev_id);
|
||||
}
|
||||
|
||||
param.param_value =
|
||||
inactivity->keepalive_min_idle_inactive_time_secs;
|
||||
|
@@ -281,6 +281,7 @@ wlan_util_vdev_mlme_set_param(struct vdev_mlme_obj *vdev_mlme,
|
||||
break;
|
||||
case WLAN_MLME_CFG_BCN_TX_RATE:
|
||||
mlme_mgmt->rate_info.bcn_tx_rate = mlme_cfg.value;
|
||||
is_wmi_cmd = 1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Criar uma nova questão referindo esta
Bloquear um utilizador