Commit Graph

6446 Commits

Author SHA1 Message Date
Jiani Liu
a8fd170e7a qcacld-3.0: Add PTP timestamp socket options RX support
Host need to fill netbuf with qtime instead of tsf. So host first
need to set enable_ppdu_end to 1, so that FW will pass ppdu_end
contents to host, and host can translate tsf64_time into qtime.
The tsf64_time is new added to fw struture, so host will need
add it accordingly to struct hdd_adapter, and keep it updated
in time synchronization function <hdd_update_timestamp>.

Change-Id: Ib19ac1411c4e17624c012f188297c9f2122642d2
CRs-Fixed: 2444456
2019-05-21 16:45:09 -07:00
nshrivas
1b9fdd25cd Release 5.2.0.133X
Release 5.2.0.133X

Change-Id: I823003095901e8497cefa4091c2aabb5103f1752
CRs-Fixed: 774533
2019-05-21 13:14:22 -07:00
nshrivas
e9cc41be8a Release 5.2.0.133W
Release 5.2.0.133W

Change-Id: I1acad6502c4080098f6ea15255bf24e1625dd957
CRs-Fixed: 774533
2019-05-21 06:14:05 -07:00
nshrivas
2e0f15bd4f Release 5.2.0.133V
Release 5.2.0.133V

Change-Id: Ie557842122ff5c3d8705a4bb5f3970c52907e86c
CRs-Fixed: 774533
2019-05-20 15:28:18 -07:00
nshrivas
524129c2f8 Release 5.2.0.133U
Release 5.2.0.133U

Change-Id: If56894350cf03d945e4f1ccf0a4708cd86188b7e
CRs-Fixed: 774533
2019-05-20 13:40:37 -07:00
nshrivas
43db7f7c48 Release 5.2.0.133T
Release 5.2.0.133T

Change-Id: I9839f52bec80cdb04fb66ce608e8e2a152ed356a
CRs-Fixed: 774533
2019-05-20 11:22:09 -07:00
nshrivas
5fe8e70b1e Release 5.2.0.133S
Release 5.2.0.133S

Change-Id: I2babca0873b0be4934838bc256b57f1aa070ab4b
CRs-Fixed: 774533
2019-05-17 20:41:56 -07:00
Abhinav Kumar
7123a69f72 qcacld-3.0: Remove redundant error message
Remove redundant error message while processing beacon.

Change-Id: Icd29c8973beb363bd38d311f27293575fb169421
CRs-Fixed: 2453864
2019-05-17 20:41:52 -07:00
gaurank kathpalia
a3856b84d6 qcacld-3.0: Add BSSID to reject rssi list in assoc reject
Scenario:
1. Turn on STA and try connect with a PMF capable AP.
2. Configure te AP to reject assoc everytime, with status
   code as ASSOC TRY AGAIN.

Issue with DUT:
STA would try again after the time t, which the AP has
specified in the assoc rsp frame, and if the AP sends
the assoc rsp fail continuosly with reason code try again,
then the active command timeout may happen as the
active command to connect would be stuck.

Observation:
Active command timeout happens, because the AP sends
the assoc rsp with the reason code try again and time
after every attempt.

Expectation:
The AP should be added to RSSI reject list, keeping RSSI
as 0, and retry delay as the time specified by AP, which would
result in connection attempt to that AP after the timeout, also
the STA would then continue with the other candidates.

Fix:
Fill the retry delay as the timeout value AP has given, RSSI as
0, and add the BSSID to the reject list, and continue connect
with other BSSIDs

Change-Id: If6155906a586539b3edef3e25bcad4f1e77159c3
CRs-Fixed: 2453875
2019-05-17 20:41:47 -07:00
Srinivas Girigowda
8e7ecabe16 qcacld-3.0: Replace IE_EID_VENDOR with WLAN_ELEMID_VENDOR
Replace IE_EID_VENDOR with converged macro WLAN_ELEMID_VENDOR.

Change-Id: I7f3109f8e2413d4ad091bebbd377739ff5c1e74d
CRs-Fixed: 2454262
2019-05-17 20:41:42 -07:00
nshrivas
3a974c16aa Release 5.2.0.133R
Release 5.2.0.133R

Change-Id: Ieb64f52300601e60d69fc6f717e2a7c58cf77711
CRs-Fixed: 774533
2019-05-17 16:21:49 -07:00
Abhishek Ambure
7acc2c1609 qcacld-3.0: Cleanup VDEV_SM legacy code
Legacy code of VDEV SM is no more used, hence this cleanup is done.

Change-Id: I8dc649639c4c1afb4ae206a046fe530e172bced9
CRs-Fixed: 2454039
2019-05-17 16:21:48 -07:00
nshrivas
512d6f05ae Release 5.2.0.133Q
Release 5.2.0.133Q

Change-Id: Iabcfbb29bc5525a84a65fe1487a6235ec30aabdb
CRs-Fixed: 774533
2019-05-17 00:49:11 -07:00
nshrivas
0b135d1c9f Release 5.2.0.133P
Release 5.2.0.133P

Change-Id: Ia3fa7d8ebe8e6f20bdb6cf7e18308b5aa0bd9c3d
CRs-Fixed: 774533
2019-05-16 18:06:46 -07:00
nshrivas
ac263d00d4 Release 5.2.0.133O
Release 5.2.0.133O

Change-Id: Ie4549fef68e47d418e972c72fb5d237a5a26acda
CRs-Fixed: 774533
2019-05-16 14:46:06 -07:00
hqu
f2c3099c2b qcacld-3.0: Fix wrong MBSSID information for VDEV UP command
VDEV UP command doesn't include right MBSSID information, it will
cause data stall issue and so on.

Fix is to provide right MBSSID information with VDEV UP command.

Change-Id: I0201722c14dee1b01b8dacc7e3095301fb02fd3a
CRs-Fixed: 2434405
2019-05-16 14:45:39 -07:00
nshrivas
aae9dae0a8 Release 5.2.0.133N
Release 5.2.0.133N

Change-Id: I47e3579c69c8dab366ba506db2dd8243636d4122
CRs-Fixed: 774533
2019-05-16 12:43:07 -07:00
nshrivas
7a4e99353a Release 5.2.0.133M
Release 5.2.0.133M

Change-Id: Icfdbd59dace8a2b191fb357d4f8c82d018f390ec
CRs-Fixed: 774533
2019-05-16 10:12:18 -07:00
nshrivas
529791fc3c Release 5.2.0.133L
Release 5.2.0.133L

Change-Id: Ibc135874a97bb029e332a94e9f9ec6ab8a7d07c1
CRs-Fixed: 774533
2019-05-16 07:45:39 -07:00
Srinivas Girigowda
851a6c0cb1 qcacld-3.0: Remove obsolete macros
Remove obsolete (unused) macros.

Change-Id: I969d6a0e4fd65ced65839b62e40506b9ce3df529
CRs-Fixed: 2453510
2019-05-16 07:45:38 -07:00
nshrivas
c21a9c2660 Release 5.2.0.133K
Release 5.2.0.133K

Change-Id: Ice79af9eb71d8b8ec76afeac369631928d08ea90
CRs-Fixed: 774533
2019-05-16 05:57:23 -07:00
Bala Venkatesh
9b0925f60b qcacld-3:0: Do not issue tdls del sta for bss peer
Currently, TDLS connection can be attempted with
any peer if the stats are more than configured threshold.
If the connection is attempted with connected AP then
add sta will be failed and TDLS disable link is given
by upper layer to cleanup the add sta failure.
TDLS component sends del sta request to lim.
As peer type check was not present del sta request will
be sent to firmware for connected BSS. In the resp path
as there is a check for TDLS peer type, TDLS component
was not notified of the resp and serialization cmd
timeout will happen.

Fix is to check the peer type for tdls peer del sta.

Change-Id: Ibe59256d7f7ba75116e234481569863259f921be
CRs-Fixed: 2453027
2019-05-16 05:57:22 -07:00
nshrivas
e30731dc75 Release 5.2.0.133J
Release 5.2.0.133J

Change-Id: Iaeadfa53a1964c18556008f42839e9599b6d2919
CRs-Fixed: 774533
2019-05-16 02:28:24 -07:00
nshrivas
77d8f3daf8 Release 5.2.0.133I
Release 5.2.0.133I

Change-Id: I6008dc7e0b48353d0b13795d53f498e39fb589e0
CRs-Fixed: 774533
2019-05-15 21:34:10 -07:00
nshrivas
b7a6d1a405 Release 5.2.0.133H
Release 5.2.0.133H

Change-Id: I9b32a9b366d48d10b32af6a5a7795c38a4498287
CRs-Fixed: 774533
2019-05-15 13:22:06 -07:00
Pragaspathi Thilagaraj
98e70590d4 qcacld-3.0: Cleanup lim_update_fils_config()
The function lim_update_fils_config(), is invoked when
csr_send_join_req() sends the join request message to lim. It
copies the fils related configurations to lim from csr. The
variable csr_fils_info is used for destination lim structure.
This is misleading.

Rename csr_fils_info to pe_fils_info in lim_update_fils_config.

Change-Id: Idac1f73bba5ceff646e09b588f3e08ed4968a0fd
CRs-Fixed: 2445238
2019-05-15 13:22:06 -07:00
nshrivas
560dfabd8d Release 5.2.0.133G
Release 5.2.0.133G

Change-Id: I4dbdcc0e8acd9329affc05849470db66ddcb720c
CRs-Fixed: 774533
2019-05-15 05:47:02 -07:00
nshrivas
0734993ceb Release 5.2.0.133F
Release 5.2.0.133F

Change-Id: Ia852078e4a8aea55c49b4cef825bae1aec745637
CRs-Fixed: 774533
2019-05-14 23:57:46 -07:00
nshrivas
4c085174de Release 5.2.0.133E
Release 5.2.0.133E

Change-Id: I706755243d01e316653d3766efc8267b5239ad74
CRs-Fixed: 774533
2019-05-14 18:39:44 -07:00
nshrivas
cd6ac97ba2 Release 5.2.0.133D
Release 5.2.0.133D

Change-Id: I5a7824f8fa39de933c47730443a46938d24804bd
CRs-Fixed: 774533
2019-05-14 13:03:09 -07:00
nshrivas
f151174be6 Release 5.2.0.133C
Release 5.2.0.133C

Change-Id: I1fa7f35e84840ac7ff88cdac5a30886f25497436
CRs-Fixed: 774533
2019-05-14 11:15:43 -07:00
nshrivas
711f54ecdd Release 5.2.0.133B
Release 5.2.0.133B

Change-Id: I043570dd519d66c40f58473cc3e554571f469ce0
CRs-Fixed: 774533
2019-05-14 05:46:21 -07:00
nshrivas
b0423d0f0e Release 5.2.0.133A
Release 5.2.0.133A

Change-Id: Id1f30be8d218af9bc4a510f3f3cb2c812a7433c7
CRs-Fixed: 774533
2019-05-14 03:51:52 -07:00
nshrivas
51caaac904 Release 5.2.0.133
Release 5.2.0.133

Change-Id: I229c6d69cd956e487d5a6171e008db1c01b8b181
CRs-Fixed: 774533
2019-05-13 03:31:32 -07:00
nshrivas
c5cece1057 Release 5.2.0.132Z
Release 5.2.0.132Z

Change-Id: I84f648d4cb87489c9d45d6a7ecd454e8a3167f5f
CRs-Fixed: 774533
2019-05-13 00:29:50 -07:00
nshrivas
b835e32d11 Release 5.2.0.132Y
Release 5.2.0.132Y

Change-Id: I8b4c1c21f543c7baa7a41f2e564b164b20151a33
CRs-Fixed: 774533
2019-05-10 19:07:06 -07:00
Abhinav Kumar
4d1f9f442d qcacld-3.0: Send connected AP beacon data to userspace
Once driver gets QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING vendor
command with an attribute for start, firmware sends all
beacons to host for the connected peer. Host extract required info
(SSID, BSSID, Channel number, Beacon Interval, Timestamp, System
timestamp) from incoming beacon for connected AP and sends it to
userspace. Userspace needs this data for WIPS.

Change-Id: I9d6dd068a076bda79881043946be3133ee87fe84
CRs-Fixed: 2431354
2019-05-10 19:07:01 -07:00
nshrivas
721b5f34b6 Release 5.2.0.132X
Release 5.2.0.132X

Change-Id: I0d47b2395cb342a365bd1d4dbc666523b426579e
CRs-Fixed: 774533
2019-05-10 16:28:33 -07:00
Abhishek Singh
06522c56cd qcacld-3.0: On CSA complete, check if all peer need to be disconnected
CSA on DFS channels requires CAC period after RESTART response, peers
can leave during CAC period due to HB failure. But peers remain
connected in SAP and are not deleted.
Now if vdev down is called during CAC wait period, the peer delete
all is not called, and vdev delete is sent without sending peer
delete to firmare leading to assert.

This change adds the logic to internally disconnect all peers before
channel switch if CAC is required on new channel, i.e new channel is
DFS and pre-CAC is not done and ignore cac is not set.

Change-Id: I923fd11d1b9d4a2c606b19ff94baaf44397d3e20
CRs-Fixed: 2449104
2019-05-10 16:28:32 -07:00
nshrivas
e937a1f560 Release 5.2.0.132W
Release 5.2.0.132W

Change-Id: Idd35ce40a01a0b88080025eb5cc41d5cc88cf86d
CRs-Fixed: 774533
2019-05-10 01:34:33 -07:00
nshrivas
9f3bd236ef Release 5.2.0.132V
Release 5.2.0.132V

Change-Id: I2e4ecbcd83b879a2e0dc1a6e292b87974d667ebb
CRs-Fixed: 774533
2019-05-09 04:59:02 -07:00
nshrivas
887e7aa8b6 Release 5.2.0.132U
Release 5.2.0.132U

Change-Id: I0fbf8cf0e4abd4bcf101b8e8d2a7de81121995e9
CRs-Fixed: 774533
2019-05-08 04:47:01 -07:00
gaurank kathpalia
efb20a8901 qcacld-3.0: Provide assoc req, rsp IE to kernel in assoc fail case
Currently the driver does not sends the assoc req and assoc
response frame exchanged with the AP if the connection attempt
fails with the peer.
The connection failure can be because of n number of reasons,
OCE assoc reject be one of them.
The supplicant requires these IEs to reject the connection
attempt with the AP with which the connect attempt failed
for t number of seconds, which is mentioned by the AP.

Fix is to send the assoc req, and assoc response IEs to
the driver.

Change-Id: I9c1f7063105912a8005f9e8399640d028b15eec7
CRs-Fixed: 2445709
2019-05-08 04:46:52 -07:00
nshrivas
9e4e9b8245 Release 5.2.0.132T
Release 5.2.0.132T

Change-Id: I8167ac28454bc809f1b2bd7d81b5ffd63423a34d
CRs-Fixed: 774533
2019-05-08 02:51:34 -07:00
nshrivas
eff6a69618 Release 5.2.0.132S
Release 5.2.0.132S

Change-Id: I5d0407b8ec38234cb1499db2db002aa8c2d671e0
CRs-Fixed: 774533
2019-05-06 21:25:32 -07:00
nshrivas
226c859bfa Release 5.2.0.132R
Release 5.2.0.132R

Change-Id: I515ece157e9d0b8b45bfa43f1f67795fa0646ca0
CRs-Fixed: 774533
2019-05-06 17:04:13 -07:00
Kiran Kumar Lokere
412686bc01 qcacld-3.0: Fix HE capable setting in TDLS setup
Currently HE capable for TDLS peer is set from STA connection
session which sets the TDLS peer HE capability incorrectly.
Set the HE capable setting for TDLS peer from the peer STA
context that has correct value.

Change-Id: I232d32fb45ea5bbe7c2925922de3804e28f888cc
CRs-Fixed: 2441422
2019-05-06 17:04:12 -07:00
nshrivas
eded83990b Release 5.2.0.132Q
Release 5.2.0.132Q

Change-Id: Ic08c6e171dd680ecd589ab6b97b2058478c8e9ab
CRs-Fixed: 774533
2019-05-06 14:58:19 -07:00
nshrivas
993c892fd2 Release 5.2.0.132P
Release 5.2.0.132P

Change-Id: I7ff3ac0295e068e05180224beca440aa9e207367
CRs-Fixed: 774533
2019-05-06 07:27:25 -07:00
Lin Bai
7bae103faa qcacld-3.0: Fix mismatch EPPING deinit
EPPING module only need to be deinited when current mode is EPPING.

Change-Id: Ia295af3f5ea2cffd394de7174be933d7fde6798d
CRs-Fixed: 2437683
2019-05-06 07:27:24 -07:00