For P2P listen offload feature, add vendor ID information in wiphy
vendor command structure, also add missing data length assignment when
sending WMI command to FW.
Change-Id: Ia889d794cae156814056aeefdfdf339429bf1401
CRs-fixed: 1040310
Update target type definitions in fw common file. This change
set will fix the mismatch between host driver and FW.
Change-Id: I570fd928e720e9f7ce982fe87da383669f8a9105
CRs-Fixed: 1044264
Currently hdd_init_qdf_ctx() calls cds_get_context() to retrieve the
QDF Device context, and then writes into the context without
validating the pointer. Add logic to validate the pointer before
using it.
Change-Id: Ib427d1348b3ff5b13689e24f69e4606f23ea767c
CRs-Fixed: 1042043
Currently the User Priority (UP) returned by hdd_wmm_classify_pkt() is
used without any checks by hdd_get_queue_index() to lookup the Access
Category (AC) in the mapping table hdd_linux_up_to_ac_map[]. Although
the UP returned by hdd_wmm_classify_pkt() should be within the valid
range, for safety add an explicit check to prevent an overread of the
table.
Change-Id: Iacd8d97bcc7a3939cdb2469f6830adc2ffc24765
CRs-Fixed: 1041989
Currently the authtype is not getting updated properly in case
of wpa2psk security mode, this change will update the correct
auth type
Change-Id: I11d15457b375ed2803420cfd08070a7bbc181029
CRs-Fixed: 1044021
Enable LRO, NAPI and Fastpath.
Moving datapath features together at one place in INI.
Change-Id: I3996ce76a0fa386b5cb7eeb00548db9dea54d390
CRs-Fixed: 1035499
Propagation from qcacld-2.0 to qcacld-3.0
Adding connect_ie interface for Roaming offload.
Change-Id: I8263688aec3895af57555a5db14d4459848c0cc5
CRs-fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Add WMI command to set GPIO numbers that are used to wakeup host
and wakeup target.
Changes to disable dynamic bandwidth RTS.
Add swol_assist_enable field to WMI extwow_set_app_type1_params
cmd to enable IoT mode WMI enums for CCK and OFDM max tx rates.
Change-Id: I26873873d7a355c179babaa7cc56e187e9771c92
CRs-fixed: 865207
In case of legacy/old platform, extended caps are not provided and
number of supported hw modes is expected to come as zero. Due to
bug in a code, driver is going ahead and try to allocated memory
with size of 0 bytes which is causing the assert.
Change-Id: I37adf5ba4e1b1100af06da0a37466a5531be5880
CRs-Fixed: 1040063
qcacld-2.0 to qcacld-3.0 propagation
Teardown all TDLS links before second VDEV comes up
Change-Id: I0561dcef8f9a3143f420c196d805adecadf0ab6c
CRs-Fixed: 951482
Instead of using separate lock to protect dfs_radar_found,
change variable itself to atomic.
Change-Id: If95e2ce5a0c837f36a92673312ea4d2fc7b96abe
CRs-Fixed: 1039447
In function csr_roam_join_handle_profile, add NULL pointer check for
"result" after call to csr_roam_select_bss rather than before
csr_roam_join_handle_profile, since it is called for BSS role as well.
Change-Id: I800891fd66d5c851537968515e43eadbe38a2ae8
CRs-Fixed: 1038237
Add NULL pointer check for "result" after call to csr_roam_select_bss.
This function can return a NULL value for variable "result", which is
later dereference in the function csr_roam_join_handle_profile.
Change-Id: I5e1f017de49301a14b899692b888f7694e979bf1
CRs-Fixed: 1027725
Container_of returns invalid ol_ctx pointer which leads to a null
pointer of qdf_dev. Fix this by directly request qdf_dev pointer
from cds.
Change-Id: I08910bb798b7992d550c9e061eed04a9b6f140d1
CRs-Fixed: 1033518
Fix the occupied channel list that is being passed from CSR to
WMA to WMI to firmware.There is a conversion happening in
WMA from channel number to frequency which is the root of the
issue.
CRs-Fixed: 1039020
Change-Id: I8e10df6dd4d09b12ff700ab865f6722f4fbfaf8d
Bus suspend/resume log messages are logged with info log
level which is by default not logged in kernel log buffer.
Increase bus suspend/resume log level to error such that
this critical log message is logged in kernel message.
Once wlan suspend/resume feature becomes more stable this
log message can be reduced back to info log level.
Change-Id: Ic78900d5b111637d4d8d1b26e18fa298fbbd893f
CRs-Fixed: 1041335
Currently the HDD code uses a variety of logging APIs. In
qcacld-3.0 HDD should converge on a unified set of logging APIs.
Update wlan_hdd_power.c to use the unified set of APIs.
Change-Id: Iba049d8734436c916efce4d3c1fa2c55ac09c333
CRs-Fixed: 937685
Currently the HDD code uses a variety of logging APIs. In
qcacld-3.0 HDD should converge on a unified set of logging APIs.
Update wlan_hdd_ocb.c to use the unified set of APIs.
Change-Id: I7ec58632a781024fedba46ff25baa873ac52bd9a
CRs-Fixed: 937672
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_hostapd.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 7 set the HDD_DISALLOW_LEGACY_HDDLOG flag so that no future
changes can introduce new instances of legacy logging.
Change-Id: Ia76d147a57bbc2f1361f8574d226447d0e4c8408
CRs-Fixed: 937661
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_hostapd.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 6 update the following functions:
__wlan_hdd_cfg80211_stop_ap()
__wlan_hdd_cfg80211_start_ap()
__wlan_hdd_cfg80211_change_beacon()
Change-Id: I173579cb7ba6fc1baa7e6667f06bf642e961b5bb
CRs-Fixed: 937661
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_hostapd.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 5 update the following functions:
__iw_softap_stopbss()
hdd_softap_get_sta_info()
__iw_softap_get_sta_info()
__iw_set_ap_genie()
__iw_get_softap_linkspeed()
hdd_init_ap_mode()
hdd_wlan_create_ap_dev()
hdd_register_hostapd()
hdd_unregister_hostapd()
wlan_hdd_set_channel()
wlan_hdd_add_ie()
wlan_hdd_add_hostapd_conf_vsie()
wlan_hdd_add_extra_ie()
wlan_hdd_cfg80211_alloc_new_beacon()
wlan_hdd_cfg80211_update_apies()
wlan_hdd_config_acs()
wlan_hdd_setup_driver_overrides()
wlan_hdd_cfg80211_start_bss()
Change-Id: Ibaf0dbb2af0928bf4dce5a475df7e536d85d1451
CRs-Fixed: 937661
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_hostapd.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 4 update the following functions:
__iw_softap_getparam()
__iw_softap_modify_acl()
__iw_softap_set_max_tx_power()
__iw_softap_set_tx_power()
__iw_softap_getassoc_stamacaddr()
__iw_softap_disassoc_sta()
wlan_hdd_set_force_acs_ch_range()
__iw_softap_get_channel_list()
__iw_get_genie()
__iw_get_wpspbc_probe_req_ies()
__iw_set_auth_hostap()
__iw_set_ap_encodeext()
__iw_softap_setwpsie()
Change-Id: If2388fbdaf5988bd1864443f58594098c44bf837
CRs-Fixed: 937661
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_hostapd.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 3 update the following functions:
__iw_softap_setparam()
__iw_softap_get_three()
Change-Id: I5db86f54bcc978d7935873423fa1e91bc83d7a2e
CRs-Fixed: 937661
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_hostapd.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 2 update the following functions:
hdd_softap_unpack_ie()
hdd_softap_set_channel_change()
__iw_softap_set_ini_cfg()
__iw_softap_get_ini_cfg()
__iw_softap_set_two_ints_getnone()
Change-Id: Ia755a63c7154253a02b395fa60f8d3ef82628bba
CRs-Fixed: 937661
Currently the HDD code uses a variety of logging APIs. In qcacld-3.0
HDD should converge on a unified set of logging APIs. Update
wlan_hdd_hostapd.c to use the unified set of APIs. Since there are a
large number of changes in this file, perform the conversion in
phases.
For phase 1 update the following functions:
hdd_hostapd_channel_allow_suspend()
hdd_hostapd_channel_prevent_suspend()
__hdd_hostapd_open()
__hdd_hostapd_stop()
__hdd_hostapd_uninit()
hdd_set_sap_ht2040_mode()
hdd_hostapd_inactivity_timer_cb()
hdd_clear_all_sta()
hdd_stop_bss_link()
hdd_issue_stored_joinreq()
hdd_send_radar_event()
hdd_hostapd_sap_event_cb()
Change-Id: I5ba28609a7859472bfe08517260364f286f068f4
CRs-Fixed: 937661
qcacld-2.0 to qcacld-3.0 propagation.
oem data request len size should be of 4 byte instead of
1 byte.
Add changes to correct len size in oem data structure across the
layers.
Change-Id: I9b377420c50ff1160964f94be5eaa0072df0f63d
CRs-Fixed: 1013488
Propagation from qcacld-2.0 to qcacld-3.0.
WMI service flag for flash read / write support.
Change-Id: I896b4b53f596df96ec7f023b9301f6a695cd325a
CRs-fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0.
WMI pdev params to specify retry limit for control frames, and
propagation delay.
Change-Id: I9662d4cfee0910706486ae1709749aacd938fa3c
CRs-fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0.
WMI interface change for DBS roaming and CSA roaming.
Change-Id: Ia483de75c1ea7caa6526aaddd15886fe6a4404bd
CRs-fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Add scan flags for half and quarter-rate channels.
Add WMI service bit for commands pertaining to Host managed
RX reorder.
Change-Id: I2baf13e0ab8f669153b0fb66f2b286c40f1fcc20
CRs-fixed: 865207
Propagation from qcacld-2.0 to qcacld-3.0
Add support for setting hardware mode within WMI_INIT_CMD
Change-Id: If5855fb1f1bc2a85fd27a34575a009b9f6b1e008
CRs-fixed: 865207