Re: [PATCH v2 8/8] mac80211: save transmit power envelope element and power constraint
From: Wen Gong <hidden>
Date: 2021-08-27 02:11:52
Also in:
ath11k
From: Wen Gong <hidden>
Date: 2021-08-27 02:11:52
Also in:
ath11k
On 2021-08-26 16:29, Johannes Berg wrote: ...
quoted
+ if (is_6ghz) { + struct ieee802_11_elems elems;This is pretty big, not sure we want it on the stack (causes warnings for me in build). Also, if we're doing this anyway, then we can change the code above (perhaps as a separate patch) to not do cfg80211_find_ext_ie() but rather take it out of the parsed.
do you mean NOT use cfg80211_find_ext_ie()/cfg80211_find_ie() and still use "struct ieee802_11_elems elems" here and move this code to a separate function/patch? it has more than one tx_pwr_env in one beacon, if we use cfg80211_find_ext_ie()/cfg80211_find_ie(), it need add more logic.
...
johannes