beagleboard / linux

The official Read Only BeagleBoard and BeagleBone kernel repository https://git.beagleboard.org/beagleboard/linux
http://beagleboard.org/source
Other
725 stars 563 forks source link

net: ieee8021541: bcfserial: Increase the number of retries for hdlc #277

Open vaishnavachath opened 1 year ago

vaishnavachath commented 1 year ago

During initialization the CC1352 FW will be in a loop looking for HDLC ACK and FW response is very slow, but currently bcfserial driver expects the CC1352 to respond within 50 ms, but the CC1352 takes few 100 ms to complete this operation, thus keep the retry count to a high value so that the probe failure does not happen due to failling the bcfserial_get_device_capabilities() call.This is a one-time setup delay during probe() and does not affect performance.

Signed-off-by: Vaishnav Achath vaishnav.a@ti.com