[PATCH v2 8/8] mac80211: save transmit power envelope element and power constraint
Wen Gong
wgong at codeaurora.org
Thu Aug 26 19:11:40 PDT 2021
On 2021-08-26 16:29, Johannes Berg wrote:
...
>
>> + 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
More information about the ath11k
mailing list