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