Program num tx chains for 11abg FW via pdev params. This will
help enhance power save in firmware.
Change-Id: I1f5815f2914f65928f8f3d72e53d409ecf6d1fe7
CRs-Fixed: 2056531
Currently, Host uses single wow_wake-lock for all wow
wakeup events like (auth/assoc/deauth/disassoc etc)
which raise difficulty to detect what is actual cause of
holding wake lock.
As a part of this fix, Add separate multiple wake locks
to remove wake lock overloading.
Change-Id: Iac0a6f73ac05dd3960a4ea0229190cb851808e16
CRs-Fixed: 2046511
Restart SAP(P2P_GO) only if ini parameter, sap_restart_on_ch_avoid,
is set. By default its enabled.
Change-Id: I0aee79ba2d5e0cfa8a7b0c7b1901c61614944338
CRs-Fixed: 2023854
Presently, in cds_open() error handling, cds_sched_open is invoked only
in UNINTIALIZED or recovery state but same is not checked while invoking
cds_sched_close.
Invoke cds_sched_close only if driver is in UNITIALIZED state or WLAN
driver recovery is in progress.
Change-Id: I17e2cbe8f859cab4bc12d1a52a583833fb125ada
CRs-Fixed: 2010802
Presently, STOP Driver command is not handled in driver
as interface down will takes care to close the modules
if there are no more interfaces up. But when framework
issues this command, it's going to bad state as driver
returns failure.
To mitigate this issue return SUCCESS for STOP DRIVER command.
Change-Id: I47e6898109a35e3194c18645c932c5b2cf5a73c8
CRs-Fixed: 2006563
In some scenarios like, driver rmmod or on terminating hostapd or
on terminating dataservice process, driver receives directly STOP_AP
indication without DEl_STA indication from upper-layer, leading to
cleanup of stations connected to SAP won’t happen within driver.
To mitigate this issue call DEL_STA within driver on receiving
STOP_AP indication.
Change-Id: I7050f1788c1fa9a9ede190874a5d494f896abfff
CRs-Fixed: 2010222
Presently, on receiving new MC address list, Host is just updating
MC address list and sending same to FW, without clearing previously
configured MC address list. This may lead to MC address list not to
be cleanly configured in FW.
Before configuring new address, clear previously configured MC
address list.
Change-Id: Ia0c79099d248c3d992b9fa420d46c1464229b03a
CRs-Fixed: 2009368
This reverts commit e21734860079b0a8bf9f3158a2bf1fbcc09d0855, because
it fails WPS_PIN certification test. Some ref-STA connect to SAP
without WPS IEs and any security IEs when test this case, but this case
can still pass if accept this Association Request.
Change-Id: I037752a78a72730f88569c2cf222da7e0cf6e085
CRs-Fixed: 2070525
The McastBcastFilter configuration item is not being used, and support
is being dropped from the driver. Remove the McastBcastFilter setting
feature from the driver.
Change-Id: I6fc0e48e31c01ba2df73c51b3fd9ec2a84571541
CRs-Fixed: 2045284
Currently there is no nl policy defined for vendor sub command
QCA_WLAN_VENDOR_ATTR_ROAMING_PARAM_MAX which may result in
buffer overread error.
To resolve this, add nl policy.
Change-Id: Ib5d3c34dbcec29a98766753efc4e9c4ecf748c2e
CRs-Fixed: 2054693
wlan_hdd_cfg80211_set_key_wapi() and sme_roam_set_key() prints
key information in default host logs.
Fix to remove debug logs which prints sensitive key information.
Change-Id: Ib71da962761f9b6b5fd8ba214676b649529bcaa7
CRs-Fixed: 2058305
In hdd state ctrl API buf used beyond its size.
Increase buf size to 3 to get rid of buffer over flow.
CRs-fixed: 2029584
Change-Id: Ie353d449f167bee05833841350d61dc0935786fc
Check for NULL values of peer and peer_map_addr before dereferencing.
Move the debug print statement before peer is detached and peer object
is freed.
CRs-Fixed: 1115011
Change-Id: I00d547847eed8e24a01178390b9a62be0b9b75d7
implicit conversion from enumeration type 'QDF_STATUS' to different enumeration type 'A_STATUS'
implicit conversion from enumeration type 'A_STATUS' to different enumeration type 'QDF_STATUS'
CRs-Fixed: 2063339
Change-Id: Ib96a49f40ea581127405560087354e7fa9bf46ec
SME queue is getting overflow due to IPA
stats request which gets posted at every 100ms.
Don't process IPA stats request in cds thread
context instead call wma API in the worker thread
context.
Change-Id: Id1ae20a1256ecd7ee43c2e3ebf50a14dc22e6714
CRs-Fixed: 2047462
Fix vdev_id validation at wma. Currently validation for vdev_id
which is an index to wma->interface array is off by 1.
Change-Id: I01fa048af08f76244896ae1ca4c53c61c1c60397
CRs-Fixed: 2057505
qcacld-2.0 to qcacld-3.0 Propagation.
improper validation of
QCA_WLAN_VENDOR_ATTR_EXTSCAN_BSSID_HOTLIST_PARAMS_LOST_AP_SAMPLE_SIZE
results in assigning an unchecked user-controller value.
This can lead to buffer overflow.
validate QCA_WLAN_VENDOR_ATTR_EXTSCAN_BSSID_HOTLIST_PARAMS_LOST_AP_SAMPLE_SIZE.
CRs-Fixed: 2056253
Change-Id: I7c33b6d78054672e9effbe9100c29e5604c250c6
Currently in __hdd_cfg80211_get_station_cmd there are two
attributes which are not properly validated.
Define an appropriate nla_policy and specify this policy when
invoking nla_parse().
CRs-Fixed: 2054741
Change-Id: I36e12f001b05069c8e06adb1f264392232b13bfb
qcacld-2.0 to qcacld-3.0 Propagation.
In get oui ie command API, ie pointer read out
of boundary.
Return NULL if ie length is less than oui size.
CRs-Fixed: 2053002
Change-Id: I13375d3bfa472eda25d8d6191431dd1f79bf5842
Currently even though all peer unmaps events of last associated peer are
not received, driver still goes ahead for new connection with a diffrent peer.
Now if firmware uses same peer id for new peer also this causes synchronization
issue of peer ref counts and will eventually lead of kernel panic.
Add changes to wait for last peer's all unmap events before proceeding with
new connection
CRs-Fixed: 2040627
Change-Id: I30e74d9bebe66fec55d7682d3cec581a078f5e75
Currently in case of HDD interface change timeout call back
disabling of IPA WDI pipes is not handled and only disconnect
is called. As a result disconnect fails because IPA driver
expects suspend and disable before disconnect. In this change
disable IPA pipes before doing disconnect.
Change-Id: I5ddf222730d57b39ba15bd5923c22d585eb52b08
CRs-Fixed: 2047110
In case on continuous Tx failure of management packets, logs
flooding can cause watchdog timeout.
Add changes to reduce log dumping in case of transmission
failure and log every 50th packet failure
Change-Id: Ia975fb71fcd14eb6abd8c0712d9d0704d592f97b
CRs-Fixed: 2040917
Driver unload may flush VDEV delete response from FW by
calling wma_mc_discard_msg which may cause this request to not
to be removed from wma_hold_req_queue queue.
Since during unload, wma_shutdown_notifier_cb goes through
pending response queue to see what are pending requests and it
may cause kernel panic for this req since response is already flushed.
Add changes to avoid bug_on during driver unload for FW timeout
CRs-Fixed: 2046856
Change-Id: I41cba0883099799c542329075d4620343e6b9d76
When platform driver initiates wlan driver remove, driver state
is set to unloading but it is not cleared on successful driver
remove, leading unload bit to be set forever and thereby host
returns failure for all north bound requests, though driver is
loaded successfully after this scenario.
After wlan driver is removed, clear the driver unload bit, so
that on next successful driver load, host can process north
bound requests.
Change-Id: I600705b340a824bcaa524e2ed981ad35943fb5cd
CRs-Fixed: 1113037
Try to set ap-ap mode on single wifi with acs enabled,
primary ap can start up successfully, but fail to bring up
the guest ap.
The fix is to call appropriate procedure once the guest ap
skip acs scan before starting bss.
Change-Id: I106269308932dafff27f9dc0665ade06b88e99a6
CRs-Fixed: 2063960
Move the log messages to appropriate log levels so that
the console does not get a huge spam of unnecessary logs
Change-Id: Ie58b45078ad8b4732d7b84bfb77261396bd5862a
CRs-Fixed: 2043741