Dear Daniel, Please try to comment the following code in wifi driver halbtc8723b2ant_action_bt_inquiry() /* coex_dm->need_recover0x948 = true; coex_dm->backup0x948 = btcoexist->btc_read_4byte(btcoexist, 0x948); halbtc8723b2ant_set_ant_path(btcoexist, BTC_ANT_WIFI_AT_AUX, false, false); */ -----邮件原件----- 发件人: 陈艳萍 发送时间: 2015年5月13日 10:37 收件人: 'Daniel Drake' 抄送: Larry Finger; Carlo Caione; Linux Bluetooth mailing list; shaofu@xxxxxxxxxxx > shaofu; 张志祥; 陆朱伟; Chih-Hsiang Wang; 毛为锋 主题: 答复: 答复: Realtek USB bluetooth: no scan results when wifi is connected Dear Daniel, For 8723BU, always use CONFIG_S0_ANTTENA; For 8723BE , 1 antenna CONFIG_S1_ANTTENA; 2 antennas CONFIG_S0_ANTTENA Dear shaofu, Would you please help to check with halbtc8723b2ant.c btcoexist driver? -----邮件原件----- 发件人: Daniel Drake [mailto:drake@xxxxxxxxxxxx] 发送时间: 2015年5月12日 20:53 收件人: 陈艳萍 抄送: Larry Finger; Carlo Caione; Linux Bluetooth mailing list; shaofu@xxxxxxxxxxx > shaofu; 张志祥; 陆朱伟; Chih-Hsiang Wang; 毛为锋 主题: Re: 答复: Realtek USB bluetooth: no scan results when wifi is connected Hi Champion, Thanks for the suggestion. On Mon, May 11, 2015 at 8:54 PM, 陈艳萍 <champion_chen@xxxxxxxxxxxxxx> wrote: > Dear Daniel, > For some reason, 8723B chip with single antenna and 2 antennas have different settings and this can only be modified manually. > BT driver will set controller to use S0 when use 2 antennas. > In my submitted driver , there are following codes to add the config settings at the end of firmware to be downloaded. > Would you please try to add these codes and test again? > > /*for 8723B,use S0 Anttena for bluetooth*/ > if(lmp_version==ROM_LMP_8723B) > { > memcpy(*buf+patch_entry->patch_length,RTK_CONFIG_SIGNATURE,6); > if (USE_S0_ANTTENA) > memcpy(*buf+patch_entry->patch_length+6,CONFIG_S0_ANTTENA,4); > else > memcpy(*buf+patch_entry->patch_length+6,CONFIG_S1_ANTTENA,4); > *buf_len += 10; > BT_DBG("USE_S0_ANTTENA"); > } Yes, I saw this code already and experimented with it. It didn't seem to make any difference. I'll try again though, which configuration should I use, CONFIG_S0_ANTTENA or CONFIG_S1_ANTTENA? By only connecting one antenna at a time, I was able to see that bluetooth happily uses either one. I have a feeling that the preference you write above is overridden by code in the halbtc8723b2ant.c btcoexist driver. Daniel ��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�