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
qcacld-2.0 to qcacld-3.0 propagation
Lot of stats related info logs are periodic and cause log spam.
Add changes to remove excessive logs.
CRs-Fixed: 1066273
Change-Id: I7064630c9ee4e01eafe0b5f00626aa6f20c0403d
Fix various compilation issues coming when LFR3.0 is
disabled by undefining WLAN_FEATURE_ROAM_OFFLOAD macro
in Kbuild.
Change-Id: Id483dc9fcc57d359f13b385dd655e34c1823a77f
CRs-fixed: 1071087
SME is calling wma_set_cts2self_for_p2p_go directly.
No need to post message to MC Thread.
Change-Id: I335b1c8a6289560dbe6c0a3ccce60695922ff3ed
CRs-Fixed: 1075981
This is qcacld-2.0 to qcacld-3.0 propagation.
Transmit TDLS Teardown frame with VI AC on direct link
if tdls peer supports qos.
CRs-Fixed: 885035
Change-Id: I02cfd29ea1619b12b2ccb130aa7374e19b4f8491
qcacld-2.0 to qcacld-3.0 propagation
Currently comments for enum HDD_WMM_USER_MODE_NO_QOS are misleading.
It does not clearly say that uapsd is disabled when wmm mode is
HDD_WMM_USER_MODE_NO_QOS. Fix this by adding appropriate comments.
Change-Id: I6696c92f0a67b18c3ada6736f37ef498a68c881e
CRs-Fixed: 1074503
qcacld-2.0 to qcacld-3.0 propagation
If Probe Responce received in PNO indication does not
contain DSParam IE or HT Info IE then add dummy channel to the
received BSS info so that Scan result received as a part of PNO
is updated to the supplicant.
Change-Id: I25ac973cc90fc9f5258ff8f012c90dd9e9394eb0
CRs-Fixed: 629288
qcacld-2.0 to qcacld-3.0 propagation
Currently the Extcap present flag is not set even if the extended
capabilities are present in the assoc response, assoc req or
reassoc req frames.
To address this, set the extcap present flag in assoc response, assoc
request or reassoc req Extcab structure.
CRs-Fixed: 1073033
Change-Id: I84ffb04105af0c84d33e524814795dd30a5d62a5
qcacld-2.0 to qcacld-3.0 propagation
In sme_update_dsc_pto_up_mapping() function, we try to write into
the array dscpmapping in 255th location, if the location index
happens to be 255. But the size of dscpmapping array is 64 only
which is causing out of boundary access resulting in crash.
To address this, avoid writing in out of boundary. If the DSCP
range is 255, there is no mapping for such priority, so there is
no need assign anything for dscpmapping.
CRs-Fixed: 1027457
Change-Id: Ic4299122b10a990d17816f864ef8415c1b75b230
qcacld-2.0 to qcacld-3.0 propagation
Protect access of remain_on_chan_ctx in __wlan_hdd_mgmt_tx
under remain_on_chan_ctx_lock mutex.
CRs-Fixed: 1054846
Change-Id: Ia96d1ea901bcbe95b5ecf608d63ba6a544a1465c
Incorrect integration of a change caused tcp delayed ack not
to trigger resulting in overall lower throughput.
Change-Id: I3a35a70515e4e61a4c81f14f8881e989ac5ac039
CRs-Fixed: 1075723
Currently we are queuing the message into rx thread for processing even
if the RX thread is not enabled.
Solution: Donot queue the message into Rx thread. Call the
callback function directly (registered during
ol_txrx_ipa_uc_register_op_cb)
Change-Id: Iae45c059006592293ea61d04be89b1477daae514
CRs-Fixed: 1075151
During DFS scanning FW needs host access. Hence disable Runtime PM
to ensure link is active.
Change-Id: I307cec1c3e8451758bf2fa44a8dd43f257ab8780
CRs-Fixed: 1072520