Commit-Graf

2850 Incheckningar

Upphovsman SHA1 Meddelande Datum
Sandeep Puligilla
3d6a8e27e6 qcacld-3.0: Add support to log fw version subid
Add support to log firmware version sub id
in the logs and iwpriv command 'version'

Change-Id: I1eaad763da55007d34e243509204acf12ec79955
CRs-Fixed: 1077115
2016-10-18 18:42:41 -07:00
qcabuildsw
0c6a49c651 Release 5.1.0.31X
Release 5.1.0.31X

Change-Id: Iabc4a5abef28e5f002055114ce2f3e8420b151d3
CRs-Fixed: 688141
2016-10-18 15:09:41 -07:00
Dhanashri Atre
e7d442a315 qcacld-3.0: Add LRO Statistics
Add the following statistics for LRO
- packet count based on the number of packets aggregated
- total number of LRO eligible and ineligible TCP packets
- total number of packets aggregated
- total number of flows flushed
- number of times an LRO descriptor was not found

Change-Id: Icea6b7745df9bda5b517c1a7f27c8395ede2cec6
CRs-Fixed: 1042116
2016-10-18 15:09:40 -07:00
qcabuildsw
3de9e373c9 Release 5.1.0.31W
Release 5.1.0.31W

Change-Id: I04f4a387073821f9f4ba107b1248f706d93f57af
CRs-Fixed: 688141
2016-10-18 12:40:26 -07:00
Nitesh Shah
044fd675f5 qcacld-3.0: Set SMM if all new/existing conns are in same band
When the device is in DBS mode, and STA session gets
disconnected, then the dbs_opportunistic_timer is started
to wait for 10s and then sets back to SMM (Single MAC
mode) after timeout if DBS mode is not required.

The enhancement is to check the if the device is in DBS mode
and the STA session disconnects and new STA session starts in
the band in which existing connection are there, then stop the
dbs_opportunistic_timer and set hw_mode to SMM.

Change-Id: I16bfbb5135e36f2ab87bd09244d5eb6932846c72
CRs-Fixed: 1077488
2016-10-18 12:40:25 -07:00
qcabuildsw
11d7cb6b8b Release 5.1.0.31V
Release 5.1.0.31V

Change-Id: Ie1709c7ae07c31d747dd6680b7fa12cbee917ec6
CRs-Fixed: 688141
2016-10-18 12:03:05 -07:00
Ankit Gupta
f42c3c221e qcacld-3.0: Update dot11f.* files
Some functions under dot11f.* files are local and not
referenced by other files.

Add static keywords to the following function and update
the dot11f.* files.

dot11f_unpack_tlv_common_func
dot11f_unpack_tlv_common_func2
dot11f_unpack_ff_common_func
dot11f_unpack_ie_common_func

Change-Id: Icc15b0570fe2ff900a16a83a4ce2a6a558c4e70b
CRs-Fixed: 1075288
2016-10-18 12:03:04 -07:00
qcabuildsw
5d82494ca5 Release 5.1.0.31U
Release 5.1.0.31U

Change-Id: I5ba667ef87e465795020c82decc186601abe86a1
CRs-Fixed: 688141
2016-10-18 09:03:15 -07:00
Frank Liu
f95e81359c qcacld-3.0: Fix set all-zero address mcast filter
propagation from qcacld-2.0 to qcacld-3.0.

There are IPv4/IPv6 filters, we just use IPv4 filter for RXFILTER-ADD/REMOVE
now. Correctly update the filters from mc_addr_list.

Change-Id: I3457b206fe24e2484ec1f5a6240cbd0bc4a5825a
CRs-Fixed: 992500
2016-10-18 09:03:14 -07:00
Kai Liu
7400c5b0cc qcacld-3.0: Use heap memory for station_info instead of stack
qcacld-2.0 to qcacld-3.0 propagation

From kernel 3.19-rc4, size of struct station_info is around 600 bytes,
so stack frame size of such routine use this struct will easily
exceed 1024 bytes, the default value of stack frame size.

So use heap memory for this struct instead.

Change-Id: Ibe8a4f5189fcc9d5554f7a5d851c93be8fa8dbad
CRs-Fixed: 1050323
2016-10-18 09:03:12 -07:00
Yingying Tang
86492dee0d qcacld-3.0: Correct NULL pointer check in epping_cookie_init()
Propagate from qcacld-2.0 to qcacld-3.0

Currently in epping_cookie_init() when the cookie array is allocated
the wrong pointer is checked for a NULL allocation. Update the
function to check the correct pointer.

Change-Id: I56384197a8729996d7aa87d3c51903525b3be93c
CRs-Fixed: 979671
2016-10-18 09:03:10 -07:00
wadesong
6d04e32123 qcacld-3.0: Clear hostap key storage when BSS is stopped
qcacld-2.0 to qcacld-3.0 propagation

Invalidate the keys stored in the hostap context when BSS
stop event is received, so that no old key will be wrongly
issued to firmware when hostapd restarts the BSS with a
different encryption mode.

Change-Id: Ied1fa37cfcff32d3ee87ae26490e59ae59211952
CRs-Fixed: 1046965
2016-10-18 09:03:07 -07:00
gbian
4c2f9d9d90 qcacld-3.0: Change to calculate tx_retries from the right source
qcacld-2.0 to qcacld-3.0 propagation

Change the logic to get tx_retries from multiple_retry_cnt.
Currently tx_retries calculate from summary_stat.retry_cnt[] which
are not initialized in current code. FW will enable
FW_REPORT_TX_STATS_PER_VDEV feature and add multiple_retry_cnt
support.

Change-Id: Idf3ba2cc7fa3ab287256a850555bb50e8a117bd2
CRs-Fixed: 1061540
2016-10-18 09:03:05 -07:00
Hu Wang
1f2b8a899b qcacld-3.0: Report max MCS index 8 for VHT20
qcacld-2.0 to qcacld-3.0 propagation

Currently driver reports max MCS index 9 for VHT20, but cfg802.11
doesn't support such case, which leads to link speed null returned
to upper-layer.
Update the driver to report max MCS index 8 for VHT20.

Change-Id: I06c97db85d88decf418be602cb5f64135f61a686
CRs-Fixed: 1005141
2016-10-18 09:03:03 -07:00
qcabuildsw
e22c4a0e67 Release 5.1.0.31T
Release 5.1.0.31T

Change-Id: I9855745a193ca38b1f740393082b4a3e6671ab66
CRs-Fixed: 688141
2016-10-18 05:31:32 -07:00
Nitesh Shah
73050ff958 qcacld-3.0: Avoid setting hw_mode to SMM when already in SMM
Whenever there is session disconnection, the device sets its
hw_mode to SMM (Single MAC Mode) if the current connections
are not using DBS mode. Thus, if the device is in SMM, it
still sets its hw_mode to SMM after session disconnection.

The enhancement is to check the if the device is already in
SMM, then avoid setting again to SMM.

Change-Id: I4ebb9b6d992e65667a06b3e68d322435c7ec2968
CRs-Fixed: 1076844
2016-10-18 05:31:31 -07:00
qcabuildsw
aad589eb6c Release 5.1.0.31S
Release 5.1.0.31S

Change-Id: Ib1c882d0d9ed4ff202bb15cf05b61fc6b2e9770a
CRs-Fixed: 688141
2016-10-18 03:23:40 -07:00
Anurag Chouhan
d29e7603a9 qcacld-3.0: Fix existing incorrect error logs
Existing error message are incorrect in __iw_set_retry
and __iw_get_retry, this change provides corrected logs.

Change-Id: I5076936fd21a3680ef2e6564820c2dfd5321aba0
CRs-Fixed: 1036544
2016-10-18 03:23:39 -07:00
qcabuildsw
082f257b2d Release 5.1.0.31R
Release 5.1.0.31R

Change-Id: I09bc38a5f48222fcd774ee1d180be9976fca9dc3
CRs-Fixed: 688141
2016-10-18 00:14:14 -07:00
Anurag Chouhan
00ed527a14 qcacld-3.0: Update uninitialized variables & error handling
Currently, In failure case the spin unlock is not taken care
which is locked before, also the variables are initailized in
specific senarios, with this change the variables are initialised
properly.

Change-Id: Ic6c40065e312dcd2e76dbf50304dfa8f4fb506e9
CRs-Fixed: 1073567
2016-10-18 00:14:13 -07:00
qcabuildsw
d6e5ba6fc6 Release 5.1.0.31Q
Release 5.1.0.31Q

Change-Id: I184fded694f1bee6325935b262e50d0f89b09efe
CRs-Fixed: 688141
2016-10-17 23:09:11 -07:00
Amar Singhal
9d5b1feedb qcacld-3.0: Changes for 11d to not get disabled
Currently, the regulatory callback does not know whether the
country setting is due to 11d or user-space. Therefore, even
for 11d country setting, 11d gets disabled. Fix this by
maintaining variable for country code setting.

Change-Id: Icc5f636de7245a9c65df56374cf99fb9c5c15f5f
CRs-Fixed: 1077498
2016-10-17 23:09:09 -07:00
qcabuildsw
ec729da3bf Release 5.1.0.31P
Release 5.1.0.31P

Change-Id: I20fadebbd67af0bcee5922c2a2130f0c0fe07525
CRs-Fixed: 688141
2016-10-17 22:41:47 -07:00
Jeff Johnson
d692c5f211 qcacld-3.0: Fix -Wmissing-prototypes in sme_rrm
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sme_rrm.

Change-Id: Ie57c6a05f7e3975565ce2984f5d477b8bbe5a018
CRs-Fixed: 1075575
2016-10-17 22:41:45 -07:00
Jeff Johnson
054d0285d0 qcacld-3.0: Fix -Wmissing-prototypes in csr_util
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_util.

Change-Id: Ie98337bbb04e4518500b75872aa092acfb7c70c6
CRs-Fixed: 1075575
2016-10-17 22:41:43 -07:00
Jeff Johnson
6b6d1894cb qcacld-3.0: Fix -Wmissing-prototypes in csr_neighbor_roam
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_neighbor_roam.

Change-Id: Ifb153a2f1d3e24e687447e980b50bddb582f5344
CRs-Fixed: 1075575
2016-10-17 22:41:40 -07:00
Jeff Johnson
00fa67df81 qcacld-3.0: Fix -Wmissing-prototypes in csr_api_scan
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_api_scan.

Change-Id: Ib383b247ff466a5b99cb97cc504a2dddf79a8b66
CRs-Fixed: 1075575
2016-10-17 22:41:39 -07:00
Jeff Johnson
29e2ca1940 qcacld-3.0: Fix -Wmissing-prototypes in csr_api_roam
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in csr_api_roam.

Change-Id: I8deb4cab8f7eb1fda11638bc28bbe8919f979335
CRs-Fixed: 1075575
2016-10-17 22:41:37 -07:00
Jeff Johnson
9ce2b4135f qcacld-3.0: Fix -Wmissing-prototypes in sme_power_save
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sme_power_save.

Change-Id: I8f6cb46337fc8bfcfd7614cf60dd3f5523d74f1d
CRs-Fixed: 1075575
2016-10-17 22:41:35 -07:00
Jeff Johnson
464f7ea7b7 qcacld-3.0: Fix -Wmissing-prototypes in sap/src
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sap/src.

Change-Id: I92193d6209c5e62468197a1aae8a4187f60b0891
CRs-Fixed: 1075555
2016-10-17 22:41:33 -07:00
qcabuildsw
d9abce7a33 Release 5.1.0.31O
Release 5.1.0.31O

Change-Id: Ib451fdc92c5ef78b64fad065c749b5bb83ad70b3
CRs-Fixed: 688141
2016-10-17 22:41:31 -07:00
Hanumanth Reddy Pothula
1046cccf52 qcacld-3.0: Return valid firmware version to upper layer
When upper layer requests for firmware version using vendor command,
QCA_NL80211_VENDOR_SUBCMD_GET_WIFI_INFO, after parsing vendor command
attributes to tb_vendor structure, Host is checking for DRIVER version
attribute(which will be invalid in case upper layer sends Firmware
version attribute) leading Host to send firmware version as NULL.

Check for firmware version attribute so that valid firmware version
is returned to upper layer.

Change-Id: I9da24e4b860e5da9ef5c7b7ecff6e67d272a66fc
CRs-Fixed: 1078012
2016-10-17 22:41:29 -07:00
qcabuildsw
64f1d558fe Release 5.1.0.31N
Release 5.1.0.31N

Change-Id: Ibdd3dad1e0516660096c78714eb271f094a16d66
CRs-Fixed: 688141
2016-10-17 22:41:27 -07:00
Arif Hussain
d944578076 qcacld-3.0: Add helper function cds_combine_channel_states
cds_combine_channel_states to select final channel state based
on the two channel states specially when operating on 80+80 MHZ.

Change-Id: I5f470c96ce499c8d9aa2e41ceff59cdfc2f31151
CRs-Fixed: 1075098
2016-10-17 22:41:25 -07:00
qcabuildsw
97d2b8f0d9 Release 5.1.0.31M
Release 5.1.0.31M

Change-Id: Idaefc60039bda6418320e28f219e71c87add84a1
CRs-Fixed: 688141
2016-10-17 21:59:08 -07:00
Jeff Johnson
8a621308c2 qcacld-3.0: Fix -Wmissing-prototypes in sap/dfs
We want to enable the compiler's -Wmissing-prototypes switch, but
there is existing code that is generating warnings. Fix all warnings
in sap/dfs.

Change-Id: I05b091f33d94a0219d4113d49c392828ed4350b8
CRs-Fixed: 1075555
2016-10-17 21:59:06 -07:00
qcabuildsw
61353074e5 Release 5.1.0.31L
Release 5.1.0.31L

Change-Id: I07564ead23f2a506470b36565397c1a66fe90283
CRs-Fixed: 688141
2016-10-17 21:59:05 -07:00
Nishank Aggarwal
2154a71e82 qcacld-3.0: Avoid initializing the pmfcomeback timer twice
Currently pmfcomeback timer entry initializing twice.
Remove the changes to initialize pmfcomeback timer entry
from lim_fill_ft_session as it is already initialize
in pe_create_session.

Change-Id: I74d6997d9fe861f6e1cc69c233f0de754b3d040a
CRs-Fixed: 1077346
2016-10-17 21:59:03 -07:00
qcabuildsw
ac90a7d704 Release 5.1.0.31K
Release 5.1.0.31K

Change-Id: I5a983e6b672cf1ee498414c249fa2233d7aa76a6
CRs-Fixed: 688141
2016-10-17 21:59:01 -07:00
Krishna Kumaar Natarajan
b7dec7e073 qcacld-3.0: CL 1661761 - update fw common interface files
Add IPA TX msdu_id space repartitioning.

Change-Id: I2dd4d430c3ba4413c6b0629d2a97d06769ef0afd
CRs-Fixed: 865207
2016-10-17 21:58:53 -07:00
Krishna Kumaar Natarajan
bddb667625 qcacld-3.0: CL 1661152 - update fw common interface files
Add extended FW build version info to the WMI ready messages.

Change-Id: I4b9a62c56e365825d4d8db91031888518f2509c7
CRs-Fixed: 865207
2016-10-17 21:58:51 -07:00
Himanshu Agarwal
0998383790 qcacld-3.0: CL 1660720 - update fw common interface files
Add wmi_pdev_band_to_mac TLVs to wmi_pdev_set_hw_mode and
support > 32 vdevs in swba_event.

Change-Id: I29e6513fae5a2aa6318ee8d65f77c289228efb6e
CRs-Fixed: 865207
2016-10-17 21:58:49 -07:00
qcabuildsw
b5c194bcd5 Release 5.1.0.31J
Release 5.1.0.31J

Change-Id: I3e16cf93a07476dc454ff74424c8a346da0b9d51
CRs-Fixed: 688141
2016-10-17 21:58:44 -07:00
Naveen Rawat
1620ecb8ee qcacld-3.0: Fix HT/VHT channel width for 2.4/5Ghz band
In function lim_send_ies_per_band, use ini configuration to
fix HT channel width for 2.4/5 GHz band. For 2.4GHz set VHT
channel width to 0.

Change-Id: Ided8628cc78ffbea7c9c9f5a16815daffffca37c
CRs-Fixed: 1076244
2016-10-17 21:58:41 -07:00
qcabuildsw
e15c208e17 Release 5.1.0.31I
Release 5.1.0.31I

Change-Id: I1e0ea3261de5263df6bf2a044888964b5136d1c2
CRs-Fixed: 688141
2016-10-17 21:58:39 -07:00
Yuanyuan Liu
c98370ec35 qcacld-3.0: Update custom MAC address before creating interface
Custom MAC address has to be updated before creating WLAN interface.
Otherwise, custom MAC address won't take affect as WLAN interface will
use the old MAC address auto-generated or from hw_addr/config INI file.

Change-Id: Icd3feda96ffe45896fec2407f4ddb4351992ed81
CRs-Fixed: 1077588
2016-10-17 21:58:38 -07:00
qcabuildsw
0f01091107 Release 5.1.0.31H
Release 5.1.0.31H

Change-Id: Ica6a7d25910e20235b7e62adbeb5e668108dee8c
CRs-Fixed: 688141
2016-10-17 21:58:36 -07:00
Mohit Khanna
e7a4357688 qcacld-3.0: Use correct flag to compile USB-PLD file
Currently we are using different flags to enable compilation of pld_usb.c
and one to enable/disable PLD USB stub functions. Use the same flag for
both cases - CONFIG_PLD_USB_CNSS

Change-Id: Icc89405d785f3fc0ebc4a97d234013ac86ebd068
CRs-Fixed: 1076326
2016-10-17 21:58:34 -07:00
qcabuildsw
1345f45ad6 Release 5.1.0.31G
Release 5.1.0.31G

Change-Id: I1e6834c8018409f61ab85dd1567894024aa2be56
CRs-Fixed: 688141
2016-10-17 21:58:33 -07:00
Nitesh Shah
0f3fce5816 qcacld-3.0: Fix to clear pending scan id when scan is aborted
In case of scan abort FW does not send WMI_SCAN_EVENT_COMPLETED
event and directly sends WMI_SCAN_EVENT_DEQUEUED or
WMI_SCAN_EVENT_START_FAILED. In this case the scan id does not
get clear and hence block Host from power collapsing.

Include WMI_SCAN_EVENT_DEQUEUED and WMI_SCAN_EVENT_START_FAILED when
accounting for completed scans, and change to tracking pending scans
with a counter instead of individual Ids.

Change-Id: Iaa2977dd5899d214251cbf4f1f8caf768725f538
CRs-Fixed: 1077518
2016-10-17 21:58:31 -07:00