نمودار کامیت

6825 کامیت‌ها

مولف SHA1 پیام تاریخ
Ganesh Kondabattini
b1960e78f4 qcacld-3.0: Add support for QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS
Add support for handling vendor sub command
QCA_NL80211_VENDOR_SUBCMD_ACTIVE_TOS and parsing its attributes.

CRs-Fixed: 2069865
Change-Id: I38f761f20007a04063b0e0680793aedcabd02c6a
2017-09-26 17:53:02 -07:00
Ganesh Kondabattini
3573957abf qcacld-3.0: set the limit off-channel command parameters
Set the limit off-channel command parameters and conc_system_pref
according to active tos indication from application.

CRs-Fixed: 2066088
Change-Id: I896999adb59aa468daf33364c708d95ef3062018
2017-09-26 17:53:00 -07:00
Ganesh Kondabattini
dadf1fb155 qcacld-3.0: Set DFS flag for DFS channels
Driver is updating WMI_CHAN_FLAG_PASSIVE flag for DFS channels
while sending 'WMI_SCAN_CHAN_LIST_CMDID' command to firmware.

Driver should also update the WMI_CHAN_FLAG_DFS flag for
DFS channels. Otherwise functionality like skipping DFS channels
as part of scan request may not work.

CRs-Fixed: 2103636
Change-Id: Ia146eaad93deab778d5ce7a8647f5c0ba7068ead
2017-09-26 17:52:57 -07:00
Sravan Kumar Kairam
5662358b2e qcacld-3.0: Reset to NULL after freeing the memory
At IPA UC detach after free IPA TX resource TX comp
ring and TX CE index pointers reset them to NULL.

Change-Id: If6a1b2857d14f5fff2f47e541156ce2c27fb33a3
CRs-Fixed: 2111959
2017-09-26 17:52:54 -07:00
Sravan Kumar Kairam
170e218ee2 qcacld-3.0: Remove recovery in progress check
Currently during PDR after client disassociation IPA client
disconnect event is not send because of recovery in progress
condition. After reload IPA pipes are not enabled as IPA context
number of connected stations are non zero which leads to data stall
of backhaul traffic. In this change remove recovery in progress check
which is not necessary in this case.

Change-Id: Id465f78fc224e2c08fb3977266e7032666a22692
CRs-Fixed: 2105106
2017-09-26 17:52:51 -07:00
Sravan Kumar Kairam
c76f28a675 qcacld-3.0: Check if pipes already enabled for IPA enable pipes
Currently there is a race condition during enable of IPA WDI pipes
after IPA_RM_RESOURCE_GRANTED notification from IPA RM and at the
same time client disconnect happens. Because of this race condition
subsequent enable IPA pipes at the time of client connection IPA
driver returns error as the pipes are not disabled before. In this
change after requesting IPA resource check for IPA pipes state and
if pipes are not enabled then enable the pipes.

Change-Id: Idd0d4089efa5b81d5301a278fb0dd836db0ecb48
CRs-Fixed: 2082118
2017-09-26 17:52:48 -07:00
Govind Singh
02075947b5 qcacld-3.0: Free exception path buffer for invalid adapter
IPA's exception path buffer is not freed if adapter is invalid.
Free exception path buffer if adapter is invalid.

Change-Id: Iacaea4d96a6233764da3cf4b302d7ed9affe6d95
CRs-Fixed: 2092131
2017-09-26 17:52:46 -07:00
Govind Singh
1dab23b24c qcacld-3.0: Flush ipa_pm work during the stop adapter
The IPA SKB's stuck in exception path are flushed after
adapter is deleted can lead to null pointer dereference of
adapter as IPA skb's have reference to this adapter in
their CB struct.

Flush ipa_pm work during the stop adapter and ensure the queue
is emptied and no outstanding buffer from IPA exception path.

CRs-Fixed: 2092131
Change-Id: I24f0c166cee1b5e0fed1c0c49a53c1a2117c900c
2017-09-26 17:52:43 -07:00
Govind Singh
6f6d711e01 qcacld-3.0: Exit gracefully if netbuf pop fails from rx hash table
Recovery is triggered if rx hash table look up fails due to invalid
physical address. Since netbuf is not found in this case and null
netbuf is de-referenced after recovery is completed and this leads
to null pointer exception.

Exit gracefully if netbuf pop fails from rx hash table.

Change-Id: I66b3d1cf9aa05da235212923a551e58d86153e55
CRs-Fixed: 2094521
2017-09-26 17:52:40 -07:00
Govind Singh
64228921f2 qcacld-3.0: Fix ring refill retry logic
When system is under low memory condition and skb allocation fails,
RX ring msdu is not attached in ring replenish logic and Ring refill retry
timer refills the ring debt at the interval of 50 ms.

If refill retry fails to allocate the memory,  refill debt is not updated and
this is resulting in retry logic failure.

Update refill debt when retry allocation fails to allocate
rx ring msdu.

Change-Id: I4d2230e4984e26b44db663e7e7f20c73ae90b0f0
2017-09-26 17:52:38 -07:00
Ashish Kumar Dhanotiya
ecf4db04c7 qcacld-3.0: Add driver support for new country codes
Country codes IQ and GI are not recognized by driver.
Add driver support to recognize country code IQ and GI.

Change-Id: I76997d4426718a57fee23c9774153f1adc597c44
CRs-Fixed: 2104094
2017-09-26 17:52:35 -07:00
Himanshu Agarwal
8392de79f9 qcacld-3.0: Do memzero of htt_frag_desc inside HELIUMPLUS flag
Do memzero of htt_frag_desc inside HELIUMPLUS flag as
htt_frag_desc is defined only for HELIUMPLUS.

Change-Id: Ie738881c5330956b24376f145f03dd977bf88f7b
CRs-Fixed: 2096935
2017-09-26 17:52:33 -07:00
Himanshu Agarwal
88ec24f2d8 qcacld-3.0: Memzero htt_frag_desc before use
Presently, htt_frag_desc is not getting zeroed out explicitly.
So fw can take the invalid/garbage data in the frag information
and treat it as a valid address which may lead to crash.

Memzero htt_frag_desc before use.

Change-Id: I9dadcb883a65c43f96e810a12b4fb491c3a2e734
CRs-Fixed: 2088448
2017-09-26 17:52:30 -07:00
Himanshu Agarwal
10b44364a0 qcacld-3.0: Fill channel width when selected channel is invalid
When no channel is selected from ACS and fallback channel
is invalid, a default channel is selected but the channel
width remains invalid due to which ASSERT is happening.

Whenever default channel is selected, select default channel
width of 20 MHz as well.

Change-Id: I885e01d1324484b84e04675238d2e1f8cd10e30c
CRS-Fixed: 2112806
2017-09-26 17:52:27 -07:00
Himanshu Agarwal
8d4cf47ffb qcacld-3.0: Add logic to mark first wakeup packet without offload bit set
Add logic to mark first wakeup packet even if offload bit is not set in
the htt rx indication message sent by fw.

Change-Id: Ide50dcfcf88ecd0c71b32b0e746742dc49d08567
CRs-Fixed: 2110627
2017-09-26 17:52:24 -07:00
Ashwini Patil
f2bf05e548 qcacld-3.0: Add ini items used in mbo bss transition context
Add ini items for current and candidate rssi thresholds used in
mbo bss transition context.

Change-Id: I834c87aaaf776cdc293718fb994b4aae38af6a8b
CRs-Fixed: 2007107
2017-09-26 17:52:21 -07:00
Hanumanth Reddy Pothula
788a37e3c1 qcacld-3.0: init/deinit bug report lock appropriately
During initialization, bug report lock is initialized after logger
thread is created and during deinitialization, bug report lock is
destroyed before logger thread exits. As logger thread uses this
lock there is a possibility of logger thread to access uninitialized
lock.

To mitigate this issue initialize/deinitialize lock after/before
creating logging thread.

Change-Id: I973c9b6c7eed38cbbc09258a54e587078ddb37e1
CRs-Fixed: 2094510
2017-09-26 17:52:19 -07:00
snandini
5c90049395 Release 5.2.0.45F
Release 5.2.0.45F

Change-Id: I8b5259401e0b5f80297c07704725d0480883cb4b
CRs-Fixed: 774533
2017-09-26 12:23:52 -07:00
Sandeep Puligilla
4b0dcf7363 qcacld-3.0: Initialize scan param structure
Device crashed while accessing the unintialized
memory as part of scan request processing.

Initialize the scan params structure to zero.

Change-Id: Iaf430c6edb485a009f8d932ce0c2d033b9ec6137
CRs-Fixed: 2116256
2017-09-26 12:23:51 -07:00
snandini
d57a2aeacf Release 5.2.0.45E
Release 5.2.0.45E

Change-Id: I9f3a093c2447525bea95dc4ee2d08143e7e29bf3
CRs-Fixed: 774533
2017-09-26 09:38:41 -07:00
Yeshwanth Sriram Guntuka
52bc6bbccc qcacld-3.0: Remove unnecessary kernel message
Moved unnecessary kernel message to debug logs where ever not
required in kernel logs

Change-Id: If7b69fbdc4afea4597d38a44f786ee221ee917b2
CRs-Fixed: 2042092
2017-09-26 09:38:41 -07:00
snandini
e0d648996d Release 5.2.0.45D
Release 5.2.0.45D

Change-Id: Ie91883a9819800182f2b0f1dbda9bbf2215d9dc9
CRs-Fixed: 774533
2017-09-25 23:42:44 -07:00
Arunk Khandavalli
bbc301f619 qcacld-3.0: Free the allocated beacon memory in start_bss failure
As part of start_ap new beacon memory is allocated and filled with
the parameters sent by the upper layer. If there is any failure
during the start the bss, the memory is not freed resulting in
the leak.

Free the allocated beacon memory if there is any failure in starting
the bss.

Change-Id: Idc263ffbb352e56d65d397b200facb23b7ab207c
CRs-fixed: 2033325
2017-09-25 23:42:44 -07:00
Will Huang
ebfd91b33f qcacld-3.0: Enable IRAM Dump
qcacld-2.0 to qcacld-3.0 propagation

Cleanup target dump code and add support to dump IRAM region
for different platforms. Update the Target Memory Region for
different platforms.

Change-Id: Ie29fb62e0f1bc279311f77400e8be490ccf987a4
CRs-Fixed: 2088394
2017-09-25 23:42:41 -07:00
snandini
c2c177123b Release 5.2.0.45C
Release 5.2.0.45C

Change-Id: If78e39e37939af08c16bdcf3167b49514a019a34
CRs-Fixed: 774533
2017-09-25 21:56:58 -07:00
Jeff Johnson
c13bfe08ca qcacld-3.0: dp: Replace instances of unadorned %p
Replace instances of unadorned %p in core/dp.

Change-Id: I7baa3ecc4f9964c47261dafa26116447fc7611b5
CRs-Fixed: 2100997
2017-09-25 21:56:58 -07:00
Jeff Johnson
11bd4f3c42 qcacld-3.0: mac: Replace instances of unadorned %p
Replace instances of unadorned %p in core/mac.

Change-Id: Id9b15d369dda7660f292e6c961b25d2e8270b141
CRs-Fixed: 2100997
2017-09-25 21:56:56 -07:00
Jeff Johnson
a7c0ddb8c1 qcacld-3.0: sap: Replace instances of unadorned %p
Replace instances of unadorned %p in core/sap.

Change-Id: I37a803518430313d360d10e429469fa7bb471b78
CRs-Fixed: 2100997
2017-09-25 21:56:54 -07:00
Jeff Johnson
c83eca9924 qcacld-3.0: sme: Replace instances of unadorned %p
Replace instances of unadorned %p in core/sme.

Change-Id: I8176263cf21ec7281dd5ebbaecbe1c8568465a37
CRs-Fixed: 2100997
2017-09-25 21:56:51 -07:00
Jeff Johnson
adba396c07 qcacld-3.0: wma: Replace instances of unadorned %p
Replace instances of unadorned %p in core/wma.

Change-Id: I44a975caa73f0837274536babf1902bef06c591a
CRs-Fixed: 2100997
2017-09-25 21:56:49 -07:00
snandini
35a71d956b Release 5.2.0.45B
Release 5.2.0.45B

Change-Id: I3347246bd4bf37fdbb723182bb1ebf492554ba3c
CRs-Fixed: 774533
2017-09-25 13:21:50 -07:00
Deepak Dhamdhere
a7987a2ed1 qcacld-3.0: Reset and update session nss value after roaming
In LFR3 roaming, session->nss is recomputed by starting with mac_ctx
configured value, then lim_fill_ft_session() trims it based on
AP's capability in the beacon. Then lim_ft_prepare_add_bss_req() modifies
it based on dot11mode if necessary.

CRs-Fixed: 2082240
Change-Id: If9841ea8d10cc1269ec118c9e7f75fa0444abe3e
2017-09-25 13:21:49 -07:00
snandini
53cdaeee3b Release 5.2.0.45A
Release 5.2.0.45A

Change-Id: I980732ea585f18f3d22c8ebf9f51bc810704758e
CRs-Fixed: 774533
2017-09-25 11:22:13 -07:00
Vignesh Viswanathan
82bd2539c9 qcacld-3.0: rate limit logs from HDD during scan and connect
Currently logs are printed from HDD during scan and connect for every
retry, which is causing MCThread to get stuck at printk and crash

Rate limit the hdd logs to print for every 5 retries to avoid filling
the log buffer. Also change some error logs to debug level.

Change-Id: I09ad38cd89bbd20081673142bf5a350c55b0f005
CRs-Fixed: 2090761
2017-09-25 11:22:13 -07:00
Naveen Rawat
27f1c544d6 qcacld-3.0: Fix Integer overflow with latest framesc_linux tool
This is qcacld-2.0 to qcacld-3.0 propagation

In get_container_ies_len size type for len is uint8_t.
len copies values from pBufRemaining.
There can be chance for integer overflow.
To avoid that make size type for len as uint32_t.

Change-Id: I305321a6631719808ef213571974ae23b0e61bb3
CRs-Fixed: 2064580
2017-09-25 11:22:11 -07:00
Arunk Khandavalli
ae44d897dd qcacld-3.0: Reduce redundant logs during driver initialization
With the latest logging guidelines info logs will be routed to
console there are lot of redundant logs causing the watchdog
bark during driver initialization.

Reduce the loglevel from info to debug so these will be logged via
Loggerapp.

CRs-Fixed: 2040730
Change-Id: I2f073e3ab2fe9c129867cadd54c9f27a6b0e65c8
2017-09-25 11:22:09 -07:00
snandini
f1ee5ea5c9 Release 5.2.0.45
Release 5.2.0.45

Change-Id: I31b26aed1904a18f27d5b44f05e08b6df8326b9f
CRs-Fixed: 774533
2017-09-25 09:21:56 -07:00
Ashish Kumar Dhanotiya
52def21a51 qcacld-3.0: Pass frequency to ieee80211_get_channel API
In hdd_send_re_assoc_event api to get ieee80211_channel,
channel number is passed to ieee80211_get_channel kernel
API which expect frequency as an argument.

Pass frequency to ieee80211_get_channel API instead of
channel number.

CRs-fixed: 2053536
Change-Id: I216889d13252c56e817c4e09e77459cc38f8e9ec
2017-09-25 09:21:56 -07:00
snandini
5cc34cbaec Release 5.2.0.44Z
Release 5.2.0.44Z

Change-Id: I0b95aadcb445288d9ec62a776152ca2acd97b021
CRs-Fixed: 774533
2017-09-25 08:03:56 -07:00
Vignesh Viswanathan
2eb18748b8 qcacld-3.0: Clear FILS connection info only for STA Mode
Currently hdd_clear_fils_connection_info is called for all device
modes which is leading to crash in SAP mode due to illegal memory
access.

Add check to invoke hdd_clear_fils_connection_info only if the
device mode is STA.

Change-Id: Ia0e28c29d809865169c254b0d45013aad39e13d2
CRs-Fixed: 2106324
2017-09-25 08:03:56 -07:00
snandini
816aae75af Release 5.2.0.44Y
Release 5.2.0.44Y

Change-Id: I02b13a29b307290a9719dbf82ed1ecc849058d16
CRs-Fixed: 774533
2017-09-25 07:22:09 -07:00
Mukul Sharma
81d9f334e5 qcacld-3.0: Prevent memory leak in wlan_hdd_cfg80211_ocb_set_config
Currently, Host performs validation of NLA attribute
QCA_WLAN_VENDOR_ATTR_OCB_SET_CONFIG_CHANNEL_ARRAY twice
which leads to memory leak.

As a part of fix, Check for SET_CONFIG_CHANNEL_ARRAY
only once and free memory in error scenario.

Change-Id: I5c90c937682417b8181fda7d499908b9425d4c6a
CRs-Fixed: 2103954
2017-09-25 07:22:09 -07:00
Kabilan Kannan
c0e3d58f2a qcacld-3.0: Enable Napier TDLS data path
Enable TDLS datapath for napier platform

Change-Id: Id907ab327938a6a9099ce4d02fee49168139d089
CRs-Fixed: 2114824
2017-09-25 07:22:07 -07:00
Yeshwanth Sriram Guntuka
b90968f805 qcacld-3.0: Set ft_carrier_on to false on roam abort
When host receives roam sync indication from firmware
and if state in PE is not equal to eLIM_SME_LINK_EST_STATE
then roam is aborted. As part of eCSR_ROAM_FT_START,
ft_carrier_on flag is set to true but is not set to false
as part of roam abort handling in hdd_sme_roam_callback api.
This results in not sending subsequent connect result to nl.

Fix is to set ft_carrier_on to false on roam abort.

Change-Id: I43c65730fd439145c22dbf77b0deb47a1bf2ef45
CRs-Fixed: 2105072
2017-09-25 07:22:05 -07:00
Mukul Sharma
495df60861 qcacld-3.0: Prevent NS offload when active offload is disabled
Currently, Host configures the NS entries through vendor command
where host do not check the active offload is enable or disabled.
Hence it is not configuring according to active offload ini.
As part of fix, Cache the vendor command value and check whether
active offload is enabled or not before configuration to fwr.

Change-Id: Icb11e43198a75975418a2c9ed95d5f1df05ce0c5
CRs-fixed: 2105071
2017-09-25 07:22:03 -07:00
Zhu Jianmin
62e119634c qcacld-3.0: Avoid issue that NULL constant is dereferenced
NULL constant is unsuitable for sapEvent parameter since following
may be called:
        sapEventInit(sapEvent);
        vosStatus = sapFsm(sapContext, sapEvent);

Change-Id: I2ffc1be27f96bcbd793b2302e6c5920b5d30073b
CRs-Fixed: 2111290
2017-09-25 07:22:01 -07:00
Arunk Khandavalli
794fdfce82 qcacld-3.0: Print the macaddress after the LA is reset
Presently in the sta mode locally administered  is set and it
is not logged with new macaddress.

Print the macaddress of the STA once the LA bit is reset.

Change-Id: I5ab5c67c622723f32500bc07d815efb02bd834a7
CRs-Fixed: 2069219
2017-09-25 07:21:59 -07:00
snandini
d51e7260dc Release 5.2.0.44X
Release 5.2.0.44X

Change-Id: If88f06fb9b76165390d7fc200b7b6346805121d3
CRs-Fixed: 774533
2017-09-25 05:43:06 -07:00
Vignesh Viswanathan
56f262563b qcacld-3.0: Add sanity check to limit mgmt frames data len
Currently the mpdu_data_len in Rx pkt meta is not checked for
upper bound in wma_form_rx_packet.

Add sanity check to drop the packet if mpdu_data_len is
greater than 2000 bytes. Also add upper bound check for
frame_len in lim_process_auth_frame function.

Change-Id: I7ab454045e2f6d278351dcabde6da556f9f741e0
CRs-Fixed: 2093392
2017-09-25 05:43:05 -07:00
yeshwanth sriram guntuka
5c71a29b34 qcacld-3.0: Set length of challenge text sent by SAP to 128
SIR_MAC_AUTH_CHALLENGE_LENGTH is updated to 253 from
128 as per IEEE spec due to connection fails between
DUT-SAP and old ref-STA. Auth failure occurs as encrypted
data sent by ref-STA is only 128 bytes instead of 253
bytes.

Fix is to set length of challenge text sent by SAP
to 128 bytes.

Change-Id: I81409bb58ad34e469c54e2909f45b8a6826eb06a
CRs-Fixed: 2096512
2017-09-25 05:43:03 -07:00