[PATCH] Pass more capabilities of MLO link to framework

Jouni Malinen j at w1.fi
Tue Dec 2 05:09:38 PST 2025


On Fri, Oct 03, 2025 at 07:44:55AM +0000, Bruno.Kremp at sony.com wrote:
> Pass Channel Bandwidth and Maximum Number of Spatial Stream
> of MLO link to framework, the information is necessary to
> calculate the theoretical maximum speed for MLO link.

This seems to be based on a modified hostap.git implementation since
compilation with these changes would fail due to various missing
functions and variables:

events.c: In function ‘wpa_supplicant_event_associnfo’:
events.c:3550:62: error: ‘struct wpa_supplicant’ has no member named ‘connection_max_nss_rx’
 3550 |                                                         wpa_s->connection_max_nss_rx;
      |                                                              ^~
events.c:3552:62: error: ‘struct wpa_supplicant’ has no member named ‘connection_max_nss_tx’
 3552 |                                                         wpa_s->connection_max_nss_tx;
      |                                                              ^~
events.c:3554:62: error: ‘struct wpa_supplicant’ has no member named ‘connection_channel_bandwidth’
 3554 |                                                         wpa_s->connection_channel_bandwidth;
      |                                                              ^~
events.c:3560:49: error: implicit declaration of function ‘get_max_nss_capability’ [-Werror=implicit-function-declaration]
 3560 |                                                 get_max_nss_capability(&req_persta_elems, 1) >
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
events.c:3571:49: error: variable ‘sta_link_supported_chan_width’ has initializer but incomplete type
 3571 |                                                 get_supported_channel_width(&req_persta_elems);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:3571:49: error: implicit declaration of function ‘get_supported_channel_width’ [-Werror=implicit-function-declaration]
events.c:3570:69: error: storage size of ‘sta_link_supported_chan_width’ isn’t known
 3570 |                                         struct supported_chan_width sta_link_supported_chan_width =
      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:3573:49: error: implicit declaration of function ‘get_operation_channel_width’ [-Werror=implicit-function-declaration]
 3573 |                                                 get_operation_channel_width(&resp_persta_elems);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:3577:65: error: implicit declaration of function ‘get_sta_operation_chan_width’ [-Werror=implicit-function-declaration]
 3577 |                                                                 get_sta_operation_chan_width(
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
events.c:3570:69: error: unused variable ‘sta_link_supported_chan_width’ [-Werror=unused-variable]
 3570 |                                         struct supported_chan_width sta_link_supported_chan_width =
      |                                                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list