After control path scheduler componentization CDS message queue
APIs are no longer used hence replace CDS mq APIs in HDD by
scheduler mq APIs.
Change-Id: I378c3354a66552e9c796befcd39b461980b93b27
CRs-Fixed: 1110497
After control path scheduler componentization CDS message queue
init/deinit APIs are no longer used hence remove them.
Change-Id: I65c14872bf20412eb1014deac0172f2bfacc0f0f
CRs-Fixed: 1111033
Do not upgrade SAP to 11AC due to gAP11ACOverride ini setting when
channel width is sub 20 MHz. Sub 20 MHz channel width operation is
not compatible with VHT rates.
Change-Id: I515cc60dbd3f76994f1288f9380618ee13ea1a23
CRs-Fixed: 1107601
This is qcacld-2.0 to qcacld-3.0 propagation.
Implement NAN Datapath security changes. This mainly involves:
1) Getting CSID and PMK parameters from user layers and passing down
to firmware.
2) Passing CSID and SCID parameter received from firmware to user layers.
Change-Id: I25c85944abf4206f40b73f86996e9425c22df66a
CRs-Fixed: 1095382
Parameter channel is not a mandatory argument for NDP requerst.
1) Do not fail NDP request if channel parameter is not present.
2) Add channel config parameter in NDP_Initiator_Request, which
indicates if channel provided is optional, force or not provided
at all.
Change-Id: I4d8dc4b3104cfe36c4bb1fdd0d44da5c6406d6b7
CRs-Fixed: 1079900
Issue has been identified in wlan_hdd_cfg80211_start_bss API where it is
trying to access ssid pointer before validating against NULL
which may result in system crash.
CRs-Fixed: 1110969
Change-Id: Ib70b9ed3bf7745aecfc9b2b2030a5fcc11c113b6
for policy manager component, unit test framework has been created.
this unit test framework can be enabled or disabled through Kbuild
flag. As policy manager is matured, unit test framework needs to
be disabled.
While disabling unit test framework, couple of compilation errors have
been observed. Fix those compilation errors.
Change-Id: I2a3ee57cc082e5ebc598f0aea2d05f31fb878732
CRs-Fixed: 1110876
In LFR, wlan_hdd_tdls_notify_disconnect() will decrement TDLS
state count and increment it again. Thus, while associating
with new BSS, the TDLS connection does not happen.
Fix is not to increment TDLS state count again while association
occurs in LFR.
Change-Id: I219252265f1fecea09e9e3383209d2328102cde1
CRs-Fixed: 1111816
In LFR, there is no disconnection event, thus the TDLS state
count does not get decremented. Thus, while associating with
new BSS, the TDLS connection does not happen.
Fix is to decrement TDLS state count while association occurs
in LFR.
Change-Id: I1b90174b6bc25bb701ffc83a85453d8edd586738
CRs-Fixed: 1104369
Fix to add TSO magic cookie and freelist flag to last tso element during
ol_tso_seg_list_init() to avoid any crash during WIFI OFF.
CRs-Fixed: 1111760
Change-Id: I4504a7f4e9ecfe99337a4f544bc2d3cc8a8c3a27
Add a field in qdf_tso_seg_t. This cookie helps to check
double memory free or memory corruption case.
When double mem free hits, it will result into QDF_BUG.
Change-Id: I3c60f2603bce23b47224ae9a5d88881c2fbb8e01
CRs-Fixed: 1102423
Currently sap_add_mac_to_acl() function has incorrect validation check,
size of MacList will be always zero if no elements added to the list.
Validating size always be greater than zero will prevent adding first
element itself. There by breaking whole ACL functionality.
To fix this, remove ‘*size == 0’ condition in validation code.
Change-Id: Ic3e51db798a996870ef65cda0eddfd1ec738d290
CRs-Fixed: 1104152
qcacld-2.0 to qcacld-3.0 propagation.
Don't Tag Non-WoW packets as Runtime PM packets after
wow suspend. Some WMI Commands can be send in Runtime
PM context and MC thread context. Packets coming via
MC Thread Context can be tagged as Runtime PM packets
when runtime pm in progress.
Packets should be tagged in the same caller context to
avoid any race condition. Being stability issue, addressing
this issue by not tagging any non-wow commands as runtime pm
after wow suspend. This will ensure all the non-wow packets
coming after wow_suspend flag is set as non runtime pm packets
and will trigger a runtime resume.
Git-commit: 4a396d80c5cc2ded75098c61426521b9b2762c17
Git-commit: 2ee4bf4791cc5db30ec03eceaf591367deffe39a
CRs-Fixed: 1106513
Change-Id: Ic83fedd645a86d48feecf54c407bb46a9afda24b
If hdd connect api fails it returns QDF status to supplicant.
Supplicant does not like positive error code and expects mode
data from driver and in absence of more data from driver it
triggers driver unload.
Add fix to convert qdf status to native os status before returning
error code to user space.
Change-Id: I375189bcf6b2974901b29a38cf33d0f0f2319a1b
CRs-Fixed: 1111393
qcacld-2.0 to qcacld-3.0 propagation
If SAP band is 2.4Ghz, driver will allow 5Ghz unsafe channels
in station scan list for connection / roaming.
And if SAP band is 5Ghz, We will allow 2.4Ghz unsafe channels
in station scan list for connection / roaming.
Change-Id: Ia204e5cabb6d8b87def90e42d4192afd5878e6fe
CRs-Fixed: 1062202
Add vendor abort scan which takes adapter and scan
id as input. Supplicant may abort a scan if a
preferred AP or P2P peer device is found.
Change-Id: Ia9cbf4bb38d2111b1fcf42a1e1f51d1049f5a9ab
CRs-Fixed: 1090800
Currently, when the set fast roam from user space fails in HDD, host
driver is not returning failure status. This causes timeout in user
space awaiting more data from driver eventually leading to supplicant
driver connection loss and wifi disabling and re-enabling.
Return failure status when the set fast roam command fails in HDD.
Change-Id: Id53d9fe0a2fb18fc4da4f174f6f031350dc20af2
CRs-Fixed: 1111083
-Disconnect triggered due to deauth from peer, at
the Same instance supplicant also triggered change iface
which initiated stop adapter.
-Disconnect triggered host based lost link scan and .
Stop adapter triggered vdev delete.
-VDEV delete is sent before Scan request which triggered
assert at firmware.
Cancel all the host based roaming scans as part of sme
close session handling.
Change-Id: I350b840264751615779bc20dad96723c8bf41b76
CRs-Fixed: 1107525
gThermalMitigationEnable=0 could be deleted in WCNSS_qcom_cfg.ini,
this leads gThermalMitigationEnable enable since it is enabled
by default in the code.
Change gThermalMitigationEnable default value to 0 in code.
CRs-Fixed: 1110072
Change-Id: Id02d51a4f7cb983d43d7adaa9055e82fc51c8f2f