Hello: Unless there are any objections I am going to make the following changes to the nimble stack in regard to controller configuration.
The main reason for the change is to move the controller configuration options out of the controller and into nimble_opt.h with the rest of the configuration options (allowing them to be set by the target). The other issue that will be addressed is the option NIMBLE_OPT_LL_MAX_PKT_SIZE and devices that cannot support this size due to HW limitations. Currently, this option dictates the supported max tx/rx octets used for connection data length pdu management. It is also intended to be used to reduce controller RAM usage although currently it affects RAM usage only slightly. The proposed changes are: * Move the configuration options out of net/nimble/controller/include/ble_ll.h and into net/nimble/include/nimble/nimble_opt.h * Encryption will now be supported by default (as opposed to being on/off by default). * Only features which affect RAM/code size will be added to nimble_opt.h; others will automatically be set by the controller. * If the LL_MAX_PKT_SIZE is set to a value greater than that allowed by HW the HW will use the maximum value it supports. Thanks