Add support to log firmware version sub id
in the logs and iwpriv command 'version'
Change-Id: I1eaad763da55007d34e243509204acf12ec79955
CRs-Fixed: 1077115
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
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
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
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
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
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
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
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
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
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
Existing error message are incorrect in __iw_set_retry
and __iw_get_retry, this change provides corrected logs.
Change-Id: I5076936fd21a3680ef2e6564820c2dfd5321aba0
CRs-Fixed: 1036544
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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