qcacld-3.0: Do not enable AMSDU Rx in ADD BA session for 2.4Ghz

Do not enable AMSDU Rx by advertising advertises AMSDUSUPPPORTED=0
in ADD_BA response if the connection is on 2.4Ghz.

Change-Id: I1c61ce9f3824a600fbd5123680b7d00ae7659438
CRs-Fixed: 2519746
This commit is contained in:
Tushnim Bhattacharyya 2019-09-12 11:56:37 -07:00 committed by nshrivas
parent 3a18e850f6
commit bb1285966a

View File

@ -4831,7 +4831,8 @@ QDF_STATUS lim_send_addba_response_frame(struct mac_context *mac_ctx,
/* disable 11n RX AMSDU */
if (mac_ctx->is_usr_cfg_amsdu_enabled &&
!IS_PE_SESSION_11N_MODE(session))
!IS_PE_SESSION_11N_MODE(session) &&
!WLAN_REG_IS_24GHZ_CH_FREQ(session->curr_op_freq))
frm.addba_param_set.amsdu_supp = amsdu_support;
else
frm.addba_param_set.amsdu_supp = 0;