Commit Graph

13593 Commits

Author SHA1 Message Date
nshrivas
a61ba2bb0a Release 5.2.0.125U
Release 5.2.0.125U

Change-Id: I148b92662366892a9afa621b85088147c4f17cf5
CRs-Fixed: 774533
2019-03-14 16:23:27 -07:00
Jeff Johnson
fe31cf5af6 qcacld-3.0: Rename HDD identifier sapEvent
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier sapEvent to be compliant.

Change-Id: Ic5bd0709f62f99da3f3078670a0bb7774b098c83
CRs-Fixed: 2415555
2019-03-14 16:23:26 -07:00
Jeff Johnson
104ced0f2f qcacld-3.0: Remove unused identifier iniConfig
Change I99a2659e2151ad285e9451b9e9cc036a199581a3 ("qcacld-3.0: Remove
legacy scan and ap protection related ini items") removed the last
usage of local variable iniConfig in wlan_hdd_cfg80211_start_bss(), so
remove it.

Change-Id: I110735dc3940150e9de5b71e0911d2fcc9a581e6
CRs-Fixed: 2415554
2019-03-14 16:23:22 -07:00
Jeff Johnson
c17b9006d3 qcacld-3.0: Rename HDD identifier MFPRequired
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier MFPRequired to be compliant.

Change-Id: Ie63644ba0f4c146cf1c29c9b086d402e7e0bd9bc
CRs-Fixed: 2415553
2019-03-14 16:23:18 -07:00
Jeff Johnson
7e6f291655 qcacld-3.0: Rename HDD identifier MFPCapable
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier MFPCapable to be compliant.

Change-Id: Ia40d1c30915aa6ecf6e9908668d4092633079bcd
CRs-Fixed: 2415552
2019-03-14 16:23:13 -07:00
Jeff Johnson
51203af8cd qcacld-3.0: Rename HDD identifier mcRSNEncryptType
The Linux Coding Style frowns upon mixed-case names so rename HDD
identifier mcRSNEncryptType to be compliant.

Change-Id: I2d3b7a382ab2fdb0dc3261f92e1251405f759355
CRs-Fixed: 2415551
2019-03-14 16:23:09 -07:00
nshrivas
a10418d9fa Release 5.2.0.125T
Release 5.2.0.125T

Change-Id: I50bf7c98f5d2601a36f151e58199393d2c728a03
CRs-Fixed: 774533
2019-03-14 13:01:20 -07:00
Alok Kumar
b94a2e7f29 qcacld-3.0: Update Arp Stats for both Tx and Rx Arp Packets
Currently rx_arp_resp_count stats is not updated for ARP packet
during rx in htt_rx_amsdu_rx_in_order_pop_ll as packet type is
not marked as QDF_NBUF_CB_PACKET_TYPE_ARP.
Also, track_arp_ip member of adapter is updated during NUD SET
but track_arp_ip of hdd_ctx is used inside hdd_hard_start_xmit
and hdd_rx_packet_cbk to compare arp src ip.

Update the packet type to QDF_NBUF_CB_PACKET_TYPE_ARP for ipv4 ARP
packet during htt_rx_amsdu_rx_in_order_pop_ll.
Use track_arp_ip member of adapter to compare arp src ip.

Change-Id: I58a678caa8ce4b54b583f76cfcbbb4f46443f448
CRs-Fixed: 2405335
2019-03-14 13:01:20 -07:00
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
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
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