Commit Graph

5423 Commits

Author SHA1 Message Date
Dustin Brown
a7e6a5c19d qcacld-3.0: Address mScanPending issues
Address the following issues identified for mScanPending:

* Do not ensure mScanPending is set in hdd_cfg80211_scan_done_callback
* Always set mScanPending to false in hdd_start_all_adapters

Change-Id: I233b8208cea0661c1d8834704e44a311e662dc47
CRs-Fixed: 2073232
2017-07-11 12:08:07 -07:00
snandini
def07eb4fa Release 5.2.0.34K
Release 5.2.0.34K

Change-Id: I51259c13d3e7e3b8927149d49b7c0211e82251e0
CRs-Fixed: 774533
2017-07-11 07:27:14 -07:00
Kapil Gupta
ab7961d7f9 qcacld-3.0: Changes to retain value of snr_monitor_enabled
snr_monitor_enabled in the mac context can be overwritten while
applying sme config again.
Add changes to retain value of snr_monitor_enabled from initial
configuration.

Change-Id: I60522fa27407506522efb45a9c5d3e7a5ac04ef2
CRs-Fixed: 2056870
2017-07-11 07:27:14 -07:00
Kapil Gupta
c1224bf234 qcacld-3.0: Changes to correct channel flags for vendor ACS
In the reg channel info which is sent to external channel
selection daemon, Some channel flags are missing which causes
application to select wrong channel.

Add changes to correct channel flags.

Change-Id: I80834dd7f5f4bfbd2fce88084a938356a741140c
CRs-Fixed: 2068354
2017-07-11 07:27:12 -07:00
snandini
a325d47b46 Release 5.2.0.34J
Release 5.2.0.34J

Change-Id: I5f0ef64d3bb160a293dca3d964a2e2bed50e1e9f
CRs-Fixed: 774533
2017-07-11 05:47:39 -07:00
Srinivas Girigowda
aa6852824a qcacld-3.0: Fix clang warning implicit conversion enum type QDF_STATUS
warning: implicit conversion from enumeration type 'QDF_STATUS' to
different enumeration type 'enum tSirRetStatus' [-Wenum-conversion].

Change-Id: I4627325a927c36f3c4f9bb6d89f04146784d458a
CRs-Fixed: 2055487
2017-07-11 05:47:38 -07:00
Srinivas Girigowda
3ea486def5 qcacld-3.0: Fix clang warning implicit conversion enum hdd_wmm_user_mode
warning: implicit conversion from enumeration type 'enum hdd_wmm_user_mode'
to different enumeration type 'eCsrRoamWmmUserModeType' [-Wenum-conversion].

Add a utility function to convert enum hdd_wmm_user_mode to
eCsrRoamWmmUserModeType.

Change-Id: Iefbe7dd55bd51da2e019b528d64f9889abfd4d32
CRs-Fixed: 2055487
2017-07-11 05:47:36 -07:00
Srinivas Girigowda
bbbecad526 qcacld-3.0: Fix clang warnings implicit conversion enum pkt_filter_action
warning: implicit conversion from enumeration type 'enum pkt_filter_action' to
different enumeration type 'eSirReceivePacketFilterType' [-Wenum-conversion]

Change-Id: Idc819573712a54676ed0ba84d2032d80fd78b3b7
CRs-Fixed: 2055487
2017-07-11 05:47:34 -07:00
snandini
762baecfa6 Release 5.2.0.34I
Release 5.2.0.34I

Change-Id: I12123283cef5f21cfd4afb6d55f3ca9589c009be
CRs-Fixed: 774533
2017-07-11 03:51:59 -07:00
Sravan Kumar Kairam
3d5c118ec6 qcacld-3.0: At TSO segment free set owner TX desc to NULL
Currently at TSO segment free it's debug information is not
cleared. TSO segment TX descriptor owner is part of the debug
information. As a result even after segment free still its
point to stale TX descriptor as it's owner. In this change at
TSO segment free set TX desc owner to NULL.

Change-Id: I09f927d78c7b3aa4691aa69acbd4cef5002cf11d
CRs-Fixed: 2063433
2017-07-11 03:51:58 -07:00
snandini
677f1ce0ea Release 5.2.0.34H
Release 5.2.0.34H

Change-Id: I172c9559b72a9f5b75fa04c90ecbfa6b67cdea43
CRs-Fixed: 774533
2017-07-10 21:46:09 -07:00
Manjunathappa Prakash
c446853fc2 qcacld-3.0: Remove debug logging LRO context
"hdd_lro_rx 159: ctx " debug log was added for Napier emulation
LRO feature verification. Remove debug logging as the feature is
merged now.

Change-Id: Ib49ce9275dee1579e24c5de25ca6ff29e50a21df
CRs-Fixed: 2074005
2017-07-10 21:46:09 -07:00
Yue Ma
0615235c4c qcacld-3.0: Add support to simulate host driver initiated recovery
Expand crash_inject command so that it can be used to simulate host
driver initiated recovery.

Change-Id: Ia29a528c7153ea2ca62094909cb535f218f7bf88
CRs-fixed: 2068035
2017-07-10 21:46:07 -07:00
Yue Ma
63d360abdc qcacld-3.0: Add support for host initiated recovery for QCA6290
Add the interface that host driver can trigger FW assert and do
recovery for QCA6290.

Change-Id: I03a9c374fd2ddc5cc46b9b0a98ce05bcf80a53ec
CRs-fixed: 2068035
2017-07-10 21:46:05 -07:00
Naveen Rawat
d0ca44133d qcacld-3.0: get statistics code path cleanup
HDD always sets periodicity=0 and cache=false so all logic
that exists to support these options can be removed from SME/CSR.

Change-Id: Ica9848badd09d14f50c44998ce830568e2b76024
CRs-Fixed: 2063484
2017-07-10 16:59:07 -07:00
snandini
761f1f35d8 Release 5.2.0.34G
Release 5.2.0.34G

Change-Id: Ie6bd53a3e040f30a4f4daeb783e02ba4dc881385
CRs-Fixed: 774533
2017-07-10 13:36:30 -07:00
Ravi Joshi
04a1c99c32 qcacld-3.0: Set LA bit and reset multicast bit in the mac addr
Locally administered bit needs to be set and multicast bit
needs to be reset in the interface/vdev mac address.

Change-Id: Ifdc39a8137617ebf2d09434deba13767f0c7cf34
CRs-Fixed: 2059150
2017-07-10 13:36:30 -07:00
snandini
d079abf308 Release 5.2.0.34F
Release 5.2.0.34F

Change-Id: If9724fa5e91482b98d5b9e154192822b1cd2e5b8
CRs-Fixed: 774533
2017-07-10 11:42:09 -07:00
Yuanyuan Liu
321ac91edb qcacld-3.0: Use cnss_utils APIs
Use cnss_utils APIs to set/get wlan info as these APIs are platform
independent.

CRs-Fixed: 2071683
Change-Id: Ia35a648a1d4dff308b830bce3b4e9992de2a2834
2017-07-10 11:42:08 -07:00
snandini
7e8340bd32 Release 5.2.0.34E
Release 5.2.0.34E

Change-Id: I0d429366a508e93ede9158a7b7c0e45bbfb9317b
CRs-Fixed: 774533
2017-07-10 09:37:08 -07:00
Amar Singhal
7f55e34ea7 qcacld-3.0: Modify regulatory apis to pdev level
To support reg-domain at pdev level, modify the usage of some
apis to pdev level.

Change-Id: I37c504f77c7704553714cc74cba6c5ef882e774c
CRs-Fixed: 2048784
2017-07-10 09:37:08 -07:00
snandini
51f6b3d2b1 Release 5.2.0.34D
Release 5.2.0.34D

Change-Id: I4166d3950265284314545e5c67c8f891a7bbf0b0
CRs-Fixed: 774533
2017-07-10 05:51:33 -07:00
Ganesh Kondabattini
099e6e8d6a qcacld-3.0: update attribute validation policy
Update attribute validation policy for
QCA_WLAN_VENDOR_ATTR_SAP_MANDATORY_FREQUENCY_LIST vendor attribute

CRs-Fixed: 2069917
Change-Id: Iea67767d9dc324f4cf87cc0838c7f34a6e47d75c
2017-07-10 05:51:33 -07:00
snandini
ce63183d35 Release 5.2.0.34C
Release 5.2.0.34C

Change-Id: I3d31b1e691c911e3ff6e005f8b24d016d9962bfe
CRs-Fixed: 774533
2017-07-10 03:30:30 -07:00
Rajeev Kumar Sirasanagandla
bff450c4e7 qcacld-3.0: Avoid concurrent matrix max param overread
Currently there is no nl policy defined for vendor sub command
QCA_NL80211_VENDOR_SUBCMD_GET_CONCURRENCY_MATRIX which may result in
buffer overread error.

To resolve this, add nl policy.

Change-Id: I155efdbb07f1c5fe300bb2be0c2a3fe07c7e134b
CRs-Fixed: 2054690
2017-07-10 03:30:29 -07:00
snandini
7dbe7e46b9 Release 5.2.0.34B
Release 5.2.0.34B

Change-Id: Ia09a4ac08592374408d98ab6b20cd677034340b0
CRs-Fixed: 774533
2017-07-10 02:45:52 -07:00
Ganesh Kondabattini
d921ed9fb4 qcacld-3.0: Update DBS capability in vendor command
Update the DBS capability of HW in vendor attribute
'QCA_WLAN_VENDOR_ATTR_CONCURRENCY_CAPA' of vendor sub command
'QCA_NL80211_VENDOR_SUBCMD_GET_FEATURES'.

CRs-Fixed: 2064411
Change-Id: I79ddd50a31c7627706684ddb1e5dbab667bf028d
2017-07-10 02:45:52 -07:00
snandini
65f2549bdc Release 5.2.0.34A
Release 5.2.0.34A

Change-Id: I6e8351c29219b7e99652eda9e016abdb0901710e
CRs-Fixed: 774533
2017-07-09 23:41:17 -07:00
Varun Reddy Yeturu
0d3d9916c4 qcacld-3.0: Cleanup CBMode in SME
Cleanup the variable CBMode as there is no usage of
the variable in the code

Change-Id: I4e63a0f6f1cddd639f324c177b198e4b5c18e9e0
CRs-Fixed: 2063149
2017-07-09 23:41:17 -07:00
Varun Reddy Yeturu
8c68b47fa6 qcacld-3.0: Fix clang warnings in PE
Fix implicit conversion from enumeration type 'enum eSirMacStatusCodes'
to different enumeration type 'tSirResultCodes' (aka 'enum
eSirResultCodes')
Fix implicit conversion from enumeration type 'QDF_MODULE_ID' to
different enumeration type 'CDS_MQ_ID'
Fix implicit conversion from enumeration type 'enum eSirRetStatus' to
different enumeration type 'tSirResultCodes'
Fix implicit conversion from enumeration type 'QDF_STATUS' to different
enumeration type 'tSirResultCodes'
Fix implicit conversion from enumeration type 'tSirMacReasonCodes' (aka
'enum eSirMacReasonCodes') to different enumeration type
'tSirResultCodes'

Change-Id: I2e769dcf34a54959082d8154b1e9377b356d2f5e
CRs-Fixed: 2063149
2017-07-09 23:41:15 -07:00
Varun Reddy Yeturu
ba1942a040 qcacld-3.0: Fix CLANG warning for driver_type
Fix implicit conversion from type 'enum driver_type' to different
enumeration type 't_wma_drv_type'

Remove duplicate data structure

Change-Id: Iccf1bed796c0a67109788ce434ab9115b378dd43
CRs-Fixed: 2063149
2017-07-09 23:41:13 -07:00
snandini
af30dc461b Release 5.2.0.34
Release 5.2.0.34

Change-Id: I5c1328409ded3ed0cb04d983d50a8b7f961514dc
CRs-Fixed: 774533
2017-07-09 01:40:06 -07:00
Ravi Joshi
4f095955f4 qcacld-3.0: Enable Napier monitor mode configuration
Host is required to send HTT messages to firmware to configure
and enable monitor mode. The HTT message requests the firmware
to subscribe the TLVs, packet types and also monitor mode type.

CRs-Fixed: 2071621
Change-Id: If2da5de01f3a7eb594e25b421bc17f97498c8a92
2017-07-09 01:40:05 -07:00
snandini
862cc56693 Release 5.2.0.33Z
Release 5.2.0.33Z

Change-Id: I4cc412671dca02162d7c97a7c60af634196af7f8
CRs-Fixed: 774533
2017-07-08 23:41:18 -07:00
Varun Reddy Yeturu
c4631fb7f1 qcacld-3.0: Increase scan ageing value for emulation
Increase the scan ageing timer value from 30 seconds
to 90 seconds for the configuration item
gScanAgingTime

Change-Id: Ic4f87c20601f753c71710d20ed98bdb774538f82
CRs-Fixed: 2072461
2017-07-08 23:41:17 -07:00
snandini
31388137a9 Release 5.2.0.33Y
Release 5.2.0.33Y

Change-Id: Ie4713a18743372182e1ad358b4d89814c775000f
CRs-Fixed: 774533
2017-07-08 13:41:36 -07:00
Deepak Dhamdhere
612392c937 qcacld-3.0: Add .ini configuration for max number of AMSDU
qcacld-2.0 to qcacld-3.0 propagation

Host driver can send number of max AMSDUs in transmit frames.
Added a call to process_wma_set_command() similar to CLI
command processing for GEN_VDEV_PARAM_AMSDU during device
initialization.
Changed name of the field from isAmsduSupportInAMPDU to max_amsdu_num
in several places. Existing SME and LIM code passes this parameter
to WMA, but it is not used there. It may be useful if AMSDU setting
is changed to per-vdev basis in future.

WCNSS_qcom_cfg.ini changes:
Removed - "gAmsduSupportInAMPDU"
Added - Name = "gMaxAmsduNum", Min = 0, Max = 3, Default = 1

Actual function call to ol_txrx_aggr_cfg() send the parameters to
firmware is commented out because it is not implemented in firmware.

Change-Id: I2dfdd8c8c4a8807596ff28eee192ef66ac425653
CRs-Fixed: 871686
2017-07-08 13:41:35 -07:00
snandini
eadb2daa88 Release 5.2.0.33X
Release 5.2.0.33X

Change-Id: I1e3cf186158a4234a110e9767f4fbececd2e33b4
CRs-Fixed: 774533
2017-07-07 23:41:35 -07:00
Amar Singhal
5eb9acb9bd qcacld-3.0: Add 11d scan event to wow statistics
Add 11d scan wakeup event to wow statistics and wow wakeup
reason string.

Change-Id: I4614ec38491fa52eb163481a96140e0e5df45829
CRs-Fixed: 2057841
2017-07-07 19:05:25 -07:00
snandini
458bd856e2 Release 5.2.0.33W
Release 5.2.0.33W

Change-Id: I1440706c601ff5e7f0ff669d159bd3e7617ef59a
CRs-Fixed: 774533
2017-07-07 13:51:32 -07:00
Naveen Rawat
5a6f840edf qcacld-3.0: Randomize NDI mac address
Randomize NDI mac address and avoid potential conflict with FW's
generated NMI mac address by setting LSB of 6th byte to 0.

Change-Id: I8b194fb06bfd1abc46c40124c813a9880d631114
CRs-Fixed: 2053119
2017-07-07 13:51:31 -07:00
Naveen Rawat
c4b045cc81 qcacld-3.0: Enable support for multiple NAN Data Interfaces
Enable support for multiple nan data interfaces. The usespace
may need to create multiple NDIs depending on whether it
requires IP isolation or not.

Change-Id: I4391f2efdc6bdede52a73915531d39dd7798c39d
CRs-Fixed: 2028187
2017-07-07 13:51:29 -07:00
snandini
26ff90c71b Release 5.2.0.33V
Release 5.2.0.33V

Change-Id: Ib99bbd4f97274417bf99108749543eb7d7eca4fc
CRs-Fixed: 774533
2017-07-07 06:27:13 -07:00
Abhishek Singh
caf6a6537a qcacld-3.0: Free callback arg of set link state while discarding WMA msg
If set link state cmd is present in MC thread and is not processed,
during unload/SSR the msg is discarded but callback arg is not freed.

To fix this free the callback argument while discarding the link state
cmd from WMA msg queue.

Change-Id: Ie532a8983c8efbf3a24eef3b93a8c723bfc65a3f
CRs-Fixed: 2053978
2017-07-07 06:27:12 -07:00
snandini
a72eba2769 Release 5.2.0.33U
Release 5.2.0.33U

Change-Id: I9d239cebb6b6291bdfca0a8aa5bb6706ed7b28aa
CRs-Fixed: 774533
2017-07-07 05:42:25 -07:00
Will Huang
a981459c44 qcacld-3.0: Add support of request peer stats info(part 1)
qcacld-2.0 to qcacld-3.0 propagation

FW has limitation to support old WMI_REQUEST_STATS_CMDID and
WMI_UPDATE_STATS_EVENTID interface on AP vDev. FW suggest to use new
WMI_REQUEST_PEER_STATS_INFO_CMDID and WMI_PEER_STATS_INFO_EVENTID to
get tx/rx rate.

This checkin is about WMA layer which process SME message to get peer
stats info and WMI event WMI_PEER_STATS_INFO_EVENTID which send from
firmware as response to WMI_REQUEST_PEER_STATS_INFO_CMDID. There are
also updates using old WMI_REQUEST_STATS_CMDID to get peer stats.

Change-Id: I964520dc44c112875434771154f55f4746298308
CRs-Fixed: 2046459
2017-07-07 05:42:24 -07:00
Houston Hoffman
b6084f1ab8 qcacld-3.0: Free hif recv buffers in cds_flush
Hif recv buffers with fw events were being leaked
in the cds_sched_flush_mc_mqs opperation.

Change-Id: Idc7752740eb955b61876bd235e5e9516f98af4bf
CRs-Fixed: 2004858
2017-07-07 05:42:22 -07:00
snandini
71bf50d1a2 Release 5.2.0.33T
Release 5.2.0.33T

Change-Id: Ib4fea9c63e77500dca2651e874b4d2e244577282
CRs-Fixed: 774533
2017-07-06 17:50:35 -07:00
Naveen Rawat
f440a13e19 qcacld-3.0: Ensure SNR/RSSI fits int8 before passing to UMAC
Firmware reports SNR and RSSI in int32 variable due to restriction
of WMI, however host uses int8 for these. This is causing RSSI or
SNR value to be altered when typecasted. Fix range change for SNR
and RSSI at WMA and ensure it fits int8 before passing to UMAC.

Change-Id: Idc3c4f48bb1212b5f10104843960d1a509403456
CRs-Fixed: 2042747
2017-07-06 17:50:35 -07:00
Hanumanth Reddy Pothula
90051789ab qcacld-3.0: Update valid rssi value to upper-layer
For a small window during roaming and new connection, there is a
possibility of firmware to send the invalid rssi value(other than
0-127), leading driver to send the same invalid rssi value to upper-layer.

To mitigate this issue:
1) Either send previous valid rssi value to upper-layer on receiving invalid
   rssi value from the firmware.
2) Or if previous rssi value is not valid, fetch rssi value from beacon frame
   of connected AP from scan cache.

Change-Id: I4443ed06cd80826ff386c2b4a536a2dc1a1e0881
CRs-Fixed: 2042747
2017-07-06 17:50:32 -07:00