]> git.ipfire.org Git - thirdparty/hostap.git/commit
Simplify supported rates and BSS membership selectors generation
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 11 Feb 2025 20:48:07 +0000 (22:48 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 11 Feb 2025 20:48:07 +0000 (22:48 +0200)
commit5066a39e0f732c28e9f25362fb89d4ff8924be8c
treec1bb6cf42fd368abb1241c3fcf9481114405a422
parentea626cb8cebfe8cd871e22f5caab8ae9c8cf53f2
Simplify supported rates and BSS membership selectors generation

Use a common helper function to generate the complete list of supported
rates and BSS membership selectors so that building the Supported Rates
and BSS Membership Selectors and the Extended Supported Rates and BSS
Membersip Selectors elements can be generated without having to
duplicate the logic for determining the actual values for the
rates/selectors. The functions for building these elements are now
simply selecting the subset of the values from the output from the
helper function.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/ieee802_11.c