Thread (43 messages) 43 messages, 3 authors, 2023-07-19

Re: [PATCH v2 7/8] mac80211: add parse transmit power envelope element

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2021-08-26 08:21:04
Also in: ath11k

On Fri, 2021-08-20 at 08:20 -0400, Wen Gong wrote:
+		case WLAN_EID_TX_POWER_ENVELOPE:
+			if (elems->tx_pwr_env_num >= ARRAY_SIZE(elems->tx_pwr_env) ||
+			    elen < 1)
+				break;
IMHO this should also check the max length, but I'll fix that.

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help