Commit e605103c authored by Yan-Hsuan Chuang's avatar Yan-Hsuan Chuang Committed by Kalle Valo

rtlwifi: btcoex: 21a 1ant: remove setting for 2 antennas

The antenna position setting is useless for 1 antenna chip.
Signed-off-by: default avatarYan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Cc: Pkshih <pkshih@realtek.com>
Cc: Birming Chiu <birming@realtek.com>
Cc: Shaofu <shaofu@realtek.com>
Cc: Steven Ting <steventing@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent f0c40cf0
...@@ -994,9 +994,6 @@ static void btc8821a1ant_set_ant_path(struct btc_coexist *btcoexist, ...@@ -994,9 +994,6 @@ static void btc8821a1ant_set_ant_path(struct btc_coexist *btcoexist,
h2c_parameter[1] = 1; h2c_parameter[1] = 1;
btcoexist->btc_fill_h2c(btcoexist, 0x65, 2, btcoexist->btc_fill_h2c(btcoexist, 0x65, 2,
h2c_parameter); h2c_parameter);
/* Main Ant to BT for IPS case 0x4c[23] = 1 */
btcoexist->btc_write_1byte_bitmask(btcoexist, 0x64,
0x1, 0x1);
} else { } else {
/* tell firmware "no antenna inverse" /* tell firmware "no antenna inverse"
* WRONG firmware antenna control code, need fw to fix * WRONG firmware antenna control code, need fw to fix
...@@ -1005,9 +1002,6 @@ static void btc8821a1ant_set_ant_path(struct btc_coexist *btcoexist, ...@@ -1005,9 +1002,6 @@ static void btc8821a1ant_set_ant_path(struct btc_coexist *btcoexist,
h2c_parameter[1] = 1; h2c_parameter[1] = 1;
btcoexist->btc_fill_h2c(btcoexist, 0x65, 2, btcoexist->btc_fill_h2c(btcoexist, 0x65, 2,
h2c_parameter); h2c_parameter);
/* Aux Ant to BT for IPS case 0x4c[23] = 1 */
btcoexist->btc_write_1byte_bitmask(btcoexist, 0x64,
0x1, 0x0);
} }
} else if (wifi_off) { } else if (wifi_off) {
/* 0x4c[24:23] = 00, Set Antenna control /* 0x4c[24:23] = 00, Set Antenna control
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment