Commit Graph

17801 Commits

Author SHA1 Message Date
nshrivas
dbcaef0ec1 Release 5.2.0.192B
Release 5.2.0.192B

Change-Id: I406ad3e3d97052b78f2d86ef46582d50cd046656
CRs-Fixed: 774533
2020-06-29 19:15:48 -07:00
Abhinav Kumar
7d3c309952 qcacld-3.0: Allow the driver to process multiple measurement req
As per requirement, the driver should able to process up to
MAX_MEASUREMENT_REQUEST (5) measurement request in a single
beacon report request.

Update driver logic to process up to 5 measurement request and
make sure the driver should not issue rrm scan for the duplicate
channel.

Change-Id: Iea3be8a0efef605852ac6b6b54dd06774ac0adac
CRs-Fixed: 2712112
2020-06-29 19:15:48 -07:00
Abhinav Kumar
8ece9b14c2 qcacld-3.0: Change the size of Measurement Request IE
To process up to 5 Measurement Request in a single beacon
report request, modify the size of Measurement Request IE
to 5.

Change-Id: I87025ce12886cc3129b01de6eb48b45e85babe9a
CRs-Fixed: 2712109
2020-06-29 19:15:44 -07:00
Abhishek Ambure
e5b5a03aeb qcacld-3.0: Add support for sae auth retry
Host retransmits WPA3 SAE authentication frames after 1 second
if there is no response for previous auth frames from AP.
Host keep retransmitting SAE auth frames for max WLAN_SAE_AUTH_RETRY
times.

Change-Id: I1be0bd5354586518781876646b063592e667b0bb
CRs-Fixed: 2716719
2020-06-29 19:15:40 -07:00
Vevek Venkatesan
e28544d9ee qcacld-3.0: initialize peer hang_data in recovery_notifier_cb
Initialize peer_hang_data in  ol_peer_recovery_notifier_cb.

Change-Id: I04d819ba9048b1877dadd4d0678424f2e6fa5b1a
CRs-Fixed: 2719727
2020-06-29 19:15:36 -07:00
nshrivas
259db3057e Release 5.2.0.192A
Release 5.2.0.192A

Change-Id: I81c565e07aba9e4a43943df37f87611b80f31f2f
CRs-Fixed: 774533
2020-06-29 07:38:07 -07:00
Mohammed Siddiq
335ba9e938 qcacld-3.0: Add code to support modularizing ICNSS ICNSS2 and CNSS2
Add code to support modularizing ICNSS, ICNSS2 and CNSS2.

Change-Id: I696715592f6000f2a64f8940f324b699acd5fcf1
CRs-fixed: 2685412
2020-06-29 07:38:04 -07:00
nshrivas
b3188a8c78 Release 5.2.0.192
Release 5.2.0.192

Change-Id: I7280bfdd8279458b073a295b3f6f0cdfabc6b528
CRs-Fixed: 774533
2020-06-29 02:38:34 -07:00
Arun Kumar Khandavalli
793ac05021 qcacld-3.0: Add cfgops implementation for bitrate mask
Add the cfg80211 ops for the bitrate mask.

Previously the bitrate mask is added via the iwpriv

iwpriv wlan0 set11NRates 0x8f --> for MCS7

will be configured via below through iw

iw dev wlan0 set bitrates ht-mcs-2.4  7

Change-Id: I3415fa3f89e2af3fb3bae4c9b56c57af7da2382f
CRs-Fixed: 2699468
2020-06-29 02:38:34 -07:00
Arun Kumar Khandavalli
3d15529d3e qcacld-3.0: Defer recovery cleanup to shutdown
As part of the firmware down notification if the indication comes
in the non-interrupt context the driver flushes the idle timeout
work and purges the shutdown down notifier.

If the the idletimeout is already running, as part of the idletimeout
work the platform,mhi irq's will also be freed, if the firmware crashes
and enters the RDDM mode during this time, platform driver will notify
the host through the uevent. Since free_irq waits for all the pending
interrupts to be serviced resulting in the deadlock.

Dont flush the work for the pci bus so the interrupt could
be completed and free irq could also be unblocked.

Change-Id: I4e106ff774fa90544ba97737a87682f42f9288df
CRs-Fixed: 2720348
2020-06-28 14:15:05 +05:30
nshrivas
164a1c630f Release 5.2.0.191Z
Release 5.2.0.191Z

Change-Id: I1610190511c44a203373cb0c6e1c60c6fb0b33c0
CRs-Fixed: 774533
2020-06-27 22:45:34 -07:00
Amar Singhal
ea151c9219 qcacld-3.0: Change 6 ghz channel frequencies
Add orphan channel with center frequency 5935 to 6ghz channels. Also shift
center frequency of other channels by 10 mhz. Also change the maximum
possible frequency of 5 ghz channels.

Change-Id: Ic86fb8ded10b32871a9edf532bbc4e0889efb543
CRs-Fixed: 2686624
2020-06-27 22:45:34 -07:00
nshrivas
bb32e201b2 Release 5.2.0.191Y
Release 5.2.0.191Y

Change-Id: I1a7373b6cc28ee8736c43f20c1749e334efeeae4
CRs-Fixed: 774533
2020-06-27 15:16:28 -07:00
Srinivas Girigowda
f4fbeca7d7 qcacld-3.0: Remove get_/set_ prefix from sysfs attribute name
sysfs attribute name should not have get_/set_ prefit, it should
just be attribute name.
read operation is a get and a write operation is a set.

Change-Id: I3b87424d1c5cadd836e24f39c20a8bd9ed9ef45e
CRs-Fixed: 2720000
2020-06-27 15:16:28 -07:00
nshrivas
2e78940aef Release 5.2.0.191X
Release 5.2.0.191X

Change-Id: Ibe955261923eede4c1f8d564b2c0712531633aa3
CRs-Fixed: 774533
2020-06-27 11:25:44 -07:00
Srinivas Girigowda
1175d34eaf qcacld-3.0: Return the number of bytes placed in to the buffer
When the sysfs file 'gtx_bw_mask' is read, DEVICE_ATTR 'show' callback
function is called and currently its returning 'ret' which is 0 and hence
the content of sysfs file "/sys/class/net/wlanxx/gtx_bw_mask" is empty.

Hence the fix is 'show' callback function should return the number of
bytes placed in to the buffer.

Change-Id: I44b7eda40cd2963b4be52f97b513badc48244120
CRs-Fixed: 2720141
2020-06-27 11:25:44 -07:00
nshrivas
15e711ae37 Release 5.2.0.191W
Release 5.2.0.191W

Change-Id: I3578761ed3cedd585116e068f34de3053a39b562
CRs-Fixed: 774533
2020-06-27 06:18:14 -07:00
gaurank kathpalia
6ebfc3c01b qcacld-3.0: Add AP to BLM reject list
Currently the driver calls the BLM API
to add the BSSID to the reject list if
STA kickout event comes from the FW.
Now since the event comes in interrupt
context and BLM takes a mutex lock, it
is not allowed.

Fix is to change the context
and call the BLM API from lim del sta
which would execute in scheduler
thread.

Change-Id: I3c2726ea152eeeee6ae30d80388aedac631f6c39
CRs-Fixed: 2716192
2020-06-27 06:18:10 -07:00
Lincoln Tran
2d357482b9 qcacld-3.0: Update to match scheduler_msg callback
This change corresponds to the callback updates in scheduler_msg.
Changes include:
	1. Update hdd_data_stall_process_event and its caller
	2. Update umac_stop logic to allocate buffer for callback
	   and update its caller
	3. Register beacon reporting callback as a direct function
	   call without message posting.

Change-Id: Ic07a6102ea75d8bccb57a800e9670750e98356ce
CRs-fixed: 2718977
2020-06-27 06:18:07 -07:00
Pragaspathi Thilagaraj
3bbb4610b6 qcacld-3.0: Introduce new ini for dual sta roaming
Add new ini enable_dual_sta_roam_offload to enable/disable dual
sta romaing feature. Enabling this ini will allow firmware to
roam on both the vdev if firmware supports dual sta roaming and
the hw is dbs capable.

This ini will be checked in the dual sta roaming offload state
machine to enable roaming on both the STA or to fallback to the
current implementation where first connected sta will have rso
enabled.

Change-Id: I04f141ac31e0f168b6f19fe878bca219a36cfae7
CRs-Fixed: 2709036
2020-06-27 06:18:03 -07:00
nshrivas
1f299f5e53 Release 5.2.0.191V
Release 5.2.0.191V

Change-Id: I7c140911b0d4f9910cab45cd1136aa0f0bac6ec5
CRs-Fixed: 774533
2020-06-27 03:57:33 -07:00
Srinivas Girigowda
5e5cf5996f qcacld-3.0: Replace obsolete WMA_LOGA() with wma_alert()
Replace obsolete WMA_LOGA() macro with wma_alert().
In some error cases, usage of wma_alert() is incorrect and
hence use wma_err().

Change-Id: Ife02033c4f981c31f5e6b165d5e8961e2ce1f9d8
CRs-Fixed: 2716176
2020-06-27 03:57:33 -07:00
nshrivas
a97ff00ab9 Release 5.2.0.191U
Release 5.2.0.191U

Change-Id: I0b8e32d581fcaac51bce6136b3780134fa672c2e
CRs-Fixed: 774533
2020-06-26 22:48:26 -07:00
Srikanth Marepalli
89a9eb0370 qcacld-3.0: Fix Invalid EAPOL-Key MIC packet drop issue
After the roaming is offloaded to Firmware when the GTK rekey
happens in Host proper KCK should be used to verify MIC.
In WPA2 GTK rekey is offloaded to Firmware but not in WPA3 case.
In WPA3 SuiteB Firmware sends KCK in Key material extended TLV
instead of Key material TLV in Roam sync indication event, as the
Keys length is more in WPA3 SuiteB. And the Key material ext TLV
is parsed improperly in driver and the same is sent in roam+auth
event to wpa_supplicant. This wrong KCK was used to verify MIC
received in EAPOL.
This fix is to properly parse the KCK and KEK from Key buffer.

Change-Id: I57658b918bb41de2b5d2476d89b026d1f5982337
CRs-Fixed: 2713711
2020-06-26 22:48:26 -07:00
nshrivas
8cc18408f8 Release 5.2.0.191T
Release 5.2.0.191T

Change-Id: I09f817c4eedaab282fbd63e32f4906b165ae381e
CRs-Fixed: 774533
2020-06-26 20:18:32 -07:00
Alan Chen
dfcef91465 qcacld-3.0: Add handler for new optimized_power_management attribute
Add handler for the newly created optimized_power_management attribute.

Change-Id: I09d0a328f8685484e53e17329ffe40fbbcdd568a
CRs-Fixed: 2715055
2020-06-26 20:18:32 -07:00
nshrivas
9f0a752f83 Release 5.2.0.191S
Release 5.2.0.191S

Change-Id: Ia821b4f07f9b28b823d1b1d2d817db568a1a14c9
CRs-Fixed: 774533
2020-06-26 16:48:41 -07:00
nshrivas
e93eb35325 Release 5.2.0.191R
Release 5.2.0.191R

Change-Id: I849c0df14af0f8050536324cfb9d76b7f229cb17
CRs-Fixed: 774533
2020-06-26 11:08:47 -07:00
gaurank kathpalia
67b87cbde5 qcacld-3.0: Move BSS scoring logic to connection manager
Move bss scoring logic to connection manager.

Change-Id: Ie7639853dec303133705c3394bf0577670000c21
CRs-Fixed: 2707108
2020-06-26 11:08:47 -07:00
nshrivas
f2aed55e40 Release 5.2.0.191Q
Release 5.2.0.191Q

Change-Id: Iddb56403ffba636a6160a107d429cfa52a62f482
CRs-Fixed: 774533
2020-06-26 05:37:31 -07:00
Rachit Kankane
46554fb229 qcacld-3.0: Send only PCL to supplicant
For non-DBS and no Interband MCC supported targets, send only
PCL to supplicant when number of connections are more then 0.

Change-Id: I12b1d483de55cca2d70d17d7114bdbde72c59826
CRs-Fixed: 2711485
2020-06-26 05:37:30 -07:00
Rachit Kankane
24542c328e qcacld-3.0: Set default hw mode for ready ext
Update default HW mode after selecting default hw mode
while handling service ready ext event

Change-Id: I022644554df0824d760304fe99a86295b20660b1
CRs-Fixed: 2711482
2020-06-26 05:37:28 -07:00
Rachit Kankane
b8b4431052 qcacld-3.0: Check interband MCC for STA CSA
For single-MAC and no-interband MCC scenario, don't switch
channel for STA if the new channel is creating interband-MCC
concurrent combination.

Change-Id: I6886d58dfe8a8845bcded90ab3422b5f79abbe4a
CRs-Fixed: 2711469
2020-06-26 05:37:25 -07:00
nshrivas
a20d8c02af Release 5.2.0.191P
Release 5.2.0.191P

Change-Id: I299df2eba3686cf82dc26efca29f78ad998de2a7
CRs-Fixed: 774533
2020-06-25 21:27:07 -07:00
Srinivas Girigowda
589c525f8b qcacld-3.0: Send the function return status up the call stack
hdd_wlan_clear_stats() invokes the function cdp_clear_stats(),
hdd_wlan_clear_stats() always returns 0 instead of returning the
callee return status.

Fix is to return the callee function return status up the call stack.

Change-Id: I591fb743d000463ffebd4207450de82ab7463a9c
CRs-Fixed: 2719088
2020-06-25 21:27:03 -07:00
Srinivas Girigowda
68c954548f qcacld-3.0: Replace obsolete WMA_LOGW() with wma_warn()
Replace obsolete WMA_LOGW() macro with wma_warn().

Change-Id: I4257ccf22bfa45465ffbd44a7ef5b5712ebb754f
CRs-Fixed: 2718987
2020-06-25 21:26:58 -07:00
nshrivas
8141ec5e92 Release 5.2.0.191O
Release 5.2.0.191O

Change-Id: I21abdf176e19f6587b54cc2c2ccce062b1882eac
CRs-Fixed: 774533
2020-06-25 18:13:49 -07:00
nshrivas
14aa30650e Release 5.2.0.191N
Release 5.2.0.191N

Change-Id: Id25e9303b2513eb0c6bf06d07a7198b280d0e221
CRs-Fixed: 774533
2020-06-25 16:46:48 -07:00
Yeshwanth Sriram Guntuka
0c04652083 qcacld-3.0: Add sysfs entry to dynamically control GRO
Add dp_aggregation sysfs entry under the wifi sysfs
directory to dynamically control aggregation in the
rx direction.

Change-Id: Ic7b13806f5fbd19fe5c56cabdf71d032b730448c
CRs-Fixed: 2718131
2020-06-25 16:46:47 -07:00
Yeshwanth Sriram Guntuka
cec526afda qcacld-3.0: Add support to dynamically control fisa aggregation
Add support to dynamically control fisa aggregation in
the rx direction based on the dp_aggregation sysfs entry.

Change-Id: I677b8b5f05e6cd849671a058b5e6ef07fc14a969
CRs-Fixed: 2718132
2020-06-25 16:46:43 -07:00
nshrivas
fbd6d50ad2 Release 5.2.0.191M
Release 5.2.0.191M

Change-Id: If265eb2b6e9064a76caa59bbfa937de2257a7bb4
CRs-Fixed: 774533
2020-06-25 15:08:00 -07:00
Srikanth Marepalli
514a288ccd qcacld-3.0: Zero local struct memory
Zero local vairable memory before use.

Change-Id: I351239f56f81195268e892f8d3de2688d9ef01ec
CRs-Fixed: 2408599
2020-06-25 15:08:00 -07:00
nshrivas
8e270ded64 Release 5.2.0.191L
Release 5.2.0.191L

Change-Id: Ibc7b6ee1f274c317a0ebc5d50bc194b023d80fa7
CRs-Fixed: 774533
2020-06-25 13:17:47 -07:00
Nisha Menon
caaec341cb qcacld-3.0: Check for null wlan kobject and return if true
Fix for null object dereference. Check for null wlan
kobject and return if true.

Change-Id: I90477335c81d44b9cc2762dd4060d9447a0bdb66
CRs-Fixed: 2717466
2020-06-25 13:17:43 -07:00
nshrivas
b33f164356 Release 5.2.0.191K
Release 5.2.0.191K

Change-Id: I1e19d9c9d7e7a49c159ce6dc733aa680ccc7de74
CRs-Fixed: 774533
2020-06-25 03:49:49 -07:00
Sandeep Singh
bab49091ef qcacld-3.0: Add ipci apis to send data over QMI
Add PLD layer ipci bus apis to send driver data
to wlan fw over QMI.

Change-Id: I55d4cb337749492cc767da4d024918bcbdd98301
CRs-Fixed: 2714312
2020-06-25 03:49:48 -07:00
nshrivas
4946096a89 Release 5.2.0.191J
Release 5.2.0.191J

Change-Id: I4b3d9ce20c14abb81b8c79e4af7987b45f94b1ce
CRs-Fixed: 774533
2020-06-24 11:42:55 -07:00
bings
27f2d2ede8 qcacld-3.0: Set correct wep key for sap mode
When wep_default_key is not set as 0 in hostapd.conf, wep key with
key id 0 should not be sent to FW when new station is connected.
Wep key with key id specified in hostapd.conf should be sent to FW.

To fix this issue, wep default key id should be saved for sap mode.
When reference station is connected, set default key id related key
to FW with TX_USAGE flag.

Change-Id: Ic13e311593154911ee21db5172188c7037f429a3
CRs-Fixed: 2700441
2020-06-24 11:42:55 -07:00
Yu Tian
8b371301f4 qcacld-3.0: refine pktlog enable logic in KPI test
PKTLOG can be enabled from both 802.11 and WEXT, customer
integrates pktlog ctrl in script and is toggled frequently.
This leads host pktlog status variable and FW status out of
sync. Host bus vote logic need disable pktlog when TPUT is
high, based on host status. At last, it will not take effect,
KPI continues dropped by PKTLOG.

Change-Id: Ifad7b53060b6046361621bf927c99b6b66e0c278
CRs-Fixed: 2715362
2020-06-24 11:42:51 -07:00
nshrivas
ee0a4c12c9 Release 5.2.0.191I
Release 5.2.0.191I

Change-Id: I46107d89fad0dd23bd63ceb4476a87d71b990dea
CRs-Fixed: 774533
2020-06-24 03:34:34 -07:00