drivers: bluetooth: hci: STM32WBA cube fw 1.7.0 updates

Changes required to update STM32WBA bluetooth HCI driver
according STM32WBA Cube FW 1.7.0 version.

Signed-off-by: Alessandro Manganaro <alessandro.manganaro@st.com>
diff --git a/drivers/bluetooth/hci/hci_stm32wba.c b/drivers/bluetooth/hci/hci_stm32wba.c
index 4c18f87..77b8ee6 100644
--- a/drivers/bluetooth/hci/hci_stm32wba.c
+++ b/drivers/bluetooth/hci/hci_stm32wba.c
@@ -48,7 +48,9 @@
 			 + CFG_BLE_MBLOCK_COUNT_MARGIN)
 
 #define BLE_DYN_ALLOC_SIZE \
-	(BLE_TOTAL_BUFFER_SIZE(CFG_BLE_NUM_LINK, MBLOCK_COUNT))
+	(BLE_TOTAL_BUFFER_SIZE(CFG_BLE_NUM_LINK, \
+			       MBLOCK_COUNT, \
+			       (CFG_BLE_EATT_BEARER_PER_LINK * CFG_BLE_NUM_LINK)))
 
 /* GATT buffer size (in bytes)*/
 #define BLE_GATT_BUF_SIZE \
@@ -376,7 +378,7 @@
 
 	k_sem_take(&hci_sem, K_FOREVER);
 
-	err = receive_data(dev, data, (size_t)length - 1,
+	err = receive_data(dev, data, (size_t)length,
 			   ext_data, (size_t)ext_length);
 
 	k_sem_give(&hci_sem);
diff --git a/west.yml b/west.yml
index 896ec24..bc3decb 100644
--- a/west.yml
+++ b/west.yml
@@ -250,7 +250,7 @@
       groups:
         - hal
     - name: hal_stm32
-      revision: ec75ca23c6610c26ecc91250c2585c7ccf31f51e
+      revision: 5d27023564c9fbd9bb3aa51b0529ac3d2cf18134
       path: modules/hal/stm32
       groups:
         - hal