Commit Graph

10369 Commits

Author SHA1 Message Date
nshrivas
328cd32b11 Release 5.2.0.78Z
Release 5.2.0.78Z

Change-Id: I385ee4d95abff3887e0e89e90c9fe2289efa4f21
CRs-Fixed: 774533
2018-05-18 00:00:19 -07:00
Jeff Johnson
c7e4d16ff9 qcacld-3.0: sap: Fix misspellings
Address the following issues in the core/sap folder:
CHECK: 'availabe' may be misspelled - perhaps 'available'?
CHECK: 'defult' may be misspelled - perhaps 'default'?
CHECK: 'fucntion' may be misspelled - perhaps 'function'?
CHECK: 'Funtion' may be misspelled - perhaps 'Function'?
CHECK: 'intial' may be misspelled - perhaps 'initial'?

Change-Id: Id1e696f70d4d3c5ff650a353eb8402216909bc2c
CRs-Fixed: 2241944
2018-05-18 00:00:18 -07:00
Rajeev Kumar Sirasanagandla
0a266177ff qcacld-3.0: Avoid NULL pointer exception in wlan_hdd_allow_sap_add()
When trying to add multiple softap interfaces, sanity checks in
wlan_hdd_allow_sap_add() are trying to access dev in adapter without
NULL check which can lead to NULL pointer exception.

To fix this, add NULL check for dev before access of its attributes.

Change-Id: I57577da1b60443a42e273f87e9f4feac123bc686
CRs-Fixed: 2232394
2018-05-18 00:00:15 -07:00
tinlin
8a44b64ba4 qcacld-3.0: Fix overwrite in wlan_hdd_cfg80211_set_ie
Fix overwrite when handling RSN element and WAPI AKM suite
list in wlan_hdd_cfg80211_set_ie.

Change-Id: I63528da4c2dfafa22f2c6fc73afe52727af02b64
CRs-Fixed: 2228031
2018-05-18 00:00:11 -07:00
nshrivas
8d4ff45fb3 Release 5.2.0.78Y
Release 5.2.0.78Y

Change-Id: Ifb16ca0a99e5e3326398175a520d73e90b8f39a7
CRs-Fixed: 774533
2018-05-17 21:39:03 -07:00
Wen Gong
bf560c80fb qcacld-3.0: Add sap_indicate_radar stub for DFS master disable
Add sap_indicate_radar for enable / disable DFS master feature

Change-Id: I2b65213033fd6065ae8f1a38e927956410678daf
CRs-Fixed: 2243754
2018-05-17 21:39:03 -07:00
Lin Bai
c135114bad qcacld-3.0: Fix potential risk of AMSDU config
Change "qcacld-3.0: Add support to send A-MSDU aggregation type
to firmware" combines the AMSDU/AMPDU configuration path in WMA
layer, which is causing some ampdu parameters be overwritten by
value of amsdu.

Avoid GEN_VDEV_PARAM_AMSDU handler to touch ampdu parameters.

CRs-Fixed: 2243571
Change-Id: I52119f2bbcb306f5fad704e912c4cbb179c6a369
2018-05-17 21:39:00 -07:00
nshrivas
983ab9f9cd Release 5.2.0.78X
Release 5.2.0.78X

Change-Id: Ic2ddd31ed9e4d1e964d469e56e976177a036bdf6
CRs-Fixed: 774533
2018-05-17 18:05:36 -07:00
Kiran Kumar Lokere
bc6fb2f624 qcacld-3.0: Fix the session Nss value when 2x2 is disabled
Set the session Nss value to 1 when the 2x2 configuration is
disabled.

Change-Id: Idabc3fa16cbaa416246fff9efa6b1d114e5ec3fe
CRs-Fixed: 2237662
2018-05-17 18:05:35 -07:00
nshrivas
75bc6e5f4d Release 5.2.0.78W
Release 5.2.0.78W

Change-Id: I029cbc4aea097035cd0e5a46b4b3d8a973454c78
CRs-Fixed: 774533
2018-05-17 16:55:09 -07:00
Kiran Kumar Lokere
30313a3a58 qcacld-3.0: Fix the HE mcs rate in no ack operation
Fix the HE mcs rates when the ack policy is set to no ack to
reduce the tx failures.

Change-Id: Iff923bcb6094d1a75ba1e14ff19897f9ca8c2e0a
CRs-Fixed: 2236565
2018-05-17 16:55:08 -07:00
nshrivas
82bc21d965 Release 5.2.0.78V
Release 5.2.0.78V

Change-Id: I9f70cf0d3fe77e13a4c56df0a589945de7cf8c91
CRs-Fixed: 774533
2018-05-17 15:43:36 -07:00
Hanumanth Reddy Pothula
2fe2d628a0 qcacld-3.0: Resolve possible OOB while posting SET PASSPOINT WMA event
Presently, while processing SET_PASSPOINT_LIST vendor command
HDD is not making sure realm string passed by upper-layer is NULL
terminated, this may lead to buffer overflow as strlen is used
to get realm string length to construct PASSPOINT WMA command.

Make sure realm is NULL terminated before passing the same to
down layers.

Change-Id: I417f2b89dc219664afe5deac00dc361cac4048d6
CRs-Fixed: 2180699
2018-05-17 15:43:35 -07:00
nshrivas
61bce8da74 Release 5.2.0.78U
Release 5.2.0.78U

Change-Id: Id6521f1ad6ed6f7edd3557ac6a0c5c392ee6df7a
CRs-Fixed: 774533
2018-05-17 14:26:20 -07:00
Wen Gong
9976890a5d qcacld-3.0: Featurize dbglog_host
Featurize parsing support for WLAN firmware logs in WLAN host driver

Change-Id: Ib4f04bd23698e981bc4ab1f8e0d880798d521020
CRs-Fixed: 2228367
2018-05-17 14:26:19 -07:00
Sravan Kumar Kairam
cc1abc88f9 qcacld-3.0: Fix information leak in IPA res info and stats
Currently in functions to show IPA resource info and IPA stats
there are information related to IPA resources memory address.
This may be lead to potential information leak to the location
of IPA resources. Remove the addresses information from the
logs in res info and stats function.

Change-Id: I75d756211c8aaaea300fb207e40a08f5b1ca81e3
CRs-Fixed: 2225361
2018-05-17 14:26:15 -07:00
nshrivas
18d3d88810 Release 5.2.0.78T
Release 5.2.0.78T

Change-Id: Ia89eb58c8d2325e34818666cb1949d055fa18614
CRs-Fixed: 774533
2018-05-17 11:35:13 -07:00
Rajeev Kumar
4992b686c2 qcacld-3.0: Reject DISA test vendor command if power save is enabled
DISA encrypt/decrypt test is not supported by FW when power save is
enabled. Add check to reject DISA encrypt/decrypt vendor test command
if power save is enabled.

Change-Id: Ia83036f957a3298288d312f836d40284344ce8e8
CRs-Fixed: 2240880
2018-05-17 11:35:10 -07:00
bings
071a4c6d71 qcacld-3.0: Do not call dfs_get_radars if concurrent sap exists
If concurrent sap exists, which means dfs_init_radar_filters has
been called before, there is no need to call it again.

Change-Id: Ibf1805b0dbd27fbdf36c37450bdb95626195fb81
CRs-Fixed: 2241282
2018-05-17 11:35:01 -07:00
Will Huang
1655c228cb qcacld-3.0: Fix assigning wrong obss active/passive dwell time value
The obss active dwell time does not match with OBSS IE in association
response, it is a mistake to assign passive dwell time of OBSS IE to
active dwell time, and the passive dwell time value is from ini, not
updated to OBSS IE value.

Assign OBSS IE passive dwell time to passive dwell time parameter.

Change-Id: I5e7945353d00f0411ef3d92534c3f170dec440a5
CRs-Fixed: 2239670
2018-05-17 11:34:51 -07:00
Kiran Kumar Lokere
e43a458fdc qcacld-3.0: Fix the issue with LDPC disable
LDPC dynamic configuration setting is not updated into session
configuration hence LDPC disable do not happen when user disable
it. Update the session configuration parameters for LDPC with
user settings.

Change-Id: Ic0b5f2b17cde5746054f90d78d6c99624444d086
CRs-Fixed: 2235936
2018-05-17 11:34:42 -07:00
nshrivas
2a97b23a83 Release 5.2.0.78S
Release 5.2.0.78S

Change-Id: Id5514ee7a911e596644b96a2e6bfc7b62f8388ee
CRs-Fixed: 774533
2018-05-17 07:59:23 -07:00
jitiphil
46e0a1354b qcacld-3.0: Possible Out Of Bound reads in htt_t2h_tx_ppdu_log_print()
mpdu_bytes_array_len, mpdu_msdus_array_len, and msdu_bytes_array_len
are used to calculate the record size, as well as used as
buffer offset, without any verification. This can cause to multiple
overflows and underflow leading to OOB reads.

Add checks for each arithmetic operation with these variables.

Change-Id: Ib6ec6ac6932eb8c541bc2357d45d3feaf39fdb7d
CRs-Fixed: 2226125
2018-05-17 07:59:21 -07:00
nshrivas
14c64fc404 Release 5.2.0.78R
Release 5.2.0.78R

Change-Id: I5b358b8b5b851ba5949c2b058be76fabda1ccf77
CRs-Fixed: 774533
2018-05-17 06:03:36 -07:00
gaurank kathpalia
a4a012ca2e qcacld-3.0: Add length check in wma_process_rmf_frame
The driver verifies the replay_attack in protected
management frames in the API wma_is_ccmp_pn_replay_attack
The API expects a CCMP header pointer, but it may happen that
the size of the total frame is less than the size of ieee frame
+ the CCMP header length. In that case the CCMP pointer will
point to some memory location  not allocated to the frame, which
will result to out of bound access.

Fix is to add a length check to memory allocated to wbuf in
wma_process_rmf_frame

Change-Id: I351fa671cb8728843c8843c27dd91bcb201abb42
CRs-Fixed: 2230976
2018-05-17 06:03:33 -07:00
nshrivas
9ccc1db17f Release 5.2.0.78Q
Release 5.2.0.78Q

Change-Id: I2e40d207344f46323b04d88f022e69678c7f1d8a
CRs-Fixed: 774533
2018-05-16 23:19:46 -07:00
Srinivas Girigowda
836475eb0c qcacld-3.0: Add dummy function for supplicant deprecated commands
This commit fix the VTS test failures when running the following
deprecated commands in SupplicantStaIfaceHidlTest
  RXFILTER-START
  RXFILTER-STOP
  BTCOEXSCAN-START
  BTCOEXSCAN-STOP

Change-Id: I45fa09c24700e6872de7709c6875dbdbd8aa10cc
CRs-Fixed: 2226343
2018-05-16 23:19:45 -07:00
Srinivas Girigowda
e1be8779ca qcacld-3.0: Revive the WoW wakeup logs to appear in kmsg
In the earlier generation of product or qcacld-3.0 code,
the wow related logs which helps debug which is the packet
waking up the APPS used to appear in kmsg and hence part of
the bugreport.

Now in the recent code base, this log is moved to LOGD
which appears in cnss_diag, with this change the ask is
to revive the same logs to appear in kmsg instead of
cnss_diag logs.

Hence move these from Debug to Info. INFO logs appear in kmsg.

Change-Id: Iefcd362209f3f2276d0c2ac53359e0f325122f95
CRs-Fixed: 2225547
2018-05-16 23:19:39 -07:00
Srinivas Girigowda
44cff5c444 qcacld-3.0: Log netdev tx queue state at user triggered disconnect
Framework shall trigger disconnect for many reasons,
one of them is NUD failure. The motive to print tx queue
state whenever disconnect is triggered from the userspace
is to see the state of the tx queue at the time of disconnect.

Change-Id: I73f6359f6823de4781ed94b1d4f19c4a0a198879
CRs-Fixed: 2225547
2018-05-16 23:19:32 -07:00
nshrivas
b59f9ed952 Release 5.2.0.78P
Release 5.2.0.78P

Change-Id: I31e07091730bc49562a7f49e38695a7cb2984427
CRs-Fixed: 774533
2018-05-16 18:01:50 -07:00
Jeff Johnson
5e58340074 qcacld-3.0: pld: Fix misspelling of 'bandwidth'
Address the following issue in the core/pld folder:
CHECK: 'bandwith' may be misspelled - perhaps 'bandwidth'?

Change-Id: Ic397c156ff7ba32cec590083098474af16569ea7
CRs-Fixed: 2241943
2018-05-16 18:01:49 -07:00
Jeff Johnson
47d7524e3e qcacld-3.0: mac: Fix misspellings
Address the following issues in the core/mac folder:
CHECK: 'absense' may be misspelled - perhaps 'absence'?
CHECK: 'accquired' may be misspelled - perhaps 'acquired'?
CHECK: 'acknowledgement' may be misspelled - perhaps 'acknowledgment'?
CHECK: 'arbitary' may be misspelled - perhaps 'arbitrary'?
CHECK: 'automaticly' may be misspelled - perhaps 'automatically'?
CHECK: 'calulate' may be misspelled - perhaps 'calculate'?
CHECK: 'couter' may be misspelled - perhaps 'counter'?
CHECK: 'defferred' may be misspelled - perhaps 'deferred'?
CHECK: 'Defintions' may be misspelled - perhaps 'Definitions'?
CHECK: 'dependant' may be misspelled - perhaps 'dependent'?
CHECK: 'dosen' may be misspelled - perhaps 'doesn'?
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
CHECK: 'explicitely' may be misspelled - perhaps 'explicitly'?
CHECK: 'fimware' may be misspelled - perhaps 'firmware'?
CHECK: 'fucntion' may be misspelled - perhaps 'function'?
CHECK: 'Funtion' may be misspelled - perhaps 'Function'?
CHECK: 'immediatly' may be misspelled - perhaps 'immediately'?
CHECK: 'implemetation' may be misspelled - perhaps 'implementation'?
CHECK: 'Intialize' may be misspelled - perhaps 'Initialize'?
CHECK: 'lengh' may be misspelled - perhaps 'length'?
CHECK: 'managment' may be misspelled - perhaps 'management'?
CHECK: 'Managment' may be misspelled - perhaps 'Management'?
CHECK: 'messsages' may be misspelled - perhaps 'messages'?
CHECK: 'Notifed' may be misspelled - perhaps 'Notified'?
CHECK: 'parametes' may be misspelled - perhaps 'parameters'?
CHECK: 'Paramters' may be misspelled - perhaps 'Parameters'?
CHECK: 'processsing' may be misspelled - perhaps 'processing'?
CHECK: 'receving' may be misspelled - perhaps 'receiving'?
CHECK: 'Recieved' may be misspelled - perhaps 'Received'?
CHECK: 'reponse' may be misspelled - perhaps 'response'?
CHECK: 'reseting' may be misspelled - perhaps 'resetting'?

Change-Id: Id58b5bf38fe88007c88cbda62a1fc43c0f1b3a37
CRs-Fixed: 2241942
2018-05-16 18:01:44 -07:00
Jeff Johnson
3dca222e0b qcacld-3.0: dp: Fix misspellings
Address the following issues in the core/dp folder:
CHECK: 'accomodate' may be misspelled - perhaps 'accommodate'?
CHECK: 'acess' may be misspelled - perhaps 'access'?
CHECK: 'bahavior' may be misspelled - perhaps 'behavior'?
CHECK: 'catagory' may be misspelled - perhaps 'category'?
CHECK: 'continous' may be misspelled - perhaps 'continuous'?
CHECK: 'controler' may be misspelled - perhaps 'controller'?
CHECK: 'curently' may be misspelled - perhaps 'currently'?
CHECK: 'defintion' may be misspelled - perhaps 'definition'?
CHECK: 'Defintions' may be misspelled - perhaps 'Definitions'?
CHECK: 'desriptor' may be misspelled - perhaps 'descriptor'?
CHECK: 'extention' may be misspelled - perhaps 'extension'?
CHECK: 'informations' may be misspelled - perhaps 'information'?
CHECK: 'lenght' may be misspelled - perhaps 'length'?
CHECK: 'managment' may be misspelled - perhaps 'management'?
CHECK: 'messsage' may be misspelled - perhaps 'message'?
CHECK: 'neccessary' may be misspelled - perhaps 'necessary'?
CHECK: 'recieved' may be misspelled - perhaps 'received'?
CHECK: 'Recieve' may be misspelled - perhaps 'Receive'?

Change-Id: Ib8c1b94b5bb3bb5798e41dbb4c1461be80fd1398
CRs-Fixed: 2241941
2018-05-16 18:01:38 -07:00
Jeff Johnson
47486e2f87 qcacld-3.0: cds: Fix misspellings
Address the following issue in the core/cds folder:
CHECK: 'couter' may be misspelled - perhaps 'counter'?
CHECK: 'defintions' may be misspelled - perhaps 'definitions'?
CHECK: 'endianess' may be misspelled - perhaps 'endianness'?
CHECK: 'extention' may be misspelled - perhaps 'extension'?
CHECK: 'independant' may be misspelled - perhaps 'independent'?
CHECK: 'initilize' may be misspelled - perhaps 'initialize'?
CHECK: 'minumum' may be misspelled - perhaps 'minimum'?
CHECK: 'recieve' may be misspelled - perhaps 'receive'?

Change-Id: I8586ee1aa0a2ab59faa064ff534148511e662615
CRs-Fixed: 2241940
2018-05-16 18:01:33 -07:00
Jeff Johnson
9e80bab8d0 qcacld-3.0: bmi: Fix misspellings
Address the following issues in the core/bmi folder:
CHECK: 'Defintions' may be misspelled - perhaps 'Definitions'?
CHECK: 'initilization' may be misspelled - perhaps 'initialization'?

Change-Id: I649b42e30e10e51c2c734d909a8c9ab2811b9421
CRs-Fixed: 2241939
2018-05-16 18:01:27 -07:00
Jeff Johnson
265d6a7f23 qcacld-3.0: Fix misspelling of 'required'
Fix misspelling 'requried' => 'required'.

Change-Id: I97f4a5c5ed65b8652b9ae5c58683b6240299f58a
CRs-Fixed: 2241938
2018-05-16 18:01:22 -07:00
Jeff Johnson
06aebd7e54 qcacld-3.0: Fix misspelling of 'Suported'
Fix misspelling 'Suported' => 'Supported'.

Change-Id: I13a56ebd9cab0d79973996e746b923f525dc2594
CRs-Fixed: 2241937
2018-05-16 18:01:17 -07:00
Jeff Johnson
3370f3a742 qcacld-3.0: Fix misspellings of 'success'
Fix misspellings
- success => success
- succesful => successful
- succesfull => successful
- succesfully => successfully

Change-Id: Ie74c59650c4784ac6df4599f38487eee90489b23
CRs-Fixed: 2241936
2018-05-16 18:01:12 -07:00
Jeff Johnson
6bb5d7852a qcacld-3.0: Fix misspelling of 'retrieve'
Fix misspelling 'retreive' => 'retrieve'

Change-Id: I7fd51f73a911e528e2e17088f7a099056478efc8
CRs-Fixed: 2241935
2018-05-16 18:01:07 -07:00
Jeff Johnson
bd16f9df6b qcacld-3.0: Fix misspelling of 'request'
Fix misspelling 'reuqest' => 'request'

Change-Id: I6ad1d3d45922bba6362304bd28bb1239eeb0c5e1
CRs-Fixed: 2241934
2018-05-16 18:01:03 -07:00
Jeff Johnson
179fd8ae0e qcacld-3.0: Fix misspelling of 'specific'
Fix misspelling 'specfic' => 'specific'

Change-Id: Idc4f5ec0d23a36ab98cfea84647bd38f4eace3a8
CRs-Fixed: 2241933
2018-05-16 18:00:54 -07:00
Jeff Johnson
d460e84274 qcacld-3.0: Fix misspelling of 'stopped'
Fix misspelling stoped => stopped

Change-Id: I272a0c3ad5ab262570ec9de0e72e5438fa67767a
CRs-Fixed: 2241932
2018-05-16 18:00:43 -07:00
Jeff Johnson
a642eadfd2 qcacld-3.0: Fix misspellings of 'support'
Fix misspellings 'suport' => 'support'

Change-Id: Iba5b4046ffa99db7cbc7b9f4e92e0bc680cd817f
CRs-Fixed: 2241931
2018-05-16 18:00:39 -07:00
Jeff Johnson
329bb2a1d3 qcacld-3.0: Fix misspelling of 'the'
Fix misspelling 'teh' => 'the'

Change-Id: I3d8f6068f8abbaf07962e244f076a5ef68a23662
CRs-Fixed: 2241930
2018-05-16 18:00:34 -07:00
Jeff Johnson
c5927def57 qcacld-3.0: Fix misspellings of 'update'
Fix misspellings:
- udpated => updated
- udpate_type => update_type

Change-Id: I0481278e76a6482d0974d1730398cbcf633f4b08
CRs-Fixed: 2241929
2018-05-16 18:00:30 -07:00
Jeff Johnson
2a2fa1f17f qcacld-3.0: Fix misspellings of 'Utility'
Fix misspellings 'Utiltity' => 'Utility'.

Change-Id: Ib4a5a9e25b6a6316f52ea2b6f869fc976465fb68
CRs-Fixed: 2240060
2018-05-16 18:00:25 -07:00
Jeff Johnson
bbca3d503c qcacld-3.0: Fix misspellings of 'unknown'
Fix misspellings 'unknow' => 'unknown'

Change-Id: I7593ddf74df9c7917bd94819953ef0603c15a933
CRs-Fixed: 2240061
2018-05-16 18:00:20 -07:00
Jeff Johnson
7fa88f7970 qcacld-3.0: Fix misspelling of 'until'
Fix misspelling 'untill' => 'until'.

Change-Id: Ie5b8f8ffb1bbbea634978c4863b0dccf589cb37d
CRs-Fixed: 2240062
2018-05-16 18:00:16 -07:00
Jeff Johnson
00634ab05b qcacld-3.0: Fix misspelling of 'valid'
Fix misspelling 'vaild' => 'valid'

Change-Id: I48db34267b23ea06206a44f523bb9087fd997a10
CRs-Fixed: 2240063
2018-05-16 18:00:12 -07:00
Jeff Johnson
6548503053 qcacld-3.0: Fix misspelling of 'virtual'
Fix misspelling 'virtaul' => 'virtual'

Change-Id: I51517b1a879bae1adcbe90a75043198d9352c27b
CRs-Fixed: 2240064
2018-05-16 18:00:08 -07:00