mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-02-16 15:20:42 +01:00
band: add he_capabilities queue
This queue will hold iftype(s) specific data for HE capabilities. Since the capabilities may differ per-iftype the data is stored as such. Iftypes may share a configuration so the band_he_capabilities structure has a mask for each iftype using that configuration.
This commit is contained in:
parent
62bdd1bea5
commit
fce1449a87
@ -32,6 +32,9 @@
|
|||||||
|
|
||||||
void band_free(struct band *band)
|
void band_free(struct band *band)
|
||||||
{
|
{
|
||||||
|
if (band->he_capabilities)
|
||||||
|
l_queue_destroy(band->he_capabilities, l_free);
|
||||||
|
|
||||||
l_free(band);
|
l_free(band);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,8 +49,16 @@ struct band_chandef {
|
|||||||
uint32_t center2_frequency;
|
uint32_t center2_frequency;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct band_he_capabilities {
|
||||||
|
uint32_t iftypes;
|
||||||
|
uint8_t he_phy_capa[11];
|
||||||
|
uint8_t he_mcs_set[12];
|
||||||
|
};
|
||||||
|
|
||||||
struct band {
|
struct band {
|
||||||
enum band_freq freq;
|
enum band_freq freq;
|
||||||
|
/* Each entry is type struct band_he_capabilities */
|
||||||
|
struct l_queue *he_capabilities;
|
||||||
uint8_t vht_mcs_set[8];
|
uint8_t vht_mcs_set[8];
|
||||||
uint8_t vht_capabilities[4];
|
uint8_t vht_capabilities[4];
|
||||||
bool vht_supported : 1;
|
bool vht_supported : 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user