- 30 Apr, 2018 13 commits
-
-
Vinayak Kariappa Chettimada authored
Fix the controller implementation to handle Control PDUs with invalid lengths by responding with Unknown Response PDU. Fixes LL.TS.5.0.2 conformance tests: LL/PAC/SLA/BI-01-C [Control PDUs with Invalid Length from Master] LL/PAC/MAS/BI-01-C [Control PDUs with Invalid Length from Slave] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Add missing PDU struct definitions in pdu.h file. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fix HCI LE Set PHY command for invalid behavior testing for invalid parameters and unsupported features. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fix generation of redundant length update event when no change in effective octets or time. Fixes LL.TS.5.0.2 conformance tests: LL/CON/MAS/BV-73-C [Master Data Length Update - Responding to Data Length Update Procedure; LE 1M PHY] LL/CON/MAS/BV-74-C [Master Data Length Update - Initiating Data Length Update Procedure; LE 1M PHY] LL/CON/MAS/BV-76-C [Master Data Length Update - Responding to Data Length Update Procedure; LE 2M PHY] LL/CON/MAS/BV-77-C [Master Data Length Update - Initiating Data Length Update Procedure; LE 2M PHY] LL/CON/SLA/BV-77-C [Slave Data Length Update - Responding to Data Length Update Procedure; LE 1M PHY] LL/CON/SLA/BV-78-C [Slave Data Length Update - Initiating Data Length Update Procedure; LE 1M PHY] LL/CON/SLA/BV-80-C [Slave Data Length Update - Responding to Data Length Update Procedure; LE 2M PHY] LL/CON/SLA/BV-81-C [Slave Data Length Update - Initiating Data Length Update Procedure; LE 2M PHY] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fixed implementation to use Connection Parameter Request Procedure Preferred Periodicity value in calculating the new connection interval used by the master role in Connection Update Indication. Fixes LL.TS.5.0.2 conformance tests: LL/CON/MAS/BV-32-C [Accepting Connection Parameter Request - Preferred_Periodicity] LL/CON/MAS/BV-33-C [Accepting Connection Parameter Request - Preferred_Periodicity and preferred anchor points] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fix controller implementation to restrict HCI LE Set Random Address command when advertising and/or active scanning and/or initiator state is enable. Fixes LL.TS.5.0.2 conformance tests: LL/CON/INI/BV-01-C [Connection Initiation] LL/SEC/ADV/BV-01-C [Advertising With Static Address] LL/SEC/SCN/BV-01-C [Random Address Scanning] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fix implementation to support Connection Parameter Request Procedure initiation with and without use of Feature Exchange Procedure being performed in a connection. Fixes LL.TS.5.0.2 conformance tests: LL/CON/MAS/BV-81-C [Initiating Connection Parameter Request - Unsupported Without Feature Exchange] LL/CON/MAS/BV-82-C [Initiating Connection Parameter Request - Unsupported With Feature Exchange] LL/CON/SLA/BV-85-C [Initiating Connection Parameter Request - Unsupported Without Feature Exchange] LL/CON/SLA/BV-86-C [Initiating Connection Parameter Request - Unsupported With Feature Exchange] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fix controller implementation to only restrict HCI LE Set Random Address command when advertising and/or active scanning is enable. Continues to pass the following LL.TS.5.0.2 conformance test: LL/SEC/SCN/BV-01-C [Random Address Scanning] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fixed implementation to disallow setting Bluetooth device address under active advertising or scanning states. Fixes LL.TS.5.0.2 conformance tests: LL/CON/INI/BV-01-C [Connection Initiation] LL/SEC/ADV/BV-01-C [Advertising With Static Address] LL/SEC/SCN/BV-01-C [Random Address Scanning] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fixes a bug where in Connection Parameter Request was initiated by slave role while Encryption Setup had been started by the peer master. Fixes: #5823 Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fixed the check related to initiating connection parameter request procedure. This will avoid sending invalid repeated dispatch of connection parameter request PDU. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
When connection parameter request procedure was responded by master role with Unsupported Link Layer Parameter Value, a missing reset of the connection parameter request procedure state caused next connection parameter request to be incorrectly responded with same procedure collision extended reject ind PDU. This caused an eventual connection disconnection with reason LMP response timeout. This is now fixed by reseting the state correctly. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fixes the following compile error when CONFIG_BT_CTLR_LE_ENC is disabled: subsys/bluetooth/controller/ll_sw/ctrl.c: In function 'isr_rx_conn_pkt_ctrl': subsys/bluetooth/controller/ll_sw/ctrl.c:2613:29: error: 'LLCP_ENCRYPTION' undeclared (first use in this function) (conn->llcp_type != LLCP_ENCRYPTION)) || ^~~~~~~~~~~~~~~ Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
- 19 Nov, 2017 3 commits
-
-
Anas Nashif authored
Signify if the documentation is for a release or if it is the development version from master. Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Anas Nashif authored
Signed-off-by:
Anas Nashif <anas.nashif@intel.com>
-
Carles Cufi authored
Release notes for the following Zephyr kernel versions: * 1.9.1 * 1.9.2 Signed-off-by:
Carles Cufi <carles.cufi@nordicsemi.no>
-
- 02 Nov, 2017 2 commits
-
-
Vinayak Kariappa Chettimada authored
Fixes the following conformance test regression failure introduced in commit 7dd5fbee ("Bluetooth: controller: Fix MIC error due to parallel Enc Proc") TP/CON/MAS/BV-28-C [Initiating Connection Parameter Request different procedure collision encryption] Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Fix to disallow initiating LE Start Encryption while another procedure is in progress. Similarly, disallow initiating another procedure while Encryption procedure is in progress. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
- 30 Oct, 2017 3 commits
-
-
Vinayak Kariappa Chettimada authored
Fix the controller Kconfig to enable use of fast radio ramp up by default, hence enabling support for Asym PHY updates by default on nRF52 Series SoCs. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Replace all controller asserts in control procedure responses that checked for buffer availability with an implementation that nacks request PDUs if there are no buffer to prepare response PDUs. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
Vinayak Kariappa Chettimada authored
Remove an assert on receiving invalid LL id, drop these invalid PDUs. Signed-off-by:
Vinayak Kariappa Chettimada <vich@nordicsemi.no>
-
- 19 Oct, 2017 19 commits
-
-
Johan Hedberg authored
The feature bits for Proxy and Friend were missing in the composition data and heart beat messages. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Steve Brown authored
Both count and period must be non-zero for message publication Stop publication when count becomes zero Add count to debug message in hb_publish Signed-off-by:
Steve Brown <sbrown@cortland.com>
-
Johan Hedberg authored
Mesh Profile Specification v1.0, 4.4.1.2.8: "When an element receives a Config Model Subscription Add message or a Config Model Subscription Virtual Address Add message that is not successfully processed (i.e., it results in an error condition listed in Table 4.113), it shall respond with the Config Model Subscription Status message, setting its fields to the values of the corresponding fields (i.e., the identically named fields) of the incoming message and setting the Status field to a status code (defined in Table 4.113), and setting all other fields to 0." The same applies to other Model Subscription messages. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
The local_queue was never being initialized. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
The needed code for taking updated app keys into use and revoking the old ones was missing. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
Proxy configuration messages are allowed (in fact required) to use unassigned addresses, so they should be exempt from this check. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
The test failure may be e.g. because of an unknown company id, and in that case the spec expects us to ignore the message. With this patch it should be possible to pass MESH/SR/HM/RFS/BI-01-C. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
A previous patch which moved dispatching the health publish callback to a later moment introduced a regression where the period divider does not get updated when it should. In fact, having the divider as part of the Health Server context is redundant, since the same information is already stored generically in the model publication context. Switching to using the model publication context makes things simpler and ensures that the value is always up-to-date. With this patch it is possible to pass MESH/SR/HM/CFS/BV-02-C. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
We should ignore invalid addresses (helps pass MESH/NODE/CFG/LPNPT/BI-01-C). Also fix a copy-paste issue in an error log. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
Set the value clearly to 0 instead of letting the old expiry time stay around. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
The values all need to be zeroed when heartbeat subscription is disabled. This makes it possible to pass MESH/NODE/CFG/HBS/BV-01-C. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
There was a missing adjustment to buf->len after fetching the faults from the app. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
This was a copy-paste mistake. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
From section 3.4.5.3 in the Mesh Profile Specification 1.0: "A node shall implement a Local Network Interface." Removing the Kconfig option also helps clean up quite a lot of code. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
The bt_mesh_net_relay() function needs to allow TTL <= 1 for the local network interface since that's the code path that locally originated outgoing packets take. Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
Mesh Profile Specification v1.0, 5.3.3: "On the PB-ADV bearer, when the receiver has received all segments of a transaction, the receiver shall calculate the FCS for the received Provisioning PDU, and if it matches the FCS field in the Transaction Start PDU, it shall send a Transaction Acknowledgment PDU after a random delay between 20 and 50 milliseconds." Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-
Johan Hedberg authored
The Mesh specification recommends defaulting to the company ID in the composition data when no other ID is relevant (e.g. in error cases or if the app has not provided a callback). Signed-off-by:
Johan Hedberg <johan.hedberg@intel.com>
-