The btcoex code uses #if constructs to compile conditional code. There is no way to modify this behavior without editting the source. This logic is converted into regular if statements that interrogate a boolean variable in a structure known to all routines. The new form does not provide any mechanism for dynamic changes, but it now is in a form whereby module parameters could be added to select the behavior at module load time. In these patches, a number of routines removed because they were not referenced must be restored. Signed-off-by: Larry Finger <Larry.Finger@xxxxxxxxxxxx> Cc: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx> Cc: Pkshih <pkshih@xxxxxxxxxxx> Cc: Birming Chiu <birming@xxxxxxxxxxx> Cc: Shaofu <shaofu@xxxxxxxxxxx> Cc: Steven Ting <steventing@xxxxxxxxxxx> Larry Finger (4): rtlwifi: btcoex: Remove 21a 1ant configuration parameter rtlwifi: btcoex: Remove 23b 1ant configuration parameter rtlwifi: btcoex: Remove 23b 2ant configuration parameter rtlwifi: btcoex: Remove 92e 2ant configuration parameter .../realtek/rtlwifi/btcoexist/halbtc8192e2ant.c | 72 ++++++++---- .../realtek/rtlwifi/btcoexist/halbtc8192e2ant.h | 1 - .../realtek/rtlwifi/btcoexist/halbtc8723b1ant.c | 123 +++++++++++++++++---- .../realtek/rtlwifi/btcoexist/halbtc8723b1ant.h | 2 +- .../realtek/rtlwifi/btcoexist/halbtc8723b2ant.c | 84 +++++++++----- .../realtek/rtlwifi/btcoexist/halbtc8723b2ant.h | 1 - .../realtek/rtlwifi/btcoexist/halbtc8821a1ant.c | 18 +-- .../realtek/rtlwifi/btcoexist/halbtc8821a1ant.h | 2 +- .../realtek/rtlwifi/btcoexist/halbtcoutsrc.h | 5 + 9 files changed, 229 insertions(+), 79 deletions(-) -- 2.12.2