Commit Graph

12542 Commits

Author SHA1 Message Date
Service qcabuildsw
5517289868 Merge "qcacld-3.0: Check for NULL adapter returned from open_interface" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:31:00 -07:00
Service qcabuildsw
0ef04dd62f Merge "Release 5.1.0.22B" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:55 -07:00
Service qcabuildsw
19c9397ee0 Merge "qcacld-3.0: Teardown TDLS links when second vdev comes up" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:53 -07:00
Service qcabuildsw
b7ae7a0963 Merge "qcacld-3.0: change dfs_radar_found to atomic variable" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:50 -07:00
Service qcabuildsw
2f869155cf Merge "qcacld-3.0: Add vendor command for extra BSS information" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:48 -07:00
Service qcabuildsw
c4bdd869eb Merge "qcacld-3.0: Add BSS status caching" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:46 -07:00
Service qcabuildsw
eec666d66d Merge "qcacld-3.0: Fix start BSS failure" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:41 -07:00
Service qcabuildsw
a6a74235c4 Merge "qcacld-3.0: Fix NULL pointer dereference in csr_roam_join_next_bss" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:39 -07:00
Service qcabuildsw
2a522f6a26 Merge "qcacld-3.0: Fix uninitialised variable use" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:36 -07:00
Service qcabuildsw
b3277a2cbc Merge "qcacld-3.0: Fix null qdf_dev pointer in ramdump handler" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:34 -07:00
Service qcabuildsw
9f6c463da1 Merge "qcacld-3.0: Return correct failure code" into wlan-cld3.driver.lnx.1.1-dev 2016-07-21 15:30:32 -07:00
Jeff Johnson
615d4bbfff qcacld-3.0: Avoid NULL dereference in hdd_init_qdf_ctx()
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
2016-07-21 07:59:23 -07:00
Jeff Johnson
e54e2ae247 qcacld-3.0: Prevent overread of UP to AC mapping table
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
2016-07-21 07:59:14 -07:00
Service qcabuildsw
9fdc66f29e Merge "Release 5.1.0.22A" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:31:19 -07:00
Service qcabuildsw
9802597c24 Merge "qcacld-3.0: Fix incorrect channel list passed to firmware" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:29:45 -07:00
Service qcabuildsw
00d7cca3a1 Merge "qcacld-3.0: Increase bus suspend/resume log levels" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:28:27 -07:00
Service qcabuildsw
919facdb8c Merge "qcacld-3.0: Convert wlan_hdd_power.c to unified logging" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:25:51 -07:00
Service qcabuildsw
abde5360c6 Merge "qcacld-3.0: Convert wlan_hdd_ocb.c to unified logging" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:23:20 -07:00
Service qcabuildsw
b49b20e0a9 Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [7/7]" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:22:29 -07:00
Service qcabuildsw
af98d4b397 Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [6/7]" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:21:37 -07:00
Service qcabuildsw
ab4b24d0be Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [5/7]" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:21:02 -07:00
Service qcabuildsw
6262e3b567 Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [4/7]" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:19:58 -07:00
Service qcabuildsw
16d7118362 Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [3/7]" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:18:25 -07:00
Service qcabuildsw
b06b98470e Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [2/7]" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:15:14 -07:00
Service qcabuildsw
939e8fc2dd Merge "qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [1/7]" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:13:25 -07:00
Service qcabuildsw
afd8719d85 Merge "qcacld-3.0: Correct len size of oem data request" into wlan-cld3.driver.lnx.1.1-dev 2016-07-20 13:12:43 -07:00
Vishwajith Upendra
74da41bcc2 Release 5.1.0.22C
Release 5.1.0.22C

Change-Id: I87f9c706dad7271b5f21579df71a644abc120257
CRs-Fixed: 688141
2016-07-20 10:44:17 -07:00
Anurag Chouhan
d939d3decd qcacld-3.0: Update correct authtype during connect
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
2016-07-20 07:22:58 -07:00
Nirav Shah
2048997252 qcacld-3.0: Changes to support wmi tx bundle completion
Changes to support wmi tx bundle completion.

Change-Id: I4c8d9b284d4616ce48b48f0a3424a03459dbefb0
CRs-fixed: 1023818
2016-07-20 03:29:50 -07:00
Krishna Kumaar Natarajan
36e5aa00be qcacld-3.0: Update handling of WOW packet buffer
Update handling of WOW packet buffer.

Change-Id: If3ba082bb862a7c9d81e9b9f619f805420c83860
CRs-Fixed: 1042616
2016-07-19 13:17:51 -07:00
Krunal Soni
fd85ba612b qcacld-3.0: Fix assert in wma_rx_service_ready_ext_event API
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
2016-07-18 12:28:11 -07:00
Manjunathappa Prakash
b86f626030 qcacld-3.0: Check for NULL adapter returned from open_interface
Add check for NULL adapter returned from open_interface.

Change-Id: I942dd046bdb402c7fa00d2726b8771a18efc2f22
CRs-Fixed: 1039491
2016-07-15 19:10:05 -07:00
Vishwajith Upendra
8ac9be9077 Release 5.1.0.22B
Release 5.1.0.22B

Change-Id: Icb3a8fd57f498f7d44fa48d6258e4a0ef99ff64e
CRs-Fixed: 688141
2016-07-15 16:14:41 -07:00
Kabilan Kannan
e7a00119ff qcacld-3.0: Teardown TDLS links when second vdev comes up
qcacld-2.0 to qcacld-3.0 propagation

Teardown all TDLS links before second VDEV comes up

Change-Id: I0561dcef8f9a3143f420c196d805adecadf0ab6c
CRs-Fixed: 951482
2016-07-15 13:11:22 -07:00
Arif Hussain
1969ec8bc9 qcacld-3.0: change dfs_radar_found to atomic variable
Instead of using separate lock to protect dfs_radar_found,
change variable itself to atomic.

Change-Id: If95e2ce5a0c837f36a92673312ea4d2fc7b96abe
CRs-Fixed: 1039447
2016-07-15 12:17:23 -07:00
Anurag Chouhan
96919486f6 qcacld-3.0: Add vendor command for extra BSS information
Add Vendor Commands to send BSS Information and
ASSOC failure to supplicant.

Change-Id: I5b64d9942a54d35eac0f08b4d8fbed9d1d66a504
CRs-Fixed: 1042226
2016-07-15 04:23:13 -07:00
Anurag Chouhan
5de8d17671 qcacld-3.0: Add BSS status caching
Add BSS status caching to get the BSS Information
when disconnect happens.

Change-Id: I41b74700b161277bc454d8bb8978f4e1e92faea8
CRs-Fixed: 1013475
2016-07-15 04:23:12 -07:00
Naveen Rawat
696a930c25 qcacld-3.0: Fix start BSS failure
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
2016-07-14 18:50:50 -07:00
Naveen Rawat
a395d25d53 qcacld-3.0: Fix NULL pointer dereference in csr_roam_join_next_bss
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
2016-07-14 18:50:50 -07:00
Arif Hussain
fbf5068ddd qcacld-3.0: Fix uninitialised variable use
Initialize packet pointer with NULL to avoid wild pointer dereferencing.

Change-Id: Iff756659ed463e15796350d0a73486923b92e19f
CRs-Fixed: 1027693
2016-07-14 17:33:52 -07:00
Yuanyuan Liu
90fd18c141 qcacld-3.0: Fix null qdf_dev pointer in ramdump handler
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
2016-07-14 16:53:12 -07:00
Yuanyuan Liu
a1679b62b9 qcacld-3.0: Return correct failure code
Return correct failure code for pld_register_driver.

Change-Id: I2f441db9a817ffce9d278c4672a0f68476c11b5c
CRs-Fixed: 1039663
2016-07-14 16:07:27 -07:00
Service qcabuildsw
d942ae5ad6 Merge "Release 5.1.0.22" into wlan-cld3.driver.lnx.1.1-dev 2016-07-14 15:46:39 -07:00
Service qcabuildsw
46bc73a660 Merge "qcacld-3.0: ipa data path bug fix" into wlan-cld3.driver.lnx.1.1-dev 2016-07-14 15:46:37 -07:00
Vishwajith Upendra
037bbf6a0d Release 5.1.0.22A
Release 5.1.0.22A

Change-Id: I599796f0e1c018908f13f3be9aac7d688e7b12c2
CRs-Fixed: 688141
2016-07-14 13:26:56 -07:00
Varun Reddy Yeturu
823e9c2e0d qcacld-3.0: Fix incorrect channel list passed to firmware
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
2016-07-14 12:36:08 -07:00
Rajeev Kumar
b6045f60c4 qcacld-3.0: Increase bus suspend/resume log levels
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
2016-07-13 18:02:33 -07:00
Jeff Johnson
c327332c92 qcacld-3.0: Convert wlan_hdd_power.c to unified logging
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
2016-07-13 17:22:16 -07:00
Jeff Johnson
5f735d5e89 qcacld-3.0: Convert wlan_hdd_ocb.c to unified logging
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
2016-07-13 17:22:15 -07:00
Jeff Johnson
e2d30d000c qcacld-3.0: Convert wlan_hdd_hostapd.c to unified logging [7/7]
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
2016-07-13 17:22:14 -07:00