qcacld-3.0: Fix 11BE 320M CSA issue
802.11be_D5.0 spec updated Transmit Power Envelope IE and it's length, so Channel Switch Wrapper IE length check became wrong. To fix it, remove Channel Switch Wrapper IE length check. Change-Id: Ib8eebb58d8320d80555dd6257af86917d01adda7 CRs-Fixed: 3763536
This commit is contained in:

committed by
Ravindra Konda

parent
1889259fc4
commit
c1f32a8f8e
@@ -89,7 +89,6 @@
|
||||
* MCL platform.
|
||||
*/
|
||||
#define WMA_SET_VDEV_IE_SOURCE_HOST 0x0
|
||||
#define CH_WR_IE_MAX_LEN 29
|
||||
|
||||
/*
|
||||
* Max AMPDU Tx Aggr supported size
|
||||
@@ -1222,9 +1221,7 @@ wma_parse_ch_switch_wrapper_ie(uint8_t *ch_wr_ie, uint8_t sub_ele_id,
|
||||
struct extn_ie_header *extn_ie;
|
||||
|
||||
ele = (struct ie_header *)ch_wr_ie;
|
||||
if (ele->ie_id != WLAN_ELEMID_CHAN_SWITCH_WRAP ||
|
||||
ele->ie_len == 0 || ele->ie_len > (CH_WR_IE_MAX_LEN -
|
||||
sizeof(struct ie_header))) {
|
||||
if (ele->ie_id != WLAN_ELEMID_CHAN_SWITCH_WRAP || ele->ie_len == 0) {
|
||||
wma_debug("Invalid len: %d", ele->ie_len);
|
||||
return NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user