Commit Graph

15161 Commits

Author SHA1 Message Date
Jeff Johnson
784efe29c7 qcacld-3.0: Rename HDD identifier RSNAuthType
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier RSNAuthType to be compliant.

Change-Id: If93efea4637d88a8c59f376fcc905aa4a40de574
CRs-Fixed: 2415550
2019-03-14 13:01:15 -07:00
Jeff Johnson
84b3433a66 qcacld-3.0: Rename HDD identifier neighborReq
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier neighborReq to be compliant.

Change-Id: I07649d9aa0ab26b69d6a1fbf7ea05ac5ce3f307f
CRs-Fixed: 2415549
2019-03-14 13:01:10 -07:00
nshrivas
2585f96e6c Release 5.2.0.125S
Release 5.2.0.125S

Change-Id: I4fc0710a17fefef7adff21c03b49acb97e4bfcdf
CRs-Fixed: 774533
2019-03-14 11:17:54 -07:00
Abhinav Kumar
667b6b48ea qcacld-3.0: Ignore update of HT info for Invalid channel
Currently, driver updates lim global structure, if channel switch
parameters in the beacon/probe rsp have changed. And sends an
indication to HAL with the updated HT parameters. In case if
channel pHTInfo->primaryChannel obtained from a beacon or probe
response is invalid, driver still allows fw to switch to an
invalid channel results assert in fw.

Fix is to ignore HT channel switch parameters updates if an
invalid channel present in beacon or probe response.

Change-Id: I92d9d0917077300f719068e1e0e5cfc282010dba
CRs-Fixed: 2414170
2019-03-14 11:17:54 -07:00
wadesong
bfc88b4a0d qcacld-3.0: cfg ini documentation refine
Some malformed comments were discovered when generating
the official documentation of wlan cfg ini items.

Refine the documentation text of the following items
in one batch:

gEnableDynamicDTIM
g_sap_chanswitch_mode
gVhtChannelWidth
gDataInactivityTimeout

Change-Id: I2b1455d0ea27fd35dc0cf66316c7dc3b348ee0ac
CRs-Fixed: 2416086
2019-03-14 11:17:48 -07:00
Jeff Johnson
09bb9cf90a qcacld-3.0: Rename HDD identifier callbackInfo
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier callbackInfo to be compliant.

Change-Id: I71e41f668f0451cc482e8889fd4d751d6bb02115
CRs-Fixed: 2415548
2019-03-14 11:17:44 -07:00
Jeff Johnson
c3f37e3744 qcacld-3.0: Rename HDD identifier tSpec
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier tSpec to be compliant.

Change-Id: I10fd01adcc87cb2bff5d48fa349e9a355dd90683
CRs-Fixed: 2415547
2019-03-14 11:17:39 -07:00
nshrivas
d109497cd3 Release 5.2.0.125R
Release 5.2.0.125R

Change-Id: I1c4e357f81f352db29acc24933c5594fa699ba7d
CRs-Fixed: 774533
2019-03-14 02:43:20 -07:00
Sourav Mohapatra
aaa0f882f6 qcacld-3.0: Avoid Integer underflow in hdd_dns_make_name_query
In the function hdd_dns_make_name_query, the driver is performing a
validation check that includes the use of length of the received string
as an array index. As the length and string both are user controlled,
the user can send the length as zero. As the policy states that the
given attribute is NLA_BINARY, so there would be no validation check
that can ensure the correct input. Therefore in the case of a malformed
packet with null length string, it can cause a possible integer
underflow.

To avoid this vulnerability change the attribute type from NLA_BINARY to
NLA_NUL_STRING. This will cause all the checks to be performed at
validate_nla.

Change-Id: I0bb569b71a88a07745d364dad23cf1210af4212e
CRs-Fixed: 2409913
2019-03-14 02:43:19 -07:00
Jeff Johnson
18a8ebddde qcacld-3.0: Rename HDD identifier pRequest
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pRequest to be compliant.

Change-Id: I738fd83ecb00de6399f224bbfbd956dbbe5effce
CRs-Fixed: 2414998
2019-03-14 02:43:14 -07:00
Jeff Johnson
fdc68daa8a qcacld-3.0: Rename HDD identifier offloadRequest
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier offloadRequest to be compliant.

Change-Id: I8b3ee0d09cc6031a6a082a84a10173526fb46f47
CRs-Fixed: 2414997
2019-03-14 02:43:09 -07:00
Jeff Johnson
b7c419b3c7 qcacld-3.0: Rename HDD identifier pStatus
The Linux Coding Style frowns upon mixed-case names and so-called
Hungarian notation, so rename HDD identifier pStatus to be compliant.

Change-Id: Ic4c8a4cb85a151144861ee9983e2eea5a28d7e2f
CRs-Fixed: 2414996
2019-03-14 02:43:04 -07:00
Jeff Johnson
92ed16c22d qcacld-3.0: Rename HDD identifier connectedBand
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier connectedBand to be compliant.

Change-Id: I6a42c38c8acdcea7a248d1b7baf7443b437985ff
CRs-Fixed: 2414995
2019-03-14 02:43:00 -07:00
Jeff Johnson
dbae017255 qcacld-3.0: Rename HDD identifier currBand
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier currBand to be compliant.

Change-Id: I5ecc8773f985ca4558a87250446f492ec7f6b1cc
CRs-Fixed: 2414994
2019-03-14 02:42:55 -07:00
Jeff Johnson
c7776f219d qcacld-3.0: Rename HDD identifier uapsdMask
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier uapsdMask to be compliant.

Change-Id: I40bab07e5c7e8fd5f8be9c26732f304c0c2bfadd
CRs-Fixed: 2414993
2019-03-14 02:42:51 -07:00
Jeff Johnson
55c4388b9a qcacld-3.0: Rename HDD identifier queueIndex
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier queueIndex to be compliant.

Change-Id: Iaf7bc148b7559e64dcdb45ee8a7c5143467a356c
CRs-Fixed: 2414992
2019-03-14 02:42:46 -07:00
Jeff Johnson
93ca0cdb0e qcacld-3.0: Rename HDD identifier qosInfo
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier qosInfo to be compliant.

Change-Id: I6badd2c5add06830886cce3740fe15bf29dba7fb
CRs-Fixed: 2414991
2019-03-14 02:42:42 -07:00
Jeff Johnson
0a12bbc538 qcacld-3.0: Rename HDD identifier inactivityTime
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier inactivityTime to be compliant.

Change-Id: I22e52f1e916e201efb84a1fa9afffde165c1912a
CRs-Fixed: 2414990
2019-03-14 02:42:37 -07:00
Jeff Johnson
15bf1b125f qcacld-3.0: Rename HDD identifier currentTrafficCnt
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier currentTrafficCnt to be compliant.

Change-Id: Ic330104dc1cc74ed3f4e07534911ee5c1992f262
CRs-Fixed: 2414989
2019-03-14 02:42:33 -07:00
nshrivas
429ccc8ac5 Release 5.2.0.125Q
Release 5.2.0.125Q

Change-Id: I3d801f56c7e078631caf0b7a207eeab5d16dc202
CRs-Fixed: 774533
2019-03-13 23:21:42 -07:00
Kiran Kumar Lokere
a1c29ecc16 qcacld-3.0: Configuration support for VHT in 2.4G band
Add support to configure VHT support in 2.4G band.

Change-Id: If3e94db7b4b8a84522b395bd2f33a52ccf42d053
CRs-Fixed: 2414930
2019-03-13 23:21:41 -07:00
Kiran Kumar Lokere
921b5a5213 qcacld-3.0: Configuration support for HE testbed defaults
Add support to configure HE testbed defaults configuration
settings.

Change-Id: I13a2158ac2e1fd05465bd74103a96fb427592de0
CRs-Fixed: 2414928
2019-03-13 23:21:36 -07:00
Kiran Kumar Lokere
49e3aff542 qcacld-3.0: Configuration support for HE OM UL MU data disable
Add support to configure HE OM control UL MU data disable bit.

Change-Id: I62a3b33a2a08a7510ed9aafeb6da2842fe7ef09e
CRs-Fixed: 2386309
2019-03-13 23:21:30 -07:00
Kiran Kumar Lokere
acd107d0a6 qcacld-3.0: Add support to configure HE +HTC support and OMI Tx
Add support to configure HE +HTC support in HE caps and HE OM
control transmission.

Change-Id: Ic3ad5952198472ecda79471a37ff527dfdbcdbf0
CRs-Fixed: 2359376
2019-03-13 23:21:25 -07:00
wadesong
e1fc997982 qcacld-3.0: Code refine for SSDP and DTIM config
1) 'ssdp' in t_wma_handle structure is not used anymore,
   remove this redundant field.
2) ucfg_pmo_set_sta_mod_dtim and ucfg_pmo_get_sta_mod_dtim
   should have been accessing 'sta_mod_dtim' instead of
   'sta_dynamic_dtim' in struct pmo_psoc_cfg.

Change-Id: Iedd7bed1c9f637a819f97b6d8c687b784739dd62
CRs-Fixed: 2415087
2019-03-13 23:21:20 -07:00
Wu Gao
7c0a23f682 qcacld-3.0: Avoid memory leak if don't found session
It won't free the nbuffer when tx mgmt frame and don't found session,
then cause memory leak. So free memory to avoid memory leak.

Change-Id: I4e6c2fcdcbf9fa549887602eeaeee3126edc1ef5
CRs-Fixed: 2400974
2019-03-13 23:21:15 -07:00
nshrivas
a01814a7fa Release 5.2.0.125P
Release 5.2.0.125P

Change-Id: Idc9c8630f783ab7d5008e1c29c621fa37e0764e0
CRs-Fixed: 774533
2019-03-13 19:41:17 -07:00
Srinivas Girigowda
69e60dbbde qcacld-3.0: Remove obsolete macros/enums from the code
Remove obsolete macros/enums from the code.

Change-Id: I398f4d65bcfc996bbaf12076b55b7e6cf9e182be
CRs-Fixed: 2414803
2019-03-13 19:41:17 -07:00
Harprit Chhabada
3946d611e9 qcacld-3.0: Define the scan related macros in Kbuild
Define the following scan related macros in the Kbuild.
This is part of CONFIG_MCL cleanup, where these macros
are removed from common.

MAX_SCAN_CACHE_SIZE 300
SCAN_MAX_REST_TIME 0
SCAN_MIN_REST_TIME 0
SCAN_BURST_DURATION 0
SCAN_PROBE_SPACING_TIME 0
SCAN_PROBE_DELAY 0
SCAN_MAX_SCAN_TIME 30000
SCAN_NETWORK_IDLE_TIMEOUT 0
HIDDEN_SSID_TIME (1*60*1000)
SCAN_CHAN_STATS_EVENT_ENAB (false)

Change-Id: I43e3a73e2b31c25ea688f913768cfd51d531bbbe
CRs-Fixed: 2412779
2019-03-13 19:41:12 -07:00
nshrivas
2f3e259e78 Release 5.2.0.125O
Release 5.2.0.125O

Change-Id: I262b8f3914f521d09a1ae470f22cc5b329ae4e0a
CRs-Fixed: 774533
2019-03-13 09:31:54 -07:00
Jeff Johnson
de474b4f6e qcacld-3.0: Rename HDD identifier wmmPrevTrafficCnt
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmPrevTrafficCnt to be compliant.

Change-Id: Icf8e455e81145c5319f943308c078db7ca01c8b5
CRs-Fixed: 2414525
2019-03-13 09:31:53 -07:00
Jeff Johnson
154193b1ac qcacld-3.0: Rename HDD identifier wmmInactivityTime
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmInactivityTime to be compliant.

Change-Id: Iceffbf91bba02635d0174fa25db3d0401e450146
CRs-Fixed: 2414524
2019-03-13 09:31:48 -07:00
Jeff Johnson
a2b8b4783f qcacld-3.0: Rename HDD identifier wmmInactivityTimer
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmInactivityTimer to be compliant.

Change-Id: I23b0d28adaa95cc6f127c6309788366f259a4a88
CRs-Fixed: 2414523
2019-03-13 09:31:43 -07:00
Jeff Johnson
68a8a9a356 qcacld-3.0: Rename HDD identifier wmmAcUapsdDirection
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdDirection to be compliant.

Change-Id: Ifd22bf0a1ae974ff1425d88e15a1702ddad3d2b7
CRs-Fixed: 2414522
2019-03-13 09:31:38 -07:00
Jeff Johnson
48fffec448 qcacld-3.0: Rename HDD identifier wmmAcUapsdSuspensionInterval
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdSuspensionInterval to be compliant.

Change-Id: Ia309e77f9ee13251b84dc4f825a19d0222dfd648
CRs-Fixed: 2414521
2019-03-13 09:31:33 -07:00
Jeff Johnson
e8f3a77500 qcacld-3.0: Rename HDD identifier wmmAcUapsdServiceInterval
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcUapsdServiceInterval to be compliant.

Change-Id: I93337f46663e40521b6baf467abcff59cca98cc8
CRs-Fixed: 2414520
2019-03-13 09:31:28 -07:00
Jeff Johnson
a86be85093 qcacld-3.0: Rename HDD identifier wmmAcIsUapsdEnabled
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcIsUapsdEnabled to be compliant.

Change-Id: I4f109c7806881b358886e24e7876aac7c24918fb
CRs-Fixed: 2414519
2019-03-13 09:31:23 -07:00
Jeff Johnson
64d94dd5d7 qcacld-3.0: Rename HDD identifier wmmAcTspecInfo
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier wmmAcTspecInfo to be compliant.

Change-Id: I707b0351effc4a6d5d2554a283c519c89b0f0b42
CRs-Fixed: 2414518
2019-03-13 09:31:19 -07:00
nshrivas
df278a4cf6 Release 5.2.0.125N
Release 5.2.0.125N

Change-Id: Ida7b968a508b54d7e26385de2e7d033e3c429864
CRs-Fixed: 774533
2019-03-13 06:49:18 -07:00
Jeff Johnson
0b47f6aa6a qcacld-3.0: Remove curTxMpduCnt from tDphHashNode
The curTxMpduCnt member of tDphHashNode is initialized but is
otherwise never modified or read. Since it is obsolete, remove it.

Change-Id: I73c5c296b38dc5a8794862c5314fdf5f63e6c0d4
CRs-Fixed: 2414744
2019-03-13 06:49:16 -07:00
Jeff Johnson
3c08ace019 qcacld-3.0: Prune lim_send_probe_rsp_mgmt_frame() params
The lim_send_probe_rsp_mgmt_frame() parameters n_staid and keepalive
are not actually used, so remove them.

Change-Id: Iccaecb9abe336b0cad943b2c77944ff555d523cd
CRs-Fixed: 2414655
2019-03-13 06:49:12 -07:00
Jeff Johnson
c9cc324545 qcacld-3.0: Remove fragSize from tDphHashNode
The fragSize member of tDphHashNode is initialized but is otherwise
never modified or read. Since it is obsolete, remove it.

Change-Id: I7cdf9c62b25d14f9d74ac5144def2a6d4e69ca7c
CRs-Fixed: 2414654
2019-03-13 06:49:06 -07:00
Jeff Johnson
223169db3f qcacld-3.0: Remove encPolicy from tDphHashNode
The encPolicy member of tDphHashNode is initialized but is otherwise
never modified or read. Since it is obsolete, remove it, along with
the macros that define the values that it formerly used.

Change-Id: If6698217b6c7d10840f0776c77678861be026c2b
CRs-Fixed: 2414653
2019-03-13 06:49:02 -07:00
Jeff Johnson
3d1f32eff0 qcacld-3.0: Remove stopTx from tDphHashNode
The stopTx member of tDphHashNode is unused, so remove it.

Change-Id: I4738b8289ef2f41dc0aeb1ae5492c67578d8817d
CRs-Fixed: 2414652
2019-03-13 06:48:58 -07:00
Jeff Johnson
002feba403 qcacld-3.0: Remove staAuthenticated from tDphHashNode
The staAuthenticated member of tDphHashNode is unused, so remove it.

Change-Id: Ib3b824725954f7fc9fe622bd772917aae6269fd2
CRs-Fixed: 2414651
2019-03-13 06:48:53 -07:00
Jeff Johnson
b39beee1a5 qcacld-3.0: Remove numTimSent from tDphHashNode
The numTimSent member of tDphHashNode is unused, so remove it.

Change-Id: I7ff92894a1dfa168ae501fd5d5f8494023c90241
CRs-Fixed: 2414650
2019-03-13 06:48:49 -07:00
Jeff Johnson
d085129a9b qcacld-3.0: Remove rsvd1 from tDphHashNode
The tDphHashNode is no longer part of an ABI, so using rsvd1 to
preserve bit positions is no longer required, so remove it.

Change-Id: Iea1a757d30f93a31fc1b0a315cae512bfce95d31
CRs-Fixed: 2414649
2019-03-13 06:48:44 -07:00
Jeff Johnson
84e1711054 qcacld-3.0: Remove linkTestOn from tDphHashNode
The linkTestOn member of tDphHashNode is unused, so remove it.

Change-Id: I9ac942c2e4a9fe1c9b492aee056595e3df64a25b
CRs-Fixed: 2414648
2019-03-13 06:48:40 -07:00
Jeff Johnson
805e2061c8 qcacld-3.0: Remove defaultKey members from tDphHashNode
The defaultKey and defaultKeyId members of tDphHashNode are unused, so
remove them.

Change-Id: I8ec6c73d55de3b3873797c5b0cbb0fa1e6eafe74
CRs-Fixed: 2414647
2019-03-13 06:48:36 -07:00
Jeff Johnson
314297e137 qcacld-3.0: Remove baPolicyFlag from tDphHashNode
The baPolicyFlag in tDphHashNode is initialized to 0xFF in several
places, but is otherwise never modified or read. Since the member is
obsolete, remove it.

Change-Id: I57acb5d878aa3e37c654f27d79517a8c9bcf7742
CRs-Fixed: 2414646
2019-03-13 06:48:32 -07:00