Adaptation techniques in optical wireless communications