qcacld-3.0: Add OMN IE in assoc request if VHT op mode present
If DUT connects to an AP in VHT mode with 40/80Mhz bandwidth in 5Ghz band and then if user changes the country code(EC) where only 20Mhz bandwidth present in 5ghz, then after association AP may ignore DUT's support for only 20Mhz and keeps transmitting data in 40/80Mhz. As DUT doesn't support these bandwidth, DUT doesn't ack the data packets with higher received higher bandwidth. Thus DUT's RX throughout degrades. This is an IOT issue where AP expects OMN IE with channel width set to 20mhz . As DUT is not sending OMN IE low throughput issue is observed Hence host adds OMN ie in the association request only if the AP to which DUT associates advertises OMN IE and DUT supports VHT. Change-Id: Ie59323c4c7dc4e4abc332e7204768b6a560d22d1 CRs-Fixed: 2650234
This commit is contained in:

committed by
nshrivas

parent
82d7122b3f
commit
4f81aead61
@@ -2058,9 +2058,8 @@ lim_send_assoc_req_mgmt_frame(struct mac_context *mac_ctx,
|
|||||||
pe_debug("Populate VHT IEs in Assoc Request");
|
pe_debug("Populate VHT IEs in Assoc Request");
|
||||||
populate_dot11f_vht_caps(mac_ctx, pe_session, &frm->VHTCaps);
|
populate_dot11f_vht_caps(mac_ctx, pe_session, &frm->VHTCaps);
|
||||||
vht_enabled = true;
|
vht_enabled = true;
|
||||||
if (pe_session->enableHtSmps &&
|
if (pe_session->gLimOperatingMode.present) {
|
||||||
!pe_session->supported_nss_1x1) {
|
pe_debug("VHT OP mode IE in Assoc Req");
|
||||||
pe_err("VHT OP mode IE in Assoc Req");
|
|
||||||
populate_dot11f_operating_mode(mac_ctx,
|
populate_dot11f_operating_mode(mac_ctx,
|
||||||
&frm->OperatingMode, pe_session);
|
&frm->OperatingMode, pe_session);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user