Skip to contentSkip to conversation

ath9k driver failure requiring power cycle?

ath9k-devel Daniel Weinlader 3 participants 4 messages May 6, 2011 – May 9, 2011

lore
Share & tools
lore
#0 lore raw

I am planning on using an SR-71E (AR9280) radio with the ath9k driver in an embedded device and was wondering if I might encounter a failure mode that requires power cycling the radio? Has anyone ever encountered a such failure that a reboot just would not fix?

I can programmatically bring the interface down and back up again, and even reboot the machine, but power cycling it would be a bit more problematic. But I would rather find out now if it is required, than when it is in the field.

Regards,

Dan

#1 lore raw

I've not come across it before. But you could in theory do a complete chip reset? Or even put the chip completely to sleep (MAC + BB + radio) and wake it up?

What do others think?

Adrian

Quoted 18 lines · Daniel Weinlader

I am planning on using an SR-71E (AR9280) radio with the ath9k driver in an embedded device and was wondering if I might encounter a failure mode that requires power cycling the radio? Has anyone ever encountered a such failure that a reboot just would not fix?

I can programmatically bring the interface down and back up again, and even reboot the machine, but power cycling it would be a bit more problematic. But I would rather find out now if it is required, than when it is in the field.

Regards,

Dan
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#2 lore raw
Quoted 5 lines · Adrian Chadd

I've not come across it before. But you could in theory do a complete chip reset? Or even put the chip completely to sleep (MAC + BB + radio) and wake it up?

What do others think?

Thanks for the response Adrian. Can a full chip reset be done from user land?

Regards,

Dan

Quoted 23 lines

Adrian

Quoted 18 lines · Daniel Weinlader

I am planning on using an SR-71E (AR9280) radio with the ath9k driver in an embedded device and was wondering if I might encounter a failure mode that requires power cycling the radio? Has anyone ever encountered a such failure that a reboot just would not fix?

I can programmatically bring the interface down and back up again, and even reboot the machine, but power cycling it would be a bit more problematic. But I would rather find out now if it is required, than when it is in the field.

Regards,

Dan
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

#3 lore raw
Quoted 9 lines · Daniel Weinlader
Quoted 5 lines · Adrian Chadd

I've not come across it before. But you could in theory do a complete chip reset? Or even put the chip completely to sleep (MAC + BB + radio) and wake it up?

What do others think?

Thanks for the response Adrian. Can a full chip reset be done from user land?

AFAIK i dont think its possible(is there are some reset switch?) but in the driver code please look for this functions in hw.c
int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
struct ath9k_hw_cal_data *caldata, bool bChannelChange)
static bool ath9k_hw_chip_reset(struct ath_hw *ah,
struct ath9k_channel *chan)

'ath9k_hw_reset' calls 'ath9k_hw_chip_reset'

Quoted 34 lines

Regards,

Dan

Quoted 23 lines

Adrian

Quoted 18 lines · On 6 May 2011 19:01, Daniel Weinlader<[email protected]> ?wrote:

I am planning on using an SR-71E (AR9280) radio with the ath9k driver in an embedded device and was wondering if I might encounter a failure mode that requires power cycling the radio? Has anyone ever encountered a such failure that a reboot just would not fix?

I can programmatically bring the interface down and back up again, and even reboot the machine, but power cycling it would be a bit more problematic. But I would rather find out now if it is required, than when it is in the field.

Regards,

Dan
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel