|
@@ -4143,6 +4143,11 @@ static int hdd_configure_chain_mask(struct hdd_adapter *adapter)
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
+ if (hdd_ctx->lte_coex_ant_share) {
|
|
|
+ hdd_info("lte ant sharing enabled. skip chainmask programming");
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+
|
|
|
if (hdd_ctx->config->txchainmask1x1) {
|
|
|
ret_val = sme_cli_set_command(adapter->session_id,
|
|
|
WMI_PDEV_PARAM_TX_CHAIN_MASK,
|
|
@@ -4161,11 +4166,6 @@ static int hdd_configure_chain_mask(struct hdd_adapter *adapter)
|
|
|
goto error;
|
|
|
}
|
|
|
|
|
|
- if (hdd_ctx->lte_coex_ant_share) {
|
|
|
- hdd_info("lte ant sharing enabled. skip per band chain mask");
|
|
|
- return 0;
|
|
|
- }
|
|
|
-
|
|
|
if (hdd_ctx->config->txchainmask1x1 ||
|
|
|
hdd_ctx->config->rxchainmask1x1) {
|
|
|
hdd_info("band agnostic tx/rx chain mask set. skip per band chain mask");
|