HE: Extend BSS color support
The HE Operation field for BSS color consists of a disabled, a partial, and 6 color bits. The original commit adding support for BSS color considered this to be a u8. This commit changes this to the actual bits/values. This adds an explicit config parameter for the partial bit. The disabled is set to 0 implicitly if a bss_color is defined. Interoperability testing showed that stations will require a BSS color to be set even if the feature is disabled. Hence the default color is 1 when none is defined inside the config file. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
458162a271
commit
0cb39f4fd5
6 changed files with 19 additions and 5 deletions
|
@ -2198,7 +2198,7 @@ struct ieee80211_spatial_reuse {
|
|||
#define HE_OPERATION_BSS_COLOR_MASK ((u32) (BIT(24) | BIT(25) | \
|
||||
BIT(26) | BIT(27) | \
|
||||
BIT(28) | BIT(29)))
|
||||
#define HE_OPERATION_PARTIAL_BSS_COLOR ((u32) BIT(30))
|
||||
#define HE_OPERATION_BSS_COLOR_PARTIAL ((u32) BIT(30))
|
||||
#define HE_OPERATION_BSS_COLOR_DISABLED ((u32) BIT(31))
|
||||
#define HE_OPERATION_BSS_COLOR_OFFSET 24
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue