qcacld-3.0: Make NAN high priority than TDLS in legacy platforms
Firmware handles all NAN concurrencies in the platforms which don't advertise the WMI service cabability WMI_SERVICE_NAN_DISABLE_SUPPORT. Host takes care of the NAN concurrency if the capability is advertised by firmware. But there can be some legacy targets where firmware wants to offload NAN+TDLS concurrency alone to the host and it takes care of rest of the concurrencies. This is to make NAN of higher priority and disable TDLS when NAN is active. Currently, TDLS is of more priority than NAN and it can't change the order as it can't disable TDLS to change the priority. Currently, driver doesn't parse the NAN messages(even NAN enable request) in such platforms. Parse the NAN messages and disable TDLS upon NAN enable request. Rely on NAN state machine to allow/disallow new TDLS requests. This needs NAN enable status. Change-Id: Ie9c7c1cc2f1ed6328a31b93077c2928940fc3450 CRs-Fixed: 3263730
Šī revīzija ir iekļauta:

revīziju iesūtīja
Madan Koyyalamudi

vecāks
1ecf6ce8d9
revīzija
38d541df76
@@ -35,6 +35,7 @@
|
||||
#include "cfg_nan.h"
|
||||
#include "wlan_mlme_api.h"
|
||||
#include "cfg_nan_api.h"
|
||||
#include "wlan_tdls_ucfg_api.h"
|
||||
|
||||
struct wlan_objmgr_psoc;
|
||||
struct wlan_objmgr_vdev;
|
||||
@@ -880,8 +881,16 @@ post_msg:
|
||||
if (req_type == NAN_ENABLE_REQ) {
|
||||
nan_set_discovery_state(psoc,
|
||||
NAN_DISC_DISABLED);
|
||||
policy_mgr_check_n_start_opportunistic_timer(
|
||||
psoc);
|
||||
if (ucfg_is_nan_dbs_supported(psoc))
|
||||
policy_mgr_check_n_start_opportunistic_timer(psoc);
|
||||
|
||||
/*
|
||||
* If FW respond with NAN enable failure, then
|
||||
* TDLS should be enable again if there is TDLS
|
||||
* connection exist earlier.
|
||||
* decrement the active TDLS session.
|
||||
*/
|
||||
ucfg_tdls_notify_connect_failure(psoc);
|
||||
} else if (req_type == NAN_DISABLE_REQ) {
|
||||
nan_disable_cleanup(psoc);
|
||||
}
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user