91dbd69b0eed119b7c432443f8390aa0b828b87b

Currently driver invokes regulatory callbacks after pdev create and from reg cc event processing. In case of restart of the driver because of SSR or idle restart, driver ignores the default country and sets the user set country which was there before SSR or idle shutdown. Now driver continues restart and creates pdev. During pdev creation it propagates reg rules from psoc to pdev which was there in psoc before shutdown and after pdev creation it invokes the regulatory callbacks, as part of this hdd dynamic callback is invoked and it tries to schedule the regulatory work. Since idle restart is a vdev operation so driver is not able to schedule the work as it does not get the dsc op and it waits for 500 ms to reschedule the work. In this 500ms time driver gets the response of the set country command which was sent to fw to set user country. This command also invokes the hdd dynamic callback and regulatory work gets scheduled and scan channel list command is sent to fw. Now if any scan is going on in the FW and after 500ms if first work gets rescheduled, it again sends the scan channel list to fw which cancels the ongoing scan. To address issue, add a change to not invoke regulatory callbacks from pdev creation if user country set is pending. Change-Id: I5686163644409ef19507c19ae31f7f1e7892931f CRs-Fixed: 3054603
This is CNSS WLAN Host Driver for products starting from iHelium
Açıklama
Dil
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%