Commit Graph

15901 Commits

Author SHA1 Message Date
sheenam monga
fa3cb430b3 qcacld-3.0: CONFIG_MCL cleanup for WLAN_SCHED_REDUCTION_LIMIT
Remove CONFIG_MCL for reduction limit to make code generic.
Initialize value for reduction limit  i.e WLAN_SCHED_REDUCTION_LIMIT
to 0 for MCL. In case WLAN_SCHED_REDUCTION_LIMIT not defined, then
define WLAN_SCHED_REDUCTION_LIMIT to 32 for WIN.

Change-Id: I6f6e4c9b3df71110654d487fcdae0334eeee4091
CRs-Fixed: 2459119
2019-05-24 16:00:48 -07:00
Paul Zhang
3718567245 qcacld-3.0: Implement api for interop issues ap
Implement the interface to transfer the info between
host driver and firmware about the ap which has interop
issues with the DUT. It is detected by firmware and
forwarded to user sapce for persistent storage. And
user space configs these APs to firmware when the DUT
starts up next time.

CRs-Fixed: 2425202
Change-Id: I2e828d521f0e04862a01fa1c90626f51b7f65796
2019-05-24 16:00:44 -07:00
nshrivas
55902294cf Release 5.2.0.134K
Release 5.2.0.134K

Change-Id: If774011b5ba6e7a6a648d09c2c3d7ea0e1d62a5a
CRs-Fixed: 774533
2019-05-24 13:50:01 -07:00
bings
1117283ca4 qcacld-3.0: Don't set WMI_PEER_NEED_PTK_4_WAY for FILS connection
When FILS authentication is performed, the key confirmation is
performed as part of the FILS exchange using association frames.
Hence, no additional 4-way handshake is necessary. But still the
host driver sets the WMI_PEER_NEED_PTK_4_WAY flag as part of
peer_assoc command. So firmware expects setting key command after
4-Way handshake is completed. But host sends the set key command
before M4 in this case, which results in firmware assert.

Don't set WMI_PEER_NEED_PTK_4_WAY for FILS connection.

Change-Id: I13451bd7592d5836c16cd648235f691b11aafb15
CRs-Fixed: 2458097
2019-05-24 13:50:00 -07:00
nshrivas
be72fa855c Release 5.2.0.134J
Release 5.2.0.134J

Change-Id: I92e752d3e8453c4b993de150912bb0a6543db42a
CRs-Fixed: 774533
2019-05-24 06:42:10 -07:00
Abhishek Singh
ed8873ab97 qcacld-3.0: Remove Vdev SM related flags from configs
Vdev SM related flags are no longer used so remove them.

Change-Id: Iafb5d15691644912e563072a9fd6bdccd1b16918
CRs-Fixed: 2457271
2019-05-24 06:42:10 -07:00
nshrivas
6eef43cb82 Release 5.2.0.134I
Release 5.2.0.134I

Change-Id: I93cd1a82fc86137fe3b6db2a955157baf051fc4d
CRs-Fixed: 774533
2019-05-24 04:12:45 -07:00
Will Huang
aea01e02ec qcacld-3.0: Release vdev reference when sap_get_channel_list failed
If sap_get_channel_list return 0 channel, didn't release vdev reference
acquired by wlan_objmgr_get_vdev_by_macaddr_from_psoc() in function
sap_channel_sel().

Release the vdev reference at the end of function sap_channel_sel().

Change-Id: Ib8d240e464ea893d97fef5f563bfb080646bae46
CRs-Fixed: 2457532
2019-05-24 04:12:45 -07:00
nshrivas
29d9b4c68e Release 5.2.0.134H
Release 5.2.0.134H

Change-Id: I2814da35938a160b9e82ebc2d2e6b1dc1eca30c3
CRs-Fixed: 774533
2019-05-23 22:57:28 -07:00
Jiani Liu
6d3b6a16ab qcacld-3.0: Add PTP timestamp socket options TX support
Host need to fill netbuf with qtime instead of tsf. So
host need to add tsf64 enable/disable related functions
and definitions to sync with FW.

The tsf64_time is new added to fw/host structure, so host
need to add parse functions to get tsf64_time from tx_desc.

Change-Id: Ieea0d8f905eb57629d279f8da0e811857b760b1f
CRs-Fixed: 2444456
2019-05-23 22:57:27 -07:00
nshrivas
e80d3fd502 Release 5.2.0.134G
Release 5.2.0.134G

Change-Id: I2157ff590312ceb6b60d4ad771dcb3f43e34d5f0
CRs-Fixed: 774533
2019-05-23 20:34:56 -07:00
Varun Reddy Yeturu
cbaa004c02 qcacld-3.0: Add compile time flag RX_DESC_MULTI_PAGE_ALLOC
Add a compile time feature flag by name RX_DESC_MULTI_PAGE_ALLOC
which will enable the memory allocation of RX descriptors using
multiple pages instead of large contiguous memory.

Change-Id: Ia3803a3685c605c79a34a0c2c000d7ed4adb7d97
CRs-Fixed: 2456267
2019-05-23 20:34:56 -07:00
nshrivas
a8898a4e23 Release 5.2.0.134F
Release 5.2.0.134F

Change-Id: Ie722a5d5ecaabe8d43bd99e8fd0678182a171d0d
CRs-Fixed: 774533
2019-05-23 16:39:56 -07:00
Manikandan Mohan
6bd71be66e qcacld-3.0: Call correct PMO API for setting PS params
WMI_STA_PS_PARAM_INACTIVITY_TIME and
WMI_STA_PS_PARAM_MAX_RESET_ITO_COUNT_ON_TIM_NO_TXRX
need to be sent as WMI_STA_POWERSAVE_PARAM_CMDID param IDs.
Thus use pmo_tgt_send_vdev_sta_ps_param instead of
pmo_tgt_vdev_update_param_req in appropriate locations.

Change-Id: Ie9438cd88540a9bbcaf120b3d0a32d355f85002d
CRs-fixed: 2457998
2019-05-23 16:39:55 -07:00
Srinivas Dasari
b264fecd52 qcacld-3.0: Read ini param oce_sta_enable after parsing the ini conf
The ini param oce_sta_enable is getting read before parsing the
ini conf file, to set few OCE related wiphy flags. None of these
flags are getting set as it is resulting 0.
Move this to an API after parsing the ini file.

Change-Id: Ibf61996da4cc6b69892a5f2fe325b42c39f5fce3
CRs-Fixed: 2449519
2019-05-23 16:39:28 -07:00
nshrivas
8e3bd12ef0 Release 5.2.0.134E
Release 5.2.0.134E

Change-Id: Id1fdcf0344ffbb877433237a58f528da1e2df437
CRs-Fixed: 774533
2019-05-23 13:12:18 -07:00
Rajeev Kumar
c58f7c2578 qcacld-3.0: Add change to support DRV during wow mode
Add changes to support DRV feature during wow mode.

Change-Id: I588dfc5fa1bc419a288f346664c4028ef2d2011b
CRs-Fixed: 2456148
2019-05-23 13:12:17 -07:00
nshrivas
61155b9b08 Release 5.2.0.134D
Release 5.2.0.134D

Change-Id: I417fcb838e30b3629ec308e948b358b55ce002b0
CRs-Fixed: 774533
2019-05-23 09:30:42 -07:00
Frank Liu
7314020cf4 qcacld-3.0: Add genoa defconfig for multiple ko support
To build multipel ko for different wlan targets, add genoa support
which will be used on AUTO platform.

Change-Id: I55e8591624ca4fe03bc06572cd2c46510eded366
CRs-Fixed: 2429383
2019-05-23 09:30:41 -07:00
sheenam monga
70823870a4 qcacld-3.0: CONFIG_MCL cleanup for Serialization msg queue depth
Remove CONFIG_MCL for Serialization msg queue depth to make code generic.
Initialize value for Serialization msg queue depth i.e
SCHEDULER_CORE_MAX_MESSAGES to 1000 for MCL. In case
SCHEDULER_CORE_MAX_MESSAGES not defined, then
SCHEDULER_CORE_MAX_MESSAGES define to 4000 for WIN.

Change-Id: I498cfb73ed7774d9d26b1374ee87b1a7691341d9
CRs-Fixed: 2457704
2019-05-23 09:30:36 -07:00
Abhinav Kumar
392221599a qcacld-3.0: Process vendor cmd for BEACON_REPORTING_OP_STOP
Userspace request driver to report details of each beacon
received whose bssid is same as currently connected BSS's
mac address. The driver encapsulates the details of these
beacons as an asynchronous event within vendor command:
QCA_NL80211_VENDOR_SUBCMD_BEACON_REPORTING with operation
type QCA_WLAN_VENDOR_BEACON_REPORTING_OP_STOP until
userspace requests to stop sending beacons.

When driver gets stop indication from userspace, it does
the following things:
1. De-register all callback which is registered while handling
start indication
2. Add beacon filter and send it to fw

If driver is in WOW mode and WMI_ADD_BCN_FILTER_CMDID is
NOT configured, fw wakeup HOST and sends connected AP beacon.
Fw should not wakeup host if host is in wow mode. In order
to support this, configure WOW_BEACON_EVENT for STA and P2P.

Change-Id: Ie7c768fa957d02e1361e1ecb95435ba3f06034b0
CRs-Fixed: 2431360
2019-05-23 09:30:32 -07:00
nshrivas
c990f623c5 Release 5.2.0.134C
Release 5.2.0.134C

Change-Id: Idd42f5b35b42200d007de8c075ecd61800392dfa
CRs-Fixed: 774533
2019-05-23 00:17:44 -07:00
Srinivas Girigowda
ef0d714d22 qcacld-3.0: Replace SIR_MAC_BA_* with converged macros
Replace SIR_MAC_BA_* with converged macros.

Change-Id: Id6b32a6e6cbf07ab728fc8832879d2f2dfc85820
CRs-Fixed: 2457795
2019-05-23 00:17:43 -07:00
Srinivas Girigowda
03cebc3fdf qcacld-3.0: Replace SIR_MAC_QOS_* with converged QOS macros
Replace SIR_MAC_QOS_* with converged QOS macros.

Change-Id: I669b83495b4f78398200135c41cd67867fb2fc3d
CRs-Fixed: 2457795
2019-05-23 00:17:37 -07:00
Srinivas Girigowda
48bec1c925 qcacld-3.0: Replace SIR_MAC_ACTION_* macros with ACTION_CATEGORY_*
Replace SIR_MAC_ACTION_* macros with converged ACTION_CATEGORY_*.

Change-Id: I53eb7f02ca9e271116198d40b0e98163cc0331b8
CRs-Fixed: 2457795
2019-05-23 00:17:33 -07:00
nshrivas
d3c98d0159 Release 5.2.0.134B
Release 5.2.0.134B

Change-Id: I07eccab6ff101656588896fa9d6e7d24bd3f8fdb
CRs-Fixed: 774533
2019-05-22 14:15:12 -07:00
Sravan Kumar Kairam
dbb89a7c2f qcacld-3.0: Enable SMMU S1 flag for Kona
Enable IPA SMMU S1 translation feature flag for
kona target.

Change-Id: Ia16867dd730c658b043e58ac832a05d6abe58f05
CRs-Fixed: 2457687
2019-05-22 14:15:11 -07:00
nshrivas
cac99062f7 Release 5.2.0.134A
Release 5.2.0.134A

Change-Id: I7ab3fe744104eca7334797f0793625a6e6a6970e
CRs-Fixed: 774533
2019-05-22 09:06:15 -07:00
Nirav Shah
4e6451fe9d qcacld-3.0: Do not send reassoc failure in case of no hw_mode change
In roaming scenario when there is no hw_mode change is required, roam
failure is sent to CSR which is causing move VDEV from INIT state to
EV_DOWN. In this case, wma_target_req buffer expected instead of
scheduler_msg. As the wrong buffer is passed, it is causing a
system instability.

Fix is not to send reassoc failure for LFR2 when there is
no change in hw_mode required and go ahead with connect.

Change-Id: I7cc7b0ee1407e04c47177838fc069db5b90353d7
CRs-Fixed: 2451178
2019-05-22 09:06:14 -07:00
nshrivas
e609d6c4e2 Release 5.2.0.134
Release 5.2.0.134

Change-Id: I3f5caccd7857576759ef9f5cb74530368feba07b
CRs-Fixed: 774533
2019-05-22 04:47:03 -07:00
Rachit Kankane
e75b83e34c qcacld-3.0: Read mcc to scc for p2p-GO
Read mcc to scc INI to enforce SCC when starting GO in multi
concurrency scenario such as STA+GO.

Change-Id: Iba276cc0afd97119651a12bbefefaccadfc6c500
CRs-Fixed: 2456452
2019-05-22 04:47:03 -07:00
nshrivas
8dc3f44c40 Release 5.2.0.133Z
Release 5.2.0.133Z

Change-Id: I4a00847d77da0452c6ed4c619548199853bab09d
CRs-Fixed: 774533
2019-05-22 02:06:35 -07:00
Rachit Kankane
2dba675717 qcacld-3.0: Return valid channel if ACS scan fails
Return valid channel whenever ACS scan returns no results

Change-Id: I44d9248550a263d12ac9f060eb50ac4bfa4d1d11
CRs-Fixed: 2454070
2019-05-22 02:06:34 -07:00
nshrivas
406b6036e1 Release 5.2.0.133Y
Release 5.2.0.133Y

Change-Id: I3b88fbb74259d51b39c7cd2e07e27720f5231a83
CRs-Fixed: 774533
2019-05-21 16:45:10 -07:00
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
Liangwei Dong
e6cbd79d28 qcacld-3.0: Enable CONFIG_HOST_OPCLASS
Enable CONFIG_HOST_OPCLASS for Auto platform

Change-Id: Ibfcd989c54f15eab770ecd3b151ef7e3b3d58b82
CRs-Fixed: 2450569
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
Wu Gao
8dd9f50552 qcacld-3.0: Add INI to set module log level
All INI configuration about modules log level which removed in
previous change "Change-Id: I9c519cf2509e3dc22282f0c7ea6f52cbd2913ccd",
add one INI item for log level of all modules.

Change-Id: Icaedb6bd61a18a81cea9e75e076fe64b11e5bde0
CRs-Fixed: 2442788
2019-05-20 22:15:41 -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
Srinivas Girigowda
7357aa662d qcacld-3.0: Replace WMA BCAST/MCAST macros with QDF BCAST/MCAST
Replace WMA BCAST/MCAST macros with converged QDF BCAST/MCAST
macros.

Change-Id: I4f629597ccbf2ef756dce9ee23c6ecf875905915
CRs-Fixed: 2455150
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
Bala Venkatesh
444588c41e qcacld-3.0: Enable TDLS in case of STA association failure
TDLS is disabled if second connection comes up.
If that second connection fails then enable
the TDLS again.

Change-Id: Id5df1df81c94bcf3a0616bbfb4b33f3e4d81dcbe
CRs-Fixed: 2445831
2019-05-20 13:40:37 -07:00
Will Huang
f108e02f54 qcacld-3.0: Allocate memory from heap to wma_set_stakey
This change I29209576622bc2495a7ce3064e82efca2e70d19a was to fix a
memory leak, but ibss creating peer pass a pointer on stack to
wma_set_stakey API, it makes a regression.

Fix it by passing all pointer from heap to wma_set_stakey API.

Change-Id: I178e4b6a15aa24faae78d9846427b3292d11a1a4
CRs-Fixed: 2455529
2019-05-20 13:40:33 -07:00
Jeff Johnson
c7fa3546e1 qcacld-3.0: Conditionally apply WAR for BT coex issue
Change I9d29c141106db479039789d67c45a455e96a118b introduced a WAR for
a BT coex issue. Now that an updated version of HW is available that
does not need the WAR, only apply the WAR if the hardware version
requires it.

Change-Id: Id204163e81a802d16f1a9ffc78bbfcf2549c7dfb
CRs-Fixed: 2437433
2019-05-20 13:40:29 -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
Rajeev Kumar Sirasanagandla
31fe28ff55 qcacld-3.0: Fix incorrect type and range for LFR ini
Currently LFR band specific ini attributes 5g_rssi_boost_threshold
and 5g_rssi_penalize_threshold programmed with wrong type and range.
This can lead to ignore user-input and always use default value.

To fix this, correct min and max ini values for 5Ghz network RSSI
boost/penalty preference.

Change-Id: If89c09fb1343a68dfaa7241b5ec14b046d1bb758
CRs-Fixed: 2452128
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
gaurank kathpalia
a92bb13dfc qcacld-3.0: Filter SAP based upon ACS channel list
Scenario:
1. Start SAP on any potential LTE-COEX channel.
2. SAP would restart when it gets the event of unsafe channel.

Observation:
SAP restarts on a channel not in ACS channel list.

Expectation:
SAP should restart in channels given by the user
space only which are configured by hostapd.

Issue with driver:
Currently in wlansap_filter_ch_based_acs, the driver
eliminates the channels based upon the ACS start, and
end channel, and not the channel list, which can lead
to almost all the channels being picked, and none eliminated
if the start channel was 1, and end channel was 165, even
when only two channels, say 1 and 165 only were present
in ACS channel list.

Fix:
Fix is to eliminate all the candidate channels which were
not part of the ACS channel list, and pick only those channels
that were part of initial do_acs request.

Change-Id: Ib3b0b0a77c07b423b66e99feb085a370ed01f2de
CRs-Fixed: 2454270
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