Commit Graph

7439 Commits

Author SHA1 Message Date
nshrivas
b688288e70 Release 5.2.0.160N
Release 5.2.0.160N

Change-Id: Ic21d8c1be662f512fcb85a2f65af38321a2e96bd
CRs-Fixed: 774533
2019-12-10 00:50:33 -08:00
nshrivas
b34d0110d7 Release 5.2.0.160M
Release 5.2.0.160M

Change-Id: I6529166dfcb1b4b044ad98278ecb7fbf26aa7009
CRs-Fixed: 774533
2019-12-09 23:03:59 -08:00
nshrivas
f723e85a63 Release 5.2.0.160L
Release 5.2.0.160L

Change-Id: I4c5e2c1d79c529c066a4b72d8ec1226d61e02fb7
CRs-Fixed: 774533
2019-12-09 20:38:13 -08:00
Tiger Yu
793ea6f87b qcacld-3.0: Recover the ba_status when fail to send addba response frame
If the first addba response frame is not sent out successfully for some
corner cases, the ba_status will be always set to DP_RX_BA_IN_PROGRESS.
The processing for next coming addba request frames will be in dead loop.
Which will block finishing the addba exchanging procedure.

Add checking with the return of lim_send_addba_response_frame, if failure,
will recover the ba_status to inactive status to give chance for next
coming addba request frame.

And also use pe_err_rl instead of pe_err to avoid excessive logging.

Change-Id: Ifc6adc166b5093742b34dd7d74924f9d54146ea4
CRs-Fixed: 2579510
2019-12-09 20:38:13 -08:00
nshrivas
30f766b687 Release 5.2.0.160K
Release 5.2.0.160K

Change-Id: I15809ae0e803f08744f12ae2dc8ab99eb76da3d2
CRs-Fixed: 774533
2019-12-09 18:57:12 -08:00
nshrivas
fd1f8dd4f3 Release 5.2.0.160J
Release 5.2.0.160J

Change-Id: Ieddb174f7341fc0e98a3df5cce800dee5e6d527f
CRs-Fixed: 774533
2019-12-09 17:28:22 -08:00
nshrivas
8648abce5f Release 5.2.0.160I
Release 5.2.0.160I

Change-Id: Id8bc8031580a75b9b943538ecb4054a82a3ae824
CRs-Fixed: 774533
2019-12-09 15:58:22 -08:00
Liangwei Dong
c2a9453efa qcacld-3.0: Fix 6G Channel DFS issue
1. Convert channel to frequency and use frequency
Regulatory API to check DFS status.
2. Skip dfs check for 6G channels.

Change-Id: I54b6d6a3ad25c192af4eec4e7f43932bada728b5
CRs-Fixed: 2580568
2019-12-09 15:58:11 -08:00
nshrivas
62f45d06a9 Release 5.2.0.160H
Release 5.2.0.160H

Change-Id: I78da3ea4ab71b487069483b8ebace60a28968d9f
CRs-Fixed: 774533
2019-12-09 13:56:00 -08:00
nshrivas
5d2ce3a163 Release 5.2.0.160G
Release 5.2.0.160G

Change-Id: I3fc2ca4573056901a7f83e66fe814d30cabca31b
CRs-Fixed: 774533
2019-12-09 13:55:52 -08:00
nshrivas
cd42026062 Release 5.2.0.160F
Release 5.2.0.160F

Change-Id: I07345b35146e10f2f9082a25bc8ba8874be56d25
CRs-Fixed: 774533
2019-12-09 13:55:45 -08:00
nshrivas
17a78b1f04 Release 5.2.0.160E
Release 5.2.0.160E

Change-Id: I72dbeea87f0257bce520da506bc786575ef695c4
CRs-Fixed: 774533
2019-12-06 14:43:36 -08:00
nshrivas
4e25ab8406 Release 5.2.0.160D
Release 5.2.0.160D

Change-Id: I1d5fb3877c8c691e758a2100b14a9f628b27ee8b
CRs-Fixed: 774533
2019-12-06 10:00:42 -08:00
nshrivas
5a015f24b6 Release 5.2.0.160C
Release 5.2.0.160C

Change-Id: If53ef93ed9329604ccb50b4f6e70acc9667d8f77
CRs-Fixed: 774533
2019-12-06 08:40:17 -08:00
nshrivas
2fe5b2586b Release 5.2.0.160B
Release 5.2.0.160B

Change-Id: Iefed8620ba79b9a2075a20acdad9ef8b42a6b96c
CRs-Fixed: 774533
2019-12-06 07:15:37 -08:00
nshrivas
884cb04714 Release 5.2.0.160A
Release 5.2.0.160A

Change-Id: I6fa2151455f0fb8515e323beeeaa5a1ac3ef8403
CRs-Fixed: 774533
2019-12-06 05:57:27 -08:00
nshrivas
6acffae37f Release 5.2.0.160
Release 5.2.0.160

Change-Id: I78deedb7b3eac04c7fce55d3833a1ed552fd75b2
CRs-Fixed: 774533
2019-12-06 01:51:22 -08:00
Pragaspathi Thilagaraj
d54655fb56 qcacld-3.0: Validate number of requested EIDs in beacon request
If the requested info field in beacon report request is present,
the driver tries to allocate memory for the target beacon report
EIDs from the number of requested EIDs received from the frame.
In SLUB disabled builds, the qdf_mem_malloc function doesn't
validate if the size provided is 0 and returns the value
ZERO_SIZE_PTR(((void *)16)) for the pointer. When this pointer
is dereferenced, it causes invalid address dereference.

Since the number of requested EIDs is directly controlled by the
frame sent by AP, validate this value before using it to allocate
memory.

Change-Id: Icbac3e952de0d7ae3144e9b319f2c51ccdf93ac5
CRs-Fixed: 2571480
2019-12-06 01:51:22 -08:00
gaurank kathpalia
8197e355fa qcacld-3.0: Peer ID cleanup in LIM, HDD and WMA
Cleanup peer id from the callers of cdp APIs from
where the peer ID was passed, and use mac address
instead to identify the STA.

Change-Id: Ie6dcae77e959439a71c11b1a2fa0daddcaa6e719
CRs-Fixed: 2529822
2019-12-06 01:51:09 -08:00
nshrivas
3bcc6e71ed Release 5.2.0.159Z
Release 5.2.0.159Z

Change-Id: I8b32bf3857fe1b5c7d3fd5069580d9bf1b9e918b
CRs-Fixed: 774533
2019-12-05 23:54:07 -08:00
nshrivas
5a1d9e4d75 Release 5.2.0.159Y
Release 5.2.0.159Y

Change-Id: Id612dd4dd46e333dcbb7781e9a05e81bb8f51bb3
CRs-Fixed: 774533
2019-12-05 18:05:10 -08:00
nshrivas
6387417f47 Release 5.2.0.159X
Release 5.2.0.159X

Change-Id: I7fad4d76ac3921e639d5fd113c642c63b314e37a
CRs-Fixed: 774533
2019-12-05 16:39:37 -08:00
bings
a06b8ce484 qcacld-3.0: fix buffer overflow in psessionEntry->pSchBeaconFrameBegin
psessionEntry->pSchBeaconFrameBegin is allocated with fix length
SCH_MAX_BEACON_SIZE. Do not copy the value to the buffer exceeding
psessionEntry->pSchBeaconFrameBegin.

Change-Id: I539692c01753b991a963b0416177cf5b474cfdf8
CRs-Fixed: 2577689
2019-12-05 16:39:16 -08:00
nshrivas
7a05e6266b Release 5.2.0.159W
Release 5.2.0.159W

Change-Id: Id16bad761ee2cd466f09150e1d034cb2e4a30859
CRs-Fixed: 774533
2019-12-05 15:16:26 -08:00
nshrivas
c4ad938f4b Release 5.2.0.159V
Release 5.2.0.159V

Change-Id: Ie0360cbb92493984c8948f26b8460315ef2707fc
CRs-Fixed: 774533
2019-12-05 04:20:42 -08:00
nshrivas
3bd1eddb1d Release 5.2.0.159U
Release 5.2.0.159U

Change-Id: I2b4a43651a39de93d6af0cb3c3ee105a4a83c465
CRs-Fixed: 774533
2019-12-04 23:07:18 -08:00
nshrivas
9bc2fcede9 Release 5.2.0.159T
Release 5.2.0.159T

Change-Id: I0abfffaddeb8aaaba8d3c705c41f7dec904b6c92
CRs-Fixed: 774533
2019-12-04 14:40:31 -08:00
Kiran Kumar Lokere
571f0d3e65 qcacld-3.0: Add 80+80 restricted BW support
Add support for restricted 80+80 bandwidth in STA and SAP modes.

Change-Id: Id1a61b853584fa84db3bb8f0f2aaf68eecabeaac
CRs-Fixed: 2570023
2019-12-04 14:40:31 -08:00
nshrivas
111f5602b3 Release 5.2.0.159S
Release 5.2.0.159S

Change-Id: Id82305ec82404dda0ceedfa2767e4758c846a061
CRs-Fixed: 774533
2019-12-04 09:30:44 -08:00
nshrivas
fc01042e5e Release 5.2.0.159R
Release 5.2.0.159R

Change-Id: Iace4d90667a09bc69269ec25d8adb35b092f764b
CRs-Fixed: 774533
2019-12-04 07:43:42 -08:00
nshrivas
6693bf72b0 Release 5.2.0.159Q
Release 5.2.0.159Q

Change-Id: I7bf20f6d39be81b4ccd695d5fd6703dc06ab8717
CRs-Fixed: 774533
2019-12-04 03:36:51 -08:00
Pragaspathi Thilagaraj
f37e5e7637 qcacld-3.0: Don't modify BTM capability in the extended capabilities
Currently the host driver checks if the BTM offload is enabled
via ini configuration and sets the BTM enabled bit of the
extended capabilities if BTM offload is enabled. The supplicant
decides if BTM is needed to be enabled or disabled based on the
PMF capability of the AP, since the STA is MBO certified.

When driver sets the BTM capability based on the btm_offload ini,
even if the AP supports MBO and doesn't advertise PMF, BTM is
honored by the MBO certified STA. This violates the MBO spec
that PMF is mandatory for MBO. So with the BTM capability
controlled by userspace, the BTM capability will be advertised
to MBO AP only if PMF is advertised as required for that AP.

Don't modify the BTM capability, and advertise it as it is
provided by the userspace. Firmware will drop the packet if
BTM capability is not advertised during initial connection.

Change-Id: I55b4e46a44011ce7a1982244df17ea32632f7ff3
CRs-Fixed: 2568311
2019-12-04 03:36:51 -08:00
nshrivas
f47fbb3664 Release 5.2.0.159P
Release 5.2.0.159P

Change-Id: I34a09329ba1220527edd53bd96b37fc27f5e180e
CRs-Fixed: 774533
2019-12-04 00:09:48 -08:00
nshrivas
0808d3145b Release 5.2.0.159O
Release 5.2.0.159O

Change-Id: I200049a916b62114ba80245c00c8e81c684ac96e
CRs-Fixed: 774533
2019-12-03 22:48:17 -08:00
nshrivas
7df254adfb Release 5.2.0.159N
Release 5.2.0.159N

Change-Id: Icec46a29a621ba8564e937d82e88a23fcef3e3fd
CRs-Fixed: 774533
2019-12-03 20:56:15 -08:00
nshrivas
7988b98d82 Release 5.2.0.159M
Release 5.2.0.159M

Change-Id: I682013206e8ecbdb5a771655ac3ba846f510380e
CRs-Fixed: 774533
2019-12-03 15:00:25 -08:00
nshrivas
91f22a0bb7 Release 5.2.0.159L
Release 5.2.0.159L

Change-Id: Ice29b711c963b89255f84139b1a6f4a01bc0b5ca
CRs-Fixed: 774533
2019-12-03 13:10:46 -08:00
nshrivas
09db9462f7 Release 5.2.0.159K
Release 5.2.0.159K

Change-Id: Ib87f1d1ccabce37931eb73137c6da34abfeb3db4
CRs-Fixed: 774533
2019-12-03 08:05:50 -08:00
nshrivas
63d6ddbaad Release 5.2.0.159J
Release 5.2.0.159J

Change-Id: Icbfeaa0f34cfea7c379777e5eaa49eebd88f6f1a
CRs-Fixed: 774533
2019-12-03 01:15:00 -08:00
nshrivas
98a65e2167 Release 5.2.0.159I
Release 5.2.0.159I

Change-Id: I6424740e998bfe12d2884b49ad8c1c0041922d84
CRs-Fixed: 774533
2019-12-02 22:36:48 -08:00
nshrivas
68d802c271 Release 5.2.0.159H
Release 5.2.0.159H

Change-Id: I62448dfa453d9340a15ed9c95f7e81f82fc1cf09
CRs-Fixed: 774533
2019-12-02 12:39:08 -08:00
nshrivas
3fac0ecfcd Release 5.2.0.159G
Release 5.2.0.159G

Change-Id: I53286c495eaab0af95712b2065f8fe9be298f6cc
CRs-Fixed: 774533
2019-12-02 07:19:10 -08:00
nshrivas
86e54350b3 Release 5.2.0.159F
Release 5.2.0.159F

Change-Id: Ifa5b57d1ddafdf034f37c5ab87881aba50f13e00
CRs-Fixed: 774533
2019-12-02 02:08:36 -08:00
nshrivas
57e608a9ad Release 5.2.0.159E
Release 5.2.0.159E

Change-Id: I5624b8f622f389b3d3f54fbacb128a9ec7081564
CRs-Fixed: 774533
2019-12-01 22:00:50 -08:00
nshrivas
94ac0e3fa1 Release 5.2.0.159D
Release 5.2.0.159D

Change-Id: I65faeb76a9829d947abf9c6bebbec561b647ff37
CRs-Fixed: 774533
2019-12-01 17:40:55 -08:00
Srinivas Dasari
b24bdd3f73 qcacld-3.0: Consider NAN enabling also as connection in progress
There is a race condition while handling the below scenario,
1. NAN enable request is received from framework.
2. Policy mgr opportunistic timer expired and set hw mode
   initiated to Single MAC mode in scheduler thread at
   the same time

As the opportunistic timer handler doesn't have any info if
NAN enable initiated in DBS mode, it's configuring the hw
mode to Single Mac Mode just before NAN enable request is sent
to firmware. So the NAN enable request is sent to firmware in
Single Mac Mode which is not allowed by firmware.

NAN enable/disable is also similar to connection in progress
status in case of STA. So provide NAN enable/disable status
through hdd_is_connection_in_progress() to the opportunistic
timer handler. Opportunistic timer handler restarts the timer as
connection(NAN enable/disable) is in progress.

Also set hw_mode_change_in_progress before checking the
connection progress status. This is to avoid a possible race in
the below scenario,
1. NAN-enable sets the state but scheduler thread had read the
   state just before that
2. NAN-enable read the hw_mode_change_in_progress just
   before it gets set by scheduler thread.

Change-Id: I1a184c84520deb3f6ad1ec010a0fdefda96a5364
CRs-Fixed: 2566841
2019-12-01 17:39:45 -08:00
nshrivas
c04d699a6d Release 5.2.0.159C
Release 5.2.0.159C

Change-Id: I0776032899be6db5d56763bf6aadcabb48ccf13d
CRs-Fixed: 774533
2019-12-01 13:10:49 -08:00
Abhishek Singh
a827b4e71b qcacld-3.0: Don't Update limMlmState in invalid state in set key resp
In case set key is sent to firmware and Roaming updated the session
before set key resp is processed in LIM, the limPrevMlmState will
be 0 and thus updating limMlmState to limPrevMlmState will result
in improper limMlmState, leading to sync issue.

So do not update the limMlmState in invalid state in set key resp.
Also update limPrevMlmState to limMlmState during roaming.

Change-Id: I96291e7c3eb34df8b5741745448c76cf63b1f200
CRs-Fixed: 2574731
2019-12-01 13:10:34 -08:00
nshrivas
17482ca893 Release 5.2.0.159B
Release 5.2.0.159B

Change-Id: I02578fd1c624f6aa829dded3a6fb7d34146a84be
CRs-Fixed: 774533
2019-11-29 06:16:33 -08:00
Abhishek Ambure
a7f1c222a9 qcacld-3.0: Set RSN capability flag for SAP peers
Peer assoc command send to firmware updates  peer params in
firmware ex. peer_new_assoc, peer_associd, need_gtk_2_way etc.

If RSN capability flags are present in peer assoc request of SAP and
P2P-Go peers, host updates need_gtk_2_way, need_ptk_4_way peer assoc
params to firmware.

If need_gtk_2_way, need_ptk_4_way params are not updated for RSN capable
peers of SAP/P2P-Go, firmware is not able to hanlde data packets(HTT)
before the key installation(WMI) is successful.

Change-Id: I0a24aab3ac4ff4ca061782f6a4d0ba62dd227b04
CRs-Fixed: 2575133
2019-11-29 06:16:09 -08:00