diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/coex.c')
| -rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/coex.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/coex.c b/drivers/net/wireless/iwlwifi/mvm/coex.c index 685f7e8e6943..fa858d548d13 100644 --- a/drivers/net/wireless/iwlwifi/mvm/coex.c +++ b/drivers/net/wireless/iwlwifi/mvm/coex.c | |||
| @@ -190,7 +190,7 @@ static const __le32 iwl_combined_lookup[BT_COEX_MAX_LUT][BT_COEX_LUT_SIZE] = { | |||
| 190 | cpu_to_le32(0xcc00aaaa), | 190 | cpu_to_le32(0xcc00aaaa), |
| 191 | cpu_to_le32(0x0000aaaa), | 191 | cpu_to_le32(0x0000aaaa), |
| 192 | cpu_to_le32(0xc0004000), | 192 | cpu_to_le32(0xc0004000), |
| 193 | cpu_to_le32(0x00000000), | 193 | cpu_to_le32(0x00004000), |
| 194 | cpu_to_le32(0xf0005000), | 194 | cpu_to_le32(0xf0005000), |
| 195 | cpu_to_le32(0xf0005000), | 195 | cpu_to_le32(0xf0005000), |
| 196 | }, | 196 | }, |
| @@ -213,16 +213,16 @@ static const __le32 iwl_combined_lookup[BT_COEX_MAX_LUT][BT_COEX_LUT_SIZE] = { | |||
| 213 | /* Tx Tx disabled */ | 213 | /* Tx Tx disabled */ |
| 214 | cpu_to_le32(0xaaaaaaaa), | 214 | cpu_to_le32(0xaaaaaaaa), |
| 215 | cpu_to_le32(0xaaaaaaaa), | 215 | cpu_to_le32(0xaaaaaaaa), |
| 216 | cpu_to_le32(0xaaaaaaaa), | 216 | cpu_to_le32(0xeeaaaaaa), |
| 217 | cpu_to_le32(0xaaaaaaaa), | 217 | cpu_to_le32(0xaaaaaaaa), |
| 218 | cpu_to_le32(0xcc00ff28), | 218 | cpu_to_le32(0xcc00ff28), |
| 219 | cpu_to_le32(0x0000aaaa), | 219 | cpu_to_le32(0x0000aaaa), |
| 220 | cpu_to_le32(0xcc00aaaa), | 220 | cpu_to_le32(0xcc00aaaa), |
| 221 | cpu_to_le32(0x0000aaaa), | 221 | cpu_to_le32(0x0000aaaa), |
| 222 | cpu_to_le32(0xC0004000), | 222 | cpu_to_le32(0xc0004000), |
| 223 | cpu_to_le32(0xC0004000), | 223 | cpu_to_le32(0xc0004000), |
| 224 | cpu_to_le32(0xF0005000), | 224 | cpu_to_le32(0xf0005000), |
| 225 | cpu_to_le32(0xF0005000), | 225 | cpu_to_le32(0xf0005000), |
| 226 | }, | 226 | }, |
| 227 | }; | 227 | }; |
| 228 | 228 | ||
| @@ -1262,6 +1262,7 @@ int iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm, | |||
| 1262 | struct iwl_rx_packet *pkt = rxb_addr(rxb); | 1262 | struct iwl_rx_packet *pkt = rxb_addr(rxb); |
| 1263 | u32 ant_isolation = le32_to_cpup((void *)pkt->data); | 1263 | u32 ant_isolation = le32_to_cpup((void *)pkt->data); |
| 1264 | u8 __maybe_unused lower_bound, upper_bound; | 1264 | u8 __maybe_unused lower_bound, upper_bound; |
| 1265 | int ret; | ||
| 1265 | u8 lut; | 1266 | u8 lut; |
| 1266 | 1267 | ||
| 1267 | struct iwl_bt_coex_cmd *bt_cmd; | 1268 | struct iwl_bt_coex_cmd *bt_cmd; |
| @@ -1318,5 +1319,8 @@ int iwl_mvm_rx_ant_coupling_notif(struct iwl_mvm *mvm, | |||
| 1318 | memcpy(bt_cmd->bt4_corun_lut40, antenna_coupling_ranges[lut].lut20, | 1319 | memcpy(bt_cmd->bt4_corun_lut40, antenna_coupling_ranges[lut].lut20, |
| 1319 | sizeof(bt_cmd->bt4_corun_lut40)); | 1320 | sizeof(bt_cmd->bt4_corun_lut40)); |
| 1320 | 1321 | ||
| 1321 | return 0; | 1322 | ret = iwl_mvm_send_cmd(mvm, &cmd); |
| 1323 | |||
| 1324 | kfree(bt_cmd); | ||
| 1325 | return ret; | ||
| 1322 | } | 1326 | } |
