drivers icon indicating copy to clipboard operation
drivers copied to clipboard

rtl8720dn: add Rpc_tcpip_adapter_init_with_timeout()

Open sago35 opened this issue 3 years ago • 1 comments

For example, if the firmware of the RTL8720 is out of date, no response will be returned. This PR defines functions that can time out in such cases.

The reason for not updating Rpc_tcpip_adapter_init directly is that Rpc_tcpip_adapter_init is automatically generated.

sago35 avatar Aug 01 '22 08:08 sago35

An alternative to this PR would be to check the fw version before calling tcpip_adapter_init(), and error out if fw version is too old. I confirmed we can get fw version before calling tcpip_adapter_init(). Current fw version I have on my wioterminal is:

RTL8720 firmware version : 2.1.2

scottfeldman avatar Jan 11 '24 00:01 scottfeldman