Restructure hci_core.h and hci_core.c.