Commit Graph

15991 Commits

Author SHA1 Message Date
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
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
Sourav Mohapatra
9793868536 qcacld-3.0: Change static declaration to dynamic allocation
In function hdd_hostapd_sap_event_cb() there are variables that are
defined in the stack. This can cause stack overflow in certain cases.

Change the declaration of the variables to dynamic memory allocation.

Change-Id: Ic8dca63c57110a92f19a438b2ea9c7ab9936af97
CRs-Fixed: 2446590
2019-05-17 00:49:10 -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
Abhinav Kumar
c4a6c30750 qcacld-3.0: Fix race between vdev_stop and update_11k_offload
Currently, host sends 11k offload command to FW as part of RSO Start
and 11k offload disables to FW during RSO Stop. In case of STA+STA
concurrency, Host sends vdev_stop before 11k_deconfig for
currently enabled STA results to assert in FW.

In order to configure 11k for second STA without assertion, Driver
should de-config 11k for currently enabled STA before vdev stop/delete.

Fix is to configure 11k while start roaming and de-configure 11k
while stop roaming irrespective of the reason for roaming STOP.

Change-Id: I0915d8a0141194c331eb59ba0f2dfa9c8995628a
CRs-Fixed: 2449431
2019-05-16 18:06:40 -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
Pragaspathi Thilagaraj
0f81a6a4b3 qcacld-3.0: Fix compilation issue with CONFIG_QCACLD_WLAN_LFR2 disabled
With feature flag for LFR2 disabled, there is compilation
failure in the wlan host driver.

Fix the compilation issues.

Change-Id: Ic21ccd0b313c6690c72a6546eba30c1ecb306cb0
CRs-Fixed: 2453298
2019-05-16 14:46:06 -07:00