da872f655bb180f96ca648a702c4c1c01d79f97f

The current host driver maintains a singular global mac session for the timer. In situations where the SAP timer runs in one context and P2P operates in another, the P2P GO context might unintentionally halt the timer in global mac context for SAP. Scenario:- Initially host driver created SAP at index zero, After that it created another P2P GO at index one before calling start bss api host driver was trying to stop the interface and dfs timer offload was running for SAP at index zero, As host driver never initialized cac offload for P2P GO and dfc timer is running on global mac ctx and it was trying to destroy the timer during hostapd deinit without even calling timer init. This is due to absence of checks to validate whether P2P initiated the timer. This modification ensures that the timer initiates only when not running in any session and halts only when the mac ctx and SAP context share the same vdev id. Change-Id: I77e14f660b946e8d1a815030f11ad36c14fc8bc4 CRs-Fixed: 3615156
This is CNSS WLAN Host Driver for products starting from iHelium
Описание
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%