qcacld-3.0: Disable BTM flag in EXT caps IE
Host sends WMI_VDEV_SET_IE_CMDID to FW to enable disable BTM ext cap after association. If host receives disable btm request from userspace, host should disable BTM flag in EXT caps IE. FW uses same ext cap in re-association request. Change-Id: Id85a4328e41742e4eb6c7f5fe3d5a9267c248c75 CRs-Fixed: 3747320
This commit is contained in:

zatwierdzone przez
Ravindra Konda

rodzic
4e25adfa76
commit
da0bd5531c
@@ -6186,6 +6186,7 @@ QDF_STATUS lim_send_ext_cap_ie(struct mac_context *mac_ctx,
|
||||
struct vdev_ie_info *vdev_ie;
|
||||
struct scheduler_msg msg = {0};
|
||||
QDF_STATUS status;
|
||||
struct pe_session *session_entry;
|
||||
|
||||
dot11mode = mac_ctx->mlme_cfg->dot11_mode.dot11_mode;
|
||||
if (IS_DOT11_MODE_VHT(dot11mode))
|
||||
@@ -6207,6 +6208,12 @@ QDF_STATUS lim_send_ext_cap_ie(struct mac_context *mac_ctx,
|
||||
lim_merge_extcap_struct(&ext_cap_data, extra_extcap, true);
|
||||
}
|
||||
|
||||
/* After merging extcap, check whether disable btm bit require or not */
|
||||
session_entry = pe_find_session_by_vdev_id(mac_ctx, vdev_id);
|
||||
if (session_entry)
|
||||
populate_dot11f_btm_extended_caps(mac_ctx, session_entry,
|
||||
&ext_cap_data);
|
||||
|
||||
/* Allocate memory for the WMI request, and copy the parameter */
|
||||
vdev_ie = qdf_mem_malloc(sizeof(*vdev_ie) + num_bytes);
|
||||
if (!vdev_ie)
|
||||
|
Reference in New Issue
Block a user