浏览代码

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
Tushnim Bhattacharyya 5 年之前
父节点
当前提交
bb1285966a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      core/mac/src/pe/lim/lim_send_management_frames.c

+ 2 - 1
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -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;