diff options
author | Jeremy Compostella <jeremy.compostella@intel.com> | 2024-10-29 14:17:48 -0700 |
---|---|---|
committer | Jérémy Compostella <jeremy.compostella@intel.com> | 2024-11-27 21:28:22 +0000 |
commit | 386b5a9ddfab9c0a2855c4a9f90e9d5ecd0483b0 (patch) | |
tree | 881db3cdfc7af261d7463d589d4bbbb24ed0fc82 /src/include | |
parent | 6e941f99dad04e6476059082ee6129f4788c1491 (diff) |
drivers/wifi: Support Bluetooth Dual Mac Mode
This feature provides ability to set the Bluetooth Dual Mac Mode
setting.
The implementation follows document 559910 Intel Connectivity
Platforms BIOS Guideline revision 9.2 specification.
BUG=b:346600091
TEST=BDMM method is added to the bluetooth companion device and
return the data supplied by the SAR binary blob
Change-Id: Iebe95815c944d045f4cf686abcd1874a8a45e240
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84946
Reviewed-by: Subrata Banik <subratabanik@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/sar.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/sar.h b/src/include/sar.h index 433b91107a..4643b24f86 100644 --- a/src/include/sar.h +++ b/src/include/sar.h @@ -9,7 +9,7 @@ #define MAX_DENYLIST_ENTRY 16 #define MAX_DSAR_SET_COUNT 3 #define MAX_GEO_OFFSET_REVISION 3 -#define MAX_PROFILE_COUNT 12 +#define MAX_PROFILE_COUNT 13 #define MAX_SAR_REVISION 2 #define BSAR_REVISION 1 #define WBEM_REVISION 0 @@ -18,6 +18,7 @@ #define BDCM_REVISION 1 #define BBSM_REVISION 1 #define BUCS_REVISION 1 +#define BDMM_REVISION 1 #define REVISION_SIZE 1 #define SAR_REV0_CHAINS_COUNT 2 #define SAR_REV0_SUBBANDS_COUNT 5 @@ -111,6 +112,11 @@ struct bucs_profile { uint32_t uhb_country_selection; } __packed; +struct bdmm_profile { + uint8_t revision; + uint8_t dual_mac_enable; +} __packed; + struct sar_header { char marker[SAR_STR_PREFIX_SIZE]; uint8_t version; @@ -132,6 +138,7 @@ union wifi_sar_limits { struct bdcm_profile *bdcm; struct bbsm_profile *bbsm; struct bucs_profile *bucs; + struct bdmm_profile *bdmm; }; void *profile[MAX_PROFILE_COUNT]; }; |