iwlwifi: mvm: begin basic BT-Coex implementation
Send the PRIO table before the calibrations. This table tells the fw what priority to give to what (WiFi / BT) according to events. Send a hardcoded BT_COEX command to the fw to enable basic BT coexistence. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:

committed by
Johannes Berg

orang tua
fb3ceb8175
melakukan
931d416049
@@ -309,6 +309,10 @@ int iwl_run_init_mvm_ucode(struct iwl_mvm *mvm, bool read_nvm)
|
||||
goto error;
|
||||
}
|
||||
|
||||
ret = iwl_send_bt_prio_tbl(mvm);
|
||||
if (ret)
|
||||
goto error;
|
||||
|
||||
if (read_nvm) {
|
||||
/* Read nvm */
|
||||
ret = iwl_nvm_init(mvm);
|
||||
@@ -414,6 +418,14 @@ int iwl_mvm_up(struct iwl_mvm *mvm)
|
||||
if (ret)
|
||||
goto error;
|
||||
|
||||
ret = iwl_send_bt_prio_tbl(mvm);
|
||||
if (ret)
|
||||
goto error;
|
||||
|
||||
ret = iwl_send_bt_init_conf(mvm);
|
||||
if (ret)
|
||||
goto error;
|
||||
|
||||
/* Send phy db control command and then phy db calibration*/
|
||||
ret = iwl_send_phy_db_data(mvm->phy_db);
|
||||
if (ret)
|
||||
|
Reference in New Issue
Block a user