Commit Graph

8733 Commits

Author SHA1 Message Date
snandini
fca8aa56f5 Release 5.2.0.60X
Release 5.2.0.60X

Change-Id: I86ed77e700160fc389ceedc15ff4985969beb062
CRs-Fixed: 774533
2018-01-09 13:39:58 -08:00
Nachiket Kukade
6500b612b9 qcacld-3.0: Add DISA Component changes into the skeleton
Add final changes of DISA component into the skeleton. Fill up all the
code in core, dispatcher and target_if of the DISA component. Use new
wmi API to extract cmd response from event buffer.

Change-Id: I55f7170efa1055f1449dd95d9f1a911dfa6b54ce
CRs-Fixed: 2161979
2018-01-09 13:39:58 -08:00
Nachiket Kukade
2c73ade073 qcacld-3.0: Cleanup WMA and SME code related to DISA
DISA feature has been moved to a CLD component under the converged
driver model. This renders original code in WMA and SME obsolete.
Remove it.

Change-Id: Ia44acd9a3e31bf0d1098f7d423f0c28a2b7fe5fa
CRs-Fixed: 2161950
2018-01-09 13:39:55 -08:00
Nachiket Kukade
98f562ab2a qcacld-3.0: Skeleton for DISA component
Create a skeleton for the DISA component. This is a CLD
component. Add files for disa core, dispatcher and
target_if. Define DISA related public structures and
objmgr objects. Add API's as stubs.

Change-Id: I63b32a0e7da0283d091815aaccea6b8703f5184c
CRs-Fixed: 2159579
2018-01-09 13:39:53 -08:00
snandini
f3ecc115e0 Release 5.2.0.60W
Release 5.2.0.60W

Change-Id: Ic809f32bdf9b0ad5f76904f08d96a6fdd0eee3b9
CRs-Fixed: 774533
2018-01-09 07:26:15 -08:00
Zhu Jianmin
5d8e3fe544 qcacld-3.0: Correct WMI TX status check in lim
WMI TX status follows WMI_MGMT_TX_COMP_STATUS_TYPE where 0 indicates
success: WMI_MGMT_TX_COMP_TYPE_COMPLETE_OK and failure otherwise.

Change-Id: I67bed733196a1c9650f43042881b7f37e3a81faa
CRs-Fixed: 2141363
2018-01-09 07:26:15 -08:00
snandini
a03dc81f94 Release 5.2.0.60V
Release 5.2.0.60V

Change-Id: I8251a4a1cbbb97ff779bb7203fe64b3313c8e003
CRs-Fixed: 774533
2018-01-09 06:12:38 -08:00
Paul Zhang
3b6e004f78 qcacld-3.0: Only drop the retry auth frame
Currently DUT dropped the auth response frame from
AP because AP is sending 2 different auth response
fames with the same sequence number 0.

Change-Id: I64f05137a34fb3e4554011b032afebed251daba3
CRs-Fixed: 2166008
2018-01-09 06:12:38 -08:00
snandini
f64a38a37e Release 5.2.0.60U
Release 5.2.0.60U

Change-Id: Ib9e9dfac4a7060f7c91f453e33f20dcd95f75391
CRs-Fixed: 774533
2018-01-09 05:22:09 -08:00
Abhishek Singh
7dcb85b91d qcacld-3.0: Use default RSN fields if optional fields are not present
Adds logic to use default RSN IE fields if optional fields are not
present in IE. So if RSN IE doesn't contain AKM, group and unicast
cipher use the default AKM(AKM_IEEE8021X) and cipher (CCMP).

Change-Id: I8e9737aea15322e43d2d954d046f5b2ac9b21af1
CRs-Fixed: 2164528
2018-01-09 05:22:09 -08:00
snandini
6da65c0c35 Release 5.2.0.60T
Release 5.2.0.60T

Change-Id: Ib3f046e109bb98f630cb5eb43b377355844656ef
CRs-Fixed: 774533
2018-01-08 21:37:45 -08:00
Kabilan Kannan
43d051f662 qcacld-3.0: Validate the phymode before send to FW
In some use cases invalid phy mode is sent to the firmware
and it bring down the system.
Validate the phymode in all cases, before send to the
to firmware

Change-Id: I01d7fa833304967ff742d24bce814819079ecc68
CRs-fixed: 2167366
2018-01-08 21:37:44 -08:00
snandini
36b6095c17 Release 5.2.0.60S
Release 5.2.0.60S

Change-Id: I366bc0c5257a284852ef272828433c00fe1793b0
CRs-Fixed: 774533
2018-01-08 19:38:25 -08:00
Dustin Brown
24277bb93e qcacld-3.0: Add wrapper for nla_parse_nested()
The Linux kernel version 4.12 introduced an API change to
nla_parse_nested(). Add conditional compilation to call
nla_parse_nested with the correct parameters based on the
version of the linux kernel being compiled against.

Change-Id: I5214e9622d63ec928f5814f5840528f8c0d61422
CRs-Fixed: 2167853
2018-01-08 19:38:25 -08:00
snandini
ee778e7d3d Release 5.2.0.60R
Release 5.2.0.60R

Change-Id: If531b97c2b478799df108e6b31e17774375271ca
CRs-Fixed: 774533
2018-01-08 18:28:33 -08:00
gaurank kathpalia
5efa73bb97 qcacld-3.0: Enable bss scoring logic for STA mode only
In Api csr_prepare_scan_filter , set bss_scoring_required
for only STA mode to sort the APs according to the
scoring logic applied to Aps in scan results .

Change-Id: Id85b046d3d4c9c54db928ad689418efc963303f8
CRs-Fixed: 2165464
2018-01-08 18:28:33 -08:00
Kiran Kumar Lokere
decad51801 qcacld-3.0: Do not send DTIM value to FW during beacon process
Do not set the listen interval with DTIM value while processing
the connected AP beacon. Host processes the connected AP beacon
only when device in non WOW mode and FW expects the listen
interval to be always 1 when device is in non WOW mode hence
do not set listen interval with connected AP's DTIM value

Change-Id: I8a1bce1010ba271efdd1d7b8572e06d7c3693e07
CRs-Fixed: 2164690
2018-01-08 18:28:30 -08:00
snandini
46759c4f68 Release 5.2.0.60Q
Release 5.2.0.60Q

Change-Id: I2c47cdc1dfd82b70496e84b7477285a38e720180
CRs-Fixed: 774533
2018-01-08 17:40:19 -08:00
Kiran Kumar Lokere
9493c72d73 qcacld-3.0: Fix the IOT issue with TxBF CSN value
Advertise the min of self TxBF CSN and APs TxBF CSN value to
fix the IOT issue with the AP.

Change-Id: Ifa2872ef62925f99bf49ef504ade4a4bb431672b
CRs-Fixed: 2158667
2018-01-08 17:40:19 -08:00
Ashish Kumar Dhanotiya
d523f0dcab qcacld-3.0: Fill correct mode information for deleted sta
80211 mode information is not getting filled correctly,
fill correct 802.11 mode information.

Change-Id: I7013db95c5010bdaac1f84209534f63d6c7f5719
CRs-Fixed: 2133109
2018-01-08 17:40:16 -08:00
Liangwei Dong
cf5a506bba qcacld-3.0: remove dnbs flag set/unset count
The application layer (framework) should take care the
dnbs state transition on each intf.
Driver does not maintain the dnbs set/unset counting.
Remove the "restrict_offchannel_cnt" from driver.

Change-Id: I8b70a10f187f2d34397a301f08b4bd1dafb02989
CRs-Fixed: 2164827
2018-01-08 17:40:13 -08:00
snandini
601c745f8a Release 5.2.0.60P
Release 5.2.0.60P

Change-Id: I0ffee34f47f74d01bd573cc633ae3802a6689d70
CRs-Fixed: 774533
2018-01-08 15:26:41 -08:00
Kiran Kumar Lokere
3a5b4243c0 qcacld-3.0: Fix the issue with duplicate HE caps advertisement
HE caps and HE op IE are derived in driver and also sent from
hostapd as part of additional IE. additional IEs are appended at
end of the beacon frame hence the duplicate IEs are observed.
Strip out the HE caps and HE op IE from additional IE after the
IEs are derived in driver.

Change-Id: Ia11b16ef8e7d376e5c1ef44d54e1cd1885f5b842
CRs-Fixed: 2159867
2018-01-08 15:26:41 -08:00
snandini
1436c1da0b Release 5.2.0.60O
Release 5.2.0.60O

Change-Id: I054579f6ad886f7aa969dcabfedf4857c3adcfdb
CRs-Fixed: 774533
2018-01-08 14:26:06 -08:00
Poddar, Siddarth
ee35f9250e qcacld-3.0: Enable 64-bit htt rx addr tracking based on HTT_PADDR64
Enable 64-bit htt rx addr tracking based on HTT_PADDR64
when ENABLE_DEBUG_ADDRESS_MARKING is disabled.

CRs-Fixed: 2166963
Change-Id: I47cfcb3f082bc969cd27630cfd96eb53b31cc40d
2018-01-08 14:26:06 -08:00
snandini
a19cdf52bf Release 5.2.0.60N
Release 5.2.0.60N

Change-Id: I0f068242d99d883fa57c046b80fd5591d824ca7b
CRs-Fixed: 774533
2018-01-08 13:33:30 -08:00
Hanumanth Reddy Pothula
f79fbdfd01 qcacld-3.0: Get deleted remote station info in SAP case
Add support to get information of deleted station in case of SAP.

Change-Id: Id61ae1b36b923898237d55aa8c57d2e49815c8af
CRs-Fixed: 2126240
2018-01-08 13:33:29 -08:00
Ashish Kumar Dhanotiya
2e01abcc20 qcacld-3.0: Use after free in hdd_debugfs_stats_update api
Currently there is no locking mechanism to protect global
variable ll_stats.result in hdd_debugfs_stats_update api and
wlan_hdd_llstats_free_buf api so if two threads access the file
simultaneously there is a possibility of use after free of the
llstats buffer.

To address this issue add a mutex to prevent the simultaneous
access of the llstats buffer.

Change-Id: I0fd418e3a2034f10ba45021af21920f5e133cb6e
CRs-Fixed: 2157283
2018-01-08 13:33:26 -08:00
snandini
54d3aa2ea6 Release 5.2.0.60M
Release 5.2.0.60M

Change-Id: I686d0ec03ccd49b0f156edeabc59d4227a7b1314
CRs-Fixed: 774533
2018-01-08 09:39:13 -08:00
Himanshu Agarwal
c733bd3e46 qcacld-3.0: Change some API signatures to have pdev instead of psoc
Change some mgmt txrx component related API signatures to have pdev
instead of psoc.

Change-Id: I6dc250757c2f686e6f38bcb5fdc752717242b606
CRs-Fixed: 2146871
2018-01-08 09:39:12 -08:00
Ashish Kumar Dhanotiya
443d31f5f8 qcacld-3.0: Cache deleted station's information in case of SAP
During disconnection process, cache disconnecting STA information
so that the same information is updated to upper-layer on receiving
GET_STATION vendor command, after disconnection.

Change-Id: I2e5a0be42d81b86e6f4490de1bdf9d7e0797506d
CRs-Fixed: 2126182
2018-01-08 09:39:09 -08:00
snandini
5526acef03 Release 5.2.0.60L
Release 5.2.0.60L

Change-Id: I2e172e838426ef1456d4d5030e790f516d86801d
CRs-Fixed: 774533
2018-01-08 02:07:19 -08:00
Abhishek Singh
ed55b24b9e qcacld-3.0: Use intersection of AP's and user's RSN cap in assoc req
While preparing the RSNIE caps only AP capability are considered.
The capability should be intersection of user provided capability
and AP's capability.

So use intersection of AP's and user's RSN cap in assoc request

Change-Id: I585d84953767c217239eedc284d6b413cf7af5e4
CRs-Fixed: 2164525
2018-01-08 02:07:19 -08:00
wadesong
1795e14189 qcacld-3.0: Refine ACS fail-safe channel selection
1) Change some of the parameters for the following two functions
to reflect the right PHY mode definitions at different layers:

wlan_hdd_set_acs_ch_range
sap_select_default_oper_chan

2) Refine the kernel-doc for the above 2 functions due to their
parameter changes.

3) Use eCsrPhyMode instead of uint32_t to define hw_mode in
struct sap_acs_cfg to reflect the right PHY mode definition.

4) Refine the ACS code logic due to the changes introduced above.

Change-Id: I91b7814831a05265cfff456452eef0fe2ef97d1e
CRs-Fixed: 2167355
2018-01-08 02:07:16 -08:00
snandini
a53b5ae3c3 Release 5.2.0.60K
Release 5.2.0.60K

Change-Id: I865cb17d5ce9e63486a5dfcea8ea88aea817eeea
CRs-Fixed: 774533
2018-01-08 01:18:28 -08:00
Amar Singhal
4c3fbb400e qcacld-3.0: Fix NULL pointer and uninitialization issues
Fix NULL pointer and uninitialization issues.

Change-Id: I757b3b408f9ddc8716366a757ea2bf2bb7126a38
CRs-Fixed: 2162258
2018-01-08 01:18:28 -08:00
snandini
cfcba78b5f Release 5.2.0.60J
Release 5.2.0.60J

Change-Id: I0b56e6c5c479a33e9046670d3820819191a9f051
CRs-Fixed: 774533
2018-01-08 00:32:12 -08:00
Srinivas Girigowda
e975f53b9d qcacld-3.0: clang: Fix clang warning '-Wenum-conversion'
Fix clang warning implicit conversion from enumeration type
'tSirResultCodes' (aka 'enum eSirResultCodes') to different
enumeration type 'enum nl80211_timeout_reason' [-Wenum-conversion]

Change-Id: I50cc36d647826b9ce904c6cf8fe25e44dcdf90dc
CRs-Fixed: 2167852
2018-01-08 00:32:11 -08:00
Kiran Kumar Lokere
a0c1faa56a qcacld-3.0: Disable HE dynamic fragmentation by default
Disable HE dynamic fragmentation support by default.

Change-Id: I9db2a2e8759e5de7cb7724aa9c0789fa02dcf35b
CRs-Fixed: 2167886
2018-01-08 00:32:08 -08:00
Amar Singhal
ef59eee054 qcacld-3.0: Remove un-necessary checks on iface ptr value
In many cases, iface ptr value cannot be NULL. Remove the
un-necessary check iface ptr value.

Change-Id: Ic7430dd2a5e660daf08b007cbc9f0fcedad7ef01
CRS-Fixed: 2162236
2018-01-08 00:32:05 -08:00
snandini
5687d0281b Release 5.2.0.60I
Release 5.2.0.60I

Change-Id: Ia928b8cbd936b32f5ecc38116aeec7e4818476aa
CRs-Fixed: 774533
2018-01-05 03:38:25 -08:00
Anurag Chouhan
9fb2bd53ab qcacld-3.0: Validate NUD stats commands for FTM mode
Do Not allow __wlan_hdd_cfg80211_get_nud_stats and
__wlan_hdd_cfg80211_set_nud_stats commands for FTM mode.

CRs-fixed: 2161387
Change-Id: I135cead506c741425845d9e000d9a868e4a7779a
2018-01-05 03:38:24 -08:00
snandini
cf507097ba Release 5.2.0.60H
Release 5.2.0.60H

Change-Id: Ia267806902c92634582885316f36cacbc53b7f7d
CRs-Fixed: 774533
2018-01-05 01:55:12 -08:00
Jiachao Wu
e6485d4cf3 qcacld-3.0: Free/init lim resource when pe close/open
When invoke pe_enable/pe_disable,scheduler is running.
There will be two threads operate lim resource at same time.
Most of lim resource should be initialized/freed in pe_open/close
to avoid race condition.
So:
        - Move lim_cleanup to pe_close.
        - Move lim_initialize to pe_open.
        - lim_start,__lim_init_config,lim_register_hal_ind_call_back
          stay on pe_start
        - lim_cleanup_mlm stay on pe_stop

Change-Id: Ib647174ee9e1cf82567223abca233cb0332f1ffb
CRs-Fixed: 2154978
2018-01-05 01:55:11 -08:00
Jiachao Wu
341d07550b qcacld-3.0: Check psoc in de-init process
In the stress test of insmod/rmmod, the object of psoc might fail
to be initialized during initialization. For such case, recovery
process should not be triggered in the de-init process.
Add check for psoc to avoid false alarm.

Change-Id: I71f9eed8596958788f6a3213e7a3bcd9ee346781
CRs-Fixed: 2165620
2018-01-05 01:55:08 -08:00
snandini
44b48a756c Release 5.2.0.60G
Release 5.2.0.60G

Change-Id: I4024ac1707c088b5021d80be525391cc8ebe37b5
CRs-Fixed: 774533
2018-01-04 19:38:26 -08:00
Dustin Brown
e6b9d5a7bc qcacld-3.0: Enable runtime memory leak detection
Enable the recently added runtime memory leak detection logic.

Change-Id: I5ac937d2327245719f450ad927ca7ea5a78befa4
CRs-Fixed: 2167245
2018-01-04 19:38:26 -08:00
wadesong
9f2b1100e6 qcacld-3.0: Local peer ID freeing relocation
1) Local peer ID freeing is currently done before peer ref count
decreasing and peer releasing, which imposes a potential race
condition, in which the same local peer ID map will be accessed
before the peer object is fully released.

Fix the issue by relocating the local peer ID freeing to the
point where the peer object is to be freed.

2) Add changes to the return value description of function
ol_txrx_peer_release_ref

Change-Id: Id7722bd54afd6110b91634ca7f1632cade766704
CRs-Fixed: 2155759
2018-01-04 19:38:23 -08:00
Dustin Brown
763f3963a1 qcacld-3.0: Release peer refs during pdev detach
Historically, OL peers were forcibly destroyed during pdev detach. This
logic was mistakenly removed as part of another change. This led to peer
leaks during Sub-System Restart (SSR). Restore the peer delete logic to
close peer leaks during SSR.

Change-Id: I72d980750a2f97e6717f720a63f4a651f7615aee
CRs-Fixed: 2167237
2018-01-04 19:38:20 -08:00
snandini
0bc3fd7fe0 Release 5.2.0.60F
Release 5.2.0.60F

Change-Id: Icd4e65bc1557b2c809ce583ef6110e3cac177531
CRs-Fixed: 774533
2018-01-04 17:37:40 -08:00