Bluetooth: Mesh: Drop explicit support for Bluetooth Mesh 1.0.1

Bluetooth Mesh Protocol 1.1 is backward compatible with Bluetooth Mesh
Profile 1.0.1, therefore the stack can still be qualified for 1.0.1 if
needed. But explicit support for both versions requires additional
maintenance efforts and doubles the CI time. To make the stack
qualifiable for 1.0.1, the one needs to remove Private Beacons reception
and compile out SHA256 algorithm support.

What is changed:
- Removed `CONFIG_BT_MESH_V1d1` option.
- Removed `transport_legacy.c` which was using 1.0.1 implementation. The
  new transport layer has new SaR logic that should still be possible to
  qualify for 1.0.1.
- Removed the legacy transport Kconfig options. They are superseded by
  the new transport Kconfig options.
- Tester app: `overlay-mesh-v1d1.conf` is merged into
  `overlay-mesh.conf`.
- Removed BabbleSim tests for 1.0.1.
- Updated documentation.

Signed-off-by: Pavel Vasilyev <pavel.vasilyev@nordicsemi.no>
This commit is contained in:
Pavel Vasilyev 2023-11-29 13:28:08 +01:00 committed by Carles Cufí
commit 981c79b7ce
173 changed files with 112 additions and 2635 deletions

View file

@ -512,56 +512,6 @@ config BT_MESH_TX_SEG_MAX
which leaves 56 bytes for application layer data using a
4-byte MIC and 52 bytes using an 8-byte MIC.
if !BT_MESH_V1d1
config BT_MESH_TX_SEG_RETRANS_COUNT
int "Transport message segment retransmit attempts"
default 4
range 1 8
help
Maximum number of transport message segment retransmit attempts
for outgoing segment message.
config BT_MESH_TX_SEG_RETRANS_TIMEOUT_UNICAST
int "Transport message segment retransmit interval for unicast messages"
default 400
range 200 500
help
Maximum time of retransmit segment message to unicast address.
config BT_MESH_TX_SEG_RETRANS_TIMEOUT_GROUP
int "Transport message segment retransmit interval for group messages"
default 50
range 20 200
help
Maximum time of retransmit segment message to group address.
config BT_MESH_SEG_ACK_BASE_TIMEOUT
int "SegAck transmission base timeout"
default 150
range 150 400
help
Defines a base timeout for the acknowledgment timer used to delay
transmission of the Segmented Acknowledgment message.
config BT_MESH_SEG_ACK_PER_HOP_TIMEOUT
int "SegAck transmission timeout per hop"
default 50
range 50 250
help
Defines an additional per-hop timeout for the acknowledgment timer
used to delay transmission of the Segmented Acknowledgment message.
config BT_MESH_SEG_ACK_PER_SEGMENT_TIMEOUT
int "SegAck transmission timeout per segment not yet received"
default 0
range 0 100
help
Defines an additional timeout for the acknowledgment timer for every
segment not yet received.
endif # !BT_MESH_V1d1
endmenu # Transport SAR configuration
config BT_MESH_DEFAULT_TTL
@ -1112,21 +1062,13 @@ config BT_MESH_FRIEND_ADV_LATENCY
endif # BT_MESH_FRIEND
menuconfig BT_MESH_V1d1
bool "Bluetooth Mesh v1.1 support"
help
This option enables Bluetooth Mesh v1.1 support. Bluetooth Mesh v1.1
is backward compatible with v1.0.1.
config BT_MESH_ECDH_P256_CMAC_AES128_AES_CCM
bool "Support CMAC AES128 for OOB authentication" if BT_MESH_V1d1
bool "Support CMAC AES128 for OOB authentication"
depends on BT_MESH_PROV
default y
help
Enable this option to support CMAC AES128 for OOB authentication.
if BT_MESH_V1d1
config BT_MESH_ECDH_P256_HMAC_SHA256_AES_CCM
bool "Support HMAC SHA256 for OOB authentication"
depends on BT_MESH_PROV
@ -1696,8 +1638,6 @@ config BT_MESH_SAR_RX_ACK_RETRANS_COUNT
endmenu
endif # BT_MESH_V1d1
menu "Capabilities"
config BT_MESH_SUBNET_COUNT