Split logic that prepares the device for BMI
phase/cleans up related resources.
This is necessary for ath10k to be able to restart
hw on the fly without reloading the module.
Signed-off-by: Michal Kazior
---
drivers/net/wireless/ath/ath10k/hif.h | 20 ++
drivers/net/wireless/ath/ath10k/pc
Michal Kazior writes:
> Split logic that prepares the device for BMI
> phase/cleans up related resources.
>
> This is necessary for ath10k to be able to restart
> hw on the fly without reloading the module.
>
> Signed-off-by: Michal Kazior
Few comments:
> --- a/drivers/net/wireless/ath/ath10k/
On 13/06/13 20:09, Kalle Valo wrote:
> So when booting the firwmware we call:
>
> hif_power_up()
> hif_start()
>
> and when we want to kill the firmware we do:
>
> hif_stop()
> hif_power_down()
>
> [...]
You're right. I'll fix that.
> I noticed ath10k_pci_ce_init() also allocs host memory etc. I
Michal Kazior writes:
>> I noticed ath10k_pci_ce_init() also allocs host memory etc. If possible,
>> in the future we might want to refactor the function into two:
>> ath10k_pci_ce_init() and ath10k_pci_ce_start(). And the former would be
>> called only from ath10k_pci_probe(). That way we would